:root {
    --primary: #e53935;
    --dark: #121212;
    --surface: #1e1e1e;
    --text: #e0e0e0;
}

body {
    background-color: var(--dark);
    color: var(--text);
    font-family: 'Segoe UI', system-ui, sans-serif;
    margin: 0;
    line-height: 1.6;
}

header {
    background: rgba(0,0,0,0.8);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

.hero {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1558981403-c5f9899a28bc?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.btn {
    background: var(--primary);
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.05);
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.service-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 10px;
    border-top: 4px solid var(--primary);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.booking-container {
    background: var(--surface);
    padding: 2rem;
    border-radius: 10px;
}

input[type="text"], input[type="tel"] {
    background: #333;
    border: 1px solid #444;
    color: white;
    padding: 0.8rem;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.booking-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.calendar-panel {
    flex-shrink: 0;
}

.slots-panel {
    flex: 1;
    min-width: 0;
}

/* Flatpickr inline calendar overrides */
.flatpickr-calendar.inline {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 10px;
    box-shadow: none;
}

.flatpickr-months .flatpickr-month,
.flatpickr-weekdays,
span.flatpickr-weekday {
    background: #1e1e1e;
    color: #e0e0e0;
}

.flatpickr-day {
    color: #e0e0e0;
}

.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover {
    background: #333;
    border-color: #333;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #e53935;
    border-color: #e53935;
    color: #fff;
}

.flatpickr-day.today {
    border-color: #e53935;
}

.flatpickr-day.today:hover {
    background: #b71c1c;
    border-color: #b71c1c;
    color: #fff;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: #555;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    fill: #e0e0e0;
}

.numInputWrapper span {
    border-color: #444;
}

.flatpickr-current-month .numInputWrapper input,
.flatpickr-current-month .flatpickr-monthDropdown-months {
    color: #e0e0e0;
}

@media (max-width: 640px) {
    .booking-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .calendar-panel {
        display: flex;
        justify-content: center;
    }
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.slot-btn {
    background: #333;
    color: white;
    border: 1px solid var(--primary);
    padding: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: bold;
}

.slot-btn:hover:not(.booked) {
    background: var(--primary);
}

.slot-btn.booked {
    background: #444;
    border-color: #555;
    color: #e53935;
    cursor: not-allowed;
    opacity: 0.8;
}

.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--surface);
    padding: 2rem;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-secondary {
    background: #555;
}

footer {
    background: #000;
    padding: 4rem 2rem 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.copy {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 2rem;
    color: #666;
}

/* Stats section */
.stats-section {
    background: var(--primary);
    max-width: 100%;
    padding: 4rem 2rem;
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stats-grid--single {
    grid-template-columns: 1fr;
    max-width: 300px;
}

.stat-item p {
    margin: 0.3rem 0 0;
    font-size: 1rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
}

/* Brands section */
.brands-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.brand-item {
    background: var(--surface);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: border-color 0.3s, color 0.3s;
}

.brand-item:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.brand-item i {
    font-size: 0.5rem;
    color: var(--primary);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }

    .hamburger { display: flex; }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.97);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        text-align: center;
    }

    nav ul.open {
        display: flex;
    }

    nav ul li a {
        display: block;
        padding: 0.8rem 2rem;
    }

    header {
        position: relative;
    }
}
