/* Base Reset & Variables */
:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --primary: #4c1d95;
    --primary-light: #8b5cf6;
    --accent: #06b6d4;
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
    --border-light: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-light);
}

.nav-toggle {
    display: none;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-white);
    width: 48px;
    height: 48px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.nav-toggle:hover {
    transform: scale(1.05);
    background: rgba(255,255,255,0.15);
}

.nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    padding: 20px 5%;
    gap: 16px;
    background: rgba(15,23,42,0.98);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.nav-btn {
    display: inline-flex;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.9);
    height: 70px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
}

.logo img {
    height: 40px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-light);
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 15px;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s forwards;
}

.grid-dropdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-width: 350px;
    gap: 10px;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Buttons */
.btn-primary-outline {
    border: 2px solid var(--primary-light);
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--text-white);
    font-weight: 600;
}

.btn-primary-outline:hover {
    background: var(--primary-light);
    box-shadow: 0 0 15px var(--primary-light);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 12px 28px;
    border-radius: 30px;
    color: var(--text-white);
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary.glowing:hover {
    box-shadow: 0 0 25px var(--primary-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.btn-secondary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px);
    transform: scale(1.05); /* hide blurred edges */
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    padding: 0 1rem;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: -999px;
    background: var(--accent);
    color: var(--text-white);
    padding: 12px 18px;
    border-radius: 8px;
    z-index: 2000;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7) 0%, var(--bg-dark) 100%);
}

.badge {
    background: rgba(6, 182, 212, 0.2);
    color: var(--accent);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(6, 182, 212, 0.4);
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Sections */
.section {
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Grid & Cards */
.grid {
    display: grid;
    gap: 30px;
}

.categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.category-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.glass-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.card-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #000;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    opacity: 0.8;
}

.glass-card:hover .card-image-wrapper img {
    transform: scale(1.1);
    opacity: 1;
}

.overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.glass-card img,
.glass-card .card-image-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.glass-card.premium img {
    height: 220px;
    transition: transform 0.4s ease;
}

.glass-card.premium:hover img {
    transform: scale(1.02);
}

.card-content h3 {
    font-size: 1.3rem;
}

.video-link {
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-link i {
    color: #ff0000;
}

.video-link:hover {
    color: white;
}

.location {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.text-primary-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.text-primary-link:hover {
    color: var(--primary-light);
}

.center-btn-container {
    text-align: center;
    margin-top: 50px;
}

/* CTA Section */
.cta-section {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 4rem 5%;
    border-radius: 30px;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dark-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 23, 42, 0.7);
}

.cta-content {
    z-index: 1;
}

.cta-content h2 {
    color: var(--accent);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-content h1 {
    font-size: 3rem;
    margin: 10px 0 30px;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.cta-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.3);
}

.cta-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.cta-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

.footer {
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid var(--border-light);
    padding: 60px 5% 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-gray);
}

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

.footer-contact p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--primary-light);
    margin-right: 10px;
}

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

/* Responsive */
@media (max-width: 900px) {
    .nav-links, .nav-btn {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 4rem 5%;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
    }

    .nav-btn {
        display: none;
    }

    .hero {
        height: auto;
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cards-grid,
    .categories-grid {
        gap: 20px;
    }

    .glass-card {
        border-radius: 18px;
    }
}
