/*******************************************************
  TABLE OF CONTENTS
  1. Imports & Fonts
  2. Base Styles & Reset
  3. Layout & Containers
  4. Header & Navigation
  5. Footer
  6. Components
     - Buttons & Links
     - Cards & Panels
     - Carousel & Slideshow
     - Forms & Inputs
  7. Page-specific Styles
     - Homepage
     - About Us (Notre Histoire)
     - Contact
  8. Utilities & Helpers
  9. Media Queries & Responsive Design
*******************************************************/

/*******************************************************
  1. IMPORTS & FONTS
*******************************************************/
@import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Pre&display=swap');

/*******************************************************
  GLOBAL SCROLLBAR STYLING
*******************************************************/
/* Custom scrollbar styling for better visibility across all pages */
::-webkit-scrollbar {
  width: 16px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #78A1F9 0%, #f9d078 100%);
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5a8df7 0%, #f7c961 100%);
}

/* Firefox scrollbar */
html {
  scrollbar-width: auto;
  scrollbar-color: #78A1F9 rgba(255, 255, 255, 0.1);
}

/*******************************************************
  2. BASE STYLES & RESET
*******************************************************/
html, body {
  letter-spacing: 1.4px;
  height: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

img.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Links styling */
a:link {
  text-decoration: none;
  color: inherit !important;
}

/*******************************************************
  3. LAYOUT & CONTAINERS
*******************************************************/
.pagecontainer {
  margin-top: 5vh;
  scroll-behavior: auto;
}

.wrapper {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  perspective: 10px;
}

/* Content wrapper with footer padding */
#content-wrap {
  padding-bottom: 2.5rem; 
  margin-top: auto;
}

/* Parallax components */
.parallaxview {
  transform-style: preserve-3d;
  position: relative;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-direction: column;
}

.parallax::after {
  content: ' ';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateZ(-1px) scale(1.5);
  background-size: 100%;
  z-index: -1;
}

.parallaxmain::after {
  /* background: url(assets/Homepage/none); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position-x: center;
}

.no-parallax {
  z-index: 999;
}

header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  transform-style: preserve-3d;
  z-index: -1;
}

.background {
  transform: translateZ(-10px) scale(2);
  transition: transform .3s;
}

.foreground {
  transform: translateZ(-5px) scale(1.5);
  transition: transform .3s;
}

.background, 
.foreground {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Bootstrap padding overrides */
.row > .col-md-12 {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/*******************************************************
  4. HEADER & NAVIGATION
*******************************************************/
/* Main Navbar */
nav,
.navbar { 
  background: linear-gradient(180deg, rgb(46, 25, 25), rgba(46, 25, 25, 0.083));
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  flex-wrap: nowrap;
}

.navbar::before {
  position: absolute;
  background: linear-gradient(180deg, rgb(46, 25, 25), rgba(250, 250, 250, 0));
  mask: linear-gradient(black, black, transparent);
  -webkit-mask: linear-gradient(black, black, transparent);
  z-index: -1;
}

/* Logo */
.logo {
  width: 15vw;
  padding: 4px 10px 4px 0;
}

/* Navigation Links */
.navbar .nav-link,
.navbar .dropdown-item {
  font-family: 'Edu AU VIC WA NT Pre', sans-serif;
  font-size: 1.5rem !important;
  font-weight: 400;
  text-shadow: 1.5px 1.5px 1.5px rgba(0, 0, 0, 0.506);
  color: #f9d078 !important;
  background-color: transparent !important;
  transition: color 0.3s ease-in-out;
}

.navbar .nav-link:hover,
.navbar .dropdown-item:hover {
  color: #78A1F9 !important;
}

.navbar .nav-link::after {
  content: none;
}

/* Dropdown Menus */
.dropdown-menu {
  background: rgba(18, 17, 31, 0.5) !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  border: none;
}

/* Mobile title */
  .mobile-title {
    position: absolute;
    left: 28%;
    transform: translateX(-50%);
  display: none; /* Default hidden, shown in media query */
    font-family: 'Edu AU VIC WA NT Pre', cursive;
    color: #F9D078;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 1.5px 1.5px 1.5px rgba(0, 0, 0, 0.193);
    margin: 0;
    padding: 0;
  }
  
  .mobile-title-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Mobile Sticky Bar */
#stickz-mobile {
  display: none;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px !important;
  background-color: #f9d078;
  z-index: 9999;
  padding-bottom: env(safe-area-inset-bottom);
  padding-top: 8px;
}

/* Mobile Sticky Bar Icons */
#stickz-mobile i {
  font-size: 1.2rem;
  margin-bottom: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Active state for Reserve button */
#reserveButton.reserve-active i,
#reserveButton.reserve-active div {
  color: #257137 !important;
  transform: translateY(-2px);
}

/*******************************************************
  5. FOOTER
*******************************************************/
#footer-container {
  font-weight: 100;
  text-align: center;
  padding: 4vh 0 2vh;
  color: #f5f1f1;
  background-color: rgb(111, 112, 116);
  border-top: 1px solid black;
  overflow: hidden;
  height: 70vh;
}

#footericons {
  padding-top: 5vh;
  color: #f1ece9;
  font-size: 20px;
  transition: all .5s ease;
}

.footer-fish-box {
  color: antiquewhite;
  font-size: 2vw;
  border-color: rgba(0, 0, 0, 0.4);
  background-color: rgba(0, 0, 0, 0.5);
  font-weight: 300;
}

/*******************************************************
  6. COMPONENTS
*******************************************************/

/* ---------------------------------
   BUTTONS & LINKS
---------------------------------- */
.btn {
  cursor: pointer;
  transform: scale(1.1);
  transition: transform .5s ease-in-out;
}

/* ---------------------------------
   CARDS & PANELS
---------------------------------- */
.card:hover {
  transform: scale(1.05);
  transition: transform .5s;
  cursor: pointer;
}

.card-img-top {
  width: 100%;
  height: 30vh !important; /* Restore original card image height for homepage cards */
  object-fit: cover;
  --bs-border-radius: 2rem !important;
}

.card-title {
  padding: 0.5vw;
  text-align: center;
  color: #f9d078;
  font-weight: 600 !important;
  /*font-size: 2vw; */
  font-family: 'Edu AU VIC WA NT Pre', cursive, 'Times New Roman', Times, serif;
}

.card-text {
  padding: 1vw;
  font-weight: 300 !important;
  color: #e6e9e7;
  text-align: justify;
  text-align-last: left; /* Prevents last line from being stretched */
  text-justify: inter-word; /* Better word spacing control */
  hyphens: auto; /* Allows hyphenation for better line breaks */
  font-family: Georgia, 'Times New Roman', Times, serif !important;
  /*font-size: 1.1vw !important; /* Reduced from 1.5vw for better readability */
}

.bg-custom-1, 
.card {
  /* Optimized background - removed expensive backdrop-filter */
  background: linear-gradient(135deg, 
    rgba(26, 25, 46, 0.85) 0%, 
    rgba(26, 25, 46, 0.75) 50%, 
    rgba(26, 25, 46, 0.65) 100%) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.415);
  border-radius: 0.70rem !important;
  border: 3px solid rgba(18, 17, 31, 0.389) !important;
  /* Performance optimizations */
  will-change: transform;
  contain: layout style paint;
}

/* ---------------------------------
   CAROUSEL & SLIDESHOW
---------------------------------- */
#Slideshow {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

#Slideshow .carousel-inner,
#Slideshow .carousel-item {
  width: 100%;
  height: 100%;
}

.carousel-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Control buttons styling */
.carousel-control-prev,
.carousel-control-next {
  width: 10%;
  opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  padding: 1.5rem;
}

/* Reviews Carousel */
#carouselReviews {
  height: 30vh !important;
  width: 100%;
}
/* TripAdvisor ratings widget spacing - mobile only */
@media (max-width: 768px) {
  .TA_cdsratingsonlywide {
    margin-top: 8vh !important;
  }
}

/* ---------------------------------
   FORMS & INPUTS
---------------------------------- */
.contactbox {
  font-family: 'Montserrat', sans-serif, Georgia, 'Times New Roman', Times, serif;
  font-weight: 100;
  color: rgb(76, 75, 75);
  background-color: rgba(238, 234, 231, 0.95);
  padding: 10px;
  border: 1px solid rgb(205, 203, 199);
}

#form-contact {
  padding-top: 8vh;
  padding-left: 5vw;
  padding-right: 5vw;
  font-family: 'Montserrat', sans-serif, Georgia, 'Times New Roman', Times, serif;
  font-weight: lighter;
}

#submit-btn-form {
  padding-top: 10vh;
  padding-bottom: 15vh;
  text-align: center;
}

/*******************************************************
  7. PAGE-SPECIFIC STYLES
*******************************************************/

/* ---------------------------------
   HOMEPAGE
---------------------------------- */
#intro {
  padding-top: 10vh;
  padding-bottom: 15vh;
}

.viewourkitchens-btn {
  font-weight: 100;
  text-align: center;
  padding-top: 10vh;
}

/* Cards deck homepage */
#kitchencardssection {
  position: relative;
  padding-top: 1vh;
  padding-bottom: 10vh;
  background-color: rgba(64, 65, 67, 0.41);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  clip-path: url(#arch-mask);
  -webkit-clip-path: url(#arch-mask);
  margin-top: -10vh;
}

/* Homepage - Section Vos Reservations (Consultation section) */
.bg-image1 {
  position: relative;
  width: 100%;
  height: auto;
}

/* Fix for the consultation section image */
#consultation .card-img-top {
  width: 100% !important;
  height: 100vh !important; /* Full viewport height for bigger image */
  object-fit: cover;
  object-position: center;
  max-height: none !important; /* Override any max-height restrictions */
}

.reservations {
  color: rgba(255, 255, 255, 0.901);
  font-family: 'Edu AU VIC WA NT Pre', cursive, Georgia, 'Times New Roman', Times, serif;
  font-weight: lighter;
  font-size: 8vw;
  transition: transform .5s ease-in-out;
}

.reservations:hover {
  transform: scale(1.1);
  cursor: pointer;
}

/* Testimonials About Us */
#testimonials_aboutus {
  color: white;
  background-color: #40414367;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 3vh;
  text-align: justify;
  padding-bottom: 8vh;
}

/* Testimonials section title */
.testimonial-section-title {
  text-shadow: 1.5px 1.5px 1.5px rgba(0, 0, 0, 0.506);
  color: #78A1F9;
  font-size: 6vw;
  font-family: 'Edu AU VIC WA NT Pre', cursive, 'Times New Roman', Times, serif;
  margin: 0 0 4vh 0;
  padding: 0;
}

#testimonialsblock {
  padding-top: 3vh;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

/* Add specific spacing for Google reviews section */
.google-reviews {
  margin-top: 2vh;
}

#aboutusblock {
  padding-top: 6vh;
  padding-left: 8vw;
  padding-right: 8vw;
}

#christinalead {
  font-style: italic;
}

#blockquote1 {
  padding-top: 3vh;
  color: #f5f1f1;
  text-align: center;
}

#readmore-homepagebtn {
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Homepage - Contact Us Section */
#contact-hmpg {
  background-color: #404143;
  padding: 4rem 0;
}

.bg-image-contact-hmpg {
  position: relative;
}

.contactustext-hmpg {
  color: rgb(90, 86, 86);
  font-family: 'Dancing Script', cursive, Georgia, 'Times New Roman', Times, serif;
  font-weight: lighter;
  font-size: 8vw;
  transition: transform .5s ease-in-out;
}

.contactustext-hmpg:hover {
  transform: scale(1.1);
  cursor: pointer;
}

/* ---------------------------------
   ABOUT US (NOTRE HISTOIRE)
---------------------------------- */
/* Intro section */
#innerpage-intro {
  position: relative;
  z-index: -1 !important;
  padding-bottom: 0 !important;
}

.innerpage-intro-image-container {
  position: relative;
}

.innerpage-intro-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-color: rgba(0, 0, 0, 0.48);
}

.innerpage-intro-title {
  font-family: 'Edu AU VIC WA NT Pre', cursive;
  color: #fbac88; /* #78A1F9 or #fbac88 or #f9d078 */
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
  text-align: center;
  margin: 0 auto;
}

/* Shared section styles */
#innerpage-section1,
#innerpage-section3 {
  padding: 4rem 0 !important; /* Standardized vertical padding */
}

.innerpage-section-title,
.innerpage-section-subtitle {
  font-family: 'Edu AU VIC WA NT Pre', cursive;
  margin-bottom: 1rem;
}

.innerpage-section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.innerpage-section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: #fbac88; /* #78A1F9 or #fbac88 or #f9d078 */
  font-weight: 600 !important;
  text-shadow: 0.2px 2px 1px #2926218c;
}

.innerpage-section-text {
  font-family: Georgia, 'Times New Roman', Times, serif;
  text-align: justify;
  line-height: 1.6;
}

.innerpage-section-text:hover {
  cursor: default;
}

/* Narrow horizontal rule with minimal margin */
.hr-compact {
  margin: 1.5rem auto;
  opacity: 0.8;
}

/* Spacing utility for row blocks */
.innerpage-row {
  margin-bottom: 3rem; /* Standardized row spacing */
}

/* Overlay & padding for last section */
.innerpage-overlay-image-container {
  position: relative;
  height: 100%;
}

/* Override card-img-top height for innerpage images */
.innerpage-overlay-image-container .img-size-limiter.card-img-top {
  height: auto !important;
  width: 100%;
  object-fit: cover;
}

.innerpage-overlay {
  background-color: rgba(249, 247, 247, 0.6); /* overridden inline if needed */
}

/* For text inside overlay */
.overlay-text-justified {
  padding: 1rem 2rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.2rem; /* Matches main text */
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  word-break: break-word;
  letter-spacing: 0.02em;
  word-spacing: 0.06em;
  line-height: 1.6;
}

/* ---------------------------------
   CONTACT PAGE
---------------------------------- */
.border {
  padding-inline: 4vw;
  padding-top: 1vh;
}

.imgintrocontactpage {
  position: relative;
}

.titlecontactpage {
  font-weight: lighter;
  position: absolute;
  top: 45%;
  width: 100%;
  padding-left: 30%;
  padding-right: 30%;
  font-size: 5vw;
}

#contactdetails {
  padding-top: 8vh;
  padding-left: 20vw;
  padding-right: 20vw;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

#contact-title-box {
  font-size: large;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.any_question {
  padding-top: 10vh;
  padding-left: 4vw;
  padding-right: 4vw;
  text-align: center;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.please_fillform {
  font-size: medium;
  font-family: Georgia, 'Times New Roman', Times, serif;
  text-align: center;
  padding-bottom: 6vh;
  padding-left: 4vw;
  padding-right: 4vw;
}

/* Contact page social icons - reduce by 50% for iPad */
.avis-logo {
  width: 100% !important;
  height: auto !important;
  max-width: 80px !important;
}

/* Limit card height for iPads */
.card-img-top {
  max-height: 25vh !important;
}

/*******************************************************
  8. UTILITIES & HELPERS
*******************************************************/
/* Image size limiter for large screens */
.img-size-limiter {
  max-height: 80vh !important;
  object-fit: cover;
}

/*******************************************************
  9. MEDIA QUERIES & RESPONSIVE DESIGN
*******************************************************/

/* ---------------------------------
   GENERAL RESPONSIVE STYLES
---------------------------------- */
@media only screen and (max-width: 768px) {
  /* General */
  .pagecontainer {
    margin-top: 10vh;
  }
  .padding-bott-sm-3 {
    padding-bottom: 3vh;
  }
  .wrapper {
   height: auto !important; 
    overflow-y: visible !important;
    perspective: none !important;
  }
  html, body {
    height: auto; 
    min-height: 100vh;
    overflow-y: auto;
  }
  
  /* Slideshow */
  #Slideshow {
    height: 50vh;
  }
  .carousel-item-image {
    object-position: center 20%;
  }
  
  /* Cards section */
  #kitchencardssection {
    margin-top: -22vh;
    clip-path: url(#arch-mask-mobile);
    -webkit-clip-path: url(#arch-mask-mobile);
  }
  
  /* Consultation section - mobile adjustments */
  #consultation .card-img-top {
    height: 80vh !important; /* Taller on mobile, increased from 60vh */
    max-height: none !important; /* Override any max-height restrictions */
  }
  
  /* About Us page */
  .overlay-text-justified {
    text-align: left;
    hyphens: none;
    word-break: normal;
    word-spacing: normal;
    letter-spacing: 0.01em;
  }
  .innerpage-intro-title {
    font-size: 8vh !important;  
  }
  
  /* Fix spacing on mobile for Notre Histoire page */
  .innerpage-row {
    margin-bottom: 1rem !important; /* Reduced from 3rem to 1rem */
  }
  
  /* Footer */
  .footer-img-fun {
    scale: 1 !important;
    transform: translate(-25%, 0%);
  }
  .footer-fish-box {
    font-size: 5vw !important;
  }
  
  /* Testimonials */
  #testimonials_aboutus {
    font-size: small;
    padding-top: 2vh !important;
  }
  
  .testimonial-section-title {
    font-size: 10vw !important;
    margin-bottom: 5vh !important;
  }
  
  .google-reviews {
    margin-top: 3vh !important;
  }
  
  /* Contact */
  #contactdetails {
    padding-top: 3vh;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  
  /* Background sizing */
  .background {
    height: 50%;
  }
  
  /* Reservation modal */
  #stickz {
    display: none !important;
  }
  #stickz-mobile {
    display: flex !important;
  }
  #modal-reservation-form-wrapper {
    bottom: calc(12vh + env(safe-area-inset-bottom)) !important;
  }
  #modal-reservation-confirmation-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80% !important;
    padding: 1.5rem !important;
  }
}

/* ---------------------------------
   SMALL DEVICES (<576px)
---------------------------------- */
@media (max-width: 576px) {
  /*.card-title {
    font-size: 5vw !important;
  }
 /* .card-text {
    font-size: 4vw !important;
  } */
  .display-5 {
    font-size: 12vw !important; 
  }
  .display-6 {
    font-size: 4vw !important; 
  }
}

/* ---------------------------------
   SMALL DEVICES (<540px)
---------------------------------- */
@media only screen and (max-width: 540px) {
  #footer-container {
    font-size: 10px;
    line-height: 2.5vh;
  }
  .titlecontactpage h1 {
    font-size: 4vw !important;
  }
}

/* ---------------------------------
   MEDIUM+ DEVICES (≥540px)
---------------------------------- */
@media only screen and (min-width: 540px) {
  .reservations {
    font-size: 5vw !important;
  }
  .contactustext-hmpg {
    font-size: 5vw !important;
  }
  #footer-container {
    line-height: 3vh;
  }
  #footercontact {
    font-size: 14px; 
  }
  #footericons {
    font-size: 25px;
  }
}

/* ---------------------------------
   MEDIUM DEVICES (≥768px)
---------------------------------- */
@media (min-width: 768px) {
  /* Buttons */
  .btn {
    transform: scale(1.2);
  }
  .btn:hover {
    transform: scale(1.2);
    transition: transform .5s ease-in-out;
  }
  
  /* Card text optimization for desktop */
  .card-text {
    /*font-size: 0.95rem !important; /* Fixed font size for better readability on desktop */
    text-align: justify !important; /* Ensure justified alignment on desktop */
    text-align-last: left !important; /* Prevents last line from being stretched */
    text-justify: inter-word !important; /* Better word spacing control */
    hyphens: auto !important; /* Allows hyphenation for better line breaks */
  }
  
  /* Navigation */
  .navbar-collapse {
    display: flex !important;
  }
  .offcanvas.offcanvas-end {
    display: none !important;
  }
  #headerNav .navbar-brand {
    display: block !important;
  }
  .mobile-title,
  .navbar-toggler {
    display: none !important;
  }
  .logo {
    width: 12vw;
  }
  
  /* Footer */
  .footer-img-fun {
    scale: 1.8;
    transform: translateY(18%);
  }
  
  /* Forms */
  #form-contact {
    padding-left: 20vw;
    padding-right: 20vw;
  }
}

/* ---------------------------------
   LARGE DEVICES (≥992px)
---------------------------------- */
@media (min-width: 992px) {
  /* Logo & Nav */
  .logo {
    width: 5vw;
  }
  .nav-item {
    font-size: medium;
    padding: 0.8rem;
  }
  
  /* Image Sizing */
  .img-size-limiter {
    max-height: 80vh !important;
    object-fit: cover;
  }
}

/* ---------------------------------
   EXTRA LARGE DEVICES (≥1200px)
---------------------------------- */
@media (min-width: 1200px) {
  #innerpage-section1,
  #innerpage-section3 {
    padding-top: 6rem !important;
    padding-bottom: 2rem !important;
  }
  .innerpage-section-title {
    font-size: 2.2rem;
  }
  .innerpage-section-subtitle {
    font-size: 2.2rem;
  }
  .innerpage-section-text {
    font-size: 1.2rem;
  }
}

/* ---------------------------------
   TABLET & SMALL DESKTOP (≥768px, <1200px)
---------------------------------- */
@media (min-width: 768px) and (max-width: 1199px) {
  #innerpage-section1,
  #innerpage-section2,
  #innerpage-section3 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .innerpage-section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .innerpage-section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .innerpage-section-text {
    font-size: 1.125rem;
  }
  
  /* Contact page social icons - reduce by 50% for iPad */
  .avis-logo {
    width: 50% !important;
    height: auto !important;
    max-width: 80px !important;
  }
  
  /* Remove overly restrictive card height limit for iPads */
}

/* ---------------------------------
   MOBILE NAVIGATION SPECIFIC
---------------------------------- */
@media (max-width: 767.98px) {
  /* Hide desktop menu elements */
  #navbarNavDropdown,
  #headerNav .navbar-brand,
  #stick-mobile {
    display: none !important;
  }
  
  /* Style toggle button */
  .navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    padding: 0.5rem;
    margin-left: auto;
    position: relative;
    z-index: 1;
  }
  
  .navbar-toggler:focus {
    box-shadow: none !important;
  }
  
  .navbar-toggler-icon {
    filter: brightness(0) invert(1);
  }
  
  /* Show mobile title */
  .mobile-title {
    display: block !important;
  }
  
  /* Full-width offcanvas */
  .offcanvas.offcanvas-end {
    width: 100vw;
    height: 100vh !important;
    max-height: none !important;
    background: linear-gradient(90deg, rgba(18, 17, 31, 0.8), rgba(64, 65, 67, 0.4));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
  
  /* Offcanvas body scrolling */
  .offcanvas-body {
    height: calc(100vh - 70px);
    overflow-y: auto;
  }
  
  /* Style offcanvas header */
  .offcanvas-header {
    padding: 1rem;
    /* background-color: rgba(246, 215, 143, 0.112);
    border-bottom: 1px solid rgba(255,255,255,0.1);   If a different mobile menu header color is needed */
    display: flex; /* Enable flexbox for alignment */
    justify-content: space-between; /* Space out items */
    align-items: center; /* Vertically align items */
  }
  
  /* Container for social icons in offcanvas header */
  .offcanvas-social-icons-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Center icons horizontally */
    flex-grow: 1; /* Allow container to take available space */
  }

  /* Individual social icons in offcanvas header */
  .offcanvas-social-icon {
    height: 40px; /* Increased size */
    width: 40px; /* Ensure same width */
    object-fit: contain; /* Ensure entire image is visible and maintains aspect ratio */
    margin: 0 20px; /* Add spacing between icons */
  }

  .offcanvas-logo {
    height: 60px;
  }
  
  .btn-close {
    filter: invert(1);
  }
  
  /* Style mobile menu items */
  .offcanvas .nav-link {
    font-family: 'Edu AU VIC WA NT Pre', sans-serif;
    font-size: 1.5rem !important;
    color: #f9d078 !important;
    text-shadow: 1.5px 1.5px 1.5px rgba(0, 0, 0, 0.506);
    padding: 0.5rem 1rem;
    text-align: center;
  }
  
  .offcanvas .dropdown-menu {
    background: rgba(18, 17, 31, 0.5) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: none;
    text-align: center;
  }
  
  .offcanvas .dropdown-item {
    color: #f9d078 !important;
    font-family: 'Edu AU VIC WA NT Pre', sans-serif;
    text-align: center;
  }
  
  /* Center the navbar in the offcanvas menu */
  .offcanvas .navbar-nav {
    width: 100%;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Container for bottom logo in offcanvas */
  .offcanvas-bottom-logo-container {
    margin-top: auto; /* Push to bottom */
    padding: 2rem 0; /* Add some padding */
    text-align: center;
  }

  /* Bottom logo in offcanvas */
  .offcanvas-bottom-logo {
    height: 112px; /* Increased from 80px by 40% */
    width: auto;
  }
}

.slider-wrap .slider-text .dark::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	/* background: url(assets/Homepage/none); */
	z-index: 1;
}

/* ---------------------------------
   iPad-SPECIFIC FIXES
---------------------------------- */

/* iPad Portrait - Fix overly tall card images */
@media only screen 
  and (min-width: 768px) 
  and (max-width: 1024px) 
  and (orientation: portrait) {
  
  .card-img-top {
    height: 18vh !important; /* Reduced from 30vh for portrait orientation */
  }
}

/* iPad Portrait (768x1024) and iPad Landscape (1024x768) */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
  
  /* Fix 1: Notre Histoire last image vh issue on iPad only */
  .innerpage-overlay-image-container .img-size-limiter.card-img-top {
    max-height: 60vh !important; /* Increased from default to fix shrinking */
    object-fit: cover;
  }
  
  /* Fix 2: iPad iframe menu sizing - make them fit screen better */
  .menu-iframe-container,
  .iframe-container {
    width: calc(100vw - 40px) !important; /* More conservative than 95vw, with 20px padding on each side */
    margin: 0 auto !important; /* Center it */
    max-width: 1000px !important; /* Add max-width to prevent it from being too wide */
  }
  
  .menu-section {
    max-width: 100% !important; /* Override the 70% max-width for iPad */
    padding: 0 20px !important; /* Add side padding to ensure spacing */
  }
}

/* iPad Landscape specific fixes */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
  
  /* Fix 1: Notre Histoire last image vh issue on iPad only */
  .innerpage-overlay-image-container .img-size-limiter.card-img-top {
    max-height: 60vh !important; /* Increased from default to fix shrinking */
    object-fit: cover;
  }
  
  /* Fix 2: iPad iframe menu sizing - make them fit screen better */
  .menu-iframe-container,
  .iframe-container {
    width: calc(100vw - 40px) !important; /* More conservative than 95vw, with 20px padding on each side */
    margin: 0 auto !important; /* Center it */
    max-width: 1000px !important; /* Add max-width to prevent it from being too wide */
  }
  
  .menu-section {
    max-width: 100% !important; /* Override the 70% max-width for iPad */
    padding: 0 20px !important; /* Add side padding to ensure spacing */
  }
}