@import "https://unpkg.com/open-props";

/* Custom styles - Plain CSS only */
:root {
    --brand-blue: #2d85c4;
    --brand-dark: #020617;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom animations for slider content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 1s ease-out forwards;
}

/* Header Scroll Styles */
#main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Mobile Menu Active State */
#mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

/* Video Modal - viewport'a göre fixed, body seviyesinde */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#video-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 100002;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem;
    border-radius: 9999px;
    transition: color 0.2s, background 0.2s;
}

.video-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 72rem;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100001;
}

.video-modal-iframe-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.video-modal-iframe-inner iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(45, 133, 196, 0.3);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 133, 196, 0.5);
}
