/* /* =========================
   HERO SECTIO
========================= *
#hero-section {
    font-family: "Outfit", sans-serif;
    position: relative;
    overflow: hidden;
}

/* Navbar *
.hero-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 2rem;
}

.hero-nav-container {
    max-width: 1600px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-nav-logo {
    font-family: "Clash Display", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.hero-nav-menu {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.hero-nav-link {
    color: #fff;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
}

.hero-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Mobile *
.hero-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.6rem;
}

.hero-mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    width: 100%;
    background: #0a0a0a;
    padding: 1rem;
    z-index: 999;
}

.hero-mobile-menu.active {
    display: block;
}

/* Hero Content *
.hero-container {
    min-height: 100vh;
    padding-top: 120px;
    text-align: center;
    position: relative;
}

.hero-bg-gradient {
    position: absolute;
    inset: -50%;
    background: radial-gradient(
        circle,
        rgba(77, 124, 255, 0.1),
        transparent 60%
    );
}

.hero-title {
    font-family: "Clash Display", sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1rem;
}

.hero-subtitle {
    max-width: 800px;
    margin: auto;
    color: #aaa;
}

.hero-cta {
    display: inline-block;
    margin-top: 2rem;
    background: #4d7cff;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
}

/* Gallery *
.hero-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 120px);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 4rem auto;
}

.hero-gallery-item {
    border-radius: 20px;
    overflow: hidden;
}

.hero-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive *
@media (max-width: 1024px) {
    .hero-nav-menu {
        display: none;
    }
    .hero-mobile-menu-btn {
        display: block;
    }
} */

/* ============================================
   NEBULA HERO SECTION - NAMESPACED STYLES
   All classes prefixed with 'nebula-' to prevent conflicts
============================================ */

:root {
    --nebula-bg-dark: #0a0a0a;
    --nebula-nav-bg: rgba(10, 10, 10, 0.8);
    --nebula-text-primary: #ffffff;
    --nebula-text-secondary: #b0b0b0;
    --nebula-accent-blue: #4d7cff;
    --nebula-hover-bg: rgba(255, 255, 255, 0.05);
}

/* ============================================
   NAVIGATION
============================================ */

.nebula-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nebula-nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.nebula-navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nebula-nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.nebula-nav-logo {
    font-family: "Clash Display", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--nebula-text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.nebula-nav-logo:hover {
    opacity: 0.8;
}

/* Nav Links */
.nebula-nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    flex: 1;
    padding-left: 700px;
}

.nebula-nav-link {
    color: var(--nebula-text-primary);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nebula-nav-link:hover {
    background: var(--nebula-hover-bg);
    color: var(--nebula-text-primary);
}

/* Mobile Menu Button */
.nebula-mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--nebula-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.nebula-mobile-menu {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    max-height: calc(100vh - 73px);
    overflow-y: auto;
    animation: nebulaSlideDown 0.3s ease;
    z-index: 999;
}

.nebula-mobile-menu.active {
    display: block;
}

@keyframes nebulaSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nebula-mobile-menu .nebula-nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-left: 0;
}

.nebula-mobile-menu .nebula-nav-link {
    padding: 1rem;
    border-radius: 8px;
}

/* ============================================
   HERO SECTION
============================================ */

.nebula-hero-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    position: relative;
    overflow: hidden;
    background: var(--nebula-bg-dark);
}

/* Animated background gradient */
.nebula-bg-gradient {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(77, 124, 255, 0.08) 0%,
        transparent 50%
    );
    animation: nebulaGradientShift 15s ease-in-out infinite;
    pointer-events: none;
    will-change: transform;
}

@keyframes nebulaGradientShift {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-10%, 10%) scale(1.1);
    }
    66% {
        transform: translate(10%, -10%) scale(0.9);
    }
}

/* Heading */
.nebula-hero-title {
    font-family: "Clash Display", sans-serif;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--nebula-text-primary);
    opacity: 0;
    animation: nebulaFadeInUp 0.8s ease-out 0.4s forwards;
    position: relative;
    z-index: 1;
}

/* Subtitle */
.nebula-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--nebula-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    opacity: 0;
    animation: nebulaFadeInUp 0.8s ease-out 0.6s forwards;
    position: relative;
    z-index: 1;
}

/* CTA Button */
.nebula-cta-button {
    background: var(--nebula-accent-blue);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(77, 124, 255, 0.3);
    opacity: 0;
    animation: nebulaFadeInUp 0.8s ease-out 0.8s forwards;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.nebula-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(77, 124, 255, 0.4);
    background: #5d8cff;
}

.nebula-cta-button svg {
    transition: transform 0.3s ease;
}

.nebula-cta-button:hover svg {
    transform: translateX(4px);
}

/* Gallery Grid */
.nebula-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 120px);
    gap: 1.5rem;
    max-width: 1400px;
    width: 100%;
    margin: 5rem auto 0;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.nebula-gallery-item {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    opacity: 0;
    animation: nebulaFadeInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nebula-gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.nebula-gallery-item:hover::before {
    opacity: 1;
}

.nebula-gallery-item:hover {
    transform: translateY(-8px);
    z-index: 10;
}

.nebula-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Grid positioning */
.nebula-item-1 {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
    animation-delay: 1s;
}

.nebula-item-2 {
    grid-column: 4 / 9;
    grid-row: 1 / 5;
    animation-delay: 1.1s;
}

.nebula-item-3 {
    grid-column: 9 / 13;
    grid-row: 1 / 4;
    animation-delay: 1.2s;
}

.nebula-item-4 {
    grid-column: 1 / 4;
    grid-row: 3 / 6;
    animation-delay: 1.3s;
}

.nebula-item-5 {
    grid-column: 4 / 9;
    grid-row: 5 / 7;
    animation-delay: 1.4s;
}

.nebula-item-6 {
    grid-column: 9 / 13;
    grid-row: 4 / 7;
    animation-delay: 1.5s;
}

/* Animations */
@keyframes nebulaFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nebulaFadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Floating particles effect */
.nebula-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(77, 124, 255, 0.1);
    pointer-events: none;
    animation: nebulaFloat 20s ease-in-out infinite;
    will-change: transform;
}

.nebula-particle:nth-child(2) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.nebula-particle:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.nebula-particle:nth-child(4) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes nebulaFloat {
    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    50% {
        transform: translate(50px, -50px);
        opacity: 0.6;
    }
}

/* ============================================
   RESPONSIVE
============================================ */

@media (max-width: 1024px) {
    .nebula-nav-menu {
        display: none;
    }

    .nebula-mobile-menu-btn {
        display: block;
    }

    .nebula-gallery-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(8, 100px);
    }

    .nebula-item-1 {
        grid-column: 1 / 4;
        grid-row: 1 / 3;
    }

    .nebula-item-2 {
        grid-column: 4 / 7;
        grid-row: 1 / 4;
    }

    .nebula-item-3 {
        grid-column: 1 / 4;
        grid-row: 3 / 5;
    }

    .nebula-item-4 {
        grid-column: 4 / 7;
        grid-row: 4 / 7;
    }

    .nebula-item-5 {
        grid-column: 1 / 4;
        grid-row: 5 / 8;
    }

    .nebula-item-6 {
        grid-column: 4 / 7;
        grid-row: 7 / 9;
    }
}

@media (max-width: 768px) {
    .nebula-navbar {
        padding: 1rem;
    }

    .nebula-hero-container {
        padding: 5rem 1rem 2rem;
    }
}

@media (max-width: 640px) {
    .nebula-nav-menu {
        padding-left: 0;
    }

    .nebula-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 200px);
        gap: 1rem;
        padding: 0 1rem;
        margin-top: 3rem;
    }

    .nebula-item-1,
    .nebula-item-2,
    .nebula-item-3,
    .nebula-item-4,
    .nebula-item-5,
    .nebula-item-6 {
        grid-column: 1;
        grid-row: auto;
    }

    .nebula-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .nebula-cta-button {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }
}
