@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

:root {
    --primary-bg: #050505;
    --secondary-bg: #0d0d0d;
    --accent-gold: #d4af37;
    --accent-gold-glow: rgba(212, 175, 55, 0.4);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-border: rgba(212, 175, 55, 0.15);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: 'Tajawal', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
}

body.loading {
    overflow: hidden;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.pulse-logo {
    width: 130px;
    height: auto;
    display: block;
    transform-origin: center center;
    animation: pulse-fixed 2s infinite ease-in-out;
}

@keyframes pulse-fixed {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.5)); }
}

.typewriter-text {
    margin-top: 40px;
    color: var(--accent-gold);
    font-size: 1.6rem;
    font-weight: 700;
    min-height: 1.5em;
    width: 80%;
    text-align: center;
    white-space: pre-wrap;
    direction: rtl;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-wrap img {
    height: 40px;
}

.logo-wrap h2 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    font-weight: 800;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent-gold);
}

.btn-call {
    background: var(--accent-gold);
    color: #000;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-call:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--accent-gold-glow);
}

/* Hero */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
    margin: 0;
    padding: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.2) 100%);
    z-index: 2;
}

.hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Backgrounds for slides */
.slide:nth-child(1) { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/hero-bg.png'); }
.slide:nth-child(2) { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/hero-bg2.png'); }
.slide:nth-child(3) { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/hero-bg3.png'); }
.slide:nth-child(4) { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/hero-bg4.png'); }
.slide:nth-child(5) { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/hero-bg5.png'); }

.slide .container {
    position: relative;
    z-index: 3;
    transform: translateY(30px);
    transition: transform 1s ease;
}

.slide.active .container {
    transform: translateY(0);
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.2rem);
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.25rem;
    color: #fff;
    max-width: 850px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent !important;
    border: 1px solid var(--accent-gold);
    color: #fff !important;
}

/* Sections */
section {
    padding: 100px 0;
    background: var(--primary-bg);
}

.stats-wrap {
    background: #080808;
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 10;
    margin-top: -1px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.6rem;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

/* Stats */
.stats-wrap {
    background: var(--secondary-bg);
    padding: 70px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-wrap .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-box {
    text-align: center;
}

.stat-box h3 {
    font-size: 3.5rem;
    color: var(--accent-gold);
    font-weight: 800;
}

.stat-box p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Cards */
.card {
    background: var(--secondary-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 45px 30px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.card i {
    font-size: 3.2rem;
    color: var(--accent-gold);
    margin-bottom: 25px;
    display: block;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

/* Booking Form */
.booking-box {
    background: var(--secondary-bg);
    padding: 50px;
    border-radius: 35px;
    border: 1px solid var(--glass-border);
    max-width: 900px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--accent-gold);
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px;
    background: #000;
    border: 1px solid var(--glass-border);
    color: #fff;
    border-radius: 12px;
    font-family: inherit;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-gold);
    outline: none;
}

.form-group.full {
    grid-column: span 2;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--accent-gold);
    color: #000;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px var(--accent-gold-glow);
}

/* Verification Styles */
.verification-wrap {
    margin-bottom: 30px;
    text-align: center;
}

.hold-btn {
    position: relative;
    width: 100%;
    height: 55px;
    background: #000;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.hold-progress {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 0%;
    background: rgba(212, 175, 55, 0.2);
    /* Transition removed to avoid conflict with GSAP */
}

.hold-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    color: var(--text-muted);
}

.hold-btn.verified {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25d366;
}

.hold-btn.verified .hold-text {
    color: #25d366;
}

.hold-btn.verified .hold-progress {
    width: 100% !important;
    background: rgba(37, 211, 102, 0.2);
}

/* Tech Footer */
footer {
    background: #000;
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--accent-gold-glow);
}

.footer-links h4, .footer-contact h4 {
    color: var(--accent-gold);
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-gold);
    padding-right: 8px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* WhatsApp */
.wa-float {
    position: fixed;
    bottom: 35px;
    left: 35px;
    background: #25d366;
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    animation: float 3s ease-in-out infinite;
    text-decoration: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    nav { display: none; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
