:root {
    /* Premium Color Palette */
    --primary-color: #D4AF37;
    /* Gold */
    --primary-dark: #AA8C2C;
    --secondary-color: #0F172A;
    /* Dark Blue/Slate */
    --secondary-light: #1E293B;
    --text-light: #F8FAFC;
    --text-dark: #334155;
    --background-dark: #020617;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Cairo', sans-serif;
    /* Cairo is excellent for Arabic/English mix */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--secondary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* Glassmorphism */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background 0.3s ease;
}

header.scrolled {
    background: #ffffff;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

header.scrolled .nav-links a {
    color: #1e293b;
}

header.scrolled .mobile-toggle {
    color: #1e293b;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    /* font styles removed/ignored for img */
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    /* Optional if we keep text next to logo */
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-left: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: left;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.3) 0%, rgba(2, 6, 23, 0.5) 50%, rgba(2, 6, 23, 0.9) 100%);
    z-index: 2;
    transition: background 2s ease-in-out, backdrop-filter 2s ease;
}

.hero-overlay.initial-dark {
    background: radial-gradient(circle, #020617 0%, #000000 100%);
    backdrop-filter: blur(5px);
}

.hero-content {
    max-width: 800px;
    margin: 0;
    margin-left: 50px;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #cbd5e1;
}

.hero-container {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-content-wrapper {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text-side {
    flex: 1;
    text-align: left;
}

.hero-form-side {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-form-side .booking-form-container {
    max-width: 380px;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease-out;
}

.hero-form-side .booking-form-container.show-form {
    opacity: 1;
    transform: translateX(0);
}

.hero-text-side h2 {
    font-size: 2rem;
    background: linear-gradient(135deg, #ffffff, #e0e0e0, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

.hero-text-side h2::after {
    content: '|';
    background: linear-gradient(135deg, #ffffff, #e0e0e0, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.fade-out-text {
    animation: fadeOut 1s ease-out forwards;
}

.highlight-text {
    position: relative;
    display: inline-block;
}

.highlight-text.show-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #F4D03F);
    animation: underlineExpand 1s ease-out forwards;
}

@keyframes underlineExpand {
    to {
        width: 100%;
    }
}

/* Features Grid */
.features {
    padding: 100px 0;
    background: var(--background-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text-light);
}

.feature-card p {
    color: #94a3b8;
}

/* About Section Preview */
.about-preview {
    padding: 100px 0;
    background: var(--secondary-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
}

/* Footer */
footer {
    background: #000;
    padding: 60px 0 20px;
    color: #cbd5e1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--text-light);
    margin-bottom: 25px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--secondary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-container {
        padding: 100px 20px 40px;
    }

    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text-side {
        text-align: center;
    }

    .hero-text-side h2 {
        font-size: 2rem;
    }

    .hero-form-side {
        justify-content: center;
    }

    .hero-form-side .booking-form-container {
        max-width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
}

/* Success Modal Styles */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-modal {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.8) translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.success-modal-overlay.active .success-modal {
    transform: scale(1) translateY(0);
}

/* Animated Checkmark */
.checkmark-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #22c55e;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #22c55e;
    stroke-width: 4;
    fill: none;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.success-modal h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.success-modal p {
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.5;
}

.success-modal .btn {
    width: 100%;
}