/* ============================================
   INVITATION BOOKING - COMPLETE STYLES
   Mobile-first responsive design
   ============================================ */

/* Font Faces */
@font-face {
    font-family: 'Arial';
    src: url('/invitation/font/Arial-Black.woff2') format('woff2'),
         url('/invitation/font/Arial-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arial';
    src: url('/invitation/font/ArialMT.woff2') format('woff2'),
         url('/invitation/font/ArialMT.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arial';
    src: url('/invitation/font/Arial-BoldMT.woff2') format('woff2'),
         url('/invitation/font/Arial-BoldMT.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --color-primary: #f3ab0e;
    --color-primary-hover: #ffc107;
    --color-bg: #050505;
    --color-text: #ffffff;
    --color-text-muted: rgba(255,255,255,0.6);
    --color-success: #4ade80;
    --color-error: #ff6b6b;
    --color-border: rgba(255,255,255,0.3);
    --color-neon-green: #98fb52;
    --color-neon-green-light: #CAFF99;
    --font-main: Arial, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.2s ease;
}

/* ============================================
   GLOBAL RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    background: var(--color-bg) url('/invitation/images/black_bg.jpg') center top / cover fixed no-repeat;
}

/* Noise overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('/invitation/images/altcizgi.png') repeat;
    opacity: 0.12;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   NAVBAR (from private-hire)
   ============================================ */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.nav-link {
    font-size: 15px !important;
    font-weight: 500;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.dropdown-menu {
    background: rgba(0,0,0,0.95) !important;
    border: 1px solid var(--color-primary) !important;
    border-radius: var(--radius-sm) !important;
}

.dropdown-item {
    font-size: 14px !important;
    padding: 0.6rem 1rem !important;
    transition: var(--transition) !important;
}

.dropdown-item:hover {
    background: rgba(243,171,14,0.2) !important;
    color: var(--color-primary) !important;
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 10px;
}

.mobile-menu-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 300px;
}

.mobile-menu-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.mobile-menu-label {
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    opacity: 0.9;
}

.mobile-menu-link {
    display: block;
    width: 100%;
    text-align: center;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-menu-link:hover {
    background: rgba(255,255,255,0.08);
    color: var(--color-primary);
}

.mobile-menu-divider {
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 16px 0;
}

.mobile-menu-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 30px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #000;
    background: var(--color-primary);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* ============================================
   VIDEO BACKGROUND (Hero)
   ============================================ */
.video-bg {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
    background: #000;
}

.video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
    z-index: 1;
}

/* Hide browser default video controls and play button (Safari fix) */
.video-bg video::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none;
}
.video-bg video::-webkit-media-controls-panel {
    display: none !important;
    -webkit-appearance: none;
}
.video-bg video::-webkit-media-controls-play-button {
    display: none !important;
    -webkit-appearance: none;
}
.video-bg video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}
.video-bg video::-webkit-media-controls-enclosure {
    display: none !important;
}
.video-bg video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    -webkit-appearance: none;
}
.video-bg video::-webkit-media-controls-overlay-enclosure {
    display: none !important;
}

/* Mobile: allow cropping edges, fill width */
@media (max-width: 768px) {
    .video-bg {
        height: 55vh;
    }
    
    .video-bg video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Gradient fade at bottom */
.video-bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}

/* ============================================
   STICKY LOGO BAND (Sticks to top on scroll)
   ============================================ */
.logo-band {
    position: relative;
    width: 100%;
    background: url('/invitation/images/logo-band-bg.jpg') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    padding: 12px 0;
    height: 54px;
    box-sizing: border-box;
}

.logo-band--sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(4px);
}

/* Subtle noise texture overlay */
.logo-band--sticky::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 150px 150px;
}

.logo-band--sticky::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0,0,0,0.18), rgba(0,0,0,0));
    opacity: 0.45;
    z-index: 1;
}

.logo-band--sticky .logo-marquee {
    position: relative;
    z-index: 1;
}

/* Mobile: ensure sticky works */
@supports (-webkit-touch-callout: none) {
    .logo-band--sticky {
        position: -webkit-sticky;
    }
}

.logo-marquee {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    animation: marquee-scroll 24s linear infinite;
}

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-marquee__track {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-marquee img {
    height: 30px;
    margin: 0 40px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Banner text items */
.banner-text {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    margin: 0 30px;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .logo-marquee img {
        height: 25px;
        margin: 0 25px;
    }
    .banner-text {
        font-size: 8px;
        letter-spacing: 1.5px;
        margin: 0 20px;
    }
}

/* ============================================
   BOOKING AREA (Main Content)
   ============================================ */
.booking-area {
    position: relative;
    min-height: 100vh;
    padding: 20px 16px 120px;
    background: #000 url('/invitation/images/black_bg.jpg') no-repeat center center;
    background-size: cover;
}

/* Sticky booking area on mobile - locks directly under banner */
@media (max-width: 991px) {
    .booking-area {
        position: sticky;
        top: 54px;
    }
}

/* Step Indicator — Compact & Clean */
.step-indicator-wrap {
    display: flex;
    justify-content: center;
    padding: 16px 10px 20px;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 6px 10px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 4px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.step-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-dot.active {
    width: 7px;
    height: 7px;
    background: var(--color-primary);
    box-shadow: 0 0 6px rgba(243,171,14,0.4);
}

.step-dot.completed {
    background: rgba(74,222,128,0.6);
}

.step-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.step-item.active .step-label {
    color: var(--color-primary);
}

.step-item.completed .step-label {
    color: rgba(74,222,128,0.5);
}

.step-line {
    width: 12px;
    height: 1px;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    margin: 0 1px;
    flex-shrink: 0;
}

.step-line.completed {
    background: rgba(74,222,128,0.35);
}

/* Slightly larger on wider screens */
@media (min-width: 480px) {
    .step-indicator {
        padding: 8px 14px;
    }
    .step-item {
        padding: 4px 6px;
    }
    .step-label {
        font-size: 10px;
    }
    .step-line {
        width: 16px;
    }
}

/* Booking Panels - Premium Animations */
.booking-panel {
    display: none;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
}

.booking-panel.active {
    display: block;
    animation: panelEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.booking-panel.exiting {
    animation: panelExit 0.3s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes panelEnter {
    0% { 
        opacity: 0; 
        transform: translateY(30px) scale(0.98);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1);
    }
}

@keyframes panelExit {
    0% { 
        opacity: 1; 
        transform: translateY(0) scale(1);
    }
    100% { 
        opacity: 0; 
        transform: translateY(-20px) scale(0.98);
    }
}

.panel-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Panel Actions */
.panel-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding-top: 16px;
}

/* Mobile: Primary action (Continue/Apply) above Back button */
@media (max-width: 576px) {
    .panel-actions {
        flex-direction: column-reverse;
        align-items: center;
    }
}

.btn-continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 14px 32px;
    background: var(--color-primary);
    color: #000;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(243,171,14,0.3);
}

.btn-continue:hover:not(:disabled) {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243,171,14,0.4);
}

.btn-continue:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: transparent;
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-back:hover {
    color: var(--color-text);
    border-color: var(--color-text);
}

/* ============================================
   CALENDAR (Step 1) - Borrowed from main booking
   ============================================ */
.calendar-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.cal-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    z-index: 10;
}

.cal-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cal-month {
    font-family: var(--font-main);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.5px;
    margin: 0;
}

.cal-nav {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.cal-nav:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.cal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 700;
    font-size: 11px;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

/* Calendar Day - Matching main booking style */
.cal-day {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--color-text-muted);
    cursor: default;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 36px;
    min-height: 36px;
}

.cal-day.cal-available {
    color: var(--color-text);
    background: rgba(255,255,255,0.08);
    cursor: pointer;
}

.cal-day.cal-available:hover {
    background: rgba(255,255,255,0.18);
    transform: scale(1.08);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.cal-day.cal-selected {
    background: var(--color-primary) !important;
    color: #000 !important;
    font-weight: 900;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(243,171,14,0.4);
}

.cal-day.cal-blocked {
    color: rgba(255,193,7,0.6);
    text-decoration: line-through;
}

.cal-day.cal-disabled {
    color: rgba(255,255,255,0.2);
    cursor: not-allowed;
}

.cal-day.cal-past {
    color: rgba(255,255,255,0.15);
    text-decoration: line-through;
    cursor: not-allowed;
}

.cal-day.cal-blocked {
    color: rgba(243,171,14,0.7);
    cursor: pointer;
    position: relative;
}

.cal-day.cal-blocked::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
}

.cal-day.cal-blocked:hover {
    background: rgba(243,171,14,0.15);
}

.cal-day.cal-blocked.cal-selected {
    background: rgba(243,171,14,0.2);
    border: 2px solid var(--color-primary);
}

.cal-day.cal-loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Special dates (NYE etc) - Neon green styling */
.cal-day.cal-special {
    color: #000 !important;
    background: var(--color-neon-green) !important;
    font-weight: 900;
    box-shadow: 
        0 0 10px rgba(152, 251, 82, 0.5),
        0 0 20px rgba(152, 251, 82, 0.3),
        0 0 30px rgba(152, 251, 82, 0.2);
    animation: neonPulse 2s ease-in-out infinite;
}

.cal-day.cal-special:hover {
    background: var(--color-neon-green-light) !important;
    transform: scale(1.1);
    box-shadow: 
        0 0 15px rgba(152, 251, 82, 0.6),
        0 0 30px rgba(152, 251, 82, 0.4),
        0 0 45px rgba(152, 251, 82, 0.3);
}

.cal-day.cal-special.cal-selected {
    background: var(--color-neon-green) !important;
    color: #000 !important;
    transform: scale(1.1);
    box-shadow: 
        0 0 20px rgba(152, 251, 82, 0.7),
        0 0 40px rgba(152, 251, 82, 0.5),
        inset 0 0 10px rgba(0, 0, 0, 0.2);
}

@keyframes neonPulse {
    0%, 100% {
        box-shadow: 
            0 0 10px rgba(152, 251, 82, 0.5),
            0 0 20px rgba(152, 251, 82, 0.3),
            0 0 30px rgba(152, 251, 82, 0.2);
    }
    50% {
        box-shadow: 
            0 0 15px rgba(152, 251, 82, 0.6),
            0 0 30px rgba(152, 251, 82, 0.4),
            0 0 40px rgba(152, 251, 82, 0.3);
    }
}

/* Generic neon glow pulse - uses opacity changes for any color */
@keyframes neonGlowPulse {
    0%, 100% {
        opacity: 0.85;
        filter: brightness(1);
    }
    50% {
        opacity: 1;
        filter: brightness(1.15);
    }
}

/* Ticket Event Card styles */
.ticket-event-card {
    animation: neonGlowPulse 2.5s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ticket-event-card:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Blocked Date Banner - Fixed height container to prevent jumping */
.cal-blocked-banner-wrap {
    min-height: 0;
    overflow: hidden;
    transition: min-height 0.3s ease;
}

.cal-blocked-banner-wrap.active {
    min-height: 70px;
}

.cal-blocked-banner {
    margin: 12px 0 0;
    padding: 12px 14px;
    background: rgba(243,171,14,0.08);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cal-blocked-banner.visible {
    opacity: 1;
    transform: translateX(0);
}

.cal-blocked-banner i {
    color: var(--color-primary);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.cal-blocked-banner span {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
}

.cal-blocked-banner a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

.cal-blocked-banner strong {
    color: var(--color-primary);
}

.cal-message {
    text-align: center;
    padding: 10px;
    font-size: 13px;
    color: var(--color-text-muted);
    min-height: 40px;
}

.cal-message.error {
    color: var(--color-error);
}

/* ============================================
   GUESTS & TIME (Step 2) - Polished Design
   ============================================ */
.guests-card {
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 32px 28px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.guests-title {
    font-weight: 800;
    font-size: 16px;
    margin: 0 0 28px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.guest-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.guest-counter {
    display: flex;
    align-items: center;
    gap: 28px;
}

.guest-btn {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: var(--color-text);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.guest-btn:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(243,171,14,0.1);
    transform: scale(1.05);
}

.guest-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.guest-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.guest-count {
    font-weight: 900;
    font-size: 72px;
    min-width: 100px;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 40px rgba(243,171,14,0.15);
}

.guest-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
    text-transform: uppercase;
}

.time-selector {
    margin-top: 0;
}

.time-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.time-slots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

/* Premium Doors Info Display */
.doors-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
    padding: 20px 24px;
    background: rgba(243,171,14,0.04);
    border: 1px solid rgba(243,171,14,0.15);
    border-radius: 12px;
    position: relative;
}

.doors-info::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.15);
}

.doors-divider {
    width: 32px;
    height: 1px;
    background: rgba(243,171,14,0.4);
}

.doors-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.doors-main {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-primary);
    text-transform: uppercase;
}

.doors-sub {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

@media (max-width: 576px) {
    .doors-info {
        gap: 10px;
        padding: 16px 20px;
        margin-top: 28px;
    }
    
    .doors-divider {
        width: 20px;
    }
    
    .doors-main {
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .doors-sub {
        font-size: 8px;
        letter-spacing: 2px;
    }
}

.time-slot {
    padding: 14px 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px; /* Pill shape */
    color: rgba(255,255,255,0.8);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-slot:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(243,171,14,0.08);
    transform: translateY(-2px);
}

.time-slot.selected {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #000;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(243,171,14,0.3);
}

/* ============================================
   DETAILS CARD (Step 3) - Credit Card Style
   Responsive design for all screen sizes
   ============================================ */
.info-card {
    position: relative;
    width: 100%;
    max-width: min(380px, calc(100vw - 32px));
    margin: 0 auto;
}

/* Card background image */
.info-card::before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 63.13%; /* Credit card aspect ratio */
    background: url('/invitation/images/card1.png') no-repeat center center;
    background-size: contain;
    filter: drop-shadow(0 0 30px rgba(50,81,161,0.6));
    border-radius: 16px;
}

/* Form overlay - credit card style in bottom 25% of card */
.info-grid {
    position: absolute;
    bottom: 4%;
    left: 6%;
    right: 6%;
    height: 21%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px 10px;
    align-content: end;
}

.info-field {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.info-input {
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    color: var(--color-text);
    font-family: 'Courier New', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    outline: none;
    transition: var(--transition);
    text-transform: uppercase;
}

.info-input::placeholder {
    color: transparent;
}

.info-input:focus {
    border-bottom-color: var(--color-primary);
}

/* Fix browser autofill styling - prevent white/yellow background */
.info-input:-webkit-autofill,
.info-input:-webkit-autofill:hover,
.info-input:-webkit-autofill:focus,
.info-input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--color-text);
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px transparent;
    background-color: transparent !important;
}

.info-label {
    order: -1;
    font-size: 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-error {
    display: none;
    font-size: 5px;
    color: var(--color-error);
    position: absolute;
    bottom: -7px;
    left: 0;
}

.info-field.has-error .info-error {
    display: block;
}

/* Responsive card sizing - always use min() to prevent cropping */
@media (max-width: 340px) {
    .info-card {
        max-width: min(300px, calc(100vw - 24px));
    }
    .info-grid {
        gap: 2px 8px;
    }
    .info-input {
        font-size: 9px;
    }
    .info-label {
        font-size: 5px;
    }
}

@media (min-width: 400px) {
    .info-card {
        max-width: min(420px, calc(100vw - 32px));
    }
    .info-grid {
        gap: 4px 14px;
    }
    .info-input {
        font-size: 12px;
    }
    .info-label {
        font-size: 7px;
    }
}

@media (min-width: 500px) {
    .info-card {
        max-width: min(480px, calc(100vw - 40px));
    }
    .info-input {
        font-size: 14px;
    }
    .info-label {
        font-size: 8px;
    }
}

@media (min-width: 600px) {
    .info-card {
        max-width: min(520px, calc(100vw - 48px));
    }
    .info-input {
        font-size: 15px;
    }
    .info-label {
        font-size: 9px;
    }
}

.info-field.has-error .info-input {
    border-bottom-color: var(--color-error);
}

/* Marketing Consent */
.marketing-consent {
    width: 100%;
    max-width: 380px;
    padding: 0 8px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.consent-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.consent-box {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    transition: var(--transition);
}

.consent-checkbox:checked + .consent-box {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.consent-checkbox:focus + .consent-box {
    box-shadow: 0 0 0 2px rgba(243,171,14,0.3);
}

.consent-text {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* ============================================
   SUMMARY (Step 4)
   ============================================ */
.summary-card {
    width: 100%;
    max-width: 380px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 24px;
    overflow: hidden;
}

.summary-header {
    font-weight: 900;
    font-size: 20px;
    text-align: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.summary-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.summary-value {
    font-size: 18px;
    font-weight: 700;
}

.summary-sub {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ============================================
   CHECKOUT (Step 5) - Matched Widths
   ============================================ */
.checkout-content {
    width: 100%;
    max-width: 600px; /* Match iframe width */
    margin: 0 auto;
}

.checkout-summary {
    width: 100%;
    max-width: 600px; /* Match iframe wrapper */
    margin: 0 auto 24px;
    padding: 18px 24px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
}

.checkout-summary-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
}

.checkout-summary-title i {
    color: var(--color-success);
    margin-right: 10px;
    font-size: 16px;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.checkout-summary-label {
    color: var(--color-text-muted);
}

.checkout-summary-value {
    font-weight: 600;
}

.checkout-iframe-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-lg);
    overflow: visible;
}

.checkout-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(0,0,0,0.8);
    z-index: 10;
    min-height: 400px;
}

.checkout-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.checkout-loading-text {
    font-size: 14px;
    color: var(--color-text-muted);
}

.checkout-iframe {
    width: 100%;
    /* Fixed height - generous to always show all Collins content */
    height: 2200px;
    border: none;
    background: transparent;
}

/* Tablet - slightly less height needed */
@media (min-width: 768px) {
    .checkout-iframe {
        height: 2000px;
    }
}

/* Desktop - Collins form is more compact */
@media (min-width: 992px) {
    .checkout-iframe {
        height: 1800px;
    }
}

/* ============================================
   VALIDATION ILLUSION OVERLAY (Card Animation)
   Fullscreen smooth fade with backdrop blur
   ============================================ */
.validation-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                backdrop-filter 0.6s ease;
}

.validation-overlay.active {
    opacity: 1;
}

.validation-overlay.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.validation-content {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.validation-overlay.active .validation-content {
    opacity: 1;
    transform: scale(1);
}

/* Card Animation - 3D Depth Effect - Fixed position */
.validation-card-wrap {
    position: relative;
    width: 280px;
    aspect-ratio: 1.586; /* Credit card ratio */
    perspective: 1000px;
    transform-style: preserve-3d;
    flex-shrink: 0; /* Prevent shrinking */
}

/* 3D Shadow/Depth layers behind card */
.validation-card-wrap::before,
.validation-card-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(50,81,161,0.3) 0%, rgba(30,50,100,0.2) 100%);
    transform-origin: center;
    transition: all 0.5s ease;
}

.validation-card-wrap::before {
    transform: translateZ(-20px) scale(0.95);
    filter: blur(2px);
    opacity: 0.6;
}

.validation-card-wrap::after {
    transform: translateZ(-40px) scale(0.9);
    filter: blur(4px);
    opacity: 0.3;
}

.validation-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    opacity: 0;
    transform: translateZ(0) scale(1);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
    backface-visibility: hidden;
}

.validation-card.active {
    opacity: 1;
    z-index: 2;
}

/* Morph transition - keep previous card visible during crossfade */
.validation-card.morphing {
    opacity: 1;
    z-index: 1;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.validation-card.morphing.fade-out {
    opacity: 0;
}

/* Card glow effect on approval */
.validation-card.approved {
    animation: cardApproved 0.8s ease forwards;
}

@keyframes cardApproved {
    0% { 
        filter: drop-shadow(0 0 20px rgba(50,81,161,0.5));
    }
    30% { 
        filter: drop-shadow(0 0 40px rgba(74,222,128,0.8));
        transform: translateZ(10px) scale(1.02);
    }
    100% { 
        filter: drop-shadow(0 0 30px rgba(74,222,128,0.6));
        transform: translateZ(0) scale(1);
    }
}

/* Green flash overlay on approval */
.validation-card-wrap.approved::before {
    background: rgba(74,222,128,0.2);
    animation: greenFlash 0.6s ease;
}

@keyframes greenFlash {
    0% { opacity: 0; }
    30% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* Stage container - fixed height to prevent jumping */
.validation-stages {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.validation-stage {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    position: absolute;
}

.validation-stage.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.validation-text {
    font-weight: 900;
    font-size: clamp(14px, 4vw, 20px);
    letter-spacing: 2px;
    margin: 0;
    color: rgba(255,255,255,0.8);
}

.validation-text.validation-accepted {
    color: var(--color-success);
    animation: popIn 0.5s ease;
    text-shadow: 0 0 20px rgba(74,222,128,0.5);
}

@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.validation-progress {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.validation-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-primary), #ffd700);
    border-radius: 2px;
    transition: width 1.5s ease-out;
}

.validation-welcome {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0;
    animation: fadeUp 0.5s ease 0.3s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive card size */
@media (min-width: 480px) {
    .validation-card-wrap {
        width: 320px;
    }
}

@media (min-width: 768px) {
    .validation-card-wrap {
        width: 380px;
    }
    .validation-text {
        font-size: 22px;
    }
}

/* ============================================
   ROOM PROMPT MODAL (Over 12 Guests)
   ============================================ */
.room-prompt-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.room-prompt-modal.active {
    opacity: 1;
    visibility: visible;
}

.room-prompt-content {
    background: linear-gradient(145deg, rgba(30,30,30,0.98), rgba(20,20,20,0.98));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.room-prompt-modal.active .room-prompt-content {
    transform: scale(1) translateY(0);
}

.room-prompt-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.room-prompt-close:hover {
    color: #fff;
}

.room-prompt-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.room-prompt-text {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 28px;
}

.room-prompt-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.room-prompt-btn {
    display: block;
    padding: 14px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.room-prompt-btn.primary {
    background: var(--color-primary);
    color: #000;
    border: none;
}

.room-prompt-btn.primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243,171,14,0.3);
}

.room-prompt-btn.secondary {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.2);
}

.room-prompt-btn.secondary:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

/* Room Prompt Modal - Mobile */
@media (max-width: 576px) {
    .room-prompt-modal {
        padding: 16px;
        align-items: flex-end;
        padding-bottom: 24px;
    }
    
    .room-prompt-content {
        padding: 32px 24px;
        border-radius: 20px 20px 24px 24px;
        max-width: 100%;
    }
    
    .room-prompt-close {
        top: 16px;
        right: 16px;
        font-size: 32px;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .room-prompt-title {
        font-size: 20px;
        letter-spacing: 1.5px;
        margin-top: 8px;
    }
    
    .room-prompt-text {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .room-prompt-btn {
        padding: 16px 24px;
        font-size: 12px;
    }
}

/* ============================================
   CONFETTI CELEBRATION (Subtle & Cool)
   ============================================ */
.confetti-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10001;
    overflow: hidden;
}

.confetti {
    position: absolute;
    opacity: 0;
}

.confetti.dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: confettiFloat 4s ease-out forwards;
}

.confetti.star {
    width: 6px;
    height: 6px;
    background: transparent !important;
    animation: confettiStar 3.5s ease-out forwards;
}

.confetti.star::before {
    content: "✦";
    font-size: 8px;
    color: inherit;
}

@keyframes confettiFloat {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(0deg) scale(0);
    }
    10% {
        opacity: 0.7;
        transform: translateY(-30px) rotate(45deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(60vh) rotate(360deg) scale(0.3);
    }
}

@keyframes confettiStar {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    15% {
        opacity: 0.8;
        transform: translateY(-20px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(50vh) scale(0.5);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: url('/invitation/images/black_bg.jpg') no-repeat center center;
    background-size: cover;
}

.footer-logo {
    max-width: 220px;
    opacity: 0.6;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (min-width: 768px) {
    .step-indicator {
        gap: 2px;
    }
    
    .step-dot {
        width: 7px;
        height: 7px;
    }
    
    .step-line {
        width: 20px;
    }
    
    .calendar-card,
    .guests-card,
    .summary-card {
        max-width: 450px;
    }
    
    .info-card {
        max-width: min(560px, calc(100vw - 48px));
    }
    
    .cal-day {
        min-width: 44px;
        min-height: 44px;
        font-size: 16px;
    }
    
    .guest-count {
        font-size: 72px;
    }
    
    .guest-btn {
        width: 60px;
        height: 60px;
    }
    
    .info-input {
        font-size: 16px;
    }
    
    .info-label {
        font-size: 10px;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE
   ============================================ */
@media (max-width: 380px) {
    .booking-area {
        padding: 16px 12px 100px;
    }
    
    .calendar-card,
    .guests-card,
    .summary-card {
        padding: 16px;
    }
    
    .cal-day {
        min-width: 32px;
        min-height: 32px;
        font-size: 12px;
    }
    
    .cal-month {
        font-size: 15px;
    }
    
    .cal-nav {
        width: 34px;
        height: 34px;
    }
    
    .guest-count {
        font-size: 44px;
    }
    
    .guest-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    /* Info card handled by dedicated responsive rules above */
    
    .btn-continue {
        min-width: 160px;
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .validation-text {
        font-size: 18px;
        letter-spacing: 1px;
    }
}

/* ============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    .cal-day.cal-available:hover {
        background: rgba(255,255,255,0.08);
        transform: none;
    }
    
    .cal-day.cal-available:active {
        background: rgba(255,255,255,0.18);
        transform: scale(0.95);
    }
    
    .time-slot:hover {
        border-color: var(--color-border);
        color: var(--color-text);
    }
    
    .time-slot:active {
        border-color: var(--color-primary);
        color: var(--color-primary);
    }
}
