/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Birthstone&family=Courgette&family=Meddon&family=Oranienbaum&family=Playfair+Display:ital,wght@1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sansita+Swashed:wght@500&display=swap');

@media screen and (min-width: 721px){
  #gallery-mobile { display: none !important; }
}

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

.footer-mobile {
  display: none;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

main{
  flex: 1; /* Allow main to grow and fill available space */
}

/* Desktop Nav */
#desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 150px;
    padding: 24px 40px 12px 40px;
    background: #844f39;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 200px;
}

.logo-img {
    height: 100px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 50px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #fdeed9;
    text-decoration: none;
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.3rem;
    padding: 8px 18px;
    border-radius: 4px;
    transition: color 0.2s;
}

.nav-links li a:hover,
.nav-links li a:focus {
    text-decoration: none;
    color: #a17c68;
    text-underline-offset: 6px; /* Adjust the gap as needed */
}

/* Hamburger Nav (hidden by default on desktop) */
#hamburger-nav {
    display: none;
    width: 100%;
    background: #844f39 ;
    position: sticky;
    top: 0;
    z-index: 10;
}

.hamburger-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    width: 100%;
    margin-bottom: 0; /* Remove space below hamburger for mobile */
}

.hamburger-icon {
    display: inline-block;
    cursor: pointer;
}

/* Hamburger Bars */
.bar1, .bar2, .bar3{
    width: 25px;
    height: 2px; /* thinner bars */
    background-color: #fdeed9;
    margin: 6px 0;
    transition: 0.3s;
}

.bar1, .bar2, .bar3 {
  transition: 0.4s;
}

.change .bar1 {
  transform: translate(0, 8px) rotate(-45deg);
}
.change .bar2 {
  opacity: 0;
}
.change .bar3 {
  transform: translate(0, -8px) rotate(45deg);
}

.hamburger-icon span {
    display: block;
    height: 2px; 
    width: 100%;
    background: #888; /* Lighter color for less bold look */
    margin: 5px 0;
    border-radius: 1px;
    transition: 0.3s;
    box-shadow: none;
}

.menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
    padding: 24px 0 0 0;
    position: absolute;
    top: 100%; /* Directly below the hamburger-header */
    left: 0;
    width: 100vw;
    background: #2a1b15;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s ease;
}

.menu-links.open {
    max-height: 600px; /* Enough to show all links */
    opacity: 1;
}

.menu-links .nav-links {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 1.3rem;
}

.menu-links .nav-links li a {
    color: #eae5d6;
    background: none;
    font-size: 0.8rem;
    padding: 8px 0;
    text-align: right;
}

.menu-links .nav-links li {
    position: relative;
}

.hide-nav {
    transform: translateY(-120px); /* Move nav out of view */
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.show-nav {
    transform: translateY(0); /* Reset position */
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

/* Home Page Styles */
#home-page {
    padding: 0 ;
    margin: 0 ;
    margin-top: 0;
    margin-bottom: 0 !important; /* Remove bottom margin */
    position: relative; /* Ensure proper positioning */
}
#home-page iframe {
    width: 100%; 
    max-width: 1800px; 
    height: auto; /* Maintain aspect ratio */
    aspect-ratio: 16/9; /* Ensure the video maintains a 16:9 aspect ratio */
    margin: 0 auto; /* Center the video */
    display: block; 
    margin-bottom: 0 !important;
}

/* Gallery Section */
#gallery-page {
    position: relative;
    padding: 32px 0 80px 0;
    background-color: #b67f60;
    text-align: center;
    margin-bottom: 0;
    width: auto;
}

#gallery-page h2 {
    font-size: 2.2em;
    color: #fdeed9;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-family: "Sansita Swashed", system-ui;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    text-align: center;
    margin-top: .5rem;
}

#gallery-page .carousel-inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: auto;
}

#gallery-page .carousel-item .row {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 32px 0;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

#gallery-page .carousel-item .col-md-4 {
    flex: 0 0 30%;
    max-width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;    
}

#gallery-page .card-img {
    width: 100%;
    max-width: 400px;
    height: 600px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    margin: 0 auto;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Reset default positioning */
.carousel-control-prev,
.carousel-control-next {
  position: static;        
  top: auto;
  bottom: auto;
  transform: none;
  background: none;
  border: none;
  opacity: 0.8;
  width: auto;
  height: auto;
  margin: 0 12px;
}

/* Icon styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  width: 2.5rem;
  height: 2.5rem;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* Container for buttons under carousel */
#gallery-page .carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
  gap: 24px;
}
/* Positioning */
.carousel-control-prev {
    left: 24px;
}
.carousel-control-next {
    right: 24px;
}
/* Footer container aligns buttons and indicators under images */
.carousel-footer {
    border-top: 1.5px solid #d6bfa7;
    box-shadow: 0 -2px 8px rgba(132, 79, 57, 0.07);
    display: static;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

/* Wrapper centers indicators*/
.carousel-indicators-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 25px;  /* Space above indicators */
    margin-bottom: 0;
    position: relative;
}

/* Indicators styling */
.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 20%;
    background-color: #ccc;
    border: none;
    transition: background-color 0.3s;
}

/* Hide extra tiny indicators if present */
.carousel-indicators button:not([data-bs-slide-to]) {
    display: none !important;
}

.carousel-indicators .active {
  background-color: #000;
}

.carousel-indicators button:hover {
  background-color: #666;
}

/* Controls styling */
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
}

.carousel-control-prev,
.carousel-control-next {
  position: static; /* buttons flow naturally below indicators */
  background: none;
  border: none;
  opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  width: 2.5rem;
  height: 2.5rem;
  transition: opacity 0.3s, transform 0.3s;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  opacity: 1;
  transform: scale(1.2);
}



/* About Page */
#about-page {
    margin-top: 0;
    width: 100%;
    background: #debea2;
    padding: 64px 16px;
}

#about-page .about-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    background: none;
}

#about-page h2 {
    font-size: 2.2em;
    color: #432818;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-family: "Sansita Swashed", system-ui;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    text-align: center;
    margin-top: 0;
    margin-bottom: 4rem; /* distance between the heading and the columns */
}

#about-page .row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

#about-page .about-image {
    width: 100%; 
    max-width: 600px;
    height: 700px; 
    object-fit: fit;
    margin: 0 auto; 
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: block;
}

#about-page .col {
    flex: 1;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #43281c;
    font-size: 1.15em;
    line-height: 1.7;
    text-align: left;
    padding: 0;
    display: flex;
    align-items: center;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

#about-page .about-content {
    font-size: 1.3rem; 
    line-height: 1.8; /* Improve line spacing */
    text-align: left; 
    max-width: 600px; /* Limit the width of the text */
    margin: 0 auto; 
}
/* Contact Section */
#contact-page {
    width: 100%;
    background: #ede0d4;
    padding: 0;
    margin-bottom: 0 ;
    margin-top: 0 !important;
}

#contact-page .p{
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #43281c;
    font-size: 1.3rem;
    line-height: 1.7rem;
    text-align: left;
}

#contact-page.contact-section {
    max-width: auto;
    margin: 0 auto;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;
}

#contact-page h2 {
    font-size: 2rem;
    color: #432818;
    margin-bottom: 32px;
    letter-spacing: 2px;
    font-family: "Sansita Swashed", system-ui;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    text-align: center;
}

.contact-socials {
   display: flex;
   justify-content: center;
   gap: 1.5rem;
}

.contact-socials a img {
    margin-top: .5rem;
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: filter 0.2s;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.contact-socials a.facebook:hover img {
    filter: invert(29%) sepia(96%) saturate(749%) hue-rotate(186deg) brightness(95%) contrast(92%);
}

.contact-socials a.instagram:hover img {
    filter: invert(17%) sepia(100%) saturate(7500%) hue-rotate(0deg) brightness(95%) contrast(110%);
}

.contact-socials a.tiktok:hover img {
  filter: invert(36%) sepia(95%) saturate(1200%) hue-rotate(95deg) brightness(90%) contrast(95%);
}

.contact-socials a.email:hover img {
    filter: invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(95%) contrast(90%);
}


/* Footer */
.footer {
    width: 100%;
    background: black;
    color: #eae5d6;
    padding: 20px 0 24px 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-top: 0;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.07);
}

.footer p {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: .8rem;
    letter-spacing: 2px;
    text-align: center;
}