:root {
    --bg-color: #111111;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --accent-color: #b59b58; 
    --accent-glow: rgba(181, 155, 88, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.05);
}

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

body {
    background-color: var(--bg-color);
    background-image: url('back.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    /* overflow: hidden; Removed to allow scrolling for new sections */
    cursor: none; /* Hide default cursor */
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out, background-color 0.3s ease, border 0.3s ease;
}

/* Arabic Font Support */
html[lang="ar"] body {
    font-family: 'Cairo', sans-serif;
}
html[lang="ar"] .logo, html[lang="ar"] .giant-watermark, html[lang="ar"] .line-1, html[lang="ar"] .line-3, html[lang="ar"] .line-4 {
    font-family: 'Cairo', sans-serif;
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(100deg, rgba(15,15,15,0.95) 0%, rgba(20,20,20,0.7) 50%, rgba(10,10,10,0.9) 100%);
    z-index: 1;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 5%;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin-left: 5vw; 
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Sleek Working Hours in Navbar */
.sleek-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.05);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: gray;
}

#open-status {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.divider {
    color: var(--text-secondary);
    opacity: 0.5;
}

.time-text {
    font-family: monospace;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.lang-switch {
    display: flex;
    background: var(--glass-bg);
    border-radius: 20px;
    overflow: hidden;
}

.lang-switch span {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.lang-switch span.active {
    background: rgba(255,255,255,0.2);
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    padding: 0 5%;
    z-index: 5;
    padding-bottom: 50px;
}

/* Typography Left Side */
.hero-content {
    flex: 1;
    z-index: 10;
}

.main-title {
    display: flex;
    flex-direction: column;
}

.line-1, .line-3, .line-4 {
    font-family: 'Oswald', sans-serif;
    font-size: 6vw;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: var(--text-primary);
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    letter-spacing: -1px;
}

.line-1 { margin-left: 2%; }
.line-2 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 5vw;
    color: var(--accent-color);
    margin-left: 5%;
    margin-top: -10px;
    margin-bottom: -10px;
    z-index: 2;
}
.line-3 { margin-left: 0; }
.line-4 { margin-left: 4%; }

/* Right Side Spotlight Effect */
#spotlight-container {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
    z-index: 10;
    text-align: right;
    padding: 20px;
}

.description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
}

.blurred-text {
    filter: blur(3px);
    opacity: 0.8;
}

.clear-text {
    color: var(--text-primary);
    clip-path: circle(0px at 0 0); /* Hidden by default */
    pointer-events: none;
}

/* Giant Watermark */
.giant-watermark {
    position: absolute;
    bottom: -2vw;
    left: 5%;
    font-family: 'Oswald', sans-serif;
    font-size: 22vw;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    line-height: 0.8;
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
    user-select: none;
}

/* Hero Image (3D Guy) */
.hero-model {
    position: absolute;
    right: 15%; 
    bottom: 0;
    height: 70vh; /* Smaller */
    object-fit: contain;
    object-position: bottom;
    z-index: 3;
    opacity: 0.9;
}

/* Floating Buttons Container */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 9999;
}

.phone-btn, .instagram-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.phone-btn:hover, .instagram-btn:hover {
    transform: scale(1.1);
}

.phone-btn {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 0 0 0 rgba(181, 155, 88, 0.7);
    animation: phonePulse 2s infinite;
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    box-shadow: 0 0 0 0 rgba(220, 39, 67, 0.7);
    animation: instaPulse 2s infinite;
}

@keyframes phonePulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(181, 155, 88, 0.8); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 25px rgba(181, 155, 88, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(181, 155, 88, 0); }
}

@keyframes instaPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 39, 67, 0.8); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 25px rgba(220, 39, 67, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 39, 67, 0); }
}

/* NEW SECTIONS */
.content-section {
    padding: 100px 5%;
    position: relative;
    z-index: 10;
    background: rgba(10, 10, 10, 0.85); /* Dark background to cover the hero overlay */
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;
}

/* About Section */
.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-text {
    flex: 1.2;
    min-width: 300px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat {
    background: rgba(255,255,255,0.02);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat:hover {
    transform: translateY(-8px);
    background: rgba(181, 155, 88, 0.05);
    border-color: rgba(181, 155, 88, 0.3);
    box-shadow: 0 10px 30px rgba(181, 155, 88, 0.1);
}

.stat h3 {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 0.2rem;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.stat span {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.about-image-placeholder {
    flex: 0.8;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-card {
    background: linear-gradient(135deg, rgba(181, 155, 88, 0.12) 0%, rgba(255,255,255,0.02) 100%);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(181, 155, 88, 0.25);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.quote-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: 0.6s;
}

.quote-card:hover::before {
    left: 150%;
}

.quote-card p {
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--text-primary);
    margin-top: 1rem;
    line-height: 1.6;
}

/* Classes Section */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.class-card {
    background: var(--glass-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.class-icon-wrapper {
    background: rgba(181, 155, 88, 0.08);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem auto;
    border: 1px solid rgba(181, 155, 88, 0.2);
    transition: all 0.4s ease;
}

.class-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(181, 155, 88, 0.4);
    box-shadow: 0 15px 35px rgba(181, 155, 88, 0.15);
}

.class-card:hover .class-icon-wrapper {
    background: var(--accent-color);
    transform: rotateY(360deg);
}

.class-card:hover .class-icon-wrapper svg {
    stroke: #ffffff;
}

.class-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.class-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.card-glow {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    filter: blur(50px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.class-card:hover .card-glow {
    opacity: 0.4;
}

/* Membership Section */
.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -1rem auto 3rem auto;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Floating Circular Promo Widget (inside Hero, top-right) */
.promo-widget {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 20;
    width: 260px;
    transition: transform 0.3s ease;
}

.promo-widget:hover {
    transform: scale(1.03);
}

.widget-expanded-card {
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    border: 2px solid var(--accent-color);
    border-radius: 24px;
    padding: 1.8rem 1.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 20px rgba(181, 155, 88, 0.15);
    backdrop-filter: blur(15px);
    text-align: center;
    animation: cardGlowPulse 3s infinite;
}

@keyframes cardGlowPulse {
    0% { box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 20px rgba(181, 155, 88, 0.15); }
    50% { box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(181, 155, 88, 0.35); }
    100% { box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 20px rgba(181, 155, 88, 0.15); }
}

.promo-badge {
    background: var(--accent-color);
    color: #000000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 10px;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Mini Countdown */
.mini-countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 1rem;
}

.mini-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.mini-box span {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.mini-box label {
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.membership-cta-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 4rem 2.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.membership-cta-container:hover {
    border-color: rgba(181, 155, 88, 0.3);
    box-shadow: 0 20px 45px rgba(181, 155, 88, 0.08);
    transform: translateY(-5px);
}

.membership-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.plan-btn-action {
    display: inline-block;
    text-align: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-primary);
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.plan-btn-action:hover {
    background: var(--text-primary);
    color: #000000;
    border-color: var(--text-primary);
}

.plan-btn-action.popular-btn {
    background: var(--accent-color);
    color: #000000;
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(181, 155, 88, 0.3);
}

.plan-btn-action.popular-btn:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255,255,255,0.01);
    padding: 4rem;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    font-size: 1.1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255,255,255,0.02);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(181, 155, 88, 0.05);
    border-color: rgba(181, 155, 88, 0.2);
    transform: translateX(5px);
}

.contact-icon-wrapper {
    background: rgba(181, 155, 88, 0.1);
    color: var(--accent-color);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(181, 155, 88, 0.2);
}

.contact-item strong {
    color: var(--text-primary);
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.4;
    display: inline-block;
    margin-top: 5px;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.map-container {
    flex: 1.3;
    min-width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.5s ease;
}

.map-container iframe {
    filter: grayscale(1) contrast(1.2) invert(0.9) hue-rotate(180deg);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.map-container:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 50px rgba(181, 155, 88, 0.2);
}

.map-container:hover iframe {
    filter: grayscale(0) contrast(1) invert(0) hue-rotate(0deg);
}

/* Footer */
.footer {
    background: #080808;
    padding: 5rem 5% 2.5rem 5%;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    max-width: 360px;
}

.footer-title {
    font-family: 'Oswald', sans-serif;
    color: var(--text-primary);
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links-list a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.instagram-footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.instagram-footer-link:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .classes-grid, .membership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
    }
    
    .nav-links, .sleek-status {
        display: none;
    }

    .hero-section {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 2rem;
        overflow: visible;
    }

    .hero-content {
        width: 100%;
    }

    .main-title .line-1, .main-title .line-3, .main-title .line-4 {
        font-size: 13vw;
    }
    
    .main-title .line-2 {
        font-size: 11vw;
    }

    .giant-watermark {
        font-size: 30vw;
        bottom: 50%;
        transform: translateY(50%);
        opacity: 0.05;
    }

    #spotlight-container {
        position: relative;
        transform: none;
        top: auto;
        right: auto;
        width: 100%;
        text-align: center;
        margin-top: 2rem;
    }

    .description {
        position: relative;
        top: auto;
        right: auto;
    }

    .blurred-text {
        display: none; 
    }

    .clear-text {
        clip-path: none !important; 
        pointer-events: auto;
    }

    .hero-model {
        display: none;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .classes-grid, .membership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-container {
        flex-direction: column;
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .instagram-footer-link {
        justify-content: center;
    }

    /* Promo widget on mobile: show below hero content, full width */
    .promo-widget {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 320px;
        margin: 1.5rem auto 0 auto;
    }

    .widget-expanded-card {
        padding: 1.2rem 1rem;
    }
}
