/* ===================================

   MDQNZ Website Styles

   Serene modernism with textural warmth

   =================================== */

:root {

    /* Color Palette - Deep blue-black with soft contrast */

    --color-bg: #0a1018;

    --color-bg-elevated: #141b26;

    --color-text: #e8e6e3;

    --color-text-dim: #9a9896;

    --color-accent: #7a9ab8;

    --color-accent-hover: #a4c2db;

    

    /* Typography */

    --font-display: 'Crimson Pro', serif;

    --font-body: 'DM Sans', sans-serif;

    

    /* Spacing */

    --space-xs: 0.5rem;

    --space-sm: 1rem;

    --space-md: 2rem;

    --space-lg: 4rem;

    --space-xl: 6rem;

    --space-xxl: 8rem;

    

    /* Container */

    --container-width: 1200px;

    --container-padding: 2rem;

}

/* ===================================

   Reset & Base Styles

   =================================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: var(--font-body);

    font-size: 18px;

    line-height: 1.7;

    color: var(--color-text);

    background-color: var(--color-bg);

    -webkit-font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;

    overflow-x: hidden;

}

/* Grain texture overlay - CSS-only for performance */

body::before {

    content: '';

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    pointer-events: none;

    opacity: 0.03;

    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");

    z-index: 9999;

}

img {

    max-width: 100%;

    height: auto;

    display: block;

}

a {

    color: inherit;

    text-decoration: none;

    transition: all 0.3s ease;

}

/* ===================================

   Typography

   =================================== */

h1, h2, h3, h4, h5, h6 {

    font-family: var(--font-display);

    font-weight: 400;

    line-height: 1.2;

}

.logo {

    font-size: clamp(3rem, 8vw, 5rem);

    font-weight: 300;

    letter-spacing: 0.05em;

    margin-bottom: var(--space-sm);

}

.tagline {

    font-size: clamp(1.125rem, 2.5vw, 1.5rem);

    color: var(--color-text-dim);

    font-weight: 400;

    max-width: 600px;

}

.section-title {

    font-size: clamp(2rem, 4vw, 3rem);

    font-weight: 300;

    margin-bottom: var(--space-lg);

    letter-spacing: 0.02em;

}

.release-title {

    font-size: clamp(1.75rem, 3vw, 2.5rem);

    font-weight: 400;

    margin-bottom: var(--space-xs);

}

.release-meta {

    font-size: 0.95rem;

    color: var(--color-text-dim);

    margin-bottom: var(--space-md);

}

/* ===================================

   Layout & Container

   =================================== */

.container {

    max-width: var(--container-width);

    margin: 0 auto;

    padding: 0 var(--container-padding);

}

section {

    padding: var(--space-xl) 0;

}

/* ===================================

   Hero Section: Full-screen with video background

   =================================== */

.hero {

    height: 100vh;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

}

/* Video background - seamless looping */

.hero-video {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    z-index: 1;

}

/* Overlay for text readability */

.hero-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(10, 16, 24, 0.3);

    z-index: 2;

}

/* Content container floats above video */

.hero-container {

    position: relative;

    z-index: 3;

    text-align: center;

    width: 100%;

}

.hero .container {

    display: flex;

    flex-direction: column;

    align-items: center;

}

/* Hero responsive - Tablet */

@media (max-width: 768px) {

    .hero {

        height: 80vh;

    }

}

/* Hero responsive - Mobile */

@media (max-width: 480px) {

    .hero {

        height: 70vh;

    }

}

/* ===================================

   Release Cards

   =================================== */

.release-card {

    display: grid;

    grid-template-columns: 300px 1fr;

    gap: var(--space-lg);

    margin-bottom: var(--space-xxl);

    padding-bottom: var(--space-xxl);

    border-bottom: 1px solid rgba(232, 230, 227, 0.1);

}

.release-card.last-child {

    border-bottom: none;

    margin-bottom: 0;

    padding-bottom: 0;

}

.release-card.featured {

    margin-bottom: var(--space-xl);

}

.release-artwork {

    position: relative;

    aspect-ratio: 1;

    border-radius: 8px;

    overflow: hidden;

    background: var(--color-bg-elevated);

}

.release-artwork img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}

.release-card:hover .release-artwork img {

    transform: scale(1.02);

}

.release-info {

    display: flex;

    flex-direction: column;

}

/* ===================================

   Spotify Player

   =================================== */

.player-wrapper {

    margin-bottom: var(--space-md);

    border-radius: 12px;

    overflow: hidden;

    background: rgba(20, 27, 38, 0.5);

}

.player-wrapper iframe {

    width: 100%;

    border: none;

}

/* ===================================

   Platform Links (Release Cards)

   =================================== */

.platform-links {

    display: flex;

    gap: var(--space-md);

    margin-top: auto;

}

.platform-link {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 44px;

    height: 44px;

    border-radius: 50%;

    background: rgba(232, 230, 227, 0.05);

    color: var(--color-text-dim);

    transition: all 0.3s ease;

}

.platform-link:hover {

    background: rgba(232, 230, 227, 0.1);

    color: var(--color-accent-hover);

    transform: translateY(-2px);

}

.platform-link svg {

    width: 20px;

    height: 20px;

}

/* ===================================

   About Section

   =================================== */

.about-content {

    max-width: 700px;

    font-size: 1.125rem;

    line-height: 1.8;

    color: var(--color-text-dim);

}

.about-content p {

    margin-bottom: var(--space-md);

}

/* ===================================

   Contact Section

   =================================== */

.contact-content {

    display: flex;

    flex-direction: column;

    gap: var(--space-lg);

    align-items: flex-start;

}

.email-link {

    font-family: var(--font-display);

    font-size: clamp(1.5rem, 3vw, 2.25rem);

    font-weight: 300;

    color: var(--color-accent);

    position: relative;

    display: inline-block;

}

.email-link::after {

    content: '';

    position: absolute;

    bottom: -4px;

    left: 0;

    width: 0;

    height: 1px;

    background: var(--color-accent-hover);

    transition: width 0.4s ease;

}

.email-link:hover::after {

    width: 100%;

}

.email-link:hover {

    color: var(--color-accent-hover);

}

.social-links {

    display: flex;

    gap: var(--space-md);

}

.social-link {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    border-radius: 50%;

    background: rgba(232, 230, 227, 0.05);

    color: var(--color-text-dim);

    transition: all 0.3s ease;

}

.social-link:hover {

    background: rgba(232, 230, 227, 0.1);

    color: var(--color-accent-hover);

    transform: translateY(-3px);

}

.social-link svg {

    width: 22px;

    height: 22px;

}

/* ===================================

   Footer

   =================================== */

.footer {

    border-top: 1px solid rgba(232, 230, 227, 0.1);

    padding: var(--space-lg) 0;

    margin-top: var(--space-xxl);

}

.footer p {

    text-align: center;

    font-size: 0.875rem;

    color: var(--color-text-dim);

}

/* ===================================

   Scroll Animations & Visual Guidance

   =================================== */

/* Bounce animation for scroll indicator arrow */

@keyframes bounce {

    0%, 100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-10px);

    }

}

/* Pulse animation for scroll indicator opacity */

@keyframes pulse {

    0%, 100% {

        opacity: 1;

    }

    50% {

        opacity: 0.5;

    }

}

/* Scroll Indicator - Arrow at bottom of hero section */

.scroll-indicator {

    position: absolute;

    bottom: 30px;

    left: 50%;

    transform: translateX(-50%);

    z-index: 4;

    text-align: center;

    cursor: pointer;

    animation: pulse 2s infinite;

}

/* SVG arrow icon styling and animation */

.scroll-indicator svg {

    width: 24px;

    height: 24px;

    stroke: var(--color-text);

    stroke-width: 2;

    fill: none;

    animation: bounce 2s infinite;

}

/* ===================================

   Scroll Animation Keyframes & Classes

   =================================== */

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

@keyframes fadeIn {

    from {

        opacity: 0;

    }

    to {

        opacity: 1;

    }

}

/* Elements that should animate on scroll */

.animate-on-scroll {

    opacity: 0;

    transform: translateY(30px);

    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);

}

/* When in view, make visible */

.animate-on-scroll.in-view {

    opacity: 1;

    transform: translateY(0);

}

/* ===================================

   Responsive Design

   =================================== */

/* Tablet and smaller desktops */

@media (max-width: 1024px) {

    :root {

        --container-padding: 1.5rem;

        --space-xl: 4rem;

        --space-xxl: 6rem;

    }

}

/* Tablet devices */

@media (max-width: 768px) {

    :root {

        --container-padding: 1.25rem;

        --space-lg: 2.5rem;

        --space-xl: 3rem;

        --space-xxl: 4rem;

    }

    

    .release-card {

        grid-template-columns: 1fr;

        gap: var(--space-md);

        margin-bottom: var(--space-lg);

        padding-bottom: var(--space-lg);

    }

    

    .release-artwork {

        max-width: 400px;

        margin: 0 auto;

    }

    

    .platform-links {

        justify-content: flex-start;

    }

    

    .contact-content {

        align-items: flex-start;

    }

}

/* Mobile devices */

@media (max-width: 480px) {

    body {

        font-size: 16px;

    }

    

    .release-card {

        margin-bottom: var(--space-md);

        padding-bottom: var(--space-md);

    }

    

    .platform-link,

    .social-link {

        width: 40px;

        height: 40px;

    }

    

    .platform-link svg,

    .social-link svg {

        width: 18px;

        height: 18px;

    }

}

/* ===================================

   Print Styles

   =================================== */

@media print {

    body::before {

        display: none;

    }

    

    .platform-links,

    .social-links {

        display: none;

    }

}