/* Updated color scheme to match company branding */
:root {
    --primary: #565656;
    --secondary: #9AC32C;
    --primary-dark: #3b3b3b;
    --success: #10b981;
    --gray-dark: #374151;
    --gray-light: #f3f4f6;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0 0.5rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Language Switcher */
.language-switcher {
    margin-left: 1rem;
}

.language-switcher select {
    padding: 5px 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: var(--white);
    font-family: inherit;
    font-size: 0.9rem;
}

.mobile-menu {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    transition: 0.3s;
}

/* Mobile Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--gray-dark);
    border-bottom: 1px solid var(--gray-light);
}

.mobile-nav a:hover {
    background: var(--gray-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/slider1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 120px 0 120px; /* Adjusted padding */
    margin-top: 70px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

/* Removed .hero-form-container styles */

.cta-button {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(154, 195, 44, 0.3);
}

/* Video Carousel Section */
.video-section {
    padding: 40px 0;
    background: var(--gray-light);
    overflow: hidden;
}

.video-carousel-container {
    position: relative;
    max-width: 360px;
    margin: 0 auto;
}

.video-carousel {
    position: relative;
    width: 100%;
    height: 640px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.video-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.video-slide {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.video-slide video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.video-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    z-index: 10;
}

.video-error p {
    margin: 0 0 10px 0;
    font-size: 1rem;
}

.video-error small {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--secondary);
    transform: scale(1.3);
}

.dot:hover {
    background: var(--primary);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--gray-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, margin-top 0.5s ease-out;
    margin-top: 0;
}

.service-details.open {
    max-height: 500px;
    margin-top: 15px;
}

.details-button {
    background: none;
    border: none;
    color: var(--secondary);
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    padding: 0;
    transition: color 0.3s;
    font-family: inherit;
    font-size: 1rem;
}

.details-button:hover {
    color: var(--primary-dark);
}

/* Google Reviews Section */
.reviews {
    padding: 80px 0;
    background: var(--white);
}

.reviews-rating-summary {
    text-align: center;
    margin-bottom: 50px;
}

.rating-badge {
    display: inline-block;
    padding: 30px;
    background: var(--gray-light);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.google-logo {
    height: 30px;
    margin-bottom: 15px;
}

.rating-stars {
    font-size: 2rem;
    color: #fbbf24;
    margin: 10px 0;
    letter-spacing: 5px;
}

.rating-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin: 10px 0;
}

.review-count {
    color: var(--gray-dark);
    font-size: 1rem;
}

/* Reviews Gallery Container */
.reviews-gallery-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 60px;
}

.reviews-gallery-wrapper {
    overflow: hidden;
    border-radius: 10px;
}

.reviews-gallery-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    gap: 20px;
}

.review-card-gallery {
    min-width: calc(33.333% - 14px);
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border: 1px solid var(--gray-light);
    flex-shrink: 0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card-gallery:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.reviewer-name {
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
}

.review-meta {
    font-size: 0.85rem;
    color: #666;
    margin: 2px 0;
}

.review-date {
    font-size: 0.85rem;
    color: #999;
    margin-top: 2px;
}

.review-header .stars {
    color: #fbbf24;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-text {
    line-height: 1.7;
    color: var(--gray-dark);
    font-size: 0.95rem;

    /* These two lines ensure the text wraps correctly */
    white-space: normal; 
    overflow-wrap: break-word; /* This is the modern version of word-break */

    /* This is our truncation method. 
      We limit the height to the equivalent of ~6 lines.
      (1.7 line-height * 0.95rem font-size * 6 lines) = 9.69rem 
    */
    max-height: 9.69rem; 
    overflow: hidden; 
}

/* Gallery Navigation Buttons */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--gray-light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: var(--secondary);
}

.gallery-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-prev {
    left: 0;
}

.gallery-next {
    right: 0;
}

/* Gallery Indicators */
.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.gallery-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-indicator.active {
    background: var(--secondary);
    transform: scale(1.3);
}

.gallery-indicator:hover {
    background: var(--primary);
}

.reviews-cta {
    text-align: center;
    margin-top: 40px;
}

.reviews-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-question:hover {
    background: var(--gray-light);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Moving Guides Section */
.guides {
    padding: 80px 0;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.guide-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: var(--secondary);
}

.guide-card h3 {
    color: var(--primary);
}

.guide-card:hover h3 {
    color: var(--secondary);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: fadeInUp 0.5s ease;
}

.modal-close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    border: none;
    background: none;
    cursor: pointer;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
    color: black;
    text-decoration: none;
}

.guide-modal .modal-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.guide-modal .modal-content p {
    line-height: 1.8;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Removed Multi-Step Form styles */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

/* Removed Form Navigation Button styles */
/* Removed Form Status Message styles */

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: var(--secondary);
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: var(--gray-light);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--primary);
    font-size: 0.9rem;
    color: #aaa;
}
.footer-socials {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.footer-socials a {
    color: var(--gray-light);
    transition: color 0.3s, transform 0.3s;
}

.footer-socials a:hover {
    color: var(--secondary);
    transform: scale(1.1);
    text-decoration: none; /* Override default link underline on hover */
}

.footer-socials svg {
    width: 28px;
    height: 28px;
}

.bbb-seal {
    width: 150px;
    height: auto;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    z-index: 999;
}

.whatsapp-btn img {
    width: 35px;
    height: auto;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Google Maps Store Locator */
gmpx-store-locator {
    width: 100%;
    height: 40%;
    --gmpx-color-surface: #fff;
    --gmpx-color-on-surface: #212121;
    --gmpx-color-on-surface-variant: #757575;
    --gmpx-color-primary: #1967d2;
    --gmpx-color-outline: #e0e0e0;
    --gmpx-fixed-panel-width-row-layout: 28.5em;
    --gmpx-fixed-panel-height-column-layout: 65%;
    --gmpx-font-family-base: "Roboto", sans-serif;
    --gmpx-font-family-headings: "Roboto", sans-serif;
    --gmpx-font-size-base: 0.875rem;
    --gmpx-hours-color-open: #188038;
    --gmpx-hours-color-closed: #d50000;
    --gmpx-rating-color: #ffb300;
    --gmpx-rating-color-empty: #e0e0e0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    nav {
        padding: 1rem 0;
    }

    .mobile-menu {
        display: none;
    }

    .nav-links {
        display: flex;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .video-carousel-container {
        max-width: 400px;
    }

    .video-carousel {
        height: 710px;
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .carousel-btn-prev {
        left: 15px;
    }

    .carousel-btn-next {
        right: 15px;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .hero-container {
        flex-direction: row;
        justify-content: center; /* Adjusted */
        text-align: center; /* Adjusted */
    }
    
    /* Removed .hero-content and .hero-form-container rules */
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }

    .review-card-gallery {
        min-width: calc(50% - 10px);
    }

    .reviews-gallery-container {
        padding: 0 50px;
    }
}

@media (max-width: 768px) {
    .review-card-gallery {
        min-width: 100%;
    }

    .reviews-gallery-container {
        padding: 0 40px;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .rating-badge {
        padding: 20px;
    }

    .rating-stars {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .video-carousel {
        height: 560px;
    }

    .reviews-gallery-container {
        padding: 0 35px;
    }

    .gallery-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}