@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;700&display=swap');

:root{
  --primary:#0a1628;
  --secondary:#1a3a5c;
  --accent:#c9a84c;
  --bg:#f9f8f6;
  --surface:#fff;
  --text:#1a1a2e;
  --muted:#6b7280;
  --radius:16px;
  --shadow:0 4px 24px rgba(0,0,0,.10);
  --transition:all .3s cubic-bezier(.4,0,.2,1);
}

/* Global resets */
*,*::before,*::after{
  box-sizing:border-box;
  margin:0;
  padding:0;
}
html{
  scroll-behavior:smooth;
}
body{
  font-family:'Inter',sans-serif;
  line-height:1.6;
  color:var(--text);
  background:var(--bg);
}

/* Typography with clamp */
h1,h2,h3{
  font-family:'Playfair Display',serif;
  line-height:1.2;
  margin-bottom:.5em;
}
h1{
  font-size:clamp(2.5rem,6vw,4rem);
}
h2{
  font-size:clamp(2rem,5vw,3rem);
}
h3{
  font-size:clamp(1.5rem,4vw,2rem);
}
p{
  font-size:clamp(1rem,2.5vw,1.125rem);
  margin-bottom:1em;
}
.container{
  max-width:1200px;
  margin:auto;
  padding:0 1rem;
}

/* Layout helpers */
.grid-3{
  display:grid;
  gap:1.5rem;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.two-col{
  display:flex;
  flex-wrap:wrap;
  gap:2rem;
}
.two-col > *{
  flex:1 1 300px;
}
.three-col{
  display:grid;
  gap:2rem;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
}

/* Sections */
.section{
  padding:4rem 0;
}
.section.light{
  background:var(--bg);
}
.section.dark{
  background:var(--surface);
  color:#fff;
}
.section.dark h2,
.section.dark h3,
.section.dark p{
  color:#fff;
}

/* Glass navigation */
.glass-nav{
  position:sticky;
  top:0;
  backdrop-filter:blur(12px);
  background:rgba(255,255,255,.6);
  box-shadow:0 2px 8px rgba(0,0,0,.1);
  z-index:100;
}
.glass-nav .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0.75rem 0;
}
.glass-nav .logo{
  font-size:1.5rem;
  font-weight:600;
  color:var(--primary);
  text-decoration:none;
}
.nav-links{
  list-style:none;
  display:flex;
  gap:1.5rem;
}
.nav-links a{
  position:relative;
  color:inherit;
  text-decoration:none;
  font-weight:500;
  transition:var(--transition);
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:100%;
  height:2px;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s ease;
}
.nav-links a:hover::after{
  transform:scaleX(1);
}

/* Hero */
.hero-section{
  position:relative;
  overflow:hidden;
}
.hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  filter:brightness(.7);
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,var(--primary)00,var(--primary)70%);
}
.hero-content{
  position:relative;
  text-align:center;
  color:#fff;
  padding:8rem 1rem;
}
.hero-title{
  margin-bottom:.5rem;
}
.hero-tagline{
  margin-bottom:2rem;
  font-size:clamp(1.125rem,3vw,1.5rem);
}
.hero-cta{
  display:flex;
  gap:1rem;
  justify-content:center;
  flex-wrap:wrap;
}

/* Buttons – Pill */
.btn{
  display:inline-block;
  padding:.75rem 1.5rem;
  font-weight:600;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  transition:var(--transition);
}
.btn-pill{
  border-radius:999px;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#fff;
}
.btn-pill:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 16px rgba(0,0,0,.2);
  filter:brightness(1.08);
}

/* Cards */
.card{
  background:var(--surface);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  transition:var(--transition);
}
.card img{
  width:100%;
  height:auto;
  display:block;
}
.card h3{
  margin:1rem;
}
.card p{
  margin:0 1rem 1rem;
}
.card:hover{
  transform:translateY(-6px);
}

/* Inputs & Forms */
input,
textarea{
  width:100%;
  padding:.75rem 1rem;
  border:1px solid var(--muted);
  border-radius:8px;
  background:var(--bg);
  font-family:inherit;
  transition:var(--transition);
}
input:focus,
textarea:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(10,22,40,.2);
}

/* CTA Card */
.cta-card{
  background:var(--surface);
  border-radius:var(--radius);
  padding:2rem;
  text-align:center;
  box-shadow:var(--shadow);
  transition:var(--transition);
}
.cta-card:hover{
  transform:translateY(-6px);
}

/* Footer */
.footer{
  background:var(--primary);
  color:#fff;
  padding:3rem 0 1rem;
}
.footer a{
  color:inherit;
  text-decoration:none;
}
.footer a:hover{
  text-decoration:underline;
}
.footer .footer-bottom{
  text-align:center;
  margin-top:2rem;
  font-size:.875rem;
  opacity:.8;
}

/* Reveal animation */
@keyframes fadeInUp{
  0%{
    opacity:0;
    transform:translateY(20px);
  }
  100%{
    opacity:1;
    transform:translateY(0);
  }
}
.reveal{
  opacity:0;
}
.reveal.is-visible{
  animation:fadeInUp .8s forwards;
}

/* Responsive tweaks */
@media (max-width:767px){
  .hero-content{
    padding:6rem 1rem;
  }
  .nav-links{
    gap:.75rem;
  }
}
@media (max-width:480px){
  .hero-cta{
    flex-direction:column;
    gap:.5rem;
  }
}

/* Utility */
.text-center{
  text-align:center;
}
.mt-2{margin-top:.5rem;}
.mb-2{margin-bottom:.5rem;}
/* End of stylesheet */