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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #0a0a0f;
    color: #e8e8f0;
    overflow-x: hidden;
    cursor: default;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0f; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #ff6b35, #c73e1d); border-radius: 3px; }

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    padding: 0.8rem 5%;
}

.nav-logo {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
}

.nav-logo span {
    color: #ff6b35;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #a0a0b8;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s;
}

.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle { display: none; font-size: 1.5rem; color: #fff; cursor: pointer; }

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

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

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 40px rgba(255,107,53,0.3);
    opacity: 0;
    transform: translateY(60px);
    animation: fadeUp 1s 0.3s forwards;
}

.hero-title span {
    background: linear-gradient(135deg, #ff6b35, #ffd93d, #ff6b35);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease infinite;
}

.hero-subtitle {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(0.7rem, 1.5vw, 1.1rem);
    letter-spacing: 8px;
    color: #8888aa;
    margin-top: 1.5rem;
    opacity: 0;
    animation: fadeUp 1s 0.6s forwards;
}

.hero-cta {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s 0.9s forwards;
}

.btn-primary, .btn-outline {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #c73e1d);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 4px 25px rgba(255,107,53,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(255,107,53,0.5);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: #ff6b35;
    background: rgba(255,107,53,0.1);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeUp 1s 1.2s forwards;
}

.scroll-indicator span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #666688;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #ff6b35;
    border-bottom: 2px solid #ff6b35;
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

/* Section Label */
.section-label {
    position: relative;
    z-index: 1;
    padding: 4rem 5% 0;
}

.section-label-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.3;
}

.label-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: #ff6b35;
    font-weight: 700;
}

.label-text {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 6px;
    color: #666688;
}

/* Portfolio Sections */
.portfolio-section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 4rem 5%;
    display: flex;
    align-items: center;
}

.section-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.03;
    pointer-events: none;
}

.photo-section:nth-child(even) .section-bg {
    background: radial-gradient(ellipse at 30% 50%, #ff6b35, transparent 70%);
}

.video-section:nth-child(odd) .section-bg {
    background: radial-gradient(ellipse at 70% 50%, #c73e1d, transparent 70%);
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-text {
    padding: 2rem;
}

.section-tag {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: #ff6b35;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.3rem 1rem;
    border: 1px solid rgba(255,107,53,0.3);
    border-radius: 20px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, transparent);
    margin: 1.5rem 0;
    border-radius: 2px;
}

.section-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #8888aa;
    margin-bottom: 2rem;
    max-width: 90%;
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    perspective: 1000px;
}

.media-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    aspect-ratio: 3/4;
}

.media-card:hover {
    transform: translateZ(20px) rotateY(-5deg);
    z-index: 10;
}

.media-card.card-1 { transform: translateY(20px); }
.media-card.card-2 { transform: translateY(-10px); }
.media-card.card-3 { transform: translateY(30px); }

.media-card:hover.card-1, .media-card:hover.card-2, .media-card:hover.card-3 {
    transform: translateZ(30px) rotateY(-5deg);
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.media-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.6);
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.media-card:hover .card-overlay { opacity: 1; }

.card-overlay span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    background: rgba(0,0,0,0.3);
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    aspect-ratio: 16/9;
}

.video-wrapper:hover {
    transform: perspective(1000px) rotateY(-4deg) translateZ(10px);
}

.video-poster {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2;
    cursor: pointer;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-poster.hidden { opacity: 0; pointer-events: none; }

.play-btn {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255,107,53,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 0 40px rgba(255,107,53,0.4);
}

.video-poster:hover .play-btn {
    transform: scale(1.15);
    box-shadow: 0 0 60px rgba(255,107,53,0.6);
}

.play-btn svg { margin-left: 4px; }

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Section */
.contact-section {
    position: relative;
    z-index: 1;
    min-height: 60vh;
    padding: 6rem 5% 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-inner {
    max-width: 700px;
}

.contact-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 1rem;
}

.contact-desc {
    font-family: 'Poppins', sans-serif;
    color: #8888aa;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.contact-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    color: #e8e8f0;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover { color: #ff6b35; }

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    text-decoration: none;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.social-link:hover {
    background: #ff6b35;
    border-color: #ff6b35;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255,107,53,0.3);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    width: 100%;
    max-width: 1400px;
}

.footer-bottom p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    color: #555577;
}

/* Order helpers */
.order-1 { order: 1; }
.order-2 { order: 2; }

/* Animations */
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
    50% { transform: rotate(45deg) translateY(8px); opacity: 1; }
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
    .section-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-text { padding: 1rem 0; }
    .section-desc { max-width: 100%; }

    .order-1, .order-2 { order: unset; }

    .nav-links { display: none; }
    .nav-links.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10,10,15,0.95);
        backdrop-filter: blur(20px);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-toggle { display: block; }
}

@media (max-width: 600px) {
    .media-grid { grid-template-columns: 1fr 1fr; }
    .media-card.card-3 { display: none; }
    .hero-cta { flex-direction: column; align-items: center; }
}
