@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  background-color: #f4efe6;
  color: #02122F;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f4efe6;
  color: #02122F;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 850px;
}

.site-header,
.site-header.dark-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #f4efe6;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo,
.site-header.dark-header .site-logo {
  text-decoration: none;
  color: #02122F;
  font-family: 'Creepster', cursive, serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
}

.site-logo:hover {
  color: #02122F;
  text-decoration: underline;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 25px;
}

.nav-item a,
.site-header.dark-header .nav-item a {
  text-decoration: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #02122F;
  padding: 5px 0;
}

.nav-item a:hover,
.nav-item a.active,
.site-header.dark-header .nav-item a:hover,
.site-header.dark-header .nav-item a.active {
  color: #02122F;
  text-decoration: underline;
}

.mobile-toggle,
.site-header.dark-header .mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #02122F;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background-color: #02122F;
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: #f4efe6;
  padding: 20px 0;
  z-index: 99;
}

.site-header.dark-header + .mobile-nav-drawer,
body.dark-mode .mobile-nav-drawer {
  background-color: #f4efe6;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}

.mobile-nav-links a,
body.dark-mode .mobile-nav-links a {
  text-decoration: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #02122F;
}

.mobile-nav-links a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: #02122F;
  line-height: 1.3;
}

.display-title {
  font-family: 'Creepster', cursive, serif;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #02122F;
}

p {
  margin-bottom: 1rem;
  color: #02122F;
}

.lead-text {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  color: #02122F;
}

.ornamental-divider,
.divider-line {
  display: none;
}

.btn-archive,
.btn-archive.btn-wine,
.btn-archive.btn-gold {
  display: inline-block;
  text-decoration: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 25px;
  border: 3px solid #02122F;
  background-color: #E6D5B1;
  color: #02122F;
  border-radius: 8px;
  cursor: pointer;
}

.btn-archive:hover,
.btn-archive.btn-wine:hover,
.btn-archive.btn-gold:hover {
  background-color: #E6D5B1;
  color: #02122F;
  text-decoration: underline;
}

.home-hero-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f4efe6;
}

.hero-visual-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/homebackground.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.95;
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 760px;
  padding: 40px 20px;
  margin: auto;
  border: 3px solid #02122F;
  background-color: #E6D5B1;
  border-radius: 8px;
}

.hero-tagline-small {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #02122F;
  margin-bottom: 10px;
}

.hero-main-title {
  font-family: 'Creepster', cursive, serif;
  font-size: 4rem;
  font-weight: normal;
  letter-spacing: 3px;
  color: #02122F;
  margin-bottom: 15px;
  line-height: 1.1;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
  color: #02122F;
  line-height: 1.5;
}

.home-intro-section {
  position: relative;
  z-index: 4;
  padding: 60px 0;
  background-color: #f4efe6;
  text-align: center;
}

.intro-box {
  max-width: 800px;
  margin: 0 auto;
  border: 3px solid #02122F;
  background-color: #E6D5B1;
  border-radius: 8px;
  padding: 30px;
}

.intro-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.7;
  color: #02122F;
  margin-bottom: 30px;
  padding: 0 15px;
}

.home-pillars-section {
  position: relative;
  z-index: 4;
  padding: 60px 0;
  background-color: #f4efe6;
}

.section-label {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #02122F;
  text-align: center;
  margin-bottom: 5px;
  display: block;
}

.section-title {
  font-family: 'Creepster', cursive, serif;
  font-size: 2.2rem;
  text-align: center;
  color: #02122F;
  margin-bottom: 15px;
}

.section-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  color: #02122F;
}

.pillars-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 20px;
  justify-content: center;
}

.pillar-card {
  flex: 1 1 240px;
  max-width: 280px;
  background-color: #E6D5B1;
  border: 3px solid #02122F;
  border-radius: 8px;
  padding: 25px 20px;
  text-align: center;
  color: #02122F;
}

.pillar-card:hover {
  background-color: #E6D5B1;
  border: 3px solid #02122F;
}

.pillar-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #02122F;
}

.pillar-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
  color: #02122F;
}

.site-footer {
  position: relative;
  z-index: 10;
  margin-top: auto;
  background-color: #4a2e1b;
  color: #f4ead8;
  padding: 50px 0 30px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  flex: 2 1 300px;
}

.footer-brand h4 {
  font-family: 'Creepster', cursive, serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: #f4ead8;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.95rem;
  font-style: italic;
  max-width: 400px;
  color: #f4ead8;
}

.footer-nav {
  flex: 1 1 180px;
}

.footer-info {
  flex: 1 1 220px;
}

.footer-nav h5,
.footer-info h5 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f4ead8;
  margin-bottom: 15px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #f4ead8;
}

.footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-disclaimer-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #f4ead8;
}

.footer-bottom {
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #f4ead8;
}

img, svg {
  max-width: 100%;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-visual-canvas {
    background-position: center top;
  }

  .hero-content {
    margin: 20px;
    padding: 30px 15px;
  }

  .footer-top {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }

  .nav-wrapper {
    height: 60px;
  }

  .hero-main-title {
    font-size: 2.8rem;
  }

  .hero-content {
    padding: 20px 10px;
    margin: 10px;
  }
}