/* =========================================
   VARIABLES
========================================= */

:root{
  --gold:#c5ab5b;
  --gold-dark:#a8834d;
  --navy:#16233b;
  --navy-dark:#101826;
  --cream:#f8f6f1;
  --white:#ffffff;
  --text:#333333;
  --soft:#faf4ea;
  --shadow:0 10px 30px rgba(0,0,0,0.08);
}

/* =========================================
   RESET / BASE
========================================= */

html{
  box-sizing:border-box;
}

*,
*::before,
*::after{
  box-sizing:inherit;
}

body,
h1,h2,h3,h4,h5,h6,
p,ul,ol,figure{
  margin:0;
  padding:0;
}

body{
  font-family:'Lato', sans-serif;
  background:var(--cream);
  color:var(--text);
  line-height:1.7;
  font-size:16px;
}

/* =========================================
   TYPOGRAPHY
========================================= */

h1,h2,h3{
  font-family:'Merriweather', serif;
}

.section-title{
  font-size:28px;
  margin-bottom:10px;
  text-align:center;
}

.section-sub{
  max-width:700px;
  margin:0 auto 30px;
  text-align:center;
}

.center-text{
  text-align:center;
}

/* =========================================
   LAYOUT
========================================= */

.section{
  padding:60px 20px;
}

.section.soft{
  background:var(--soft);
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
  gap:20px;
}

/* =========================================
   NAVIGATION
========================================= */

.top-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 20px;
  background:var(--navy);
}

.nav-logo img{
  height:48px;
  display:block;
}

.nav-main a{
  color:white;
  margin-left:15px;
  text-decoration:none;
  font-weight:600;
}

/* =========================================
   HERO
========================================= */

.hero{
  position:relative;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  top:0;
  left:0;
  z-index:0;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.4);
  z-index:1;
}

.hero-content{
  position:relative;
  z-index:2;
  text-align:center;
  color:white;
  padding:80px 20px;
}

.hero-logo{
  max-width:120px;
  margin:10px auto;
}

/* =========================================
   CARDS
========================================= */

.card{
  background:white;
  padding:20px;
  border-radius:10px;
  box-shadow:var(--shadow);
}

/* =========================================
   BUTTONS
========================================= */

.button{
  display:inline-block;
  padding:12px 20px;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
  transition:0.25s ease;
}

.btn-gold{
  background:var(--gold);
  color:white;
}

.btn-gold:hover{
  background:var(--gold-dark);
}

.btn-white{
  background:white;
  color:var(--navy);
  border:1px solid rgba(0,0,0,0.08);
}

.btn-white:hover{
  background:#f2f2f2;
}

/* =========================================
   FEATURE / NOTICE
========================================= */

.feature-note{
  background:var(--soft);
  padding:20px;
  border-left:4px solid var(--gold);
  border-radius:8px;
  margin-top:20px;
  box-shadow:var(--shadow);
}

/* =========================================
   CTA
========================================= */

.cta{
  text-align:center;
  padding:40px 20px;
}

/* =========================================
   FOOTER
========================================= */

.footer{
  text-align:center;
  padding:30px 20px;
  background:var(--navy);
  color:white;
}

/* =========================================
   BACK TO TOP
========================================= */

.back-to-top{
  display:inline-block;
  margin-top:20px;
  text-decoration:none;
  font-weight:600;
  color:var(--navy);
}

/* =========================================
   UTILITIES
========================================= */

.hero-buttons a{
  margin:5px;
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:768px){

  .nav-main{
    display:none;
  }

  .hero-content{
    padding:60px 15px;
  }

  .section{
    padding:40px 15px;
  }

}