html{
    scroll-behavior: smooth;
}

:root {
    --background: hsl(0, 0%, 0%);
    --foreground: hsl(0, 0%, 98%);
    --card: hsl(0, 10%, 8%);
    --primary-foreground: hsl(0, 0%, 98%);
    --secondary: hsl(0, 15%, 15%);
    --muted: hsl(0, 10%, 20%);
    --muted-foreground: hsl(0, 0%, 70%);
    --accent: hsl(0, 85%, 45%);
    --border: hsl(0, 10%, 15%);
}

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    background-color: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.top-navbar .nav-logo img {
    height: 38px;
    width: 38px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.top-navbar .nav-logo img:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    padding-right: 3.5rem;
}

.nav-links a {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, border-color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.nav-links a:hover {
    color: rgb(149, 37, 37);
    border-color: rgb(128, 32, 32);
}

@media (max-width: 1000px) {
    .top-navbar {
        display: none;
    }
}

#disco-video{
    width: 100%;
    height: auto;
    display: block;
}


#hero-content {
    padding-bottom: 100px;
    position: relative;
}

#hero-content .overlay-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    height: auto;
    display: block;
}


#hero-content .scroll-down {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
}

#hero-content .scroll-down:hover{
    transform: translateX(-50%) translateY(6px);
}

#hero-content .scroll-down .arrow {
    display: block;
    font-size: 2rem;
}

#hero-content .scroll-down .scroll-text {
    display: block;
    font-size: 1rem;
    margin-top: 5px;
}


.menu-toggle {
    display: none;
}

.hamburger-icon {
    display: none;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    background-color: var(--card);
    border-radius: 0.5rem;
    padding: 0.75rem;
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
}

.hamburger-icon:hover {
    background-color: var(--muted);
}

.hamburger-icon span {
    display: block;
    width: 1.5rem;
    height: 2px;
    background-color: var(--foreground);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.menu-toggle:checked ~ .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle:checked ~ .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked ~ .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-toggle:checked ~ .menu-overlay {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--card);
    border-left: 1px solid var(--border);
    z-index: 999;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 5rem 0 2rem;
    overflow-y: auto;
    flex-direction: column;
}

.menu-toggle:checked ~ .mobile-menu {
    right: 0;
}

.mobile-link {
    display: block;
    padding: 1rem 2rem;
    color: var(--foreground);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
}

.mobile-link:hover {
    background-color: var(--muted);
    color: var(--accent);
    border-left-color: var(--accent);
}

@media (max-width: 1000px){
    .hamburger-icon {
        display: flex;
    }
    
    .menu-overlay,
    .mobile-menu {
        display: block;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out;
}

.animate-float-up {
    animation: float-up 0.6s ease-out;
}

.animate-float-up:hover {
    animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-up 0.6s ease-out 0.2s backwards, float 3s ease-in-out 0.8s infinite;
}

.grid-2col > * {
    order: 0;
}

@media (max-width: 767px) {
    .grid-2col > .text-content,
    .grid-2col > div:not(.image-container):not(.images-stack) {
        order: 1;
    }

    .grid-2col > .image-container,
    .grid-2col > .images-stack {
        order: 2;
    }
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}


.grid-2col {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .grid-2col {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gap-large {
    gap: 2rem;
}

.relative-z {
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.75rem;
    }
}

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

.text-large {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.75;
}

.text-muted {
    color: var(--muted-foreground);
    line-height: 1.75;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}


/* What Is Section */
#what-is-section {
    padding: 6rem 1.5rem;
    padding-top: 0;
    background: linear-gradient(to bottom, var(--background), var(--secondary));
}

@media (min-width: 768px) {
    .what-is-section {
        padding: 6rem 3rem;
    }
}

/* Image Styles */
.image-container {
    position: relative;
}

.section-image {
    border-radius: 0.5rem;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}

.grayscale {
    filter: grayscale(100%);
}

.images-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

/* How It Sounds Section */
#how-sounds-section {
    padding: 3rem 1.5rem;
    background-color: var(--secondary);
}

@media (min-width: 768px) {
    .how-sounds-section {
        padding: 6rem 3rem;
    }
}

#how-sounds-section iframe {
    width: 100%;
    height: 352px;
    border: none;
}

/* Where It Began Section */
#where-began-section {
    padding: 6rem 1.5rem;
    background: linear-gradient(to bottom, var(--secondary), var(--background));
}

@media (min-width: 768px) {
    .where-began-section {
        padding: 6rem 3rem;
    }
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Culture Section */
#culture-section {
    padding: 6rem 1.5rem;
    background: linear-gradient(to bottom, var(--background), var(--secondary));
    position: relative;
    overflow: hidden;
}

#culture-section img{
    width: 900px;
}

@media (min-width: 768px) {
    #culture-section {
        padding: 6rem 3rem;
    }
}

.culture-background {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: url('./src/assets/disco-lights.jpg');
    background-size: cover;
    background-position: center;
}

/* How It Spread Section */
#how-spread-section {
    background-color: var(--secondary);
}

@media (min-width: 768px) {
    #how-spread-section {
        padding: 6rem 0;
    }
}

.spread-grid {
    display: grid;
    gap: 3rem;
    margin-top: 4rem;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .spread-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.spread-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: float-up 0.6s ease-out;
}

.spread-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.spread-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spread-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spread-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

footer {
    padding: 3rem 2rem;
    text-align: center;
    background-color: var(--background);
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
}

