/* --- Core Design System & Tokens --- */
:root {
    --primary-gold: #C5A880;
    --primary-gold-hover: #D8BD96;
    --primary-gold-light: #F7E5C8;
    --dark-bg: #0C0E12;
    --card-bg: rgba(18, 21, 28, 0.65);
    --card-bg-solid: #12151C;
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-gold-glass: rgba(197, 168, 128, 0.25);
    --text-main: #F9FAFB;
    --text-sub: #9CA3AF;
    --text-muted: #6B7280;
    --whatsapp-green: #25D366;
    
    --shadow-luxury: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 
                      0 0 50px rgba(197, 168, 128, 0.08);
    --shadow-inset: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    --font-cairo: 'Cairo', sans-serif;
    --font-outfit: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
}

/* --- Base Reset & Page Styling --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-cairo);
    background-color: var(--dark-bg);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Background Image & Overlay --- */
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/restaurant_bg.png');
    background-size: cover;
    background-position: center;
    filter: blur(10px) brightness(0.4) scale(1.05);
    z-index: -2;
    transform: translate3d(0, 0, 0);
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(12, 14, 18, 0.4) 0%, rgba(12, 14, 18, 0.9) 80%);
    z-index: -1;
}

/* --- Wrapper & Layout --- */
.wrapper {
    width: 100%;
    max-width: 620px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10;
}

/* --- Glassmorphic Panels --- */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-luxury), var(--shadow-inset);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

/* --- Redirect Card Content --- */
.redirect-card {
    padding: 3rem 2.5rem;
    text-align: center;
    border: 1px solid var(--border-gold-glass);
}

/* --- Brand Section --- */
.brand-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.logo-wrapper {
    width: 170px;
    height: 170px;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse-glow 3s infinite ease-in-out;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1);
    mix-blend-mode: screen;
}

.brand-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin-bottom: 0.2rem;
}

.brand-subtitle {
    font-family: var(--font-outfit);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid var(--border-gold-glass);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-gold-light);
}

.badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--primary-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-gold);
    animation: flash 1.5s infinite alternate;
}

/* --- Redirection Timer Zone --- */
.redirect-zone {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.1s linear;
    stroke-dasharray: 263.89;
    stroke-dashoffset: 0;
}

.countdown-text {
    font-family: var(--font-outfit);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-gold-light);
    z-index: 2;
    text-shadow: 0 0 15px rgba(197, 168, 128, 0.4);
}

.redirect-status {
    font-size: 0.95rem;
    color: var(--text-sub);
    margin-bottom: 1.25rem;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #A4865B 100%);
    border: none;
    outline: none;
    color: #11141A;
    font-family: var(--font-cairo);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    max-width: 320px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px -5px rgba(197, 168, 128, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(197, 168, 128, 0.4),
                0 0 0 2px rgba(255, 255, 255, 0.2) inset;
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-primary i {
    transition: transform var(--transition-quick);
}

.btn-primary:hover i {
    transform: translateX(-5px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    font-family: var(--font-cairo);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.75rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-gold);
    color: var(--primary-gold-light);
    transform: translateY(-2px);
}

/* --- Card Divider --- */
.card-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glass) 20%, var(--border-glass) 80%, transparent);
    margin: 2rem 0;
}

/* --- Interactive Contact Tabs --- */
.directory-section {
    text-align: right;
}

.section-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-gold-light);
    margin-bottom: 1.25rem;
    position: relative;
    padding-right: 0.75rem;
}

.section-heading::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background-color: var(--primary-gold);
    border-radius: 2px;
}

.tabs-nav {
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.4rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    margin-bottom: 1.5rem;
}

.tab-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-sub);
    padding: 0.75rem 0.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-cairo);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.tab-btn i {
    font-size: 1.1rem;
}

.tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    color: var(--primary-gold-light);
    background: rgba(197, 168, 128, 0.12);
    border: 1px solid var(--border-gold-glass);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- Tab Panels --- */
.tab-panel {
    display: none;
    animation: fade-in-up 0.5s ease forwards;
}

.tab-panel.active {
    display: block;
}

.tab-description {
    font-size: 0.88rem;
    color: var(--text-sub);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

/* --- Contact Grid --- */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 1rem 1.25rem;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-gold);
    transition: var(--transition-smooth);
}

.card-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.card-value {
    font-family: var(--font-outfit);
    font-size: 0.85rem;
    color: var(--text-sub);
}

.card-action {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-quick);
}

/* Hover effects */
.contact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-gold-glass);
    transform: translateX(-4px);
}

.contact-card:hover .card-action {
    color: var(--primary-gold);
    transform: translateX(-2px);
}

/* Custom platform highlights */
.contact-card.whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.3);
    background: rgba(37, 211, 102, 0.03);
}
.contact-card.whatsapp:hover .card-icon {
    background: rgba(37, 211, 102, 0.15);
    color: var(--whatsapp-green);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.2);
}

.contact-card:not(.whatsapp):hover .card-icon {
    background: rgba(197, 168, 128, 0.15);
    color: var(--primary-gold-light);
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.2);
}

/* --- Hours & Meta Info --- */
.hours-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.85rem 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--text-sub);
}

.hours-info i {
    color: var(--primary-gold);
}

.careers-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.divider-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.divider-text::before, .divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding: 0.5rem;
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Modals (Premium Form Overlay) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    border: 1px solid var(--border-gold-glass);
    text-align: right;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-sub);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-quick);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.modal-header {
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.modal-header-icon {
    font-size: 2.2rem;
    color: var(--primary-gold);
    margin-bottom: 0.75rem;
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.3rem;
}

.modal-header p {
    font-size: 0.85rem;
    color: var(--text-sub);
}

/* --- Form Fields --- */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.form-group label .required {
    color: #EF4444;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-family: var(--font-cairo);
    font-size: 0.88rem;
    color: var(--text-main);
    outline: none;
    transition: var(--transition-quick);
    width: 100%;
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.15);
    background: rgba(0, 0, 0, 0.5);
}

/* select styling fix */
.form-group select option {
    background-color: var(--card-bg-solid);
    color: var(--text-main);
}

.submit-btn {
    margin-top: 0.5rem;
    max-width: none !important;
}

/* --- Ambient Audio Controls --- */
.ambient-control {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 50;
}

.ambient-control button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-glass);
    color: var(--text-sub);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-quick);
    box-shadow: var(--shadow-luxury);
}

.ambient-control button:hover {
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

/* --- Interactive Toast Notifications --- */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 50%;
    transform: translateX(50%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 320px;
    pointer-events: none;
}

.toast {
    background: rgba(18, 21, 28, 0.9);
    border: 1px solid var(--border-gold-glass);
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: toast-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: auto;
}

.toast i {
    color: var(--primary-gold);
}

/* --- Keyframe Animations --- */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(197, 168, 128, 0));
    }
    50% {
        transform: scale(1.03);
        filter: drop-shadow(0 0 12px rgba(197, 168, 128, 0.25));
    }
}

@keyframes flash {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fade-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- Responsive Adjustments --- */
@media (max-width: 580px) {
    .redirect-card {
        padding: 2.25rem 1.5rem;
    }
    
    .brand-title {
        font-size: 1.55rem;
    }
    
    .brand-subtitle {
        font-size: 0.9rem;
    }
    
    .tabs-nav {
        border-radius: 12px;
        padding: 0.3rem;
    }
    
    .tab-btn {
        padding: 0.6rem 0.3rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    .tab-btn i {
        font-size: 0.95rem;
    }
    
    .contact-card {
        padding: 0.85rem 1rem;
        gap: 0.75rem;
    }
    
    .card-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

/* --- Form Multi-step styling --- */
.form-progress-container {
    margin-bottom: 1.5rem;
}

.form-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.form-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-light));
    width: 33.3%;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-progress-text {
    font-size: 0.8rem;
    color: var(--text-sub);
    text-align: left;
    font-weight: 600;
}

.form-step {
    display: none;
    flex-direction: column;
    gap: 1.2rem;
}

.form-step.active {
    display: flex;
    animation: fade-in-up 0.4s ease;
}

.section-title-form {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-gold-light);
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-main);
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-gold);
    cursor: pointer;
}

.education-radio {
    flex-wrap: wrap;
    gap: 1rem;
}

.form-navigation {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 1.5rem;
}

.form-navigation button {
    flex: 1;
}

/* --- Custom File Upload Styles --- */
.custom-file-upload {
    position: relative;
    width: 100%;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed var(--border-gold-glass);
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
    color: var(--text-sub);
}

.file-upload-label:hover {
    background: rgba(197, 168, 128, 0.05);
    border-color: var(--primary-gold);
    color: var(--text-main);
}

.file-upload-label.file-selected {
    border-style: solid;
    border-color: var(--whatsapp-green);
    background: rgba(37, 211, 102, 0.03);
    color: var(--text-main);
}

.file-upload-label.file-selected .file-icon {
    color: var(--whatsapp-green);
}

.file-icon {
    font-size: 1.5rem;
    color: var(--primary-gold);
    transition: var(--transition-smooth);
}

.file-text {
    font-size: 0.85rem;
    font-weight: 600;
}
