/* =====================================================
   HARMOONOIR
   Version 2
======================================================*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root{
    --bg:#050505;
    --surface:#0b0b0b;
    --surface-light:#121212;
    --white:#ffffff;
    --text:#d9d9d9;
    --purple:#8f4aff;
    --border:rgba(255,255,255,.08);
    --transition:.35s;
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Space Grotesk",sans-serif;
    background:var(--bg);
    color:var(--white);
    overflow-x:hidden;
}


/* Scrollbar */
::-webkit-scrollbar{
    width:8px;
}
::-webkit-scrollbar-thumb{
    background:var(--purple);
}
::-webkit-scrollbar-track{
    background:#111;
}

/* Links */
a{
    text-decoration:none;
    color:white;
}

/* Bilder */
img{
    display:block;
    max-width:100%;
}

/* ======================================
   Navigation
======================================*/
header{
    position:fixed;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    width:min(1300px,94%);
    height:78px;
    z-index:999;
    backdrop-filter:blur(18px);
    background:rgba(8,8,8,.45);
    border:1px solid rgba(255,255,255,.08);
    border-radius:22px;
    transition:.35s ease;
}

header.shrink{
    transform:translateX(-50%) scale(.92);
    backdrop-filter:blur(30px);
    background:rgba(8,8,8,.75);
    box-shadow:0 10px 40px rgba(0,0,0,.35);
}

nav{
    height:100%;
    width:92%;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo-small img{
    width:60px;
    transition:.35s;
}

.logo-small img:hover{
    transform:scale(1.08);
}

nav ul{
    display:flex;
    gap:40px;
    list-style:none;
}

nav a{
    color:white;
    font-size:.9rem;
    letter-spacing:3px;
    text-transform:uppercase;
    position:relative;
    transition:.35s;
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:#8f4aff;
    transition:.35s;
}

nav a:hover{
    color:#a566ff;
}
nav a:hover::after{
    width:100%;
}

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

.hero{
    position:relative;
    min-height:110vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    overflow:hidden;
    isolation:isolate;
}

/* Hintergrund */
.hero::after{
    content:"";
    position:absolute;
    left:-10%;
    bottom:-120px;
    width:120%;
    height:420px;
    background:
        radial-gradient(
            ellipse at center,
            rgba(143,74,255,.18) 0%,
            rgba(143,74,255,.08) 35%,
            transparent 75%
        ),

        linear-gradient(
            to bottom,
            rgba(0,0,0,0) 0%,
            rgba(0,0,0,.25) 45%,
            #000 100%
        );

    filter:blur(70px);
    pointer-events:none;
    z-index:-2;
}

/* Weicher Übergang zum schwarzen Hintergrund */

.hero::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:-180px;

    background:
        linear-gradient(
            rgba(5,5,5,.15),
            rgba(5,5,5,.72)
        ),
        url("images/hero-bg.png");

    background-size:cover;
    background-position:center top;
    background-repeat:no-repeat;

    z-index:-3;
}

/* Mond */

.hero::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:320px;

    background:linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,.15) 20%,
        rgba(0,0,0,.45) 45%,
        rgba(0,0,0,.75) 70%,
        #000 100%
    );

    pointer-events:none;
    z-index:-2;
}

/* ======================================
   STARS BACKGROUND
====================================== */

body::before{

    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:-1;
    opacity:.35;
    background:

        radial-gradient(circle, rgba(255,255,255,.95) 1px, transparent 1.5px)
        0 0 / 170px 170px,

        radial-gradient(circle, rgba(255,255,255,.55) 2px, transparent 2.5px)
        50px 80px / 260px 260px,

        radial-gradient(circle, rgba(255,255,255,.4) 1px, transparent 1.5px)
        120px 40px / 130px 130px,

        radial-gradient(circle, rgba(143,74,255,.7) 1.5px, transparent 2px)
        220px 170px / 340px 340px,

        radial-gradient(circle, rgba(255,255,255,.8) 2px, transparent 2.5px)
        80px 240px / 420px 420px;
animation:
    stars 180s linear infinite,
    twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {

    0%, 100% {
        opacity: .22;
    }

    50% {
        opacity: .38;
    }

}
/* Hero Inhalt */

.hero-content{
    width:min(900px,90%);
    margin-top:40px;
    z-index:5;
}

.hero-logo{
    width:300px;
    margin:auto;
    margin-bottom:45px;
    filter:
        drop-shadow(0 0 40px rgba(143,74,255,.55));

    animation:logoFloat 8s ease-in-out infinite;
}

.hero h1{
    font-size:clamp(4rem,9vw,7rem);
    letter-spacing:12px;
    margin-bottom:20px;
    font-weight:700;
}

.subtitle{

    font-size:1.6rem;

    color:#dddddd;

    margin-bottom:18px;

    font-weight:300;

}

.country{
    color:#9d9d9d;
    text-transform:uppercase;
    letter-spacing:4px;
    margin-bottom:50px;

}

/* Buttons */

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.primary-button{
    background:linear-gradient(
        135deg,
        #6f2cff,
        #8f4aff,
        #b56dff
    );

    color:white;
    padding:18px 40px;
    border-radius:50px;
    transition:.35s;
    box-shadow:
        0 0 30px rgba(143,74,255,.45);
}

.primary-button:hover{
    transform:translateY(-6px);
    box-shadow:
        0 0 50px rgba(143,74,255,.75);
}

.secondary-button{
    padding:18px 40px;
    border-radius:50px;
    border:1px solid rgba(255,255,255,.2);
    transition:.35s;
}

.secondary-button:hover{
    background:white;
    color:black;
}

/* ======================================
   Sections
======================================*/

section{
    padding:140px 8%;
}

.section-text{
    max-width:850px;
    margin:auto;
    text-align:center;
}

.section-text span{
    color:var(--purple);
    letter-spacing:4px;
    font-size:.8rem;
}

.section-text h2{
    font-size:4rem;
    margin:25px 0;
}

.section-text p{
    color:#bdbdbd;
    line-height:1.9;
    font-size:1.15rem;
}

/* ======================================
   COLLECTION
======================================*/

#collection{
    max-width:1350px;
    margin:auto;
}

#collection h2{
    text-align:center;
    font-size:4rem;
    margin-bottom:80px;
    letter-spacing:8px;
}

.beat-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(320px,1fr));
    gap:45px;
    max-width:1200px;
    margin:70px auto 0;
}

.beat-card{
    background:rgba(20,20,20,.72);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:26px;
    overflow:hidden;
    transition:.45s;
    display:flex;
    flex-direction:column;
}

.beat-card:hover{
    transform:translateY(-12px) scale(1.02);
    border-color:#8f4aff;
    box-shadow:
        0 0 45px rgba(143,74,255,.28);
}

.beat-card img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:contain;
    background:#080808;
    padding:20px;
}

.beat-card h3{
    margin-top:28px;
    font-size:32px;
    text-align:center;
}

.beat-card p{
    margin:18px 0 35px;
    text-align:center;
    color:#a8a8a8;
    line-height:1.6;
}

.beat-buttons{
    display:flex;
    gap:18px;
    padding:0 30px 35px;
    margin-top:auto;
}

.preview-btn{
    background:#1b1b1b;
    border:none;
    border-radius:40px;
    color:white;
    padding:15px;
    transition:.35s;
}

.preview-btn:hover{
    background:#272727;
}

.beat-buttons a{
    background:linear-gradient(
        135deg,
        #6b2dff,
        #a256ff
    );

    border-radius:40px;
    padding:15px;
    color:white;
    transition:.35s;
}

.beat-buttons a:hover{
    transform:translateY(-3px);
    box-shadow:
        0 0 30px rgba(143,74,255,.45);
}

/* ======================================
   SAMPLE PACK
======================================*/

#samples{
    max-width:1000px;
    margin:0 auto;
}

.sample-box{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:28px;
    padding:80px 60px;
    text-align:center;
    backdrop-filter:blur(20px);
    transition:.35s;
}

.sample-box:hover{
    border-color:#8f4aff;
    box-shadow:0 0 40px rgba(143,74,255,.20);
}

.sample-box h2{
    font-size:3rem;
    margin-bottom:25px;
    letter-spacing:4px;
}

.sample-box p{
    max-width:650px;
    margin:0 auto 45px;
    color:#bfbfbf;
    line-height:1.8;
    font-size:1.1rem;
}

/* ======================================
   PREVIEW
======================================*/

#preview{
    max-width:900px;
    margin:auto;
}

.preview-container{
    text-align:center;
}

.preview-container h2{
    font-size:3rem;
    margin-bottom:20px;
}

.preview-container p{
    color:#bdbdbd;
    margin-bottom:60px;
}

.preview-list{
    display:grid;
    grid-template-columns:repeat(6, 1fr);
    gap:25px;
    max-width:1200px;
    margin:70px auto;
}

.preview-card{
    background:rgba(20,20,20,.75);
    border:1px solid rgba(255,255,255,.08);
    border-radius:22px;
    padding:22px;
    min-height:130px;
    transition:.35s;
    grid-column:span 2;
}

.preview-card:nth-child(4){
    grid-column:2 / span 2;
}

.preview-card:nth-child(5){
    grid-column:4 / span 2;
}

.preview-card:hover{
    border-color:#8f4aff;
    box-shadow:0 0 30px rgba(143,74,255,.20);
}

.preview-card h3{
    font-size:22px;
}

.preview-card p{
    font-size:15px;
    color:#9d9d9d;
}

.play-btn{
    width:54px;
    height:54px;
    border-radius:50%;
}

.preview-info{
    flex:1;
    text-align:left;
}

.preview-info h3{
    font-size:1.3rem;
    margin-bottom:6px;
}

.preview-info span{
    color:#a7a7a7;
    font-size:.9rem;
}

.progress-bar{
    margin-top:18px;
    width:100%;
    height:6px;
    background:#222;
    border-radius:20px;
    overflow:hidden;
}

.progress{
    width:35%;
    height:100%;
    background:linear-gradient(90deg,#742dff,#b56dff);
    border-radius:20px;
}

.view-all{
    margin-top:60px;
}

/* ======================================
   Animationen
======================================*/

@keyframes logo{

50%{

transform:translateY(-12px);

}

}

@keyframes moon{

50%{

transform:translateY(18px);

}

}

@keyframes stars{

100%{

transform:translateY(-180px);

}

}

/* ===========================
   FOOTER
=========================== */
.footer{
    max-width:1200px;
    margin:180px auto 60px;
    padding:70px 40px;
    text-align:center;
}

.footer-logo{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    margin-bottom:25px;
}

.footer-logo img{
    width:55px;
}

.footer-logo h3{
    font-size:34px;
    letter-spacing:8px;
}

.footer-text{
    color:#9a9a9a;
    line-height:1.8;
    margin:25px 0 50px;
}

.footer-social{
    display:flex;
    justify-content:center;
    gap:35px;
    flex-wrap:wrap;
    margin-bottom:45px;
}

.footer-social a{
    color:white;
    text-decoration:none;
    transition:.3s;
    opacity:.75;
}

.footer-social a:hover{
    color:#8f4aff;
    opacity:1;
}

.footer-divider{
    width:100%;
    height:1px;
    background:rgba(255,255,255,.08);
    margin:35px 0;
}

.footer-copy{
    color:#666;
    font-size:14px;
}

/* ======================================
   Contact-Box
======================================*/
.contact-container{
    max-width:800px;
    margin:0 auto;
    padding:70px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
    border-radius:28px;
    backdrop-filter:blur(20px);
    text-align:center;
}

#contact-form{
    padding:180px 20px 120px;
}

.contact-container h2{
    font-size:48px;
    font-weight:700;
    margin-bottom:20px;
}

.contact-container p{
    max-width:550px;
    margin:0 auto 40px;
    line-height:1.8;
    color:#9f9f9f;
}

.contact-container form{
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-top:40px;
}

.contact-container input,
.contact-container textarea{

    width:100%;
    background:#111;
    color:#fff;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:18px;
    font-size:16px;
    box-sizing:border-box;
    transition:.3s;
}

.contact-container input:focus,
.contact-container textarea:focus{
    border-color:#8f4aff;
    box-shadow:0 0 20px rgba(143,74,255,.35);
    outline:none;
}

.contact-container textarea{
    resize:none;
}

.contact-container .primary-button{
    width:220px;
    margin:20px auto 0;
}
/* ======================================
   Responsive
======================================*/

@media(max-width:900px){

nav ul{
display:none;
}

.hero-logo{
width:180px;
}

.hero::after{
width:550px;
height:550px;
left:-170px;
}

.section-text h2{
font-size:2.5rem;
}

.beat-grid{
    grid-template-columns:1fr;
}

#collection h2{
    font-size:2.5rem;
}
}

@keyframes logoFloat{

0%{

transform:translateY(0px);

}

50%{

transform:translateY(-12px);

}

100%{

transform:translateY(0px);

}

}

@keyframes moonFloat{

0%{

transform:translateY(0px);

}

50%{

transform:translateY(18px);

}

100%{

transform:translateY(0px);

}
}

/* ======================================
   SCROLL REVEAL
======================================*/

.reveal{
    opacity:1 !important;
    transform:none !important;

}

.reveal.active{
    opacity:1;
    transform:none;
}
@media(max-width:1100px){
    .preview-list{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:700px){

    .preview-list{

        grid-template-columns:1fr;

    }

}

@media (max-width:1000px){

    .preview-list{

        grid-template-columns:repeat(2,1fr);

    }

    .preview-card,
    .preview-card:nth-child(4),
    .preview-card:nth-child(5){

        grid-column:auto;

    }

}