/* ===========================
   SPEEDY SOLAR CLEANING - CSS
   LANDING PAGE REDESIGN
   =========================== */

/* Root Variables */
:root {
    --primary-color: #FDB913;
    --primary-dark: #F5A623;
    --secondary-color: #1E3A8A;
    --accent-color: #10B981;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --danger-color: #EF4444;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ===========================
   STICKY PHONE HEADER
   =========================== */

.sticky-phone-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--danger-color) 0%, #DC2626 100%);
    padding: 0.75rem 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--bg-white);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.phone-icon {
    font-size: 1.3rem;
    animation: ring 2s infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 20% { transform: rotate(-25deg); }
    30%, 50%, 70%, 90% { transform: rotate(25deg); }
    40%, 60%, 80% { transform: rotate(-25deg); }
}

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    background-color: var(--secondary-color);
    padding: 1rem 0;
    position: sticky;
    top: 50px;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.nav-phone-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-phone-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero-section {
    margin-top: 50px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2D5AA8 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem 2rem;
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    height: 500px;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.hero-content {
    color: var(--bg-white);
}

.hero-content h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtext {
    color: var(--bg-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-button-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--danger-color);
    color: var(--bg-white);
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    text-decoration: none;
}

.cta-button-primary:hover {
    background-color: #DC2626;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6);
}

.button-icon {
    font-size: 1.3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--bg-white);
    text-decoration: none;
}

.cta-button-secondary:hover {
    background-color: var(--bg-white);
    color: var(--secondary-color);
}

.hero-guarantee {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 600;
}

/* ===========================
   TRUST BADGES
   =========================== */

.trust-badges {
    background-color: var(--bg-light);
    padding: 3rem 2rem;
}

.trust-badges .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.badge {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.badge:hover {
    transform: translateY(-5px);
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.badge-text {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}

/* ===========================
   WHY US SECTION
   =========================== */

.why-us {
    padding: 4rem 2rem;
    background-color: var(--bg-white);
}

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

.benefit {
    background: linear-gradient(135deg, rgba(253, 185, 19, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    text-align: center;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-color);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.benefit p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===========================
   SERVICES SECTION
   =========================== */

.services {
    padding: 4rem 2rem;
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    text-align: center;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===========================
   HOW IT WORKS SECTION
   =========================== */

.how-it-works {
    padding: 4rem 2rem;
    background-color: var(--bg-white);
}

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

.step {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(253, 185, 19, 0.05) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--secondary-color);
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(253, 185, 19, 0.3);
}

.step h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2D5AA8 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--bg-white);
}

.cta-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-button-large {
    display: inline-block;
    background-color: var(--danger-color);
    color: var(--bg-white);
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button-large:hover {
    background-color: #DC2626;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.6);
}

.cta-subtext {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */

.testimonials {
    padding: 4rem 2rem;
    background-color: var(--bg-light);
}

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

.testimonial {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

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

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: block;
}

.testimonial p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    color: var(--secondary-color);
    font-weight: 600;
    font-style: normal;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 3rem 2rem 1rem;
}

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

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--primary-color);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-color);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .sticky-phone-header {
        padding: 0.5rem 0;
    }

    .phone-link {
        font-size: 0.95rem;
    }

    .navbar {
        top: 40px;
    }

    .navbar .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .nav-phone-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-section {
        margin-top: 40px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .hero-image {
        height: 350px;
        order: -1;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtext {
        font-size: 1.2rem;
    }

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

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

    .cta-button-primary,
    .cta-button-secondary {
        width: 100%;
        justify-content: center;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-button-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .services-grid,
    .benefits-grid,
    .steps,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .sticky-phone-header {
        padding: 0.4rem 0;
    }

    .phone-link {
        font-size: 0.85rem;
        gap: 0.4rem;
    }

    .phone-icon {
        font-size: 1.1rem;
    }

    .navbar {
        padding: 0.75rem 0;
        top: 35px;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .nav-phone-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .hero-section {
        margin-top: 35px;
    }

    .hero-container {
        padding: 1.5rem 1rem;
    }

    .hero-image {
        height: 250px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

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

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

    .cta-button-primary,
    .cta-button-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-guarantee {
        font-size: 0.85rem;
    }

    .badge {
        padding: 1.5rem;
    }

    .badge-number {
        font-size: 2rem;
    }

    .badge-text {
        font-size: 0.9rem;
    }

    .benefit,
    .service-card,
    .step,
    .testimonial {
        padding: 1.5rem;
    }

    .benefit-icon,
    .service-icon {
        font-size: 2.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 0.95rem;
    }

    .cta-button-large {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }
}

/* ===========================
   UTILITY CLASSES
   =========================== */

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }

.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
