:root {
    --primary-color: #2e7d32;
    --accent-color: #fb8c00;
    --text-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

body {
    font-family: 'Outfit', 'Tajawal', sans-serif;
    background-color: #000;
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Background Video */
#video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    object-fit: cover;
    filter: brightness(0.5);
}

/* Overlay Gradient */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: -99;
}

/* Content Container */
.container {
    z-index: 1;
    text-align: center;
    max-width: 1200px;
    width: 90%;
    padding: 2rem 0;
    animation: fadeIn 1.5s ease-out;
}

.logo {
    max-width: 180px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.7);
    position: relative;
    padding-bottom: 0.5rem;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

p.subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Tour Selection Grid */
.tour-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem;
}

.tour-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(25px) saturate(160%) contrast(120%);
    -webkit-backdrop-filter: blur(25px) saturate(160%) contrast(120%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    padding: 1.8rem;
    width: 100%;
    max-width: 420px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-20px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Shine effect */
.tour-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(30deg);
    pointer-events: none;
    transition: transform 0.8s ease;
}

.tour-card:hover::after {
    transform: rotate(30deg) translate(20px, 20px);
}

.thumbnail-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.tour-card:hover .thumbnail {
    transform: scale(1.15);
}

.tour-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    color: var(--text-light);
    transition: all 0.4s ease;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.tour-card:hover .tour-title {
    color: #fff;
    transform: scale(1.05);
}

.btn-enter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    width: 100%;
    margin-top: auto;
}

.tour-card:hover .btn-enter {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.5);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Specific Tweaks */
@media (max-width: 768px) {
    body {
        justify-content: flex-start;
        padding-top: 3rem;
        padding-bottom: 5rem;
        overflow-y: auto;
    }

    .container {
        width: 95%;
    }

    .tour-grid {
        gap: 2rem;
        padding: 0;
    }

    .tour-card {
        max-width: 340px;
        padding: 1.2rem;
    }

    .tour-title {
        font-size: 1.4rem;
    }

    h1 {
        margin-bottom: 0.5rem;
    }

    p.subtitle {
        margin-bottom: 2rem;
    }
}

/* Footer */
footer {
    padding: 2rem;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 300;
}

/* RTL Specific adjustments if needed */
[dir="rtl"] .btn-enter {
    /* RTL specific button tweaks if any */
}
