/* ==========================================================================
   RESERVASI SECTION - PRESTIGE SYSTEM BLUEPRINT (ANTI-CLASH EDITION)
   Sangat Presisi, Tajam, dan Selaras Sempurna dengan Halaman About (Navy & Cream)
   ========================================================================== */

:root {
    --res-navy: #0A1D37;       /* Deep Navy dari About Section */
    --res-cream: #FDF6E3;      /* Paper Cream dari About Section */
    --res-red: #D63D3D;        /* Accent Red dari About Section */
    --res-white: #FFFFFF;
    --res-border: #0A1D37;
}

#reservasi-section {
    min-height: 100vh;
    padding: 100px 5%;
    background-color: var(--res-navy);
    /* Pola blueprint grid minimalis, bersih dan tidak membuat pusing */
    background-image: 
        linear-gradient(rgba(253, 246, 227, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(253, 246, 227, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    font-family: 'Courier Prime', monospace;
    color: var(--res-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.res-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== HEADER AREA (Clean Editorial Style) ===== */
.res-header {
    margin-bottom: 50px;
    position: relative;
}

.res-tag {
    font-size: 0.75rem;
    color: var(--res-red);
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.res-title {
    font-family: 'Special Elite', cursive;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--res-cream);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.res-line {
    width: 100px;
    height: 3px;
    background: var(--res-red);
    margin-top: 15px;
}

/* ===== MAIN GRID SYSTEM ===== */
.res-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 50px;
    align-items: stretch;
}

/* ===== CARD UTAMA: FORM RESERVASI (Stark Solid Paper Look) ===== */
.res-main-card {
    background: var(--res-cream) !important;
    border: 2px solid var(--res-border);
    padding: 45px;
    color: var(--res-navy);
    /* Menghilangkan efek rotasi miring yang merusak alignment layout */
    box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
}

.res-main-card .card-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--res-navy);
    opacity: 0.6;
    border-bottom: 2px dashed rgba(10, 29, 55, 0.15);
    padding-bottom: 10px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Form Layout Rows */
.form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
}

.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--res-navy);
    letter-spacing: 0.5px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--res-navy);
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
    background: var(--res-white);
    color: var(--res-navy);
    border-radius: 0; /* Desain brutalist kaku yang rapi */
    transition: all 0.15s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    background: var(--res-white);
    box-shadow: 4px 4px 0px var(--res-red);
    transform: translate(-2px, -2px);
}

/* Jarak baris input terakhir sebelum tombol submit */
.res-main-card > .input-group {
    margin-bottom: 35px;
}

/* BUTTON SUBMIT (Industrial Command Button) */
.btn-execute {
    width: 100%;
    padding: 16px;
    background: var(--res-navy);
    color: var(--res-cream);
    border: 2px solid var(--res-navy);
    font-family: 'Special Elite', cursive;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 6px 6px 0px var(--res-red);
    transition: all 0.2s ease;
    margin-top: auto;
}

.btn-execute:hover {
    background: var(--res-red);
    color: var(--res-white);
    border-color: var(--res-red);
    box-shadow: 6px 6px 0px var(--res-navy);
    transform: translate(-2px, -2px);
}

.btn-execute:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--res-navy);
}

/* ===== PANEL KANAN: SIDE PANEL SYSTEM ===== */
.res-side-panel {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Base style untuk semua side card agar balance dengan panel kiri */
.res-side-card {
    border: 2px solid rgba(253, 246, 227, 0.2);
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
}

.res-side-card .card-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--res-cream);
    opacity: 0.5;
    border-bottom: 1px dotted rgba(253, 246, 227, 0.2);
    padding-bottom: 8px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Info Card (Wireframe Blueprint Look) */
.info-card {
    border-color: rgba(253, 246, 227, 0.2);
}

.res-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.res-info-list li {
    font-size: 0.85rem;
    margin-bottom: 12px;
    color: rgba(253, 246, 227, 0.8);
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(253, 246, 227, 0.1);
    padding-bottom: 6px;
}

.res-info-list li strong {
    color: var(--res-red);
    font-weight: 700;
}

/* Protocol Card (Warning System Accent) */
.protocol-card {
    background: rgba(214, 61, 61, 0.05);
    border: 2px dashed var(--res-red);
}

.protocol-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(253, 246, 227, 0.85);
    margin: 0;
}

.protocol-text strong {
    color: var(--res-cream);
    background: var(--res-red);
    padding: 2px 6px;
}

/* ===== BARCODE GRAPHIC (Clean Tech Blueprint Stamp) ===== */
.barcode-wrapper {
    margin-top: auto;
    border: 2px solid rgba(253, 246, 227, 0.15);
    padding: 20px;
    background: rgba(0, 0, 0, 0.15);
    text-align: center;
}

.barcode-lines {
    height: 50px;
    width: 100%;
    background: repeating-linear-gradient(
        90deg,
        var(--res-cream) 0px,
        var(--res-cream) 2px,
        transparent 2px,
        transparent 8px,
        var(--res-cream) 8px,
        var(--res-cream) 11px,
        transparent 11px,
        transparent 13px
    ) !important;
    opacity: 0.7;
}

.barcode-text {
    font-size: 0.75rem;
    margin-top: 12px;
    color: var(--res-cream) !important;
    font-weight: 700;
    letter-spacing: 5px;
    opacity: 0.6;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 992px) {
    .res-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    #reservasi-section {
        padding: 80px 4%;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .res-main-card {
        padding: 30px 20px;
    }
    .res-title {
        font-size: 1.8rem;
    }
}