/* iOS 26 Liquid Glass Design - Aref Ghafouri */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Poppins:wght@300;400;600;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Pure Black Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: -2;
}

/* Animated Stars/Particles */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* Navbar - Liquid Glass */
.navbar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.navbar-nav .nav-link {
    color: #fff;
    margin: 0 20px;
    padding: 0.5rem 0;
    font-weight: 500;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1px;
    display: inline-block;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #fff;
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* Hero Section - Liquid Glass */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
    animation: liquidGlow 4s ease-in-out infinite;
    letter-spacing: 3px;
}

@keyframes liquidGlow {
    0%, 100% {
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.3), 0 0 60px rgba(255, 255, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 60px rgba(255, 255, 255, 0.4), 0 0 80px rgba(255, 255, 255, 0.3);
    }
}

.hero p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #fff;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    letter-spacing: 2px;
}

/* Liquid Glass Button */
.btn-primary {
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary img {
    transition: transform 0.3s ease;
}

.btn-primary:hover img {
    transform: rotate(360deg) scale(1.1);
}

/* Background Video */
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.25) contrast(1.1);
}

/* Sections - Liquid Glass Cards */
section {
    padding: 100px 0;
    position: relative;
}

section h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

section p.lead {
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
}

/* Video Container - Liquid Glass */
.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    perspective: 1000px;
}

.video-item {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.responsive-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
}

/* Language Selector - Liquid Glass */
.language-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.language-icon:hover {
    transform: scale(1.1) rotate(180deg);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.language-menu {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow: hidden;
    min-width: 180px;
}

.language-menu ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.language-menu li a {
    display: flex;
    align-items: center;
    padding: 14px 22px;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
}

.language-menu li a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding-left: 28px;
}

.flag-emoji {
    font-size: 24px;
    line-height: 1;
}

/* Footer - Liquid Glass */
footer {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
    color: #fff;
}

/* Liquid Glass Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    border: 2px solid #000;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Liquid Morphing Animation */
@keyframes liquidMorph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

/* About Page - Liquid Glass Content Box */
.about-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 60px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.about-content h1, .about-content h2 {
    font-family: 'Cinzel', serif;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.about-content p {
    color: #fff;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-content img {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Achievement Cards - Liquid Glass */
.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.achievement-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Liquid Morph Decoration */
.liquid-blob {
    position: fixed;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.02);
    filter: blur(80px);
    animation: liquidMorph 20s ease-in-out infinite, float 15s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
}

.liquid-blob-1 {
    top: 15%;
    left: 8%;
}

.liquid-blob-2 {
    bottom: 15%;
    right: 8%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(50px, -50px) rotate(120deg); }
    66% { transform: translate(-30px, 30px) rotate(240deg); }
}

/* Video Slider - Liquid Glass (Base Styles) */
.video-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 3rem;
    padding: 0 20px;
}

.video-slider-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
}

.video-slider {
    display: flex;
    gap: 25px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 0;
}

.video-slide {
    flex-shrink: 0;
    width: 350px;
}

.video-slide .video-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    align-items: center;
}

.video-slide .video-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.video-slide .responsive-video {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 15px;
    background: #000;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-btn i {
    pointer-events: none;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .language-icon {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .about-content {
        padding: 30px;
    }
    
    .liquid-blob {
        width: 250px;
        height: 250px;
    }
    
    /* Video Slider - Tablet (Full Width) */
    .video-slider-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
        position: relative;
    }
    
    .video-slider-container .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        z-index: 10;
    }
    
    .video-slider-container .slider-btn-prev {
        left: 10px;
    }
    
    .video-slider-container .slider-btn-next {
        right: 10px;
    }
    
    .video-slider-container .slider-btn:hover {
        transform: translateY(-50%) scale(1.05);
    }
    
    .video-slider-container .slider-btn:active {
        transform: translateY(-50%) scale(0.95);
    }
    
    .video-slider-wrapper {
        width: 100%;
        max-width: 100%;
    }
    
    .video-slide {
        width: 100%;
        flex: 0 0 100%;
    }
    
    .video-slider {
        gap: 0;
    }
    
    .video-slide .video-item {
        padding: 5px;
        border-radius: 15px;
    }
    
    .video-slide .responsive-video {
        max-height: 450px;
        height: auto;
        width: 100%;
        object-fit: contain;
        background: #000;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .language-icon {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }
    
    .about-content {
        padding: 20px;
    }
    
    .liquid-blob {
        width: 200px;
        height: 200px;
    }
    
    /* Video Slider - Mobile Full Width */
    .video-slider-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 10px;
        margin-top: 2rem;
        position: relative;
    }
    
    .video-slider-container .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 45px;
        height: 45px;
        font-size: 1rem;
        z-index: 10;
        border-width: 1px;
    }
    
    .video-slider-container .slider-btn-prev {
        left: 5px;
    }
    
    .video-slider-container .slider-btn-next {
        right: 5px;
    }
    
    .video-slider-container .slider-btn:hover {
        transform: translateY(-50%) scale(1.05);
    }
    
    .video-slider-container .slider-btn:active {
        transform: translateY(-50%) scale(0.95);
    }
    
    .video-slider-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .video-slider {
        gap: 0;
    }
    
    .video-slide {
        width: 100%;
        flex: 0 0 100%;
    }
    
    .video-slide .video-item {
        padding: 5px;
        border-radius: 15px;
    }
    
    .video-slide .responsive-video {
        border-radius: 15px;
        max-height: 450px;
        height: auto;
        width: 100%;
        object-fit: contain;
        background: #000;
    }
}

/* Responsive - Extra Small Mobile */
@media (max-width: 375px) {
    .video-slider-container {
        padding: 0 10px;
    }
    
    .video-slider-container .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .video-slider-container .slider-btn-prev {
        left: 0;
    }
    
    .video-slider-container .slider-btn-next {
        right: 0;
    }
    
    .video-slide .responsive-video {
        max-height: 400px;
        height: auto;
        object-fit: contain;
        background: #000;
    }
}
