/* styles.css */

:root{
  --bg:#14171d;
  --panel:#20252d;
  --text:#ffffff;
  --muted:#aab3c2;
  --blue:#4d8dff;
  --blueHover:#74a5ff;
  --border:rgba(255,255,255,.08);
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:"Inter",sans-serif;
  background:var(--bg);
  color:var(--text);
}

img{
  max-width:100%;
  display:block;
}

button{
  cursor:pointer;
  font-family:inherit;
}

.header{
  position:sticky;
  top:0;
  z-index:1000;
  background:#1b1f26;
  border-bottom:1px solid var(--border);
}

.header-inner{
  max-width:1400px;
  margin:auto;
  padding:16px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  font-size:32px;
  font-weight:800;
}

.header-right{
  display:flex;
  align-items:center;
  gap:14px;
}

.header-btn{
  padding:12px 18px;
  border:none;
  border-radius:14px;
  background:rgba(255,255,255,.08);
  color:white;
  font-weight:600;
}

.primary-btn{
  background:var(--blue);
  color:white;
}

.primary-btn:hover{
  background:var(--blueHover);
}

.hidden{
  display:none !important;
}

.hero{
  min-height:78vh;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  background-image:url('../images/puzzle-maiden-longarm.png');
  background-size:cover;
  background-position:center;
  opacity:.55;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,.15),
    rgba(20,23,29,.40)
  );
}
/* Make the last number in the 2nd rgba sequence lower to lighten the hero image overlay so you see the hero image better - 78 default */

.hero-content{
  position:relative;
  z-index:2;
  max-width:1400px;
  margin:auto;
  padding:100px 24px;
}

.hero h1{
  max-width:900px;
  font-size:clamp(48px, 8vw, 92px);
  line-height:.95;
  margin:0;
  font-family:Europa,sans-serif;
}

.hero p{
  max-width:720px;
  margin-top:28px;
  font-size:22px;
  line-height:1.6;
  color:var(--muted);
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:36px;
}

.hero-buttons button{
  padding:18px 28px;
  border:none;
  border-radius:18px;
  font-size:18px;
  font-weight:700;
}

.secondary-btn{
  background:rgba(255,255,255,.08);
  color:white;
}

.gallery{
  max-width:1400px;
  margin:auto;
  padding:70px 24px 100px;
}

.section-title{
  font-size:44px;
  margin-bottom:36px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:28px;
}

.card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:26px;
  overflow:hidden;
  transition:.25s;

  display:flex;
  flex-direction:column;
}

.card:hover{
  transform:translateY(-4px);
  border-color:rgba(77,141,255,.5);
}

.card img{
  width:100%;
  height:260px;
  object-fit:cover;
}

.card-content{
  padding:24px;
  display:flex;
  flex-direction:column;
  flex:1;
  padding:20px;
}

.card-content button{
  margin-top:auto;
}

.card h3{
  margin:0 0 12px;
  font-size:28px;
}

.card p{
  margin:0;
  margin-bottom:18px;
  color:var(--muted);
  line-height:1.6;
}

.card button{
  margin-top:auto;
  width:100%;
  padding:14px;
  border:none;
  border-radius:14px;
  background:var(--blue);
  color:white;
  font-size:16px;
  font-weight:700;
}

.modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:5000;
}

.modal{
  width:min(90vw,520px);
  background:var(--panel);
  border-radius:28px;
  padding:34px;
  border:1px solid var(--border);
}

.modal h2{
  margin-top:0;
  font-size:40px;
}

.modal p{
  color:var(--muted);
}

.modal input{
  width:100%;
  margin-top:14px;
  padding:16px;
  border:none;
  border-radius:14px;
  background:#12151a;
  color:white;
  font-size:16px;
}

.modal button{
  width:100%;
  margin-top:20px;
  padding:16px;
  border:none;
  border-radius:16px;
  background:var(--blue);
  color:white;
  font-size:18px;
  font-weight:700;
}

.footer{
  border-top:1px solid var(--border);
  padding:40px 24px;
  text-align:center;
  color:var(--muted);
}

html{
  scroll-behavior:smooth;
}

@media(max-width:900px){

  .desktop-btn{
    display:none;
  }

  .hero h1{
    line-height:1.05;
  }

  .hero p{
    font-size:18px;
  }

  .section-title{
    font-size:36px;
  }

}