:root {
    --bg-color: #050505;
    --text-color: #f0f0f0;
    --accent-color: #00d2ff;
    --accent-glow: rgba(0, 210, 255, 0.4);
    --secondary-bg: #111111;
    --glass-bg: rgba(20, 20, 20, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.glass-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Jost', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.brand-name {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

/* Language Selector */
.lang-selector {
    position: relative;
    cursor: pointer;
}

.lang-btn {
    background: none;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--accent-color);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    list-style: none;
    padding: 0.5rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

.lang-btn #current-flag {
    font-size: 1.2rem;
    line-height: 1;
}


.lang-dropdown li a:hover {
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-color);
}


/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.6), var(--bg-color));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.badge {
    background: rgba(0, 210, 255, 0.15);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid var(--accent-color);
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-section h1 span {
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-glow);
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn-primary {
    background: var(--accent-color);
    color: #000;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--accent-glow);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Sections */
.section {
    padding: 8rem 0;
}

.alt-bg {
    background-color: var(--secondary-bg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    text-align: center;
}

/* About Section */
.about-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.portrait-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.about-text {
    flex: 1.2;
}

.section-title.left {
    text-align: left;
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.certification-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(90deg, rgba(0, 210, 255, 0.1), rgba(255, 255, 255, 0.03));
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    margin: 2.5rem 0;
}

.cert-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-info {
    display: flex;
    flex-direction: column;
}

.cert-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
}

.cert-inst {
    font-size: 0.9rem;
    opacity: 0.7;
}

.section-subtitle {
    text-align: center;
    opacity: 0.7;
    margin-top: -3rem;
    margin-bottom: 4rem;
}

/* BTS Gallery */
.bts-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}


.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay span {
    font-weight: 600;
    font-size: 1rem;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Responsive updates */
@media (max-width: 968px) {
    .about-flex {
        flex-direction: column;
        text-align: center;
    }

    .section-title.left {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .bts-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item.large {
        grid-column: span 2;
    }
}


/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

@media (max-width: 768px) {
    .secondary-grid {
        grid-template-columns: 1fr;
    }
}


.profile-card {
    background: var(--secondary-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent-color);
}

.profile-card h3 {
    margin-bottom: 1rem;
}

.profile-card p {
    opacity: 0.7;
    margin-bottom: 2rem;
}

.card-link {
    font-weight: 600;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Skills */
.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: space-between;
}

.skill-category {
    flex: 1;
    min-width: 250px;
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tags span {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid var(--glass-border);
}

/* Gear Grid */
.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.gear-item {
    display: flex;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.gear-img-container {
    width: 100%;
    height: 200px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--glass-border);
    margin-bottom: 1.5rem;
}

.gear-photo {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.gear-item:hover .gear-photo {
    transform: scale(1.1) translateY(-5px);
}

.gear-item {
    display: block;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.gear-item:hover {
    border-color: var(--accent-color);
    background: rgba(0, 210, 255, 0.02);
}

.gear-info {
    text-align: center;
}

.gear-info h4 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.gear-info p {
    font-size: 0.95rem;
    opacity: 0.8;
}


/* Footer */
.footer {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-color), #000);
}

.footer h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.footer p {
    font-size: 1.2rem;
    opacity: 0.7;
    margin-bottom: 3rem;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 500;
}

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

.footer-divider {
    height: 1px;
    background: var(--glass-border);
    margin-bottom: 2rem;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Responsive */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
}

.mobile-toggle:hover {
    color: var(--accent-color);
}

@media (max-width: 850px) {
    .mobile-toggle {
        display: none;
    }

    .glass-header nav {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-links {
        position: static;
        width: 100%;
        height: auto;
        background: transparent;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
        border: none;
        box-shadow: none;
        display: flex !important;
        gap: 1rem;
    }

    .nav-links li {
        width: auto;
        margin: 0;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }

    .lang-dropdown {
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        min-width: 200px;
    }

    .hero-section {
        text-align: center;
    }

    .btn-secondary {
        margin: 1rem 0 0 0;
        display: block;
    }

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

/* Showcase Section (Vimeo & Instagram) */
.showcase-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin-bottom: 4rem;
    border: 1px solid var(--glass-border);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.instagram-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.instagram-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}