/* ==================== GENERAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8fbc3f;
    --secondary-color: #ff6b35;
    --accent-color: #00a8cc;
    --dark-bg: #1a1a1a;
    --darker-bg: #0d0d0d;
    --light-text: #f5f5f5;
    --gold-glow: #ffd700;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--darker-bg);
    color: var(--light-text);
    overflow-x: hidden;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

.nav-link {
    color: var(--light-text) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a1a2e 0%, #0d0d0d 100%);
}

/* Background Map */
.background-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/world-map.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: blur(2px);
    z-index: 1;
}

/* Gate Container */
.gate-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gate Styles */
.gate {
    position: absolute;
    width: 600px;
    height: 800px;
    perspective: 1000px;
    z-index: 2;
    cursor: pointer;
}

.gate-left,
.gate-right {
    position: absolute;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border: 3px solid var(--gold-glow);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.3),
        inset 0 0 50px rgba(255, 215, 0, 0.1);
    transition: transform 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 215, 0, 0.05) 10px,
            rgba(255, 215, 0, 0.05) 20px
        );
}

.gate-left {
    left: 0;
    border-radius: 20px 0 0 20px;
    transform-origin: right center;
}

.gate-right {
    right: 0;
    border-radius: 0 20px 20px 0;
    transform-origin: left center;
}

.gate.opening .gate-left {
    transform: rotateY(-120deg);
}

.gate.opening .gate-right {
    transform: rotateY(120deg);
}

/* Gate Glow Effect */
.gate-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--gold-glow) 50%,
        transparent 100%
    );
    box-shadow: 0 0 40px var(--gold-glow);
    opacity: 0;
    transition: opacity 1s ease;
}

.gate.opening .gate-glow {
    opacity: 1;
}

/* Globe Container */
.globe-container {
    position: absolute;
    width: 400px;
    height: 400px;
    opacity: 0;
    transform: scale(0);
    transition: all 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 3;
}

.globe-container.visible {
    opacity: 1;
    transform: scale(1);
}

/* Globe */
.globe {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotateGlobe 30s linear infinite;
}

@keyframes rotateGlobe {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.globe-sphere {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(143, 188, 63, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 107, 53, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #1a1a2e 0%, #0d0d0d 100%);
    box-shadow: 
        0 0 60px rgba(143, 188, 63, 0.4),
        inset 0 0 60px rgba(0, 0, 0, 0.5);
}

/* Orbiting Dishes */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgba(143, 188, 63, 0.3);
    border-radius: 50%;
    transform-style: preserve-3d;
}

.orbit:nth-child(2) {
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    animation: orbit1 10s linear infinite;
}

.orbit-2 {
    width: 350px;
    height: 350px;
    margin: -175px 0 0 -175px;
    animation: orbit2 15s linear infinite;
    border-color: rgba(255, 107, 53, 0.3);
}

.orbit-3 {
    width: 400px;
    height: 400px;
    margin: -200px 0 0 -200px;
    animation: orbit3 20s linear infinite;
    border-color: rgba(0, 168, 204, 0.3);
}

.orbit-4 {
    width: 450px;
    height: 450px;
    margin: -225px 0 0 -225px;
    animation: orbit4 25s linear infinite;
    border-color: rgba(255, 215, 0, 0.3);
}

@keyframes orbit1 {
    from { transform: rotateZ(0deg); }
    to { transform: rotateZ(360deg); }
}

@keyframes orbit2 {
    from { transform: rotateZ(0deg) rotateY(45deg); }
    to { transform: rotateZ(360deg) rotateY(45deg); }
}

@keyframes orbit3 {
    from { transform: rotateZ(0deg) rotateX(45deg); }
    to { transform: rotateZ(360deg) rotateX(45deg); }
}

@keyframes orbit4 {
    from { transform: rotateZ(0deg) rotateY(-45deg); }
    to { transform: rotateZ(360deg) rotateY(-45deg); }
}

.dish {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 20px rgba(143, 188, 63, 0.6),
        0 0 40px rgba(255, 107, 53, 0.4);
    animation: dishPulse 2s ease-in-out infinite;
}

@keyframes dishPulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.2); }
}

.dish i {
    font-size: 24px;
    color: white;
}

/* Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-glow);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-glow);
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    50% { opacity: 1; }
}

/* Brand Introduction */
.brand-intro {
    position: absolute;
    bottom: 10%;
    width: 100%;
    z-index: 4;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.brand-intro.visible {
    opacity: 1;
    transform: translateY(0);
}

.brand-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(143, 188, 63, 0.3);
}

.brand-description {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.brand-slogan {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.slogan-highlight {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.slogan-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 0 10px var(--primary-color);
}

.brand-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* CTA Buttons */
.cta-buttons .btn {
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-buttons .btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    box-shadow: 0 5px 20px rgba(143, 188, 63, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(143, 188, 63, 0.6);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-20px); }
    60% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s backwards;
}

.animate-fade-in-delay-4 {
    animation: fadeIn 1s ease-out 1.2s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== OVERVIEW SECTION ==================== */
.overview-section {
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    padding: 100px 0;
}

.overview-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(143, 188, 63, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.overview-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(143, 188, 63, 0.3);
}

.overview-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: white;
    box-shadow: 0 10px 30px rgba(143, 188, 63, 0.4);
}

.overview-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.overview-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ==================== FEATURED SECTION ==================== */
.featured-section {
    padding: 100px 0;
}

.featured-section h2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.featured-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-warning {
    background: linear-gradient(135deg, var(--secondary-color), #ff8c42);
    border: none;
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

/* ==================== FOOTER ==================== */
.footer {
    border-top: 1px solid rgba(143, 188, 63, 0.2);
}

.footer h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-5px);
    color: var(--primary-color) !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .gate {
        width: 350px;
        height: 500px;
    }

    .globe-container {
        width: 250px;
        height: 250px;
    }

    .brand-title {
        font-size: 2rem;
    }

    .brand-description {
        font-size: 1.1rem;
    }

    .brand-slogan {
        font-size: 1.5rem;
    }

    .overview-card {
        margin-bottom: 30px;
    }
}
.navbar-logo {
    height: 40px;
    width: auto;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

/* For RTL (Persian) */
[dir="rtl"] .navbar-logo {
    margin-left: 0;
    margin-right: 10px;
}
