/* Clean & Green Property Care - Professional Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

/* CSS Variables for Brand Colors */
:root {
    --primary-blue: #07379b;
    --primary-green: #428302;
    --light-gray: #f8f9fa;
    --dark-gray: #333;
    --white: #ffffff;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
}

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

/* Header Styles */
.header-top {
    background-color: var(--primary-green);
    color: var(--white);
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
}

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 70px;
    width: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #07379b;
    white-space: nowrap;
    pointer-events: none;
    text-decoration: none;
}

.logo:hover .logo-text {
    color: #07379b;
    text-decoration: none;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    list-style: none;
    min-width: 220px;
    padding: 15px 0;
    border-radius: 5px;
    margin-top: 10px;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

.dropdown-menu li {
    padding: 12px 25px;
    transition: background-color 0.3s;
}

.dropdown-menu li:hover {
    background-color: var(--light-gray);
}

.dropdown-menu a {
    font-weight: 500;
    font-size: 13px;
}

.cta-btn {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.cta-btn:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 55, 155, 0.3);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 3px 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('../images/hero-bannockburn.webp') center/cover;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h1 span {
    display: block;
    color: var(--primary-green);
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
    margin-top: 30px;
    max-width: 700px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-btn {
    background-color: var(--white);
    color: var(--primary-green);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(7, 55, 155, 0.4);
}

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

.services-section h2 {
    text-align: center;
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    font-size: 19px;
    color: #666;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.service-card {
    background-color: var(--white);
    padding: 0;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    overflow: hidden;
}

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

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.service-card h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin: 25px 0 15px;
    padding: 0 20px;
    font-weight: 700;
}

.service-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    padding: 0 25px 30px;
}

/* Service Page Styles */
.service-hero {
    background: linear-gradient(rgba(7, 55, 155, 0.85), rgba(7, 55, 155, 0.85)), 
                url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600') center/cover;
    padding: 80px 0 60px;
    color: var(--white);
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.service-hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.service-hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.service-content {
    padding: 80px 0;
}

.service-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-text h2 {
    font-size: 42px;
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-weight: 800;
}

.service-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.service-text ul {
    list-style: none;
    margin: 25px 0;
}

.service-text ul li {
    padding: 12px 0;
    font-size: 17px;
    color: #666;
    position: relative;
    padding-left: 30px;
}

.service-text ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 20px;
}

.service-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-cta {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    display: inline-block;
    margin-top: 25px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-cta:hover {
    background-color: #355a02;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 131, 2, 0.3);
}

/* What We Offer Section */
.what-we-offer {
    padding: 100px 0;
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.offer-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.offer-content h2 {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 35px;
    font-weight: 800;
}

.offer-item {
    margin-bottom: 35px;
}

.offer-item h3 {
    color: var(--primary-green);
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.offer-item p {
    color: #666;
    line-height: 1.8;
    font-size: 17px;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.gallery-section h2 {
    text-align: center;
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 60px;
    font-weight: 800;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: 320px;
    background-color: #f8f9fa;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

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

/* Reviews Section */
.reviews-section {
    padding: 100px 0;
}

.reviews-section h2 {
    text-align: center;
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 60px;
    font-weight: 800;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-weight: 800;
}

.contact-info p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 18px;
}

.contact-details {
    margin-top: 45px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h4 {
    color: var(--primary-green);
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
    display: inline-block;
}

.contact-item a:hover {
    color: var(--primary-blue);
}

.contact-item a[href^="tel:"]:hover::after {
    content: "Click to call or text us";
    position: absolute;
    bottom: -35px;
    left: 0;
    background-color: var(--primary-green);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.contact-item a[href^="mailto:"]:hover::after {
    content: "Click to email us";
    position: absolute;
    bottom: -35px;
    left: 0;
    background-color: var(--primary-green);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.contact-form-wrapper h3 {
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 800;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    font-family: var(--body-font);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.submit-btn {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 16px 45px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 55, 155, 0.3);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 22px;
    color: var(--primary-green);
    font-weight: 700;
}

.footer-col p,
.footer-col ul {
    color: rgba(255,255,255,0.85);
    line-height: 1.9;
    font-size: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-cta {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    margin-top: 20px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
}

.footer-cta:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom p {
    color: rgba(255,255,255,0.85);
    margin: 8px 0;
    font-size: 15px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .cta-btn {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .offer-grid,
    .contact-grid,
    .service-details {
        grid-template-columns: 1fr;
    }
    
    .services-section h2,
    .gallery-section h2,
    .reviews-section h2,
    .contact-info h2,
    .service-hero h1 {
        font-size: 36px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .contact-form-wrapper {
        padding: 35px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 550px;
    }
    
    .hero-content h1 {
        font-size: 38px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .logo img {
        height: 55px;
    }
}

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-green);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.floating-btn:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.btn-icon {
    font-size: 20px;
}

.btn-text {
    white-space: nowrap;
}

.btn-hover-text {
    display: none;
    white-space: nowrap;
}

.floating-btn:hover .btn-text {
    display: none;
}

.floating-btn:hover .btn-hover-text {
    display: inline;
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .btn-text {
        display: none;
    }
    
    .btn-hover-text {
        display: none !important;
    }
    
    .btn-icon {
        font-size: 24px;
    }
}

/* Fixed Layout Classes */
.what-we-offer-section {
    padding: 100px 0;
}

.offer-flex {
    display: flex;
    gap: 60px;
    align-items: center;
}

.offer-flex .offer-image {
    flex: 0 0 300px;
}

.offer-flex .offer-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
}

.offer-flex .offer-content {
    flex: 1;
}

.offer-content h2 {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 800;
}

.offer-content ul {
    list-style: none;
    margin: 20px 0;
}

.offer-content ul li {
    padding: 10px 0;
    font-size: 17px;
    color: #666;
    line-height: 1.8;
}

.offer-content ul li strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.contact-flex {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info-wrapper {
    flex: 1;
}

.contact-info-wrapper h3 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-weight: 800;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-form-wrapper {
    flex: 1;
}

@media (max-width: 768px) {
    .offer-flex,
    .contact-flex {
        flex-direction: column;
    }
    
    .offer-flex .offer-image {
        flex: 0 0 auto;
        text-align: center;
    }
}

/* Reviews Section Styles */
.reviews-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
    gap: 20px;
}

.google-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.google-logo {
    width: 48px;
    height: 48px;
}

.rating-text .excellent-text {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.stars-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-number {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.stars {
    color: #FBBC05;
    font-size: 18px;
    letter-spacing: 2px;
}

.review-count {
    color: #666;
    font-size: 16px;
}

.review-btn {
    background-color: #428302;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.review-btn:hover {
    background-color: #356902;
}

/* Carousel */
.reviews-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
}

.reviews-carousel {
    overflow: hidden;
    flex: 1;
}

.reviews-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.review-card {
    min-width: 280px;
    max-width: 280px;
    background: #f8f8f8;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    flex-shrink: 0;
}

.review-stars {
    color: #FBBC05;
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.review-text {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reviewer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.reviewer-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.verified-badge {
    margin-left: 4px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
}

.verified-badge path {
    fill: #34A853 !important;
}

/* Carousel Arrows */
.carousel-arrow {
    background: #e0e0e0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: background-color 0.3s;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background: #ccc;
}

/* Mobile Reviews - FIXED */
@media (max-width: 768px) {
    .reviews-carousel-wrapper {
        padding: 0 45px;
        position: relative;
    }
    
    .reviews-carousel {
        overflow: hidden;
    }
    
    .review-card {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
    }
    
    .reviews-track {
        gap: 0;
    }
    
    .carousel-prev {
        position: absolute;
        left: 5px;
        z-index: 10;
    }
    
    .carousel-next {
        position: absolute;
        right: 5px;
        z-index: 10;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .nav-wrapper {
        padding: 10px 15px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .logo-text {
        font-size: 16px;
    }
}
