﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Top Banner */
.top-banner {
    background: #fbbf24;
    color: #111827;
    padding: 0.5rem 1rem;
    text-align: center;
}

    .top-banner .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.875rem;
    }

.banner-text {
    font-weight: bold;
}

.banner-divider {
    display: none;
}

.banner-phone {
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

    .banner-phone:hover {
        text-decoration: underline;
    }

@media (min-width: 640px) {
    .banner-divider {
        display: inline;
    }
}

/* Header */
.header {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

    .logo:hover {
        opacity: 0.8;
    }

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: bold;
    font-size: 1.5rem;
    color: #2563eb;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.2;
}

/* Navigation */
.nav-desktop {
    display: none;
    gap: 1.5rem;
    margin-right: 1rem;
}

    .nav-desktop a {
        color: #374151;
        text-decoration: none;
        transition: color 0.3s;
    }

        .nav-desktop a:hover {
            color: #2563eb;
        }

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

/* Phone Button */
.phone-button {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s;
}

    .phone-button:hover {
        background: #1d4ed8;
    }

.phone-button-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
}

.phone-button-sub {
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .phone-button {
        display: flex;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #374151;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0;
}

    .nav-mobile.active {
        display: flex;
    }

    .nav-mobile a {
        color: #374151;
        text-decoration: none;
        padding: 0.5rem 0;
        transition: color 0.3s;
    }

        .nav-mobile a:hover {
            color: #2563eb;
        }

.mobile-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    background: #2563eb;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    margin-top: 0.5rem;
}

.mobile-phone-sub {
    font-size: 0.75rem;
}

/* Gutter Divider */
.gutter-divider {
    display: block;
    width: 100%;
}

/* Main Content */
main {
    min-height: 60vh;
}

/* Page Sections */
.page {
    display: none;
}

    .page.active {
        display: block;
    }

.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: #fbbf24;
    color: #111827;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: #bfdbfe;
    max-width: 48rem;
    margin: 0 auto 2rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: white;
    color: #2563eb;
}

    .btn-primary:hover {
        background: #f3f4f6;
    }

.btn-secondary {
    background: #fbbf24;
    color: #111827;
}

    .btn-secondary:hover {
        background: #fcd34d;
    }

.btn-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.btn-phone-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: bold;
}

.btn-phone-sub {
    font-size: 0.875rem;
}

/* Our Work Section */
.our-work-section {
    background: white;
    padding: 4rem 1rem;
}

.carousel-container {
    max-width: 56rem;
    margin: 0 auto;
}

.carousel-slide {
    padding: 0 0.5rem;
}

    .carousel-slide img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        border-radius: 0.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

/* Slick carousel customization */
.slick-prev,
.slick-next {
    z-index: 1;
    width: 40px;
    height: 40px;
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

    .slick-prev:before,
    .slick-next:before {
        font-size: 40px;
        opacity: 0.75;
    }

.slick-dots {
    bottom: -40px;
}

    .slick-dots li button:before {
        font-size: 12px;
        color: #2563eb;
    }

    .slick-dots li.slick-active button:before {
        color: #2563eb;
        opacity: 1;
    }

/* Stats Section */
.stats {
    background: #f9fafb;
    padding: 4rem 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .stat-card.highlight {
        background: #fbbf24;
        color: #111827;
    }

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
}

.stat-card.highlight .stat-subtitle {
    color: #111827;
    margin-top: 0.5rem;
}

/* Services Grid */
.services-section {
    padding: 4rem 1rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s;
}

    .service-card:hover {
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
    }

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-description {
    color: #6b7280;
    margin-bottom: 1rem;
}

.service-link {
    color: #2563eb;
    font-weight: 600;
}

    .service-link:hover {
        color: #1d4ed8;
    }

/* CTA Section */
.cta-section {
    background: #2563eb;
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}

.cta-badge {
    display: inline-block;
    background: #fbbf24;
    color: #111827;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: #bfdbfe;
    margin-bottom: 2rem;
}

/* Contact Form */
.contact-section {
    padding: 4rem 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-header {
    background: #fbbf24;
    color: #111827;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

    .form-header h2 {
        font-size: 1.875rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

    .form-header p {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .form-header .highlight {
        font-size: 1.25rem;
        font-weight: bold;
    }

.form-group {
    margin-bottom: 1rem;
}

    .form-group label {
        display: block;
        color: #374151;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 1px solid #d1d5db;
        border-radius: 0.5rem;
        font-family: inherit;
        font-size: 1rem;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

.error-message {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.submit-btn {
    width: 100%;
    background: #fbbf24;
    color: #111827;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

    .submit-btn:hover:not(:disabled) {
        background: #fcd34d;
    }

    .submit-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.success-message {
    background: #f0fdf4;
    border: 2px solid #22c55e;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
}

.success-icon {
    color: #22c55e;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-message h3 {
    color: #166534;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #15803d;
    font-size: 1.125rem;
}

.contact-info h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-phone {
    color: #2563eb;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

    .footer-phone:hover {
        color: #1d4ed8;
    }

.footer-call-text {
    background: #fef3c7;
    color: #111827;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    display: inline-block;
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.service-area {
    background: #eff6ff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

    .service-area h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .service-area ul {
        list-style: none;
        margin-top: 0.75rem;
    }

    .service-area li {
        color: #374151;
        margin-bottom: 0.25rem;
    }

.why-choose {
    background: #f9fafb;
    padding: 4rem 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    color: #22c55e;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #6b7280;
}

/* Footer */
.footer {
    background: #111827;
    color: #9ca3af;
    padding: 3rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-column h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-description {
    color: #9ca3af;
    margin-top: 1rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.3s;
}

    .floating-btn:hover {
        transform: scale(1.05);
    }

.floating-estimate {
    background: #fbbf24;
    color: #111827;
    text-align: center;
    font-weight: bold;
    animation: pulse 2s infinite;
}

.floating-btn-text {
    font-size: 0.875rem;
}

.floating-btn-sub {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.floating-phone {
    background: #2563eb;
    color: white;
}

.floating-phone-label {
    font-size: 0.75rem;
    font-weight: bold;
}

.floating-phone-number {
    font-size: 0.875rem;
    font-weight: bold;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.875rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .floating-cta {
        bottom: 1rem;
        right: 1rem;
    }
}
