:root {
    --primary-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --highlight-color: #10b981; /* KSA Emerald */
    
    --transition-duration: 1.2s;
    --transition-easing: cubic-bezier(0.8, 0, 0.1, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background-color: #050505;
    color: var(--primary-color);
}

/* Background Video */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    opacity: 0.85; /* slight dim for better contrast overall */
}

/* Header / Logo */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 5%;
    z-index: 100;
    pointer-events: none; /* Let clicks pass through if needed, except on logo */
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    pointer-events: auto;
    cursor: pointer;
}

.logo span {
    color: var(--highlight-color);
}

/* Sections Container */
.sections-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Individual Screens */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    transition: transform var(--transition-duration) var(--transition-easing);
    will-change: transform;
}

/* States */
.screen.upcoming {
    transform: translateY(100%);
    z-index: 10;
}

.screen.active {
    transform: translateY(0);
    z-index: 10;
}

.screen.previous {
    transform: translateY(0);
    z-index: 1;
}

/* Glassmorphism Overlays */
.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: opacity var(--transition-duration) var(--transition-easing);
}

.subtle-dark {
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.glass-blue {
    background: rgba(10, 25, 47, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.glass-emerald {
    background: rgba(4, 47, 46, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* Ensure overaly fades nicely if needed, though they move with the screen */

/* Typography */
h1, h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

h1 {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    text-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

h2 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    text-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.highlight {
    background: linear-gradient(90deg, #fff 0%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.1); /* Subtle stroke for depth */
}

p {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    font-weight: 300;
    line-height: 1.6;
    max-width: 650px;
    color: var(--text-muted);
}

.subtitle {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    max-width: 750px;
    color: rgba(255, 255, 255, 0.9);
}

/* Content Animations */
.content {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.screen.active .content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.screen.previous .content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.screen.active .scroll-indicator {
    opacity: 1;
    transition-delay: 1.5s; /* Appears after content */
}

.scroll-indicator p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
}

.mouse {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    animation: scrollWheel 2s cubic-bezier(0.15, 0.41, 0.69, 0.94) infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* Navigation Dots */
.nav-dots {
    position: fixed;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.dot::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
} /* Increase clickable area */

.dot:hover {
    background: rgba(255,255,255,0.6);
}

.dot.active {
    background: #fff;
    transform: scale(2);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Forms */
.form-content {
    width: 100%;
    max-width: 650px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.25rem 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--highlight-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1rem;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0.4rem;
    font-size: 0.7rem;
    color: var(--highlight-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1rem;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.25);
    background: #f0f0f0;
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.5);
    color: #25D366;
}

.whatsapp-icon {
    color: inherit;
    transition: color 0.3s ease;
}

.btn-secondary:hover .whatsapp-icon {
    color: #25D366;
}

/* Responsive Design */
@media (max-width: 900px) {
    .screen {
        padding: 0 8%;
    }
    
    .nav-dots {
        right: 1.5rem;
    }

    h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
    h2 { font-size: clamp(2.2rem, 8vw, 3rem); }
}

@media (max-width: 600px) {
    .screen {
        padding: 0 6%;
    }

    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary, .btn-secondary {
        justify-content: center;
    }

    .nav-dots {
        display: none; /* Hide dots on very small screens, swipe is enough */
    }
}
