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

:root {
  --font-heading: 'Cinzel', serif;
  --font-subheading: 'Cormorant Garamond', serif;
  --font-body: 'Lato', sans-serif;
}

body {
  margin: 0;
  padding-top: 120px; /* Added to account for fixed header */
  font-family: var(--font-body);
  background: #f9f6f1;
  color: #222;
  line-height: 1.6;
  font-weight: 300;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 5%;  /* Adjusted padding for larger logo */
  background: #fefcf9;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.navbar .logo-container img {
  height: 55px;  /* Increased from 70px to 105px (50% increase) */
  width: auto;
  display: block;
}

.navbar .logo-text {
  font-family: var(--font-heading);
  font-size: 32px;  /* Increased text size to match larger logo */
  font-weight: 700;
  color: #c5a07b;
  letter-spacing: 1.5px;
}

.navbar nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #222;
  font-size: 1rem;
}

.navbar nav a:hover {
  color: goldenrod;
}

/* Hero Slideshow */
.hero-slideshow {
  position: relative;
  overflow: hidden;
  background: #fefcf9;
}

.slides {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  position: relative;
  pointer-events: all;
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 8%;
  gap: 2rem;
  background-image: url('../assets/images/DSlide1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
  position: relative;
}

/* Add gradient overlay for better text readability */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.7) 20%, rgba(0,0,0,0) 70%);
  z-index: 1;
}

.hero-text {
  max-width: 50%;
  position: relative;
  z-index: 2;
  color: #2e2e2e;
}

.hero-text h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
}

.hero-text .highlight {
  color: #c7a375;
}

.hero-text p {
  margin-bottom: 1rem;
  color: #000000;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn {
  display: inline-block;
  padding: 2px 10px;
  background: #4a64d8;
  color: #fff;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.5s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Slide Navigation Dots */
.slide-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slide-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid #4a64d8;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slide-dots .dot.active {
  background: #4a64d8;
}

/* Services */
.services {
  padding: 6rem 5%;
  background-color: #fff8f2;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at center, rgba(218, 165, 32, 0.07) 0.5px, transparent 0.5px),
    linear-gradient(45deg, transparent 48%, rgba(218, 165, 32, 0.06) 49%, rgba(218, 165, 32, 0.06) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(218, 165, 32, 0.06) 49%, rgba(218, 165, 32, 0.06) 51%, transparent 52%);
  background-size: 16px 16px, 16px 16px, 16px 16px;
  z-index: -1;
}

.services::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: radial-gradient(
    circle at center,
    rgba(255, 215, 0, 0.03) 0%,
    rgba(218, 165, 32, 0.03) 30%,
    rgba(255, 248, 240, 0.05) 60%,
    transparent 70%
  );
  transform: rotate(-15deg);
  z-index: -1;
  animation: subtle-shine 8s linear infinite;
}

@keyframes subtle-shine {
  from {
    transform: rotate(-15deg) translate(-5%, -5%);
  }
  to {
    transform: rotate(-15deg) translate(5%, 5%);
  }
}

/* Ensure content is visible */
.services-header, .service-cards {
  position: relative;
  z-index: 2;
}

.card {
  background: #fff;
  z-index: 2;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.services h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #d4af37, #ffdb58);
}

.services-subtitle {
  color: #666;
  font-size: 1.2rem;
  font-family: var(--font-subheading);
  margin-top: 1rem;
}

.service-cards {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  color: #333;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
  z-index: 1;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 2rem;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
  background: linear-gradient(135deg, #fff8f0, #fff);
  padding: 1rem;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card h3 {
  font-family: var(--font-heading);
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-family: var(--font-subheading);
  font-size: 1.1rem;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.card-features span {
  color: #555;
  font-size: 1rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary {
  display: inline-block;
  width: 100%;
  padding: 1rem 1.5rem;
  background: transparent;
  color: goldenrod;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  font-weight: 500;
  text-align: center;
  border: 2px solid goldenrod;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(to right, #daa520, #ffd700);
  transition: all 0.5s ease;
  z-index: -1;
}

.btn-secondary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(218, 165, 32, 0.2);
  border-color: transparent;
}

.btn-secondary:hover::before {
  width: 100%;
}

/* About Section */
.about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 8%;
  background: #b7a99a;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  color: white;
  padding-right: 2rem;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.about-text h4 {
  font-family: var(--font-subheading);
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  letter-spacing: 0.3px;
}

.about-text p {
  margin-bottom: 1rem;
}

.social-icons {
  margin: 1rem 0;
}

.social-icons a img {
  width: 24px;
  margin-right: 10px;
}

.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  margin: 0 2rem 2rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.about-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 5px;
}

/* Contact Section */
.contact {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 3rem 8%;
  background: #d6c7b6;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  padding-right: 2rem;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.contact-info p {
  margin: 0.5rem 0;
}

.contact-map {
  flex: 1;
  min-width: 300px;
}

/* Floating Chat Button */
.chat-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.chat-btn button {
  background: white;
  border: 1px solid #ccc;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-btn button:hover {
  background: #f1f1f1;
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem;
  background: #222;
  color: #fff;
  margin-top: 2rem;
}

/* Media Queries */
@media (max-width: 768px) {
  .about,
  .contact {
    flex-direction: column;
  }

  .about-image img {
    margin-top: 2rem;
  }

  .contact-map {
    margin-top: 2rem;
  }
}
.about .btn-secondary {
  display: block;
  width: fit-content;
  margin: 2rem auto;
}
/* Owner Photo Section */
.owner-section {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  gap: 2rem;
  align-items: flex-start; /* Align items to the top */
  margin-top: 2.5rem; /* Space from the text above */
}

.owner-info {
  flex: 3; /* Takes more space for text */
  min-width: 300px; /* Ensures text doesn't get too narrow */
}

.owner-info p {
    margin-bottom: 1rem; /* Space between paragraphs */
}

.owner-photo-container {
  flex: 1; /* Takes less space for photo */
  min-width: 150px; /* Minimum width for the container */
  max-width: 200px; /* Max width to keep photo reasonable size */
  text-align: center;
  margin-left: auto; /* Pushes to the right if space allows */
}

.owner-photo {
  width: 100%; /* Makes image fill its container */
  height: auto; /* Maintain aspect ratio */
  border-radius: 50%; /* Makes the image round */
  object-fit: cover; /* Ensures image covers the circular area */
  aspect-ratio: 1 / 1; /* Forces a square aspect ratio for perfect circle */
  border: 4px solid #c5a07b; /* Elegant border around the photo */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.owner-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1rem;
  color: #333;
}

.owner-title {
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  color: #666;
  margin-top: 0.2rem;
}

/* Adjustments for responsiveness */
@media (max-width: 768px) {
  .owner-section {
    flex-direction: column; /* Stack vertically on small screens */
    align-items: center; /* Center items when stacked */
  }
  .owner-photo-container {
    margin-left: 0; /* Remove auto margin when stacked */
    margin-bottom: 2rem; /* Add space below photo */
    max-width: 180px; /* Adjust size for mobile */
    order: -1; /* Place photo above text on mobile */
  }
}
.about-page-container {
  background: #f9f6f1; /* Sets a premium, light background for the whole page section */
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.content-card {
  background: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 4rem;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Make the main text grid take up the full width of the new card */
.about-page-container .about-intro-grid {
  grid-template-columns: 1fr; /* Use a single column layout within the card */
  margin: 0;
  padding: 0;
}
/* CTA Section */
.cta-section {
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #222;
}

.cta-section p {
  color: #555;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-section .btn {
  display: inline-block;
  padding: 15px 30px;
  background: #4a64d8;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-section .btn:hover {
  background: #3950b0;
}

/* Makes the logo link behave correctly */
.logo-link {
  text-decoration: none;
  color: inherit;
}
/* Contact Page Styling */
.contact-page-container {
  background: #f9f6f1;
  padding: 5rem 2rem;
}

.page-header {
  text-align: center;
  margin: 0 auto 4rem auto;
  max-width: 800px;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  color: #666;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.contact-form-container, .contact-details-panel {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-details-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 1rem;
}

.contact-details-panel p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.contact-details-panel .social-icons {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}
.contact-map{
    margin-top: 1.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
}

.thank-you-modal {
    text-align: center;
    padding: 3rem 4rem !important;
}

.thank-you-modal h2 {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: #c5a07b;
    margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* Styles for a smaller Thank You pop-up box */
.thank-you-modal {
  max-width: 450px; /* Makes the box smaller */
  width: 90%;
  margin: 15% auto; /* Positions it nicely in the middle */
  padding: 2.5rem !important; /* Adjusts the internal spacing */
  text-align: center;
}

/* Styles for the close button on the Thank You pop-up */
.close-button-thanks {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-button-thanks:hover {
  color: #333;
}
/*
  This is the main style for ALL pop-ups (modals).
  It hides them by default and creates the dark, blurry background.
*/
.modal {
  display: none; /* This is the key line that hides the pop-up */
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px); /* This adds the blurry effect */
}

/* This styles the white box inside the pop-up */
.modal-content {
  background-color: #ffffff;
  margin: 10% auto;
  padding: 2rem 3rem;
  border-radius: 15px;
  width: 80%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  animation: animatetop 0.4s;
}

/* Pop-up open animation */
@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}
/* Home Page Contact Section Styling */
.home-contact-section {
  background: #fff8f2;
  padding: 5rem 2rem;
}

.page-header {
  text-align: center;
  margin: 0 auto 4rem auto;
  max-width: 800px;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  color: #666;
}

.contact-form-container-solo {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  max-width: 700px; /* <-- Changed from 800px to make it smaller */
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
}
/* Slideshow Navigation Arrows */
.hero-slideshow .prev, .hero-slideshow .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.3);
}

.hero-slideshow .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.hero-slideshow .prev {
  left: 0;
}

.hero-slideshow .prev:hover, .hero-slideshow .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Ensure dots are on top and clickable */
.slide-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2; /* This makes sure they are clickable */
}
/* --- Media Queries for Responsiveness --- */

/* For Tablets and Smaller */
@media (max-width: 1024px) {
    /* Example: Make the contact form grid stack into a single column */
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* For Mobile Phones Only */
@media (max-width: 768px) {
    /* Make the hero text smaller on mobile */
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    /* Hide the hero image on mobile to save space */
    .hero-image {
        display: none;
    }

    /* Make service cards stack vertically */
    .service-cards {
        flex-direction: column;
        align-items: center;
    }
}
/* ========================================= */
/* --- Media Queries for Responsiveness --- */
/* ========================================= */

/* For Tablets and Smaller (up to 1024px) */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


/* --- Hamburger Menu Styles (Desktop and Mobile) --- */

/* Hide hamburger button by default on desktop */
#hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: #333;
}

/* ========================================= */
/* --- Media Queries for All Devices --- */
/* ========================================= */

/* For Mobile Phones (up to 768px) */
@media (max-width: 768px) {
    /* --- Mobile Header --- */
    .navbar {
        justify-content: space-between; /* Pushes logo left, hamburger right */
    }

    /* Make the logo and text smaller */
    .navbar .logo-container img {
        height: 50px;
    }
    .navbar .logo-container .logo-text {
        font-size: 16px;
    }

    /* Show the hamburger button */
    #hamburger-btn {
        display: block;
    }

    /* Hide the regular navigation links */
    .navbar nav {
        display: none;
    }

    /* Styles for the OPEN mobile menu */
    .navbar nav.mobile-menu-open {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: #fefcf9;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 1rem 0;
        gap: 1rem; /* This creates even space BETWEEN each link */
        z-index: 1000;
    }
    .navbar nav.mobile-menu-open a {
        margin: 0;
        padding: 0.5rem 0; /* Reduced padding for the link itself */
        width: 100%;
        text-align: center;
    }

    /* --- Other Mobile Adjustments --- */
    body {
        padding-top: 80px;
    }
    .hero, .service-hero {
        min-height: 45vh !important;
    }
    .hero-image {
        display: none;
    }
    .service-cards, .about, .contact, .owner-section {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 768px) {
  /* Center-align the text in the About and Contact sections on mobile */
  .about, .contact {
    text-align: center;
  }

  /* Remove desktop-specific padding */
  .about-text, .contact-info {
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  /* Center-aligns the content on the dedicated About Us page for mobile */
  .about-page-container .content-card {
    text-align: center;
  }
}
/* Center-aligns the headings in the homepage's 'About' section */
.about-text h2,
.about-text h4 {
  text-align: center;
}
@media (max-width: 768px) {
  /* Reduces the height of the top banner on service pages */
  .service-hero {
    min-height: 5vh !important;
  }
}
/* --- Dropdown Menu Styles --- */

/* The container for the dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

/* The content of the dropdown (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fefcf9;
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 5px;
  overflow: hidden; /* Ensures rounded corners on links */
}

/* The links inside the dropdown */
.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block; /* Makes the entire area clickable */
  margin-left: 0; /* Override default nav link margin */
  text-align: left;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #f1f1f1;
  color: goldenrod;
}

/* The magic step: Show the dropdown when hovering over the container */
.dropdown:hover .dropdown-content {
  display: block;
}
@media (max-width: 768px) {
  /* Hides the service dropdown menu on mobile */
  .dropdown .dropdown-content {
    display: none !important;
  }
}
@media (max-width: 768px) {
  /* --- Mobile Slideshow Aspect Ratio --- */

  /* This forces the slideshow container into a 2:1 shape */
  .hero {
    position: relative;
    display: block;
    height: 0;
    padding-bottom: 10%; /* This creates the 2:1 (4:2) aspect ratio */
  }

  /* This repositions the text inside the newly shaped box */
  .hero-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%; /* Adds spacing from the edge */
  }
}

@media (max-width: 768px) {
  /* Fixes the banner height and text alignment on service pages for mobile */
  .service-hero {
    min-height: 30vh; /* Sets a shorter height (30% of screen height) */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    
    /* Resets any conflicting styles */
    height: auto;
    padding-bottom: 2rem;
  }
}


/* --- Floating Buttons Styles --- */
.fab-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px; /* Space between the two buttons */
}

.fab-item {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 0 4px S12px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.fab-item:hover {
  transform: scale(1.1);
}

.fab-item.whatsapp {
  background-color: #25D366;
}

.fab-item.call {
  background-color: #34B7F1;
}

.fab-item i {
  font-size: 24px;
}