/* Custom Design for Classic Powerwashing */

:root {
    --primary-ocean: #0c7489;
    --primary-deep: #085263;
    --accent-fresh: #14b8a6;
    --neutral-charcoal: #2d3748;
    --neutral-slate: #4a5568;
    --neutral-silver: #cbd5e0;
    --neutral-cloud: #f7fafc;
    --white-pure: #ffffff;
    --success-tone: #48bb78;
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-elevated: 0 10px 35px rgba(0, 0, 0, 0.12);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--neutral-charcoal);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--neutral-charcoal) 0%, var(--neutral-slate) 100%);
    color: var(--white-pure);
    padding: 24px;
    box-shadow: var(--shadow-elevated);
    z-index: 9999;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.cookie-consent-banner.hidden {
    transform: translateY(150%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin: 0 0 8px 0;
    line-height: 1.6;
}

.cookie-text strong {
    font-size: 1.1em;
    display: block;
    margin-bottom: 4px;
}

.cookie-link {
    color: var(--accent-fresh);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.cookie-link:hover {
    color: var(--white-pure);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-buttons .button {
    white-space: nowrap;
    min-width: 120px;
    padding: 12px 24px;
    font-weight: 600;
}

/* Navigation */
.powerwash-nav {
    background: var(--white-pure);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-ocean);
    transition: var(--transition-smooth);
}

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

.logo-icon {
    font-size: 2rem;
    color: var(--accent-fresh);
}

.logo-text {
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--neutral-slate);
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: var(--accent-fresh);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-ocean);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Hero Section */
.powerwash-hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #0c7489 50%, #085263 100%);
    color: var(--white-pure);
    padding: 60px 0 !important;
    min-height: auto !important;
    position: relative;
    overflow: hidden;
}

.powerwash-hero.is-large .hero-body,
.powerwash-hero.is-medium .hero-body {
    padding: 60px 1.5rem !important;
}

.powerwash-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,128C672,107,768,85,864,96C960,107,1056,149,1152,154.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

.hero-title {
    color: var(--white-pure) !important;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4), 1px 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: var(--white-pure) !important;
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 32px;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.35), 1px 1px 4px rgba(0, 0, 0, 0.25);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-primary {
    background: var(--accent-fresh);
    border-color: var(--accent-fresh);
    color: var(--white-pure);
    font-weight: 700;
    padding: 16px 36px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
    transition: var(--transition-smooth);
}

.cta-primary:hover {
    background: #0d9488;
    border-color: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
    color: var(--white-pure);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white-pure);
    font-weight: 600;
    padding: 16px 36px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white-pure);
    transform: translateY(-2px);
    color: var(--white-pure);
}

.hero-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

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

/* Secondary Hero for Internal Pages */
.powerwash-hero-secondary {
    background: linear-gradient(135deg, rgba(12, 116, 137, 0.95) 0%, rgba(8, 82, 99, 0.95) 100%);
    color: var(--white-pure);
    padding: 60px 0 !important;
    min-height: auto !important;
    position: relative;
    overflow: hidden;
}

.powerwash-hero-secondary .hero-body {
    padding: 60px 1.5rem !important;
    position: relative;
    z-index: 2;
}

.powerwash-hero-secondary .title,
.powerwash-hero-secondary .subtitle {
    color: var(--white-pure) !important;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.5), 1px 2px 6px rgba(0, 0, 0, 0.4);
}

.powerwash-hero-secondary figure.image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.powerwash-hero-secondary figure.image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(12, 116, 137, 0.4) 0%, rgba(8, 82, 99, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.powerwash-hero-secondary figure.image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    color: var(--neutral-charcoal);
    font-weight: 700;
    margin-bottom: 24px;
}

/* Ensure titles are visible on gradient/dark backgrounds */
.powerwash-hero .section-title,
.bg-gradient .section-title,
[style*="background: linear-gradient"] .section-title,
[style*="background:linear-gradient"] .section-title {
    color: var(--white-pure) !important;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.35);
}

/* About Section */
.about-highlight {
    background: var(--neutral-cloud);
}

.about-image {
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    width: 100%;
    height: auto;
}

/* Services Section */
.services-showcase {
    background: var(--white-pure);
}

.service-card {
    height: 100%;
    transition: var(--transition-smooth);
    border: none;
    box-shadow: var(--shadow-soft);
}

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

.service-card .card-image img {
    transition: var(--transition-smooth);
}

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

.service-card .card-image {
    overflow: hidden;
}

.price-tag {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-fresh);
    margin-top: 16px;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
}

.benefit-item {
    text-align: center;
    padding: 24px;
    transition: var(--transition-smooth);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-fresh) 0%, var(--primary-ocean) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-pure);
    transition: var(--transition-smooth);
}

.benefit-icon svg {
    width: 40px;
    height: 40px;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Testimonials */
.testimonials-area {
    background: var(--white-pure);
}

.testimonial-box {
    height: 100%;
    border: none;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.testimonial-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--neutral-slate);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-fresh);
}

/* Contact Section */
.contact-preview {
    background: var(--neutral-cloud);
}

.contact-info-list {
    margin-top: 32px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    font-size: 1.1rem;
    color: var(--neutral-charcoal);
}

.contact-info-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-fresh);
}

.contact-form-box {
    box-shadow: var(--shadow-elevated);
    border: none;
}

.contact-form-box .input,
.contact-form-box .textarea,
.contact-form-box .select select {
    border: 2px solid var(--neutral-silver);
    transition: var(--transition-smooth);
}

.contact-form-box .input:focus,
.contact-form-box .textarea:focus,
.contact-form-box .select select:focus {
    border-color: var(--accent-fresh);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.contact-form-box .label {
    color: var(--neutral-charcoal);
    font-weight: 600;
}

/* Footer */
.powerwash-footer {
    background: var(--neutral-charcoal);
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white-pure);
    margin-bottom: 8px;
}

.footer-brand .logo-icon {
    font-size: 2rem;
    color: var(--accent-fresh);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-fresh);
    padding-left: 4px;
}

.footer-divider {
    background: rgba(255, 255, 255, 0.15);
    margin: 32px 0 20px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-elevated);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: var(--white-pure);
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Team Members */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.team-member {
    text-align: center;
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--accent-fresh);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.team-member:hover .team-photo {
    transform: scale(1.05);
    box-shadow: var(--shadow-elevated);
}

/* FAQ Section */
.faq-item {
    background: var(--white-pure);
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-deep);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background: var(--neutral-cloud);
}

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

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

/* Responsive */
@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .section {
        padding: 40px 0;
    }

    .powerwash-hero {
        padding: 40px 0 !important;
    }

    .powerwash-hero.is-large .hero-body,
    .powerwash-hero.is-medium .hero-body {
        padding: 40px 1.5rem !important;
    }

    .powerwash-hero-secondary {
        padding: 40px 0 !important;
    }

    .powerwash-hero-secondary .hero-body {
        padding: 40px 1.5rem !important;
    }

    .powerwash-hero-secondary .title {
        font-size: 2.2rem;
    }

    .powerwash-hero-secondary .subtitle {
        font-size: 1rem;
    }

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

    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }

    .cookie-buttons .button {
        flex: 1;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
        justify-content: center;
    }
}

/* Utility Classes */
.text-accent {
    color: var(--accent-fresh);
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-ocean) 0%, var(--primary-deep) 100%);
}

.shadow-elevated {
    box-shadow: var(--shadow-elevated);
}

/* CTA Sections with gradient backgrounds */
section[style*="linear-gradient"] .title,
section[style*="linear-gradient"] .subtitle {
    color: var(--white-pure) !important;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.35);
}
