@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}

body {
    background: #0f0f0f;
    color: #fff;
    overflow-x: hidden;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    filter: brightness(0.8);
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    animation: fadeIn 1.5s ease;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

p {
    opacity: 0.85;
}

.btn {
    margin-top: 20px;
    padding: 12px 28px;
    border: none;
    background: #c19a6b;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 0 transparent;
}

.btn::-moz-focus-inner {
    border: 0;
}

.btn:active {
    transform: scale(0.98);
}

.price-card button:active,
.calendar-toggle:active {
    transform: scale(0.98);
}

.hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}

.hero .btn::after {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    background: #fff7e5;
    border-radius: 999px;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    animation: heroDotPulse 1.2s ease-in-out infinite;
}

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

@keyframes heroDotPulse {

    0%,
    100% {
        opacity: 0.95;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.85);
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
}

/* SECTION */
.section {
    padding: 100px 20px;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 20px;
    transition: 0.4s;
    opacity: 0;
    transform: translateY(40px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* GALLERY */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 40px;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* PRICING */
.pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.price-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 20px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card .btn {
    margin-top: auto;
}

.booking-section {
    padding-top: 60px;
    padding-bottom: 80px;
}

.booking-wrapper {
    max-width: 1100px;
    margin: auto;
    display: grid;
    gap: 30px;
}

.booking-intro {
    text-align: center;
    max-width: 720px;
    margin: auto;
}

.booking-panel {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: start;
}

.booking-calendar,
.booking-details {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    color: #ccc;
}

.calendar-header small {
    color: #a9a9a9;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.calendar-footer {
    margin-top: 18px;
    text-align: center;
}

.calendar-toggle {
    width: 100%;
    max-width: 260px;
    background: rgba(193, 154, 107, 0.15);
    color: #f5f1eb;
    border: 1px solid rgba(193, 154, 107, 0.45);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
}

.calendar-toggle::after {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #c19a6b;
    animation: blinkPulse 1.2s ease-in-out infinite;
}

.calendar-toggle:hover {
    background: rgba(193, 154, 107, 0.24);
}

@keyframes blinkPulse {

    0%,
    100% {
        opacity: 0.9;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.85);
    }
}

.date-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: #f5f1eb;
    border-radius: 18px;
    padding: 18px 14px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    min-height: 100px;
    display: grid;
    gap: 8px;
    align-items: start;
}

.date-card:hover {
    transform: translateY(-2px);
    border-color: #c19a6b;
}

.date-card.selected {
    border-color: #c19a6b;
    background: rgba(193, 154, 107, 0.16);
}

.date-card.full {
    opacity: 0.45;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.06);
}

.date-card .date-day {
    font-size: 0.92rem;
    color: #d6c7b8;
}

.date-card .date-number {
    font-size: 1.45rem;
    font-weight: 700;
}

.date-card .capacity {
    margin-top: auto;
    font-size: 0.9rem;
    color: #c9b08b;
}

.booking-summary {
    display: grid;
    gap: 16px;
}

.booking-summary h3 {
    margin-bottom: 0;
    font-size: 1.65rem;
}

.booking-actions {
    display: flex;
    justify-content: center;
}

.booking-actions .btn {
    width: 100%;
    max-width: 260px;
    font-size: 1rem;
}

.notification {
    margin-top: 22px;
    min-height: 48px;
    border-radius: 16px;
    padding: 18px 20px;
    background: rgba(193, 154, 107, 0.12);
    color: #f1ebdf;
    opacity: 0.9;
}

.booking-records {
    margin-top: 30px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
}

.booking-records h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.booking-records__note {
    margin-bottom: 18px;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.booking-list {
    display: grid;
    gap: 12px;
}

.booking-list-empty {
    color: #f1ebdf;
    opacity: 0.8;
}

.booking-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    background: rgba(193, 154, 107, 0.08);
    border: 1px solid rgba(193, 154, 107, 0.18);
    border-radius: 16px;
    color: #f5f1eb;
    font-size: 0.98rem;
}

.booking-list-item strong {
    display: inline-block;
    min-width: 140px;
    color: #fff;
}

.booking-list-item span {
    opacity: 0.85;
    color: #f5f1eb;
}

.booking-message--success {
    background: rgba(44, 92, 60, 0.2);
    color: #d6f1d0;
}

.booking-message--error {
    background: rgba(130, 55, 55, 0.24);
    color: #ffe3d2;
}

/* ─── Booking Form ─────────────────────────────────────────────── */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.booking-form.hidden {
    display: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c19a6b;
    opacity: 0.9;
}

.form-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(193, 154, 107, 0.3);
    border-radius: 10px;
    color: #f1ebdf;
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input::placeholder {
    color: rgba(241, 235, 223, 0.35);
}

.form-group input:focus {
    border-color: #c19a6b;
    background: rgba(193, 154, 107, 0.08);
}

.form-group input.input-error {
    border-color: rgba(200, 80, 80, 0.7);
}

/* hide number input spinners */
.form-group input[type=number]::-webkit-inner-spin-button,
.form-group input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

@media (max-width: 900px) {
    .booking-panel {
        grid-template-columns: 1fr;
    }

    .calendar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .calendar-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.4rem;
    }

    .section {
        padding: 60px 16px;
    }
}

/* FOOTER */
footer {
    text-align: center;
    padding: 40px;
    opacity: 0.6;
}

.socials {
    border-radius: 0.2em;
    padding: 0.2em 0.5em;
    background-color: #c19a6b;
    /* color: white; */
    text-decoration: none;
    display: inline-block;

}

button {
    /* width: 100%;
    height: 100%; */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}