/* GLOBAL #########################################*/
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Playfair Display', serif;
  color: #1E1E1E;
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* This accounts for the fixed header */
}

/* Apply Playfair Display to all text elements */
* {
  font-family: 'Playfair Display', serif;
}

h1, h2, h3, h4, h5, h6,
p, a, span, li, td, th, div, button, input, textarea, select, label {
  font-family: 'Playfair Display', serif;
}
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.5;
}

.text-custom {
  color: #1E1E1E !important;
}
/* Page fade-in animation */
/* .page-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}

.page-fade.page-fade-in {
  opacity: 1;
  transform: none;
} */
.fade-in-blur {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.8s, filter 0.8s;
}
.fade-in-blur.visible {
  opacity: 1;
  filter: blur(0);
}
/* BODY #########################################*/
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #F9F6EE;
}
main {
  flex: 1 0 auto;
  width: 100%;
}
footer {
  flex-shrink: 0;
}



/*HEADER, FOOTER ######################################### */
header, footer {
  padding: 2rem 0;     /* Tight padding */
  font-size: 1rem;     /* Prevent accidental enlargement */
  font-style: italic;
}

header.border-bottom {
  border-bottom: 2px solid #1E1E1E !important;
}

footer.border-top {
  border-top: 2px solid #1E1E1E !important;
}
.header-title {
  font-style: normal;
  font-weight: bold;
}
header.py-4, footer.py-4 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}
footer a {
  font-size: 1rem;
  text-decoration: none;
  color: inherit;
}
footer a:hover {
  font-weight: bold;
}
.bg-custom {
  background-color: #F9F6EE;
}
/* Set default color and remove underline */
.nav-link {
  color: #1E1E1E !important;
  text-decoration: none;
}
/* Underline on hover */
.nav-link:hover {
  font-weight: bold; /* This makes it bold */
}
.nav-link.active {
  text-decoration: underline;
}


/*TEXT BOX  #########################################*/
.text-box, .text-box * {
  color: #1E1E1E !important;
}

.text-box, .text-box-contact {
  max-width: 600px;
  width: 100%;
  background-color: #1E1E1E;
  padding: 2rem;
  margin: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 1.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.text-box h2 {
  margin-bottom: 1.5rem !important;
}
.text-box-contact {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 2rem !important;
}

.text-box-contact h2 {
  margin-bottom: 3rem !important;
}

.text-box-contact .d-flex {
  gap: 1rem !important;
  justify-content: center;
  align-items: center;
}

.text-box p, p.text-custom {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  display: inline-block;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  color: #ffffff !important;
}

/*BUTTONS ######################################### */
/* Custom Button Styling */
.btn-custom {
    /* background-color: #6C0E50; */
    color: #ffffff !important;
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    border-radius: 25px;
    min-width: 280px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.btn-custom:hover {
    background-color: #B2A2A8;
    color: #1E1E1E;
    transform: translateY(-2px);
}

/*CONTACT PAGE ######################################### */
.contact-link {
  color: #1E1E1E;
  transition: font-weight 0.2s ease;
}

.contact-link:hover {
  font-weight: bold;
}
.contact-section .border-end {
  border-color: #1E1E1E !important;
}

/*SERVICES  PAGE######################################### */
/* Service Sections */
.service-section {
  border-color: #1E1E1E !important;
  min-height: 150px;
}

.service-section .border-end {
  border-color: #1E1E1E !important;
}

.service-section h3 {
  color: #1E1E1E;
  font-size: 1.5rem;
}

.service-section h4 {
  color: #1E1E1E;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.service-section h4:first-child {
  margin-top: 0;
}
.service-section p {
  color: #1E1E1E;
  font-size: 1.1rem;
  line-height: 2;
  padding: 1rem 0;
}
/* Dropdown Menu */
.dropdown-menu {
  background-color: #727064;
  border: none;
  border-radius: 8px;
  margin-top: 0.5rem;
}

.dropdown-item {
  color: #ffffff !important;
  padding: 0.5rem 1.5rem;
}

.dropdown-item:hover {
  background-color: transparent;
  color: #1E1E1E !important;
  font-weight: bold;
}

.dropdown-toggle::after {
  color: #B2A2A8;
}


/* BACKGROUND PHOTOS IN MAIN ############################### */
.background-photos,  .background-photos-about {
  height: 100%;
  min-height: 100%;
  width: 100%;
  pointer-events: none;
  z-index: 1;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bg-photo, .bg-photo-about {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-width: 100%;
  margin: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  opacity: 0.85;
  transition: max-width 0.3s, height 0.3s;
}
.photo-1-about {
  background-image: url('../assets/IMG_6886.jpg');
}
.photo-left {
  background-image: url('../assets/IMG_6904.jpg');
}

@media (max-width: 767.98px) {
  
  .background-photos, .background-photos-about {
    padding: 0 0.5rem;
  }
  .bg-photo, .bg-photo-about {
    height: 100%;
    min-height: 100%;
    max-width: 98%;
    margin: 0 auto;
  }
  .bg-photo-about {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 1 !important;
    margin-right: 1 !important;
  }
  .background-photos-about {
    padding: 0 !important;
  }
  
  /* Mobile layout for about page */
  .mobile-text-left {
    margin-top: 0.1rem !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    max-width: 60% !important;
    text-align: right !important;
    right: 0 !important;
  }
  
  .background-photos-about .bg-photo-about {
    background-position: right center !important;
  }
  
  .mobile-text-left .d-flex.justify-content-start {
    justify-content: center !important;
  }
  
  .mobile-text-left .d-flex {
    justify-content: center !important;
  }
  
  .mobile-text-left div[class*="d-flex"] {
    justify-content: center !important;
  }
  
  .mobile-text-left .mt-4 {
    display: flex !important;
    justify-content: center !important;
    position: absolute !important;
    left: 20% !important;
    transform: translateX(-50%) !important;
    bottom: 1.5rem !important;
  }
  .photo-left {
    background-image: url('../assets/IMG_6904.jpg') !important;
  }
  
  /* Mobile background for index page */
  .col-12.col-md-4 {
    background-image: url('../assets/IMG_6885.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: black !important;
  }
  
  .col-12.col-md-4 h1,
  .col-12.col-md-4 p {
    color: white !important;
    padding: 0.5rem !important;
  }
  
  .col-12.col-md-4 p {
    position: absolute !important;
    top: 2rem !important;
    right: 0.5rem !important;
    max-width: 80% !important;
    text-align: right !important;
  }
  
  /* Hide existing background photos on mobile */
  .background-photos {
    display: none !important;
  }
  
  .bg-photo {
    display: none !important;
  }
  
  /* Hide photo columns on mobile for index page */
  .col-md-4 .bg-photo {
    display: none !important;
  }
  
  /* Ensure text column takes full width on mobile */
  .col-12.col-md-4 {
    width: 100% !important;
    max-width: 100% !important;
  }
}
.photo-right {
  background-image: url('../assets/IMG_6901.jpg');
}
@media (max-width: 991.98px) {
  .background-photos, .background-photos-about {
    padding: 0 1rem;
  }
  .bg-photo, .bg-photo-about {
    height: 100%;
    min-height: 100%;
    max-width: 98%;
    margin: 0 auto;
  }
}
