/* =========================================
   JOSEPH PREPARATION WORKSHOP
   ROTB EVENT PAGE
========================================= */


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: #242424;
    background: #fff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}


/* =========================================
   GLOBAL
========================================= */

:root {
    --gold: #8c6f3f;
    --gold-dark: #735a31;
    --cream: #f8f5ef;
    --light: #f5f3ef;
    --dark: #202020;
    --text: #555;
    --border: #e5e0d7;
    --white: #fff;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.section {
    padding: 90px 0;
}


/* =========================================
   MOBILE MENU
========================================= */

.mobile-menu {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 999;
    border-bottom: 1px solid #eee;
    padding: 20px 6%;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
}

.mobile-menu a {
    padding: 13px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}


/* =========================================
   HERO
========================================= */

.workshop-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    text-align: center;

    background:
        linear-gradient(
            rgba(20, 17, 12, 0.78),
            rgba(20, 17, 12, 0.84)
        ),
        url("Images/rotb.jpg") center / cover no-repeat;

    color: #fff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at center,
            rgba(140, 111, 63, 0.18),
            transparent 55%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.event-label {
    display: inline-block;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #d7c19a;
}

.hero-content h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(48px, 7vw, 86px);
    line-height: 1.02;
    font-weight: 600;
    max-width: 900px;
    margin: 0 auto 22px;
}

.hero-date {
    font-size: 16px;
    letter-spacing: 4px;
    font-weight: 600;
    color: #d8c49f;
}

.hero-description {
    max-width: 650px;
    margin: 22px auto 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
}


/* =========================================
   COUNTDOWN
========================================= */

.countdown-wrapper {
    margin-top: 55px;
}

.countdown-title {
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.countdown-item {
    width: 115px;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);

    backdrop-filter: blur(8px);
}

.countdown-item span {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    line-height: 1;
}

.countdown-item small {
    margin-top: 9px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.65);
}


/* =========================================
   SECTION HEADING
========================================= */

.section-heading {
    max-width: 620px;
}

.section-heading > span,
.section-label {
    display: inline-block;
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
}

.section-heading h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-heading p {
    color: var(--text);
    max-width: 550px;
}


/* =========================================
   EVENT DETAILS
========================================= */

.event-details {
    background: #fff;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 55px;
}

.detail-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--cream);
    border: 1px solid var(--border);
}

.detail-icon {
    flex-shrink: 0;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    color: var(--gold);
    font-size: 18px;
}

.detail-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    margin-bottom: 5px;
}

.detail-card p {
    color: var(--text);
    font-size: 14px;
}


/* =========================================
   RESERVATION SECTION
========================================= */

.reservation-section {
    background: var(--cream);
    padding: 100px 0;
}

.reservation-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.reservation-intro h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 60px);
    line-height: 1.05;
    margin-bottom: 20px;
}

.reservation-intro > p {
    color: var(--text);
    max-width: 470px;
}


/* =========================================
   AVAILABILITY
========================================= */

.availability-box {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 20px 22px;

    background: #fff;
    border-left: 4px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.availability-number {
    font-family: "Playfair Display", serif;
    color: var(--gold);
    font-size: 46px;
    line-height: 1;
}

.availability-box strong {
    display: block;
    font-size: 15px;
}

.availability-box span {
    color: #777;
    font-size: 12px;
}


/* =========================================
   RESERVATION CARD
========================================= */

.reservation-card {
    background: #fff;
    padding: 45px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 30px;
}

.form-step {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 600;
}

.form-header h3 {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    margin: 7px 0;
}

.form-header p {
    color: #777;
    font-size: 14px;
}


/* =========================================
   FORM
========================================= */

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 54px;
    border: 1px solid #ddd;
    background: #fff;
    padding: 0 15px;
    outline: none;
    color: #333;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(140, 111, 63, 0.08);
}

.form-group small {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #888;
}


/* =========================================
   BUTTONS
========================================= */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;
    padding: 0 27px;

    font-size: 13px;
    font-weight: 600;

    border: none;
    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.btn-primary {
    background: var(--gold);
    color: #fff;
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: #fff;
}

.reserve-button {
    width: 100%;
    margin-top: 8px;
}

.reserve-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    margin-top: 16px;
    color: #888;
    font-size: 11px;
    text-align: center;
}

.form-note i {
    margin-right: 5px;
}


/* =========================================
   CONFIRMATION
========================================= */

.confirmation-section {
    padding: 100px 0;
    background: #f7f5f0;
}

.confirmation-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 65px 50px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.07);
}

.success-icon,
.booked-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(140, 111, 63, 0.1);
    color: var(--gold);

    font-size: 25px;
}

.confirmation-label {
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
}

.confirmation-card h2,
.fully-booked-card h2 {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    margin: 8px 0 15px;
}

.confirmation-card > p {
    color: #666;
}


/* =========================================
   BOOKING NUMBER
========================================= */

.booking-number-box {
    margin: 30px auto;
    padding: 22px;

    background: var(--cream);
    border: 1px dashed #cdbd9e;
}

.booking-number-box span {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 7px;
}

.booking-number-box strong {
    color: var(--gold);
    font-size: 22px;
    letter-spacing: 1px;
}


/* =========================================
   CONFIRMATION DETAILS
========================================= */

.confirmation-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-bottom: 25px;
    background: #e7e2d9;
    border: 1px solid #e7e2d9;
}

.confirmation-details div {
    background: #fff;
    padding: 18px;
}

.confirmation-details span {
    display: block;
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.confirmation-details strong {
    font-size: 13px;
}


/* =========================================
   VENUE
========================================= */

.venue-confirmation {
    display: flex;
    justify-content: center;
    gap: 12px;

    text-align: left;

    margin: 20px 0;
    padding: 20px;

    background: var(--cream);
}

.venue-confirmation > i {
    color: var(--gold);
    margin-top: 3px;
}

.venue-confirmation strong {
    font-size: 13px;
}

.venue-confirmation p {
    margin-top: 3px;
    font-size: 12px;
    color: #666;
}

.email-notice {
    margin: 20px 0 28px;
    font-size: 12px;
    color: #777;
}

.email-notice i {
    color: var(--gold);
    margin-right: 5px;
}


/* =========================================
   FULLY BOOKED
========================================= */

.fully-booked-section {
    padding: 100px 0;
    background: var(--cream);
}

.fully-booked-card {
    max-width: 650px;
    margin: 0 auto;
    background: #fff;
    padding: 60px 40px;
    text-align: center;
}

.fully-booked-card > span {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 600;
}

.fully-booked-card p {
    max-width: 480px;
    margin: 0 auto 30px;
    color: #666;
}




/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .workshop-hero {
        min-height: 680px;
    }

    .reservation-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .reservation-intro {
        max-width: 650px;
    }

}


@media (max-width: 700px) {

    .section {
        padding: 70px 0;
    }

    .workshop-hero {
        min-height: 650px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-date {
        font-size: 13px;
        letter-spacing: 3px;
    }

    .countdown {
        gap: 6px;
    }

    .countdown-item {
        width: 76px;
        min-height: 85px;
    }

    .countdown-item span {
        font-size: 28px;
    }

    .countdown-item small {
        font-size: 8px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .reservation-card {
        padding: 30px 22px;
    }

    .confirmation-card {
        padding: 45px 20px;
    }

    .confirmation-card h2,
    .fully-booked-card h2 {
        font-size: 38px;
    }

    .confirmation-details {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

}


@media (max-width: 430px) {

    .logo img {
        width: 65px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .countdown-item {
        width: 68px;
    }

    .countdown-item span {
        font-size: 24px;
    }

    .countdown-item small {
        letter-spacing: 0.5px;
    }

    .detail-card {
        padding: 20px;
    }

}