/*
Theme Name: CarWashWiz
Theme URI: https://carwashwiz.site
Author: GitHub Copilot
Description: Custom car wash landing page theme with pricing and client booking UI.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: carwashwiz
*/

:root {
    --bg: #08111a;
    --bg-deep: #050b11;
    --panel: rgba(9, 25, 37, 0.82);
    --panel-strong: rgba(8, 20, 30, 0.96);
    --line: rgba(159, 221, 255, 0.14);
    --text: #f2fbff;
    --muted: #a4bfd0;
    --accent: #3ac9ff;
    --accent-strong: #9ff0ff;
    --accent-warm: #ffb75e;
    --success: #9ff6c3;
    --error: #ff8f8f;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(58, 201, 255, 0.22), transparent 26%),
        radial-gradient(circle at 88% 12%, rgba(255, 183, 94, 0.18), transparent 18%),
        linear-gradient(180deg, #08111a 0%, #0a1a27 52%, #050b11 100%);
    min-height: 100vh;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
    border: 0;
}

.site-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 40px;
}

.masthead,
.section,
.panel,
.site-footer {
    animation: fade-up 0.8s ease both;
}

.topbar,
.panel,
.section,
.hero-copy,
.hero-card,
.booking-panel,
.booking-copy,
.service-card,
.price-card,
.gallery-copy,
.site-footer {
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.topbar,
.panel,
.section,
.hero-copy,
.hero-card,
.booking-panel,
.booking-copy,
.site-footer {
    background: var(--panel);
    backdrop-filter: blur(16px);
}

.topbar,
.site-footer {
    border-radius: 999px;
}

.section,
.hero-copy,
.hero-card,
.booking-panel,
.booking-copy,
.panel {
    border-radius: var(--radius-xl);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-badge {
    width: 50px;
    height: 50px;
    display: inline-grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    color: #05202c;
    font-family: "Anton", Impact, sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-copy strong,
.eyebrow,
h1,
h2,
h3,
.button,
.service-tag,
.price-label {
    font-family: "Anton", Impact, sans-serif;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.brand-copy strong {
    font-size: 1.4rem;
}

.brand-copy small,
.hero-text,
.section-heading p,
.intro-strip p,
.service-card p,
.gallery-copy p,
.booking-copy p,
.form-feedback,
.booking-list li span,
.footer-note,
.price-card span,
.service-meta span,
.hero-card p,
.hero-card span {
    color: var(--muted);
}

.nav-links,
.footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-links a,
.footer-links a {
    color: var(--muted);
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--accent-strong);
}

.button,
.service-select {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.service-select:hover {
    transform: translateY(-2px);
}

.button-solid,
.service-select {
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    color: #062432;
}

.button-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(159, 221, 255, 0.18);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 24px;
    padding-top: 26px;
}

.hero-copy {
    padding: 42px;
    position: relative;
    overflow: hidden;
}

.hero-copy::after {
    content: "";
    position: absolute;
    inset: auto -40px -40px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 201, 255, 0.22), transparent 70%);
    pointer-events: none;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent-warm);
    font-size: 0.98rem;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 0.95;
}

h1 {
    font-size: clamp(3.6rem, 8vw, 7rem);
    max-width: 9ch;
}

h2 {
    font-size: clamp(2.3rem, 5vw, 4.6rem);
}

h3 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.hero-text {
    max-width: 56ch;
    margin: 18px 0 0;
    line-height: 1.7;
}

.hero-actions,
.hero-stats,
.booking-highlights,
.booking-actions,
.booking-list-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-actions {
    margin-top: 28px;
}

.hero-stats {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}

.hero-stats li,
.booking-highlights span {
    min-width: 140px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(159, 221, 255, 0.1);
}

.hero-stats strong {
    display: block;
    font-size: 1.5rem;
}

.hero-visual {
    display: grid;
    gap: 18px;
}

.hero-card {
    padding: 18px;
}

.hero-card-image {
    padding: 0;
    overflow: hidden;
    min-height: 360px;
}

.hero-card-image img,
.gallery-grid img {
    height: 100%;
    object-fit: cover;
}

.hero-card-note {
    background: linear-gradient(135deg, rgba(8, 20, 30, 0.96), rgba(17, 43, 61, 0.95));
}

.intro-strip,
.section {
    margin-top: 22px;
    padding: 30px;
}

.intro-strip {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: center;
}

.section-heading {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.section-heading.compact {
    margin-bottom: 18px;
}

.service-grid,
.pricing-grid,
.gallery-grid {
    display: grid;
    gap: 18px;
}

.service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
}

.service-card,
.price-card,
.gallery-copy {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
}

.service-card,
.price-card {
    display: grid;
    gap: 14px;
}

.service-tag,
.price-label {
    font-size: 0.95rem;
    color: var(--accent-warm);
}

.service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-meta strong,
.price-card h3 {
    font-size: 2.2rem;
    color: var(--accent-strong);
}

.price-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.price-card.featured {
    background: linear-gradient(180deg, rgba(58, 201, 255, 0.12), rgba(255, 255, 255, 0.03));
    transform: translateY(-4px);
}

.gallery-copy {
    display: flex;
    align-items: end;
}

.gallery-grid img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    min-height: 280px;
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 18px;
}

.booking-copy,
.booking-panel,
.booking-list-panel {
    padding: 28px;
}

.booking-form,
.field-group {
    display: grid;
    gap: 10px;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.date-select-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

label {
    font-size: 0.95rem;
}

input,
select {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid rgba(159, 221, 255, 0.14);
}

input::placeholder {
    color: #84a1b4;
}

input:focus,
select:focus,
.button:focus,
.service-select:focus {
    outline: 2px solid rgba(159, 240, 255, 0.45);
    outline-offset: 2px;
}

.form-feedback {
    min-height: 24px;
    margin: 0;
}

.form-feedback.success {
    color: var(--success);
}

.form-feedback.error {
    color: var(--error);
}

.booking-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 12px;
}

.booking-list li {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(159, 221, 255, 0.08);
    border-radius: var(--radius-md);
}

.booking-list li strong {
    font-size: 1.05rem;
}

.booking-list .empty-state {
    color: var(--muted);
}

.site-footer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 16px;
    margin-top: 22px;
    padding: 20px 24px;
}

.site-footer p {
    margin: 4px 0 0;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .service-grid,
    .pricing-grid,
    .gallery-grid,
    .booking-layout,
    .intro-strip,
    .site-footer,
    .hero {
        grid-template-columns: 1fr;
    }

    .site-footer {
        border-radius: var(--radius-xl);
    }
}

@media (max-width: 780px) {
    .site-shell {
        width: min(100% - 20px, 100%);
    }

    .topbar {
        flex-wrap: wrap;
        border-radius: 28px;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
    }

    .hero-copy,
    .booking-copy,
    .booking-panel,
    .booking-list-panel,
    .section,
    .intro-strip {
        padding: 22px;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .date-select-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: clamp(2.8rem, 15vw, 4.6rem);
    }

    h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .site-footer {
        text-align: center;
    }

    .footer-links,
    .booking-actions,
    .hero-actions,
    .booking-highlights {
        justify-content: center;
    }
}