/* ==============================================
   B CLEAN - Professional Cleaning Services
   ============================================== */

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

:root {
    --primary-color: #4CBB17;
    --secondary-color: #2D5A27;
    --accent-color: #CAF0F8;
    --dark-color: #000000;
    --light-color: #f9fafb;
    --grey-color: #889696;
    --grey-light: #e5e7eb;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --white: #FFFFFF;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Company Name Header */
.company-name-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
    padding: 2rem 1rem;
    box-shadow: var(--shadow);
}

.company-name-header h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 8px;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInScale 0.8s ease-out;
}

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

@media (max-width: 768px) {
    .company-name-header {
        padding: 1.5rem 0.5rem;
    }
    
    .company-name-header h1 {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
}

@media (max-width: 480px) {
    .company-name-header h1 {
        font-size: 2rem;
        letter-spacing: 3px;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 10000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.8rem;
    color: var(--dark-color);
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-brand h1::first-letter {
    color: var(--primary-color);
}

.logo {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Brand Text in Navbar */
.brand-text-container {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--dark-color);
    cursor: pointer;
    user-select: none;
    position: relative;
    display: flex;
    transition: all 0.3s ease;
}

.brand-text:hover {
    color: var(--primary-color);
}

.brand-letter {
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
}

.brand-space {
    display: inline-block;
    width: 0.5em;
}

.brand-text.dirty .brand-letter {
    opacity: 0.3;
    color: var(--grey-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.brand-text.cleaning .brand-letter {
    animation: letterClean 0.5s ease forwards;
}

@media (max-width: 480px) {
    .logo {
        height: 50px;
        max-width: 150px;
    }
    
    .brand-text {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 768px) {
    .brand-text {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    transition: all 0.3s ease;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-hero {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.btn-hero:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-footer {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-footer:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1a 100%);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="40" fill="rgba(16,185,129,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1a 100%);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.content-section {
    padding: 5rem 0;
}

/* Services Preview */
.services-preview {
    padding: 5rem 0;
    background-color: var(--light-color);
}

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

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    max-width: 100%;
    display: block;
}

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

@media (max-width: 768px) {
    .service-image {
        height: 180px;
    }
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.feature h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.feature p {
    color: var(--text-light);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    max-width: 100%;
}

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

/* Work Showcase Section */
.work-showcase {
    margin-top: 4rem;
    text-align: center;
}

.work-showcase h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

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

.showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.showcase-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.showcase-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 640px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .showcase-item img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .gallery-item img {
        height: 200px;
    }
    
    .gallery-item:hover img {
        transform: scale(1.05);
    }
}

/* Process Steps */
.intro-text {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.intro-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.lead {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.step:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
    background-color: var(--white);
    border-left: 4px solid var(--primary-color);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.step-content p {
    color: var(--text-color);
    line-height: 1.8;
}

/* Pricing Box */
.pricing-box {
    max-width: 700px;
    margin: 4rem auto 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.pricing-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pricing-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* About Page */
.about-content {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.placeholder-image {
    background: linear-gradient(135deg, var(--grey-color) 0%, var(--grey-light) 100%);
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    border: 3px solid var(--primary-color);
}

.owner-photo {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary-color);
    display: block;
}

@media (max-width: 768px) {
    .owner-photo {
        object-fit: contain;
    }
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
}

.thank-you {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem !important;
}

.values-section {
    margin-top: 5rem;
    text-align: center;
}

.values-section h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

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

.value-card {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.value-card p {
    color: var(--text-light);
}

/* Quote Form */
.form-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.google-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.google-form-container iframe {
    border-radius: 10px;
    min-height: 1674px;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    display: block;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-submit:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.success-message {
    text-align: center;
    padding: 2rem;
    background-color: #d4edda;
    border: 2px solid #28a745;
    border-radius: 10px;
    color: #155724;
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Call to Action */
.cta {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.last-updated {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 10002;
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        display: none;
        max-height: calc(100vh - 150px);
        overflow-y: auto;
        z-index: 10001;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero {
        padding: 4rem 0;
        min-height: 400px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .features-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
        min-height: 350px;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .page-header {
        min-height: 200px;
        padding: 2.5rem 0;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .btn-hero {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    .service-image {
        height: 150px;
    }

    .gallery-item img {
        height: 180px;
    }

    .owner-photo {
        max-height: 300px;
    }
}

/* Fixed Call Banners */
.call-banner {
    position: fixed;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 18px;
    z-index: 9998;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.call-banner-top {
    top: 0;
}

.call-banner-bottom {
    bottom: 0;
}

.call-banner a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.call-banner a:hover {
    opacity: 0.8;
}

/* Adjust body padding to account for fixed banners */
body {
    padding-top: 50px;
    padding-bottom: 50px;
}

@media (max-width: 768px) {
    .call-banner {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    body {
        padding-top: 45px;
        padding-bottom: 45px;
    }
}

/* Image Lightbox / Carousel Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2147483647;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 2147483647;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 2147483647;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(76, 187, 23, 0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 20px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9997;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    display: flex;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* Make images clickable */
.service-image,
.gallery-item img,
.owner-photo,
.photo-grid img,
.showcase-item img {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image:hover,
.gallery-item img:hover,
.owner-photo:hover,
.photo-grid img:hover,
.showcase-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-counter {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* UserWay Accessibility Widget Positioning for Mobile */
@media (max-width: 768px) {
    /* Move UserWay widget down to avoid covering hamburger menu */
    #userway-s1,
    [data-uw-feature-id],
    .userway_buttons_wrapper,
    div[data-uw-feature-id="s1"] {
        top: 130px !important;
        z-index: 9999 !important;
    }
}

/* Blog Page Styles */
.blog-section {
    background-color: var(--light-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    display: none;
}

.blog-image:has(img:not([style*="display: none"])) {
    display: block;
}

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

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

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-date,
.blog-category {
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-category {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
}

.blog-content h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--grey-light);
}

.blog-author {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--accent-color), var(--white));
    border-left: 4px solid var(--primary-color);
}

.blog-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.blog-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.blog-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-content h2 {
        font-size: 1.25rem;
    }
    
    .blog-cta {
        padding: 2rem 1rem;
    }
}

/* Blog Post Modal/Carousel */
.blog-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2147483647;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    overflow-y: auto;
}

.blog-modal.active {
    display: flex;
}

.blog-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    margin: auto;
    padding: 3rem;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: blogModalSlideIn 0.3s ease;
    overflow-y: auto;
}

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

.blog-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: var(--text-color);
    cursor: pointer;
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
    z-index: 10;
}

.blog-modal-close:hover {
    transform: rotate(90deg);
    color: var(--primary-color);
}

.blog-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: var(--white);
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10;
}

.blog-modal-nav:hover {
    background: rgba(76, 187, 23, 0.8);
}

.blog-modal-prev {
    left: 20px;
}

.blog-modal-next {
    right: 20px;
}

.blog-modal-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.blog-modal-date,
.blog-modal-category {
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-modal-category {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
}

.blog-modal h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.blog-modal-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.blog-modal-footer {
    padding-top: 1.5rem;
    border-top: 2px solid var(--grey-light);
}

.blog-modal-author {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
}

.blog-modal-counter {
    text-align: center;
    color: var(--white);
    font-size: 16px;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .blog-modal {
        padding: 1rem 0;
    }
    
    .blog-modal-content {
        padding: 2rem 1.5rem;
        padding-top: 3.5rem;
        width: 95%;
        max-height: 90vh;
    }
    
    .blog-modal h2 {
        font-size: 1.5rem;
    }
    
    .blog-modal-text {
        font-size: 1rem;
    }
    
    .blog-modal-nav {
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
    
    .blog-modal-prev {
        left: 10px;
    }
    
    .blog-modal-next {
        right: 10px;
    }
    
    .blog-modal-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
}

/* Easter Egg Animations for Each Page */

/* Home Page - Squeegee Animation */
.squeegee {
    position: absolute;
    width: 40px;
    height: 8px;
    background: linear-gradient(90deg, var(--grey-color) 0%, var(--grey-color) 80%, var(--primary-color) 80%);
    border-radius: 2px;
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
    opacity: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.squeegee::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(76, 187, 23, 0.3) 100%);
    top: 100%;
    left: 0;
}

.brand-text.animating .squeegee {
    animation: squeegeeWipe 2s ease-in-out forwards;
}

@keyframes squeegeeWipe {
    0% {
        left: -50px;
        opacity: 1;
    }
    100% {
        left: calc(100% + 10px);
        opacity: 1;
    }
}

@keyframes letterClean {
    0% {
        opacity: 0.3;
        color: var(--grey-color);
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        color: var(--primary-color);
        transform: scale(1);
        text-shadow: 0 0 10px rgba(76, 187, 23, 0.3);
    }
}

/* Window Washing Page - Water Drop Animation */
.water-drop {
    position: absolute;
    font-size: 1.5rem;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

.brand-text.animating .water-drop {
    animation: waterDropFall 1.5s ease-in forwards;
}

@keyframes waterDropFall {
    0% {
        top: -30px;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    50% {
        top: 50%;
        transform: translateX(-50%) scale(1.2);
    }
    70% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }
}

/* Carpet Cleaning Page - Vacuum Animation */
.vacuum {
    position: absolute;
    font-size: 1.8rem;
    top: 50%;
    left: -50px;
    transform: translateY(-50%) rotate(-45deg);
    opacity: 0;
}

.brand-text.animating .vacuum {
    animation: vacuumMove 2s ease-in-out forwards;
}

@keyframes vacuumMove {
    0% {
        left: -50px;
        opacity: 1;
        transform: translateY(-50%) rotate(-45deg);
    }
    50% {
        transform: translateY(-50%) rotate(-45deg) scale(1.1);
    }
    100% {
        left: calc(100% + 10px);
        opacity: 1;
        transform: translateY(-50%) rotate(-45deg);
    }
}

/* About Page - Sparkle Animation */
.sparkle {
    position: absolute;
    font-size: 1.2rem;
    opacity: 0;
    pointer-events: none;
}

.brand-text.animating .sparkle {
    animation: sparkleAppear 2s ease-in-out forwards;
}

@keyframes sparkleAppear {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    10% {
        opacity: 1;
        transform: scale(1.5) rotate(180deg);
        top: -20px;
        left: 10%;
    }
    30% {
        opacity: 1;
        transform: scale(1.2) rotate(360deg);
        top: 50%;
        left: 30%;
    }
    50% {
        opacity: 1;
        transform: scale(1.8) rotate(540deg);
        top: -10px;
        left: 50%;
    }
    70% {
        opacity: 1;
        transform: scale(1.3) rotate(720deg);
        top: 40%;
        left: 70%;
    }
    90% {
        opacity: 1;
        transform: scale(1.6) rotate(900deg);
        top: -15px;
        left: 90%;
    }
}

/* Quote Page - Shine Animation */
.shine {
    position: absolute;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    top: 0;
    left: -30px;
    opacity: 0;
    transform: skewX(-20deg);
}

.brand-text.animating .shine {
    animation: shinePass 1.5s ease-in-out forwards;
}

@keyframes shinePass {
    0% {
        left: -30px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: calc(100% + 30px);
        opacity: 0;
    }
}

/* Blog Page - Bubble Animation */
.bubble {
    position: absolute;
    font-size: 1.3rem;
    opacity: 0;
    pointer-events: none;
}

.brand-text.animating .bubble {
    animation: bubbleFloat 2s ease-in-out forwards;
}

@keyframes bubbleFloat {
    0% {
        bottom: -20px;
        left: 10%;
        opacity: 1;
        transform: scale(0.5) rotate(0deg);
    }
    25% {
        bottom: 30%;
        left: 30%;
        opacity: 1;
        transform: scale(1.2) rotate(90deg);
    }
    50% {
        bottom: 60%;
        left: 50%;
        opacity: 1;
        transform: scale(0.8) rotate(180deg);
    }
    75% {
        bottom: 80%;
        left: 70%;
        opacity: 0.8;
        transform: scale(1.5) rotate(270deg);
    }
    100% {
        bottom: 120%;
        left: 90%;
        opacity: 0;
        transform: scale(0.3) rotate(360deg);
    }
}

/* Letter pop animation for all pages */
.brand-letter.pop {
    animation: letterPop 0.6s ease forwards;
}

@keyframes letterPop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3) rotate(5deg);
        color: var(--primary-color);
    }
    100% {
        transform: scale(1);
        color: var(--primary-color);
    }
}

/* Reviews Page - Star Rating Animation */
.star-rating {
    position: absolute;
    font-size: 1.8rem;
    opacity: 0;
    pointer-events: none;
}

.brand-text.animating .star-rating {
    animation: starRating 2.5s ease-in-out forwards;
}

@keyframes starRating {
    0% {
        top: -40px;
        left: 50%;
        transform: translateX(-50%) scale(0.5) rotate(-180deg);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    30% {
        top: 50%;
        transform: translateX(-50%) scale(1.5) rotate(0deg);
        opacity: 1;
    }
    45% {
        top: 50%;
        transform: translateX(-50%) scale(1.3) rotate(20deg);
    }
    60% {
        top: 50%;
        transform: translateX(-50%) scale(1.5) rotate(-20deg);
    }
    75% {
        top: 50%;
        transform: translateX(-50%) scale(1.4) rotate(10deg);
        opacity: 1;
    }
    100% {
        top: 150%;
        left: 50%;
        transform: translateX(-50%) scale(0.3) rotate(360deg);
        opacity: 0;
    }
}

/* Reviews Section */
.reviews-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 6rem 2rem 4rem;
}

.reviews-section {
    padding: 4rem 2rem;
}

.leave-review-container {
    text-align: center;
    margin: 2rem 0 3rem;
}

.leave-review-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.leave-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(66, 133, 244, 0.5);
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(76, 187, 23, 0.2);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.3rem;
}

.review-author-info {
    flex: 1;
}

.review-author {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-rating {
    color: #FFB800;
    font-size: 1rem;
}

.review-date {
    color: var(--text-light);
}

.review-text {
    color: var(--text-color);
    line-height: 1.6;
    margin-top: 1rem;
}

.review-read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Review Modal */
.review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2147483647;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    overflow-y: auto;
}

.review-modal.active {
    display: flex;
}

.review-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    margin: auto;
    padding: 3rem;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: reviewModalSlideIn 0.3s ease;
    overflow-y: auto;
}

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

.review-modal .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.review-modal .modal-close:hover {
    background: var(--grey-light);
    color: var(--text-color);
}

.review-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--grey-light);
}

.review-modal-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
}

.review-modal-author-info {
    flex: 1;
}

.review-modal-author {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.review-modal-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.review-modal-rating {
    color: #FFB800;
    font-size: 1.2rem;
}

.review-modal-date {
    color: var(--text-light);
}

.review-modal-body {
    padding: 1.5rem 0;
}

.review-modal-text {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.review-modal-response {
    background: var(--grey-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.review-response-header {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-response-text {
    color: var(--text-light);
    line-height: 1.6;
}

.modal-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 2px solid var(--grey-light);
    margin-top: 1.5rem;
}

.modal-nav-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-nav-btn:hover {
    background: var(--secondary-color);
    transform: translateX(0);
}

.modal-nav-btn:disabled {
    background: var(--grey-light);
    color: var(--text-light);
    cursor: not-allowed;
}

.modal-counter {
    font-weight: 600;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .review-modal-content {
        width: 95%;
        max-height: 90vh;
        padding: 2rem 1.5rem;
        padding-top: 3.5rem;
    }
    
    .review-modal-header {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-navigation {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .modal-nav-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .modal-counter {
        width: 100%;
        text-align: center;
        order: -1;
    }
}

/* Easter Egg Game Animations */
@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.1);
        filter: brightness(1.3);
    }
}

@keyframes bubble-float {
    0% {
        bottom: -100px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        bottom: 100%;
        opacity: 0;
        transform: translateX(20px);
    }
}
