/*
Hallo Car Static Site — Standalone CSS
Extracted from WordPress Astra child theme
*/

/* ============================================================
   CSS Reset (minimal)
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* ============================================================
   Brand variables
   ============================================================ */
:root {
    --hc-green: #548F34;
    --hc-green-dark: #3f6e26;
    --hc-green-darker: #2e5119;
    --hc-dark: #1a1a1a;
    --hc-gray: #9a9a9a;
    --hc-gray-light: #f5f5f5;
    --hc-pink: #ED1566;
    --hc-white: #ffffff;
    --hc-body-bg: #000000;
    --hc-card-bg: #1a1a1a;
    --hc-border: #262626;
    --hc-text: #e8e8e8;
    --hc-text-muted: #d5d5d5;
    --hc-section-alt: #141414;
}

/* ============================================================
   Global dark body
   ============================================================ */
body {
    background: var(--hc-body-bg);
    color: var(--hc-text);
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.7;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
    letter-spacing: 0.02em;
    color: var(--hc-white);
}

h1 { font-weight: 700; }
h2 { font-weight: 600; }

.section-title {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.4em;
    color: var(--hc-white);
}

.section-tagline {
    text-align: center;
    color: var(--hc-gray);
    font-size: 1.05rem;
    margin-bottom: 2.5em;
}

/* ============================================================
   Site Header & Navigation
   ============================================================ */
.site-header {
    background-color: #0a0a0a;
    border-bottom: 3px solid var(--hc-green);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo__link {
    display: inline-block;
    text-decoration: none;
}

.site-logo__text {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hc-white);
    line-height: 1;
}

.site-logo__accent {
    color: var(--hc-green);
    margin-left: 0.2em;
}

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

.site-nav a {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    color: var(--hc-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--hc-green);
}

/* Header right-hand actions: language switcher + admin link */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 2rem;
}

/* Admin link (login is password-protected at /api/admin.php) */
.site-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--hc-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-admin-link:hover {
    color: var(--hc-green);
}

.site-admin-link__icon {
    display: block;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-switcher__toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: var(--hc-white);
    background: none;
    border: 1px solid var(--hc-border);
    border-radius: 2px;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-switcher__toggle:hover {
    background: var(--hc-card-bg);
    border-color: var(--hc-green);
}

.lang-switcher__caret {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--hc-white);
    transition: transform 0.2s ease;
}

.lang-switcher.is-open .lang-switcher__caret {
    transform: rotate(180deg);
}

.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: #0a0a0a;
    border: 1px solid var(--hc-border);
    border-radius: 2px;
    padding: 0.5rem;
    min-width: 60px;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.lang-switcher.is-open .lang-switcher__dropdown {
    display: flex;
}

.lang-switcher__dropdown a {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: var(--hc-white);
    text-decoration: none;
    padding: 0.3rem 0.6rem;
    border-radius: 2px;
    transition: all 0.2s ease;
    text-align: center;
}

.lang-switcher__dropdown a:hover {
    background: var(--hc-green);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--hc-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
    fill: var(--hc-white);
}

/* ============================================================
   Main Content
   ============================================================ */
.site-main {
    min-height: 60vh;
}

/* ============================================================
   Hero
   ============================================================ */
.hc-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hc-white);
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.65)),
                url('/images/hallocar/hero-quattroporte.jpg') center/cover no-repeat;
    padding: 6rem 1.5rem;
    margin-bottom: 4rem;
}

.hc-hero__inner { max-width: 900px; }

.hc-hero__title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 1rem;
    color: var(--hc-white);
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hc-hero__subtitle {
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    margin: 0 0 2rem;
    opacity: 0.95;
}

.hc-btn {
    display: inline-block;
    padding: 0.95rem 2.4rem;
    background: var(--hc-green);
    color: var(--hc-white);
    border: 2px solid var(--hc-green);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border-radius: 2px;
}

.hc-btn:hover {
    background: var(--hc-green-dark);
    border-color: var(--hc-green-dark);
    color: var(--hc-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(84,143,52,0.35);
}

.hc-btn--ghost {
    background: transparent;
    border-color: var(--hc-white);
    color: var(--hc-white);
}
.hc-btn--ghost:hover {
    background: var(--hc-white);
    color: var(--hc-green);
    border-color: var(--hc-white);
}

.hc-hero__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Sections
   ============================================================ */
.hc-section { padding: 4rem 1.5rem; }
.hc-section--alt {
    background: var(--hc-section-alt);
    border-top: 1px solid #1f1f1f;
    border-bottom: 1px solid #1f1f1f;
}
.hc-section__inner { max-width: 1200px; margin: 0 auto; }

/* ============================================================
   Services grid
   ============================================================ */
.hc-services {
    display: grid;
    /* Six presentation cards form a clean 3 x 2 grid on desktop. */
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

@media (max-width: 900px) {
    .hc-services {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .hc-services {
        grid-template-columns: 1fr;
    }
}

.hc-service {
    background: var(--hc-card-bg);
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid var(--hc-border);
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.hc-service:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.5);
    border-color: var(--hc-green);
}

.hc-service__image {
    margin-bottom: 1.2rem;
}

.hc-service__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.hc-service__title {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--hc-white);
    letter-spacing: 0.08em;
    margin: 0.5rem 0 0.8rem;
    line-height: 1.4;
    word-break: keep-all;
    hyphens: none;
    overflow-wrap: normal;
}

.hc-service__text {
    color: var(--hc-text-muted);
    font-size: 0.95rem;
    margin: 0 0 1.2rem;
}

.hc-service__link {
    display: inline-block;
    margin-top: 0.4rem;
    padding: 0.6rem 1.5rem;
    background: var(--hc-green);
    color: var(--hc-white);
    border: 2px solid var(--hc-green);
    border-radius: 2px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all 0.25s ease;
}

.hc-service__link:hover {
    background: var(--hc-green-dark);
    border-color: var(--hc-green-dark);
    color: var(--hc-white);
}

/* ============================================================
   Testimonials
   ============================================================ */
.hc-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.hc-testimonial {
    background: var(--hc-card-bg);
    padding: 2rem 1.5rem;
    border: 1px solid var(--hc-border);
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.hc-testimonial__stars {
    color: var(--hc-green);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.hc-testimonial__text {
    color: var(--hc-text-muted);
    font-size: 0.95rem;
    font-style: italic;
    margin: 0 0 1rem;
    border-left: 3px solid var(--hc-green);
    padding-left: 1rem;
}

.hc-testimonial__name {
    color: var(--hc-white);
    font-weight: 600;
    font-style: normal;
}

/* ============================================================
   Gallery
   ============================================================ */
.hc-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.hc-gallery__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--hc-border);
    aspect-ratio: 3 / 2;
}

.hc-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hc-gallery__item:hover img {
    transform: scale(1.06);
}

.hc-gallery__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.6rem 0.9rem;
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: var(--hc-white);
    background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0));
}

/* ============================================================
   Info bar (contact)
   ============================================================ */
.hc-info {
    background: var(--hc-green);
    color: var(--hc-white);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.hc-info__grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.hc-info__item h4 {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
    color: var(--hc-white);
}

.hc-info__item p { margin: 0; font-size: 0.95rem; opacity: 0.95; }
.hc-info__item a { color: var(--hc-white); text-decoration: underline; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: #050505;
    color: var(--hc-white);
    padding: 3rem 1.5rem 2rem;
    border-top: 3px solid var(--hc-green);
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--hc-green);
}

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

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

.footer-section a {
    color: var(--hc-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--hc-green);
}

.site-footer__copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--hc-border);
    color: var(--hc-text-muted);
    font-size: 0.9rem;
}
.site-footer__copyright a { color: #90EE90; text-decoration: none; }
.site-footer__copyright a:hover { color: #7CDB7C; text-decoration: underline; }

/* Footer social media links */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.footer-social a:hover {
    opacity: 0.8;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: var(--hc-text-muted);
    transition: fill 0.2s ease;
}

.footer-social a:hover .social-icon {
    fill: var(--hc-green);
}

/* ============================================================
   Content styles
   ============================================================ */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.page-content h2 {
    color: var(--hc-white);
    margin-top: 2rem;
}

.page-content h3 {
    color: var(--hc-white);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.page-content p {
    margin-bottom: 1rem;
}

.page-content a {
    color: var(--hc-green);
    text-decoration: underline;
}

.page-content a:hover {
    color: #7ab855;
}

/* ============================================================
   Contact form
   ============================================================ */
.hc-contact-form {
    max-width: 700px;
    margin: 0 auto;
}

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

.hc-contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.hc-contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hc-contact-form__field label {
    font-family: var(--hc-font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--hc-text-light);
}

.hc-contact-form__field input,
.hc-contact-form__field textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-family: var(--hc-font-body);
    font-size: 1rem;
    color: var(--hc-text-light);
    transition: border-color 0.2s;
}

.hc-contact-form__field input:focus,
.hc-contact-form__field textarea:focus {
    outline: none;
    border-color: var(--hc-green);
}

.hc-contact-form__field textarea {
    resize: vertical;
    min-height: 120px;
}

/* Vehicle cards */
.hc-vehicles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.hc-vehicle {
    background: var(--hc-card-bg);
    border: 1px solid var(--hc-border);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.hc-vehicle:hover {
    border-color: var(--hc-green);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.5);
}

.hc-vehicle__image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #111;
}

.hc-vehicle__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hc-vehicle:hover .hc-vehicle__image img {
    transform: scale(1.05);
}

.hc-vehicle__body {
    padding: 1.5rem;
    text-align: center;
}

.hc-vehicle__badge {
    display: inline-block;
    background: var(--hc-green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.hc-vehicle__name {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--hc-white);
    margin-bottom: 0.5rem;
}

.hc-vehicle__price {
    font-size: 1.1rem;
    color: var(--hc-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hc-vehicle__specs {
    list-style: none;
    text-align: left;
    margin-bottom: 1.25rem;
    padding: 0;
    font-size: 0.9rem;
    color: var(--hc-text-muted);
}

.hc-vehicle__specs li {
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hc-vehicle__specs li:last-child {
    border-bottom: none;
}

/* Map embed */
.hc-map iframe {
    border-radius: 4px;
    display: block;
}

/* ============================================================
   Responsive — tablets & mobile (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
    /* Mobile menu */
    .site-logo {
        order: 0;
    }

    .menu-toggle {
        display: block;
        order: 10;
    }

    .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #0a0a0a;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .site-nav a {
        font-size: 1.2rem;
    }

    .site-header__actions {
        order: 9;
        margin-left: 0;
        gap: 1rem;
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 0;
    }

    /* Hero */
    .hc-hero {
        min-height: 50vh;
        padding: 4rem 1rem;
        margin-bottom: 2rem;
    }
    .hc-hero__title {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }
    .hc-hero__buttons {
        flex-direction: column;
        align-items: center;
    }
    .hc-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 1rem 1.5rem;
    }

    /* Sections */
    .hc-section { padding: 3rem 1rem; }

    /* Section titles */
    .section-title {
        font-size: 1.3rem;
        letter-spacing: 0.08em;
    }

    /* Info bar — stack vertically */
    .hc-info__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Contact form — stack rows */
    .hc-contact-form__row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .site-footer__copyright {
        text-align: center;
        padding: 1rem;
    }
}

/* ============================================================
   Responsive — small phones (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
    .hc-hero {
        min-height: 40vh;
        padding: 3rem 0.75rem;
    }
    .hc-hero__subtitle {
        font-size: 0.95rem;
    }
    .hc-section { padding: 2rem 0.75rem; }
    .hc-info { padding: 2rem 0.75rem; }
}

/* ============================================================
   Reservation Page
   ============================================================ */

/* Container */
.hc-reservation {
    padding: 2rem 0;
}

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

/* Vehicle selector */
.hc-reservation__vehicle-selector {
    margin: 3rem 0;
}

.hc-reservation__vehicle-selector h2 {
    margin-bottom: 1rem;
    color: var(--hc-white);
    font-size: 1.75rem;
}

#vehicle-selector {
    width: 100%;
    max-width: 400px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--hc-gray-light);
    border-radius: 4px;
    background: white;
    color: var(--hc-dark);
    cursor: pointer;
    transition: border-color 0.2s;
}

#vehicle-selector:focus {
    outline: none;
    border-color: var(--hc-green);
}

/* Calendar + sidebar layout */
.hc-reservation__layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin: 3rem auto;
}

.hc-reservation__calendar {
    flex: 1 1 400px;
    max-width: 600px;
}

.hc-reservation__sidebar {
    flex: 1 1 280px;
    max-width: 400px;
}

.hc-reservation__sidebar h3 {
    color: var(--hc-white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.hc-reservation__pickup {
    margin-top: 2rem;
}

.hc-reservation__pickup label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--hc-white);
    font-weight: 500;
}

.hc-reservation__pickup select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--hc-border);
    border-radius: 4px;
    background: var(--hc-card-bg);
    color: var(--hc-white);
    cursor: pointer;
}

.hc-reservation__pickup select:focus {
    outline: none;
    border-color: var(--hc-green);
}

.hc-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.hc-cal-month {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--hc-white);
    margin: 0;
}

.hc-cal-nav {
    background: var(--hc-green);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.hc-cal-nav:hover {
    background: var(--hc-green-dark);
}

.hc-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Service single-day calendar (inside the service request form) */
.hc-service-calendar {
    max-width: 480px;
    margin-top: 0.5rem;
}

.calendar-day-header {
    text-align: center;
    font-weight: bold;
    padding: 0.5rem;
    color: var(--hc-gray);
    font-size: 0.875rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--hc-border);
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.2s;
}

.calendar-day.empty {
    border: none;
}

.calendar-day.available {
    background: var(--hc-card-bg);
    color: var(--hc-white);
    cursor: pointer;
}

.calendar-day.available:hover {
    background: var(--hc-green-darker);
    border-color: var(--hc-green);
}

.calendar-day.unavailable {
    background: var(--hc-section-alt);
    color: var(--hc-gray);
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: 0.6;
}

.calendar-day.selected {
    background: var(--hc-green);
    color: white;
    border-color: var(--hc-green-dark);
}

.calendar-day.today {
    border-color: var(--hc-pink);
    border-width: 3px;
}

/* Multi-day range: interior days between pick-up and return */
.calendar-day.in-range {
    background: var(--hc-green-darker);
    color: var(--hc-white);
    border-color: var(--hc-green);
}

/* Square off the inner edges so a range reads as a continuous band */
.calendar-day.range-start {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.calendar-day.range-end {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.calendar-hint {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--hc-text-muted);
}

/* Booking-type toggle: vehicle vs service */
.hc-booking-toggle {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hc-booking-toggle__btn {
    padding: 0.7rem 1.8rem;
    background: var(--hc-card-bg);
    color: var(--hc-text-muted);
    border: 2px solid var(--hc-border);
    border-radius: 2px;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hc-booking-toggle__btn:hover {
    border-color: var(--hc-green);
    color: var(--hc-white);
}

.hc-booking-toggle__btn.is-active {
    background: var(--hc-green);
    color: var(--hc-white);
    border-color: var(--hc-green);
}

.calendar-legend {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    font-size: 0.875rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid var(--hc-border);
    border-radius: 4px;
}

.legend-available {
    background: var(--hc-card-bg);
}

.legend-unavailable {
    background: var(--hc-section-alt);
}

/* Tariff section */
.hc-reservation__tariff {
    margin: 3rem 0;
    display: none;
}

.hc-reservation__tariff h3 {
    margin-bottom: 1.5rem;
    color: var(--hc-white);
    font-size: 1.5rem;
}

.tariff-cards {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tariff-card {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    border: 2px solid var(--hc-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tariff-card:hover {
    border-color: var(--hc-green);
    background: var(--hc-card-bg);
}

.tariff-card input[type="radio"] {
    display: none;
}

.tariff-card input[type="radio"]:checked + .tariff-card__content {
    color: var(--hc-green);
}

.tariff-card:has(input:checked) {
    border-color: var(--hc-green);
    border-width: 3px;
    background: var(--hc-card-bg);
}

.tariff-card__content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.tariff-card__price {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--hc-green);
    margin: 0;
}

/* Form section */
.hc-reservation__form {
    margin: 3rem 0;
    display: none;
}

.hc-reservation__form h3 {
    margin-bottom: 1.5rem;
    color: var(--hc-white);
    font-size: 1.5rem;
}

.reservation-summary {
    background: var(--hc-card-bg);
    border: 1px solid var(--hc-border);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.reservation-summary h4 {
    margin: 0 0 1rem 0;
    color: var(--hc-white);
}

.reservation-summary p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.reservation-summary span {
    color: var(--hc-green);
    font-weight: bold;
}

/* Messages */
.message-area {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.message-success {
    background: var(--hc-green);
    color: white;
}

.message-error {
    background: var(--hc-pink);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hc-reservation__layout {
        flex-direction: column;
        align-items: stretch;
    }

    .hc-reservation__calendar,
    .hc-reservation__sidebar {
        max-width: none;
        flex-basis: auto;
    }

    .hc-cal-grid {
        gap: 0.25rem;
    }

    .calendar-day {
        font-size: 0.875rem;
    }

    .tariff-cards {
        flex-direction: column;
    }

    .tariff-card {
        min-width: 100%;
    }

    .message-area {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .calendar-day-header {
        font-size: 0.75rem;
        padding: 0.25rem;
    }

    .calendar-day {
        font-size: 0.75rem;
    }

    .hc-cal-month {
        font-size: 1.25rem;
    }

    .hc-cal-nav {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }
}
