/* General Body Styles */
body {
    font-family: 'Montserrat', sans-serif; /* Modern sans-serif font */
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f07070 0%, #9f2929 100%); /* Red gradient background */
    color: #1f3336; /* Dark blue-grey for text */
    line-height: 1.8;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Header Styles */
header {
    background: linear-gradient(to right, #9f2929, #672828); /* Dark red gradient header */
    color: #ffffff;
    padding: 1.5em 2em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
}

.header-content img {
    margin-right: 15px;
}

.site-title h1 {
    font-family: 'Playfair Display', serif; /* Elegant serif font for headings */
    font-size: 2.5em;
    margin: 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.site-title p {
    font-size: 1.1em;
    font-style: italic;
    opacity: 0.9;
    margin: 0;
    animation: fadeInUp 1s ease-out 0.3s;
}

/* Keyframe Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navigation Styles */
nav ul {
    padding: 0;
    list-style: none;
    margin: 0; /* Remove default margin */
    display: flex;
    justify-content: flex-end; /* Align to the right */
}

nav ul li {
    display: inline-block;
    margin: 0 1.8em;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3em;
    padding: 0.5em 1em;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Main Content Area */
main {
    padding: 4em 2em;
    margin: 2em auto;
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* Hero Section */
#hero {
    text-align: center;
    padding: 4em;
    border-radius: 12px;
    background: linear-gradient(to right, #f07070, #9f2929); /* Light red gradient */
    margin-bottom: 3em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: scaleIn 1s ease-out;
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

#hero h2 {
    font-family: 'Playfair Display', serif;
    color: #672828; /* Dark red */
    font-size: 3em;
    margin-bottom: 0.5em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

#hero p {
    font-size: 1.4em;
    line-height: 1.8;
    color: #1f3336;
}

/* Gallery Section (Home Page) */
#gallery {
    text-align: center;
    padding: 3em 0;
}

#gallery h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    color: #672828;
    margin-bottom: 1.5em;
}

.carousel-container {
    /* Swiper.js handles most of this */
    max-width: 900px; /* Adjust as needed */
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.swiper-slide img {
    width: 100%;
    height: 500px; /* Fixed height for carousel images */
    object-fit: cover;
    border-radius: 15px;
}

/* Specific styles for Home page carousel */
.home-carousel .swiper-slide img {
    height: 400px; /* Slightly smaller height for home page carousel */
}

/* Gallery Page Specific Styles */
#gallery-page {
    text-align: center;
    padding: 3em 0;
}

#gallery-page h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    color: #672828;
    margin-bottom: 1.5em;
}

/* Testimonials Section */
#testimonials {
    padding: 4em 0em;
    text-align: center;
    background: linear-gradient(135deg, #227a62, #1f3336); /* Green-dark gradient */
    border-radius: 15px;
    margin-top: 4em;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

#testimonials h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    color: #ffffff; /* White text for dark background */
    margin-bottom: 1.5em;
}

.testimonials-container {
    display: flex;
    overflow-x: auto;
    padding: 2em 3em; /* Increased horizontal padding */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #227a62 #1f3336; /* For Firefox */
}

.testimonials-container::-webkit-scrollbar {
    height: 8px;
}

.testimonials-container::-webkit-scrollbar-track {
    background: #1f3336;
    border-radius: 10px;
}

.testimonials-container::-webkit-scrollbar-thumb {
    background: #227a62;
    border-radius: 10px;
}

.testimonial {
    flex: 0 0 calc(33.333% - 3em); /* Display 3 testimonials per view with margin */
    min-width: 300px; /* Minimum width for each testimonial */
    margin: 1.5em;
    padding: 2.5em;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-style: italic;
    color: #1f3336;
    position: relative;
    scroll-snap-align: start; /* Snap to start of each testimonial */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
    .testimonials-container {
        flex-direction: column; /* Stack testimonials vertically */
        overflow-x: hidden; /* Disable horizontal scroll */
        overflow-y: auto; /* Enable vertical scroll */
        scroll-snap-type: y mandatory; /* Snap vertically */
        padding: 2em 1em; /* Adjust padding for vertical layout */
    }

    .testimonials-container::-webkit-scrollbar {
        width: 8px; /* Adjust for vertical scrollbar */
        height: auto;
    }

    .testimonial {
        flex: 0 0 auto; /* Allow testimonials to take natural height */
        min-width: unset; /* Remove min-width constraint */
        margin: 1em auto; /* Center testimonials with vertical margin */
        scroll-snap-align: start; /* Snap to start of each testimonial */
    }
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.testimonial:before {
    content: '“';
    position: absolute;
    top: 0.5em;
    left: 0.5em;
    font-size: 4em;
    color: #9e9e9e;
    opacity: 0.3;
}

.testimonial:after {
    content: '”';
    position: absolute;
    bottom: 0.5em;
    right: 0.5em;
    font-size: 4em;
    color: #9e9e9e;
    opacity: 0.3;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 3em 0;
    background-color: #1f3336; /* Dark blue-grey footer */
    color: #f07070; /* Light red for footer text */
    margin-top: 4em;
    border-radius: 15px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

footer p {
    margin: 0.5em 0;
}

footer a {
    color: #227a62; /* Green for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #f07070;
}

/* About Us Page Specific Styles */
#about-us {
    max-width: 900px;
    margin: 2em auto;
    padding: 3em;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
    animation: fadeIn 1s ease-out;
}

#about-us .about-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em; /* Larger for main heading */
    color: #672828;
    text-align: center;
    margin-bottom: 0.2em; /* Reduced margin */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease-out;
}

#about-us .about-subheading {
    font-family: 'Montserrat', sans-serif; /* Consistent with body font */
    font-size: 1.8em; /* Adjusted size */
    color: #9f2929;
    margin-top: 0.5em; /* Adjusted margin */
    margin-bottom: 1.5em;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.3s;
}

#about-us .about-paragraph {
    font-size: 1.1em;
    line-height: 1.8;
    color: #1f3336;
    margin-bottom: 1.5em;
    animation: fadeInUp 1s ease-out 0.5s;
}

#about-us .about-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(159, 41, 41, 0), rgba(159, 41, 41, 0.75), rgba(159, 41, 41, 0));
    margin: 2em 0;
}

#about-us .expertise-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6em;
    color: #672828;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

#about-us .expertise-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5em;
}

#about-us .expertise-section ul li {
    font-size: 1.1em;
    color: #1f3336;
    margin-bottom: 0.5em;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 0.7s;
}

#about-us .why-choose-us {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5em;
}

#about-us .why-choose-us li {
    font-size: 1.1em;
    color: #1f3336;
    margin-bottom: 0.5em;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 0.9s;
}

#about-us .about-call-to-action {
    font-size: 1.2em;
    font-weight: bold;
    color: #227a62;
    text-align: center;
    margin-top: 2em;
    animation: pulse 1.5s infinite;
}

#about-us .about-tagline {
    font-size: 1.3em;
    font-style: italic;
    color: #672828;
    text-align: center;
    margin-top: 1.5em;
}

/* Contact Us Page Specific Styles */
#contact-us {
    max-width: 800px;
    margin: 4em auto;
    padding: 3em;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
}

#contact-us h2 {
    font-family: 'Playfair Display', serif;
    color: #672828;
    margin-bottom: 1.5em;
    text-align: center;
    font-size: 3em;
}

#contact-us label {
    display: block;
    margin-bottom: 0.8em;
    color: #1f3336;
    font-weight: 600;
    font-size: 1.1em;
}

#contact-us input[type="text"],
#contact-us input[type="email"],
#contact-us textarea {
    width: 100%;
    padding: 1.2em;
    margin-bottom: 2em;
    border: 1px solid #cfd8dc;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact-us input[type="text"]:focus,
#contact-us input[type="email"]:focus,
#contact-us textarea:focus {
    border-color: #9f2929;
    outline: none;
    box-shadow: 0 0 10px rgba(159, 41, 41, 0.3);
}

#contact-us button {
    background-color: #9f2929;
    color: white;
    padding: 1.2em 2.5em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(159, 41, 41, 0.3);
}

#contact-us button:hover {
    background-color: #672828;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(159, 41, 41, 0.4);
}

.business-location {
    margin-top: 4em;
    text-align: center;
}

.business-location h3 {
    font-family: 'Playfair Display', serif;
    color: #672828;
    margin-bottom: 1.5em;
    font-size: 2.4em;
}

.business-location iframe {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Floating WhatsApp Button */
.whatsapp-chat {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-chat a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-chat a:hover {
    background-color: #128c7e;
    transform: scale(1.15);
}

.whatsapp-chat img {
    width: 35px;
    height: 35px;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1.5em 1em;
    }

    .header-content {
        flex-direction: column;
        margin-bottom: 1em;
        text-align: center; /* Center align text within header-content */
    }

    .header-content img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .site-title h1 {
        font-size: 2em;
    }

    .site-title p {
        font-size: 0.9em;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5em 0;
    }

    nav ul li a {
        font-size: 1em;
        padding: 0.5em 1em;
    }

    main {
        padding: 2em 1em;
        margin: 1em auto;
    }

    #hero {
        padding: 2em;
    }

    #hero h2 {
        font-size: 2em;
    }

    #hero p {
        font-size: 1em;
    }

    .gallery-container {
        grid-template-columns: 1fr;
    }

    #testimonials .testimonials-container {
        flex-direction: column; /* Stack testimonials vertically */
        overflow-x: hidden; /* Disable horizontal scroll */
        overflow-y: hidden; /* Hide vertical scrollbar, controlled by JS */
        scroll-snap-type: none; /* Disable scroll snapping for JS control */
        padding: 0; /* Remove padding for full width */
        height: 600px; /* Fixed height to show 3 testimonials */
        position: relative;
    }

    #testimonials .testimonial {
        flex: 0 0 auto; /* Allow testimonials to take natural height */
        min-width: 100%; /* Full width on mobile */
        margin: 0; /* Remove margins for tight packing */
        padding: 1.5em; /* Adjust padding */
        scroll-snap-align: none; /* Disable scroll snapping for JS control */
        position: absolute; /* Position absolutely for animation */
        top: 0;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        opacity: 0;
        transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    }

    #testimonials .testimonial.active {
        opacity: 1;
        transform: translateY(0);
    }

    #testimonials .testimonial.previous {
        opacity: 0;
        transform: translateY(-100%);
    }

    #testimonials .testimonial.next {
        opacity: 0;
        transform: translateY(100%);
    }

    #contact-us {
        padding: 2em;
        margin: 2em auto;
    }

    #contact-us h2 {
        font-size: 2em;
    }

    .whatsapp-chat {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-chat a {
        width: 55px;
        height: 55px;
    }

    .whatsapp-chat img {
        width: 30px;
        height: 30px;
    }

    .business-location iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }

    header p {
        font-size: 0.8em;
    }

    nav ul li {
        display: block;
        margin: 0.3em 0;
    }

    nav ul li a {
        padding: 0.5em;
    }
}
