/* ==========================================================================
   AUTOLAVAGGIO 3 FRATELLI - Exact Flyer Theme (Vivid Red, Gold & White)
   ========================================================================== */

/* Design Tokens & Theme Variables directly from the Flyer */
:root {
    --flyer-red-bg: #cc0000;
    --flyer-red-dark: #990000;
    --flyer-red-card: #b30000;
    --flyer-red-deep: #800000;
    
    --flyer-gold: #ffd000;
    --flyer-gold-hover: #ffe047;
    --flyer-gold-dark: #d4a700;
    
    --flyer-white: #ffffff;
    --flyer-black: #111111;
    
    --text-primary: #ffffff;
    --text-gold: #ffd000;
    --text-muted: #ffcccc;
    
    --border-gold: #ffd000;
    --border-red-light: rgba(255, 255, 255, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-card: 0 8px 25px rgba(0, 0, 0, 0.35);
    --shadow-gold: 0 4px 20px rgba(255, 208, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--flyer-red-bg);
    background-image: radial-gradient(circle at top center, #e60000 0%, #b30000 60%, #800000 100%);
    color: var(--flyer-white);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    padding-bottom: 84px; /* Space for sticky mobile bar */
    -webkit-font-smoothing: antialiased;
}

/* Typography Helpers */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--flyer-white);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 42px 0;
}

.section-header {
    margin-bottom: 30px;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--flyer-gold);
    margin-bottom: 6px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--flyer-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 6px;
    max-width: 640px;
}

/* TOP ANNOUNCEMENT BAR */
.top-bar {
    background: #660000;
    color: #ffffff;
    font-size: 0.88rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 208, 0, 0.3);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 208, 0, 0.4);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
}

.live-status-pill.closed .status-dot {
    background-color: #ef4444;
}

.quick-call-top {
    color: var(--flyer-gold);
    font-size: 0.85rem;
    font-weight: 700;
}

/* HEADER */
.site-header {
    background: var(--flyer-red-dark);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--flyer-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

.site-logo-img {
    height: 56px;
    width: auto;
    max-width: 240px;
    display: block;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.badge-handwash {
    border: 2px solid var(--flyer-gold);
    background: var(--flyer-gold);
    color: var(--flyer-black);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 35px 0 45px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #000000;
    color: var(--flyer-gold);
    border: 2px solid var(--flyer-gold);
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-headline {
    font-size: 2.5rem;
    color: var(--flyer-white);
    margin-bottom: 14px;
    font-weight: 900;
    line-height: 1.15;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.hero-headline span {
    color: var(--flyer-gold);
}

.hero-subline {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.55;
    font-weight: 500;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.hero-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 3px solid var(--flyer-gold);
    background: #000000;
}

.hero-bg-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* BUTTON STYLES - FLYER THEMED (GOLD & WHITE) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.btn svg {
    flex-shrink: 0;
}

.btn-gold {
    background: linear-gradient(135deg, var(--flyer-gold), #e6b800);
    color: var(--flyer-black);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--flyer-gold-hover), var(--flyer-gold));
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #1fba59);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #2cf076, #25d366);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--flyer-gold);
    color: var(--flyer-gold);
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.7);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
}

/* TRUST BAR */
.hero-trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 208, 0, 0.3);
}

.trust-item {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-item strong {
    display: block;
    color: var(--flyer-gold);
    font-size: 1.1rem;
    font-weight: 900;
}

/* SPECIAL PROMO BANNER (Matching Flyer Red Card with Gold Price) */
.special-promo-section {
    padding: 30px 0 10px;
}

.promo-card {
    background: linear-gradient(135deg, #990000 0%, #660000 100%);
    border: 3px solid var(--flyer-gold);
    border-radius: var(--radius-lg);
    padding: 26px;
    position: relative;
    box-shadow: var(--shadow-card);
}

.promo-badge {
    position: absolute;
    top: -14px;
    left: 20px;
    background: var(--flyer-gold);
    color: var(--flyer-black);
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    padding: 5px 16px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}

.promo-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.promo-title {
    font-size: 1.55rem;
    color: var(--flyer-white);
    margin-bottom: 6px;
}

.promo-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.promo-price-tag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 208, 0, 0.3);
    padding-top: 18px;
}

.price-val {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.8rem;
    color: var(--flyer-gold);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* PRICE LIST & GRID */
.price-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
}

.price-card {
    background: linear-gradient(135deg, #a30000 0%, #800000 100%);
    border: 2px solid var(--flyer-gold);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.price-card:hover {
    border-color: #ffffff;
    transform: translateY(-2px);
}

.price-card.featured {
    border: 3px solid var(--flyer-gold);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.card-title {
    font-size: 1.35rem;
    color: var(--flyer-white);
    font-weight: 900;
}

.card-price {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.4rem;
    color: var(--flyer-gold);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.card-subtitle {
    font-size: 0.98rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    flex-grow: 1;
    line-height: 1.5;
}

.btn-select-service {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--flyer-gold);
    color: var(--flyer-gold);
    font-weight: 900;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.btn-select-service:hover {
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
}

.btn-select-service.active {
    background: var(--flyer-gold);
    border-color: var(--flyer-gold);
    color: var(--flyer-black);
}

/* ESTIMATOR WIDGET */
.estimator-box {
    background: #660000;
    border: 2px solid var(--flyer-gold);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.estimator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 208, 0, 0.3);
}

.estimator-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--flyer-gold);
}

.reset-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 700;
}

.selected-items-container {
    min-height: 45px;
    margin-bottom: 18px;
}

.empty-msg {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

.selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #800000;
    border: 2px solid var(--flyer-gold);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin: 4px 5px 4px 0;
    font-weight: 800;
}

.remove-tag {
    cursor: pointer;
    font-weight: 900;
    color: var(--flyer-gold);
}

.estimator-footer {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.total-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 700;
}

.total-display strong {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--flyer-gold);
    font-weight: 900;
}

/* FEATURES GRID */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    background: #800000;
    border: 2px solid rgba(255, 208, 0, 0.4);
    border-radius: var(--radius-md);
    padding: 24px;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--flyer-gold);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* LOCATION & HOURS */
.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.hours-card, .address-card {
    background: #800000;
    border: 2px solid var(--flyer-gold);
    border-radius: var(--radius-md);
    padding: 24px;
}

.hours-header, .addr-header {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 208, 0, 0.3);
}

.hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    font-weight: 700;
}

.hours-row.active-day {
    background: rgba(16, 185, 129, 0.25);
    border: 2px solid #10b981;
}

.highlight-time {
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--flyer-gold);
}

.landmark-box {
    margin: 16px 0;
    padding: 14px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 700;
}

.q8-badge {
    background: #e21017;
    color: #ffffff;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.88rem;
    border: 1px solid #ffffff;
}

.action-buttons-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.map-embed-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--flyer-gold);
}

/* FOOTER */
.site-footer {
    background: #400000;
    padding: 45px 0 25px;
    color: var(--text-muted);
    font-size: 0.92rem;
    border-top: 2px solid var(--flyer-gold);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.footer-brand h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.btn-link {
    background: none;
    border: none;
    color: var(--flyer-gold);
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.92rem;
    font-weight: 700;
}

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 208, 0, 0.2);
    font-size: 0.85rem;
    text-align: center;
}

/* STICKY MOBILE BOTTOM BAR */
.sticky-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 74px;
    background: #800000;
    border-top: 2px solid var(--flyer-gold);
    display: flex;
    z-index: 999;
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.5);
}

.mobile-cta-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.85rem;
    color: var(--flyer-gold);
}

.mobile-cta-item svg {
    width: 26px;
    height: 26px;
}

.mobile-cta-item.cta-call {
    background: var(--flyer-gold);
    color: var(--flyer-black);
}

.mobile-cta-item.cta-wa {
    background: #25d366;
    color: #ffffff;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #800000;
    border: 2px solid var(--flyer-gold);
    border-radius: var(--radius-md);
    max-width: 500px;
    width: 100%;
    padding: 26px;
    color: #ffffff;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.close-modal {
    background: none;
    border: none;
    color: var(--flyer-gold);
    font-size: 2rem;
    cursor: pointer;
}

/* MEDIA QUERIES FOR TABLETS & DESKTOPS */
@media (min-width: 640px) {
    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
    }
    
    .hero-headline {
        font-size: 3rem;
    }
    
    .hero-cta-group {
        flex-direction: row;
    }

    .btn {
        width: auto;
    }
    
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .location-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .promo-price-tag {
        border-top: none;
        padding-top: 0;
        gap: 24px;
    }
}

@media (min-width: 992px) {
    .price-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sticky-mobile-bar {
        display: none;
    }

    body {
        padding-bottom: 0;
    }
}
