:root {
    --bg: #F7F1E3;
    --bg-alt: #EDE5D3;
    --bg-dark: #0A0A0A;
    --surface: #FFFFFF;
    --text: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-muted: #7A7A7A;
    --fix-surface: #ffffff;

    /* RED - Primary Brand Color (replaces GOLD) */
    --fix-surface: #ffffff;
    --red: #CC0000;
    --red-hover: #A30000;
    --red-light: #FFE6E6;
    --red-pale: rgba(204, 0, 0, 0.12);
    --red-grad: linear-gradient(135deg, #CC0000 0%, #E60000 50%, #990000 100%);

    --border: #D3C9B4;
    --border-light: #E3DDD0;
    --error: #DC2626;
    --success: #16A34A;
    --success-bg: rgba(22, 163, 74, 0.1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-subheading: 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', Georgia, serif;
    --font-ui: 'Lato', 'Segoe UI', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-red: 0 8px 24px rgba(204, 0, 0, 0.25);
    /* was --shadow-gold */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-offset: 6rem;
    --footer-offset: 2rem;
}

.dark {
    --bg: #0A0A0A;
    --bg-alt: #141414;
    --surface: #1A1A1A;
    --text: #F7F1E3;
    --text-secondary: #BFB8A8;
    --text-muted: #8C8678;
    --border: #2E2A23;
    --border-light: #3A352E;
    --red: #E60000;
    /* Brighter red for dark mode */
    --red-hover: #FF1A1A;
    --red-light: #2A0000;
    --red-pale: rgba(230, 0, 0, 0.10);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.7;
    transition: background-color var(--transition), color var(--transition);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url('https://images.unsplash.com/photo-1572116469696-31de0f17cc34?w=2000&auto=format&fit=crop&q=60');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.05;
}

.dark .page-bg {
    opacity: 0.03;
}

/* ========== FIXED BUTTONS ========== */
.back-home {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 110;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.2rem;
    background: var(--surface);
    border: 2px solid var(--red);
    /* was --gold */
    border-radius: var(--radius-pill);
    color: var(--red);
    /* was --gold */
    text-decoration: none;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
}

.back-home:hover {
    background: var(--red);
    /* was --gold */
    color: #FFFFFF;
    /* was #0A0A0A */
    transform: translateX(-3px);
    box-shadow: var(--shadow-red);
    /* was --shadow-gold */
}

.back-home svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.theme-toggle-btn {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 110;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--red);
    /* was --gold */
    background: var(--surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 28px rgba(204, 0, 0, 0.35);
    /* was rgba(201,168,76,0.35) */
}

.theme-toggle-btn svg {
    width: 22px;
    height: 22px;
    color: var(--red);
    /* was --gold */
    position: absolute;
    transition: opacity 0.3s, transform 0.3s;
}

.theme-toggle-btn .icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.theme-toggle-btn .icon-moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.dark .theme-toggle-btn .icon-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.dark .theme-toggle-btn .icon-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-dark);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg svg {
    width: 100%;
    height: 100%;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-dark), rgba(10, 10, 10, 0.3) 60%, transparent);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__overline {
    font-family: var(--font-subheading);
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    color: var(--fix-surface);
    /* was --gold */
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #F7F1E3;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero__title-accent {
    color: var(--red);
    /* was --gold */
}

.hero__subtitle {
    font-size: 1rem;
    color: var(--red-light);
    /* was --gold-light */
    max-width: 500px;
    margin: 0 auto;
    font-style: italic;
}

/* ========== MAIN CONTENT WRAPPER ========== */
.main-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    position: relative;
}

/* ========== RESERVATION GRID ========== */
.reservation-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

/* ========== FORM COLUMN ========== */
.form-col {
    min-width: 0;
}

.form-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.form-card__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--red);
    /* was --gold */
    margin-bottom: 0.5rem;
}

.form-card__subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.form-label .required {
    color: var(--red);
    /* was --gold */
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--red);
    /* was --gold */
    box-shadow: 0 0 0 3px var(--red-pale);
    /* was --gold-pale */
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row>.form-group {
    flex: 1;
    min-width: 0;
}

.phone-wrap {
    display: flex;
    gap: 0.5rem;
}

.phone-code {
    width: 120px;
    flex-shrink: 0;
}

.form-error {
    color: var(--error);
    font-size: 0.75rem;
    font-family: var(--font-ui);
    min-height: 1em;
    margin-top: 0.2rem;
}

.char-count {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-ui);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--red-grad);
    /* was --gold-grad */
    color: #FFFFFF;
    /* was #0A0A0A */
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all var(--transition);
    box-shadow: var(--shadow-red);
    /* was --shadow-gold */
    margin-top: 1.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(204, 0, 0, 0.4);
    /* was rgba(201,168,76,0.4) */
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit svg {
    width: 20px;
    height: 20px;
}

.form-success {
    display: none;
    align-items: flex-start;
    gap: 1rem;
    background: var(--success-bg);
    border: 2px solid var(--success);
    color: var(--success);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.form-success.show {
    display: flex;
    animation: fadeUp 0.4s ease;
}

.form-success svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.form-global-error {
    display: none;
    align-items: center;
    gap: 0.8rem;
    background: rgba(220, 38, 38, 0.1);
    border: 2px solid var(--error);
    color: var(--error);
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 1rem;
}

.form-global-error.show {
    display: flex;
    animation: fadeUp 0.4s ease;
}

.form-global-error svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ========== SIDEBAR (Floating with JS) ========== */
.sidebar-col {
    position: relative;
}

.sidebar-float {
    width: 380px;
    transition: transform 0.1s linear;
}

.sidebar-float.is-sticky {
    position: fixed;
    top: var(--header-offset);
}

.sidebar-float.is-bottom {
    position: absolute;
    bottom: 0;
    top: auto;
}

/* ========== INFO CARD ========== */
.info-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.info-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--red);
    /* was --gold */
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--red);
    /* was --gold */
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.info-item svg {
    width: 20px;
    height: 20px;
    color: var(--red);
    /* was --gold */
    flex-shrink: 0;
    margin-top: 3px;
}

.info-item strong {
    display: block;
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.info-item p {
    margin: 0;
    line-height: 1.5;
}

.info-note {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--red-pale);
    /* was --gold-pale */
    border-radius: var(--radius-md);
    border-left: 3px solid var(--red);
    /* was --gold */
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.info-note svg {
    width: 18px;
    height: 18px;
    color: var(--red);
    /* was --gold */
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========== FOOTER ========== */
.footer {
    text-align: center;
    padding: 3rem 1.5rem 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-dark);
    color: var(--fix-surface);
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.footer__divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 200px;
    margin: 0 auto 1.5rem;
}

.footer__divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    /* was --gold */
}

.footer__diamond {
    width: 6px;
    height: 6px;
    background: var(--red);
    /* was --gold */
    transform: rotate(45deg);
}

.footer__name {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--red);
    /* was --gold */
}

.footer__address {
    font-family: var(--font-body);
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.footer__copyright {
    font-family: var(--font-ui);
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    opacity: 0.4;
    margin-top: 1.5rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .reservation-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-col {
        display: none;
    }

    .sidebar-static {
        display: block;
        margin-top: 2rem;
    }
}

@media (min-width: 1025px) {
    .sidebar-static {
        display: none;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .form-card {
        padding: 1.5rem;
    }

    .phone-wrap {
        flex-direction: column;
    }

    .phone-code {
        width: 100%;
    }

    .back-home {
        top: 0.75rem;
        left: 0.75rem;
        padding: 0.5rem 0.9rem;
        font-size: 0.75rem;
    }

    .back-home span {
        display: none;
    }

    .theme-toggle-btn {
        top: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
    }

    :root {
        --header-offset: 5rem;
    }
}