/* ================================
   GLOBAL REFINEMENT
================================ */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FFFFFF;
    color: #222;
    line-height: 1.7;
    font-size: 16px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: 0.3px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Consistent spacing */
section {
    position: relative;
    padding: 110px 20px;
}

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

.reveal {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp linear forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
}

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ================================
   HERO – Cinematic
================================ */

.hero {
    min-height: 650px;
    height: auto;
    background-image: url('/assets/img/hero-images/placeholder.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 20px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.45));
    z-index: 0;
    pointer-events: none;
}

.hero h1 {
    position: relative;
    z-index: 2;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 0 10px 35px rgba(0, 0, 0, 0.75);
}

/* ================================
   PIANO BUTTONS
================================ */

.hero .buttons a,
.about .button {
    position: relative;
    z-index: 2;
    text-decoration: none;
    padding: 16px 48px;
    background: linear-gradient(to bottom, #2a2a2a, #111);
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 6px 6px 14px 14px;
    border: 2px solid #FFFFFF;
    box-shadow:
        0 6px 0 #000,
        0 15px 30px rgba(0, 0, 0, 0.35);
    transition: all 0.25s ease;
    letter-spacing: 1px;
}

.hero .buttons a:hover,
.about .button:hover {
    transform: translateY(-4px);
    box-shadow:
        0 10px 0 #000,
        0 25px 45px rgba(0, 0, 0, 0.45);
    background: #FFFFFF;
    color: #111;
    border-color: #111;
}

.hero .buttons a+a {
    margin-left: 14px;
}

/* ================================
   ABOUT – Piano Placeholder
================================ */

.about {
    background-image: url("https://images.unsplash.com/photo-1545873494-055618a61ab1?q=80&auto=format&fit=crop&w=1200");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: #FFFFFF;
    text-align: center;
    position: relative;
}

.about::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.55));
    z-index: 0;
    pointer-events: none;
}

.about h2,
.about p,
.about .button {
    position: relative;
    z-index: 2;
}

.about h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.about p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* ================================
   REVIEWS – Piano Always Visible
================================ */

.reviews {
    background-image: url("https://images.unsplash.com/photo-1545873494-055618a61ab1?q=80&auto=format&fit=crop&w=1600");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding: 120px 20px;
}

.reviews h2 {
    text-align: center;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 60px;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

.review {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 950px;
    margin: 0 auto 50px;
    padding: 45px 35px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    --piano-img: url("https://images.unsplash.com/photo-1545873494-055618a61ab1?q=80&auto=format&fit=crop&w=1600");
}

.review::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--piano-img) center / cover no-repeat;
    z-index: -2;
}

.review::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(4px);
    z-index: -1;
}

.review p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #111;
    font-weight: 500;
}

.review .author {
    font-weight: 700;
    letter-spacing: 1px;
}

.review:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* ================================
   VIDEOS – With Background
================================ */

.videos {
    background-image: url("https://images.unsplash.com/photo-1590490360185-3303d32e1019?q=80&auto=format&fit=crop&w=1600");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding: 120px 20px;
    color: #fff;
}

.videos h2 {
    text-align: center;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 60px;
    letter-spacing: 2px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

.video-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.video-link {
    width: 240px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.35s ease;
}

.video-link img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.video-link p {
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
}

.video-link:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* ================================
   NAVBAR
================================ */

.navbar {
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .navbar-brand {
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.navbar a {
    color: #FFFFFF;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #cccccc;
}

/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {

    section {
        padding: 90px 20px;
    }

    .hero {
        background-attachment: scroll;
    }

    .about {
        background-attachment: scroll;
    }

    .reviews {
        background-attachment: scroll;
    }

    .videos {
        background-attachment: scroll;
    }

    .hero .buttons a,
    .about .button {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .video-link {
        width: 180px;
    }

    .review {
        padding: 30px 20px;
    }
}

/* Ensure content above overlay */
.hero .container,
.about .container,
.reviews .container,
.videos .container {
    position: relative;
    z-index: 2;
}

/* Allow clicks through overlays */
.hero::after,
.about::after,
.reviews::after,
.videos::after {
    pointer-events: none;
}