/* ===================================
   Pacific Rim Pressure Washing
   Stylesheet
   =================================== */

/* --- CSS Variables --- */
:root {
    --deep-blue: #0a1628;
    --ocean-blue: #1e3a5f;
    --sky-blue: #4a90b8;
    --light-blue: #7ec8e3;
    --pale-blue: #d4eaf7;
    --sunset-orange: #e8721c;
    --bright-orange: #ff8c42;
    --gold: #ffc857;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--deep-blue);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 5rem 2rem;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0) 100%);
    transition: background 0.3s ease;
}

nav.scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--sunset-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--pale-blue);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--sunset-orange);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        #0a1628 0%,
        #1e3a5f 25%,
        #4a90b8 50%,
        #7ec8e3 70%,
        #ffc857 85%,
        #ff8c42 95%,
        #e8721c 100%
    );
    z-index: 0;
}

.mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 1;
}

.mountain-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.clouds {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.cloud {
    position: absolute;
}

.cloud-1 {
    width: 180px;
    top: 12%;
    left: 8%;
}

.cloud-2 {
    width: 140px;
    top: 18%;
    right: 12%;
}

.cloud-3 {
    width: 160px;
    top: 22%;
    left: 45%;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 6rem 2rem 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(232, 114, 28, 0.2);
    border: 1px solid var(--sunset-orange);
    color: var(--gold);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 0.95;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

.hero-title span {
    display: block;
    color: var(--sunset-orange);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--pale-blue);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--sunset-orange);
    color: var(--white);
}

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--light-blue);
}

.btn-secondary:hover {
    background: var(--light-blue);
    color: var(--deep-blue);
}

.btn-full {
    width: 100%;
}

/* --- Section Styling --- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    color: var(--sunset-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--pale-blue);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Services Section --- */
#services {
    background: linear-gradient(180deg, var(--deep-blue) 0%, #0d1f35 100%);
}

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

.service-card {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.5) 0%, rgba(10, 22, 40, 0.8) 100%);
    border: 1px solid rgba(126, 200, 227, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    border-color: rgba(232, 114, 28, 0.4);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--sunset-orange), var(--bright-orange));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--pale-blue);
    font-size: 0.95rem;
}

/* --- About Section --- */
#about {
    background: #0d1f35;
}

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

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--ocean-blue), var(--sky-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.about-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--pale-blue);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.features-list {
    list-style: none;
    margin: 1.5rem 0 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--sunset-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* --- Testimonials Section --- */
#testimonials {
    background: linear-gradient(180deg, #0d1f35 0%, var(--deep-blue) 100%);
}

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

.testimonial-card {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.4) 0%, rgba(10, 22, 40, 0.6) 100%);
    border: 1px solid rgba(126, 200, 227, 0.15);
    border-radius: 16px;
    padding: 2rem;
}

.stars {
    color: var(--gold);
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.testimonial-text {
    color: var(--pale-blue);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--sky-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-info h4 {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--light-blue);
    font-size: 0.85rem;
}

/* --- Contact Section --- */
#contact {
    background: linear-gradient(180deg, var(--deep-blue) 0%, #061018 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--pale-blue);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--ocean-blue), var(--sky-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.contact-item-text p,
.contact-item-text a {
    color: var(--light-blue);
    text-decoration: none;
}

.contact-item-text a:hover {
    color: var(--sunset-orange);
}

/* --- Contact Form --- */
.contact-form {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.3) 0%, rgba(10, 22, 40, 0.5) 100%);
    border: 1px solid rgba(126, 200, 227, 0.15);
    border-radius: 16px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(10, 22, 40, 0.8);
    border: 1px solid rgba(126, 200, 227, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select option {
    background: var(--deep-blue);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* --- Footer --- */
footer {
    background: #061018;
    padding: 3rem 2rem 1.5rem;
    border-top: 1px solid rgba(126, 200, 227, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--light-blue);
    font-size: 0.9rem;
    max-width: 280px;
    margin-top: 1rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

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

.footer-column a {
    color: var(--light-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--sunset-orange);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(126, 200, 227, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--light-blue);
    font-size: 0.85rem;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
    }

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

    .mobile-menu {
        display: flex;
    }

    .hero-content {
        padding: 5rem 1.5rem 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 1rem auto 0;
    }

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

    section {
        padding: 4rem 1.5rem;
    }

    .cloud {
        transform: scale(0.7);
    }
}
