/* Add this to your CSS */
.front-page .hero-container {
    /* your hero styles */
}

.front-page #site-footer {
    /* your footer styles */
}

/* Continue with all your front page styles */
body {
    padding-bottom: 0 !important;
    height: 100vh !important;
    overflow-y: hidden !important;
}

/* ====== Global Layout & Gradient ====== */
html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  background: linear-gradient(90deg, #12221F 0%, #12332D 100%);
  overflow-x: hidden;
  overflow-y: hidden;
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
 


/* ====== Layout Wrapper for Sticky Footer ====== */
.site-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

/* ====== Main Content Fills Space ====== */
.site-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* ====== Transparent Sections ====== */
header,
#hero,
footer,
section {
  background: transparent !important;
}

/* ====== Hero Section Layout ====== */
#hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: left;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 0;
  gap: 80px;
  padding-left: 2mm;
  padding-right: 2mm;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
}

.hero-image {
  margin-left: -180px !important;
  align-self: stretch;
  display: flex;
  align-items: center;
  margin-left: -40px; /* Pulls image slightly left */
}

.hero-image img {
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hero-text {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  line-height: 1.4;
  max-width: 500px;
  text-align: right;
}

.hero-text q {
  display: block;
  text-align: justify;
  hyphens: auto;
}

.hero-text h4 {
  margin-top: 20px;
  font-style: italic;
  text-align: left;
}

/* ====== Footer Styles ====== */
#site-footer {
  width: 100%;
  flex-shrink: 0;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(90deg, #12221F 0%, #12332D 100%);
}

#site-footer .footer-divider {
  height: 1px;
  width: 100%;
  background-color: #EDE8D7;
}

#site-footer .footer-content {
  height: auto;
  padding: 8px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#site-footer .footer-icons {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}

#site-footer .footer-icons li a {
  font-size: 22px;
  color: #C2BCAC;
  text-decoration: none;
  transition: color 0.3s ease;
}

#site-footer .footer-icons li a:hover {
  color: #ffffff;
}

/* ====== Header Navigation Styles ====== */
* {
  box-sizing: border-box;
}

.navbar {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0 auto;
  padding: 28px 20px;
  gap: 36px;
  width: calc(100vw - 6cm);
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 300;
  color: #EDE8D7;
  border-bottom: 1px solid #EDE8D7;
  background: none;
  z-index: 1000;
}

.navbar li a {
  color: #EDE8D7;
  text-decoration: none;
  padding: 6px 10px;
  position: relative;
  transition: all 0.2s ease;
}

.navbar li a:hover::before,
.navbar li a:hover::after {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background-color: #EDE8D7;
}

.navbar li a:hover::before { left: 4px; }
.navbar li a:hover::after  { right: 4px; }

#menu-toggle,
#menu-toggle-label {
  display: none;
}





/* ===== Responsive Header Adjustments ===== */
/* 911–1200px - Keep existing side-by-side layout */
@media only screen and (min-width: 911px) and (max-width: 1200px) {
  .navbar {
    gap: 24px;
    font-size: 16px;
    padding: 24px 16px;
  }
  .navbar li a {
    font-size: 16px;
    padding: 4px 6px;
  }
}

/* Tablet view (911px to 1024px) - Keep side-by-side for wider tablets */
@media only screen and (min-width: 911px) and (max-width: 1024px) {
  /* Reduce nav menu font size and compress */
  .navbar {
    gap: 20px;
    font-size: 16px;
    padding: 20px 15px;
    width: calc(100vw - 4cm);
  }
  .navbar li a {
    font-size: 16px;
    padding: 4px 8px;
  }

  /* Adjust hero for medium tablets */
  .hero-container {
    gap: 40px;
    padding-left: 2mm;
    padding-right: 2mm;
  }
  .hero-image img {
    max-height: 80%;
  }
  .hero-text {
    font-size: 1.4rem;
    line-height: 1.3;
  }
}

/* Specific fix for 1024x1366 and 912x1368 screens */
@media only screen and (min-width: 911px) and (max-width: 1024px) and (min-height: 1300px) {
  .hero-container {
    flex-direction: column;
    justify-content: space-between;
    padding-top: 80px;
    padding-bottom: 80px;
    height: 100vh;
  }

  .hero-text {
    order: 1;
    text-align: center;
    margin-top: 0;
    width: 100%;
  }

  .hero-image {
    order: 2;
    margin-bottom: 40px;
    width: 80%;
    margin-left: 0 !important;
  }

  .hero-image img {
    width: 100%;
    max-width: 500px;
  }
}

/* Stacked layout for tablets (768px to 910px) and all mobile devices */
@media only screen and (max-width: 910px) {
  /* Hamburger menu styles */
  #menu-toggle-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 10px 16px;
    z-index: 1001;
    position: relative;
    left: 0;
    top: 0;
  }
  #menu-toggle-label span {
    display: block;
    height: 2px;
    width: 26px;
    background-color: #EDE8D7;
  }
  .navbar {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background-color: #000000;
    max-height: 80vh;
    overflow-y: auto;
  }
#menu-toggle:checked ~ .custom-header .navbar {
  display: flex;
}
.navbar li {
  width: 100%;
}
.navbar li a {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-bottom: 1px solid #EDE8D7;
}
.navbar li a:hover::before,
.navbar li a:hover::after {
  display: none;
}
.custom-header {
  position: relative;
  z-index: 1002;
}


  /* Stacked hero section for mobile and tablet */
  .hero-container {
    flex-direction: column;
    justify-content: flex-start;
    padding: 60px 15px 30px;
    gap: 40px;
    height: auto;
    min-height: calc(100vh - 150px);
  }

  /* Hero text at top */
  .hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 50px;
    width: 100%;
    order: 1;
  }

  /* Responsive font sizing */
  .hero-text {
    font-size: 1.3rem;
  }

  /* Hero image below text - using min() function for proportional sizing */
  .hero-image {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 60px;
    margin-left: 0 !important;
  }

  /* Primary image sizing with min() function */
  .hero-image img {
    width: min(85vw, 500px) !important;
    height: auto !important;
    max-width: none !important;
  }
  
  /* Adjustments for medium mobile devices */
  @media only screen and (max-width: 600px) {
    .hero-text {
      font-size: 1.1rem;
      margin-top: 40px;
    }
    .hero-image img {
      width: min(90vw, 400px) !important;
    }
  }
  
  /* Adjustments for small mobile devices */
  @media only screen and (max-width: 400px) {
    .hero-text {
      font-size: 1rem;
    }
    .hero-image img {
      width: min(95vw, 350px) !important;
    }
  }
}

/* Reset negative margin on all mobile views */
@media only screen and (max-width: 1024px) {
  .hero-image {
    margin-left: 0 !important;
  }
}

/* Fix for small mobile screens (iPhone 7+ and similar) */
@media only screen and (max-width: 415px) and (max-height: 735px) {
  body {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh;
  }
  
  .site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .site-main {
    flex: 1;
  }
  
  .hero-container {
    padding: 40px 15px 20px !important;
    min-height: auto !important;
    gap: 30px !important;
  }
  
  .hero-text {
    margin-top: 20px !important;
  }
  
  .hero-image {
    margin-bottom: 30px !important;
  }
  
  #site-header {
    position: relative;
    z-index: 1000;
  }
  
  #menu-toggle-label {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
  }
}

/* ===== Menu Toggle Effects ===== */
body:has(#menu-toggle:checked) #hero { display: none !important; }
body:has(#menu-toggle:checked) #site-footer { position: relative; z-index: 1002; }


