@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/poppins/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Abel';
    src: url('/assets/fonts/Abel-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

html {
    touch-action: pan-y pan-x;
    -ms-touch-action: pan-y pan-x;
    overflow-x: hidden;
}

body {
    touch-action: pan-y pan-x;
    -ms-touch-action: pan-y pan-x;
}

:root {
    --bg-dark: #0d0f0f;
    --bg-card: #1a1d1d;
    --text-gold: #cdb996;
    --accent-bronze: #a48557;
    --text-white: #ffffff;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

html * {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/top_image.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    transition: var(--transition-smooth);
}

/* Mobile: keep fixed effect with JavaScript positioning */
@media (max-width: 768px) {
    .hero-image {
        background-size: cover;
        background-position: center top;
        background-attachment: scroll;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: -1;
    }
}

.hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    max-width: 800px;
    width: 80%;
}

.hero-title img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

/* Hero Bottom Menu */
.hero-bottom-menu {
    position: relative;
    background-color: var(--bg-dark);
    padding: 2rem 0;
    text-align: center;
}

.hero-bottom-menu ul {
    display: flex;
    gap: 3rem;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.hero-bottom-menu a {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero-bottom-menu a:hover {
    color: var(--text-gold);
}

/* Responsive menu for tablets and phones */
@media (max-width: 1024px) {
    .hero-bottom-menu {
        padding: 2.5rem 1rem !important;
    }
    
    .hero-bottom-menu ul {
        gap: 2rem !important;
        flex-wrap: wrap !important;
    }
    
    .hero-bottom-menu a {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .hero-bottom-menu {
        display: none;
    }
}

/* Ensure desktop/tablet logo positioning stays correct for screens > 480px */
@media (min-width: 481px) {
    .top-logo {
        top: 15px !important;
        left: 50% !important;
    }
}

.scroll-arrow {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    z-index: 10;
    color: #ffffff;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.scroll-arrow img {
    width: 80px;
    height: auto;
}

.scroll-arrow:hover {
    color: var(--accent-bronze);
    transform: scale(1.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(39, 55, 54, 0.95);
    backdrop-filter: blur(10px);
    z-index: 900;
    padding: 1.5rem 0;
    transform: translateY(-100%);
    transition: var(--transition-smooth);
}

.main-nav.visible {
    transform: translateY(0);
}

.main-nav.hidden {
    transform: translateY(-100%);
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 3rem;
    list-style: none;
}

.main-nav a {
    color: var(--text-gold);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-bronze);
    transition: var(--transition-smooth);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--accent-bronze);
}

/* Menu Button */
.menu-btn {
    position: fixed;
    top: 25px;
    left: 2rem;
    z-index: 950;
    background: transparent;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    opacity: 0;
}

.menu-btn.visible {
    opacity: 1;
}

.menu-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.menu-btn:hover {
    transform: scale(1.1);
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-icon span {
    width: 35px;
    height: 3px;
    background: #ffffff;
    transition: var(--transition-smooth);
}

.menu-btn:hover .menu-icon span {
    background: #ffffff;
}

.menu-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: #ffffff;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.095em;
    transition: var(--transition-smooth);
}

.menu-btn:hover .menu-text {
    color: #ffffff;
}

/* Top Bar Logo */
.top-logo {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 950;
    opacity: 0;
    transition: var(--transition-smooth);
}

.top-logo.visible {
    opacity: 1;
}

.top-logo.hidden {
    opacity: 0;
    pointer-events: none;
}

.top-logo img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Top Blur Bar */
.top-blur-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(13, 15, 15, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 940;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.top-blur-bar.visible {
    opacity: 1;
}

.top-blur-bar.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Social Media Icons */
.social-icons {
    position: fixed;
    top: 38px;
    right: 2rem;
    z-index: 950;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    padding: 0;
    opacity: 0;
    transition: var(--transition-smooth);
}

.social-icons.visible {
    opacity: 1;
}

.social-icons.hidden {
    opacity: 0;
    pointer-events: none;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-icons a img {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    transform: scale(1.15);
}

.social-icons a:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    backdrop-filter: blur(0px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, backdrop-filter 0.6s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
    backdrop-filter: blur(20px);
}

.menu-overlay.active ~ #main-content {
    /* No longer needed - using backdrop-filter instead */
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-menu:hover {
    color: #ffffff;
    transform: rotate(90deg);
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.overlay-logo {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: var(--transition-smooth);
}

.menu-overlay.active .overlay-logo {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.overlay-logo img {
    max-width: 350px;
    width: 60%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.overlay-nav ul {
    list-style: none;
    text-align: center;
}

.overlay-nav li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.menu-overlay.active .overlay-nav li {
    opacity: 1;
    transform: translateY(0);
}

.menu-overlay.active .overlay-nav li:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active .overlay-nav li:nth-child(2) { transition-delay: 0.2s; }
.menu-overlay.active .overlay-nav li:nth-child(3) { transition-delay: 0.3s; }
.menu-overlay.active .overlay-nav li:nth-child(4) { transition-delay: 0.4s; }
.menu-overlay.active .overlay-nav li:nth-child(5) { transition-delay: 0.5s; }

.overlay-nav a {
    font-family: 'Abel', sans-serif;
    color: #ffffff;
    text-decoration: none;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.095em;
    transition: var(--transition-smooth);
}

.overlay-nav a:hover {
    color: #ffffff;
    letter-spacing: 0.1em;
}

/* Main Content */
#main-content {
    transition: filter 0.4s ease;
}

.content-section {
    min-height: 100vh;
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    background-color: var(--bg-dark);
}

.section-title {
    font-size: 3rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Parallax Images */
/* Background Image Sections - Fixed Backgrounds Between Content */
.parallax-image {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    z-index: 0;
}

/* Mobile images hidden by default */
.parallax-image-mobile {
    display: none;
}

/* Tablet and Mobile - iOS workaround with actual IMG element for iPad and phones */
@media (max-width: 1024px) {
    .parallax-image {
        height: 70vh;
        background-image: none !important;
        background-attachment: scroll;
        overflow: hidden;
        position: relative;
    }
    
    .parallax-image-mobile {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .hero-image {
        background-attachment: scroll;
        background-size: cover;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: -1;
    }
}

/* iPad Pro Landscape - specific fix (1366x1024) */
@media (max-width: 1400px) and (orientation: landscape) {
    .parallax-image {
        height: 70vh;
        background-image: none !important;
        background-attachment: scroll;
        overflow: hidden;
        position: relative;
    }
    
    .parallax-image-mobile {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .hero-image {
        background-attachment: scroll;
        background-size: cover;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: -1;
    }
}

/* Mobile phones - smaller height */
@media (max-width: 768px) {
    .parallax-image {
        height: 50vh;
        min-height: 400px;
    }
}

/* Mobile landscape optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .parallax-image {
        height: 80vh;
        min-height: 300px;
    }
}

.parallax-scoring {
    background-image: url('/assets/images/chiara-manenti-composing-studio.jpg');
}

.parallax-session {
    background-image: url('/assets/images/chiara-manenti-guitar-session.jpg');
}

.parallax-about {
    background-image: url('/assets/images/chiara-manenti-cort-guitars.jpg');
}

/* Video Container */
.video-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 60px 20px;
}

.youtube-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: visible;
    background: transparent;
    border-radius: 8px;
    z-index: 2;
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

/* Hide YouTube end screen overlay */
.youtube-embed iframe::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
}

/* Carousel */
.carousel-container {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: 72px 1fr 72px;
    align-items: center;
    gap: 1.5rem;
}

.carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: auto;
    padding: 2rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: calc(100vw - 17px);
    margin-left: calc(50% - 50vw + 8.5px);
    margin-right: calc(50% - 50vw + 8.5px);
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 600px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 8px;
    overflow: hidden;
    scroll-snap-align: center;
}

.carousel-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(164, 133, 87, 0.3);
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}


.carousel-btn {
    position: static;
    transform: none;
    background: rgba(164, 133, 87, 0.8);
    border: none;
    color: white;
    font-size: 2rem;
    width: 56px;
    height: 56px;
    cursor: pointer;
    border-radius: 999px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--accent-bronze);
}

.carousel-btn.prev {
    justify-self: start;
}

.carousel-btn.next {
    justify-self: end;
}

/* Session Guitar */
.session-content {
    max-width: 900px;
    margin: 0 auto;
}

.session-image {
    position: relative;
    width: 100%;
}

.session-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.audio-player-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 70%, transparent 100%);
}

.audio-player {
    background: transparent;
    padding: 0;
    border-radius: 8px;
}

.audio-track {
    margin-bottom: 2rem;
}

.audio-track:last-child {
    margin-bottom: 0;
}

.audio-title {
    color: var(--text-gold);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.play-btn {
    background: var(--accent-bronze);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.play-btn:hover {
    background: var(--text-gold);
    transform: scale(1.1);
}

.play-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Audio loading spinner */
.audio-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.waveform-container {
    flex: 1;
    position: relative;
    height: 50px;
    background: rgba(39, 55, 54, 0.5);
    border-radius: 4px;
    overflow: hidden;
}

.waveform {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
}

.waveform-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
}

.waveform-bar {
    flex: 1;
    min-width: 1px;
    max-width: 2px;
    background: var(--text-gold);
    transition: none;
}

.waveform-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(164, 133, 87, 0.3);
    width: 0;
    transition: width 0.1s linear;
}

/* About Section */
.about-section {
    background: var(--bg-dark);
    padding: 4rem 2rem;
    width: 100%;
}

.about-section .section-title {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-bottom: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-bio {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-white);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    max-width: 800px;
}

.about-bio a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.about-bio a:hover {
    color: var(--text-gold);
    border-bottom-color: var(--text-gold);
}

/* About section logos */
.about-section .logos-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 1rem;
}

/* Awards Section */
.awards-section {
    background: #292218;
    padding: 4rem 2rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.awards-section::before,
.awards-section::after {
    display: none;
}

.logos-cort-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.logos-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    width: 100%;
}

.logo {
    height: 280px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition-smooth);
}

.logo:hover {
    filter: brightness(0) invert(1);
    transform: scale(1.05);
}

.cort-endorsement {
    text-align: center;
    width: 100%;
}

.cort-container {
    text-align: center;
    margin-bottom: 2rem;
}

.cort-container img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.endorsement-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-white);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    text-decoration: none;
}

.cort-logo-inline {
    height: 1.3rem;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0.2rem;
}

.cort-container img:hover {
    transform: scale(1.05);
}

/* Contact Form */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

#contact-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #f5f5f0;
    border: 2px solid transparent;
    border-radius: 4px;
    color: #1a1a1a;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group textarea {
    resize: none;
    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-bronze);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(26, 26, 26, 0.5);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #292218;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #3d3123;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(41, 34, 24, 0.4);
}

/* Cloudflare Turnstile Widget */
.cf-turnstile {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    display: block;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    display: block;
}

/* Mobile Social Icons (Below Contact Form) */
.mobile-social-icons {
    display: none;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
}

.mobile-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.mobile-social-icons a img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition-smooth);
}

.mobile-social-icons a:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    transform: scale(1.15);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.video-modal.active {
    opacity: 1;
    pointer-events: all;
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 2001;
    transition: var(--transition-smooth);
}

.close-modal:hover {
    color: var(--accent-bronze);
    transform: rotate(90deg);
}

.modal-content {
    max-width: 1200px;
    width: 90%;
}

.youtube-embed-modal {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.youtube-embed-modal iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Footer */
.footer {
    background: #292218;
    padding: 4rem 2rem 2rem;
    color: var(--text-white);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-column p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-column .footer-credits-text {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-column ul li a:hover {
    color: var(--text-gold);
    padding-left: 5px;
}

.footer-column .copyright {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Legal Modals */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.legal-modal.active {
    display: flex;
}

.legal-modal-content {
    background: var(--bg-dark);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    padding: 3rem;
    position: relative;
    overflow-y: auto;
}

.close-legal-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-legal-modal:hover {
    color: var(--text-gold);
    transform: rotate(90deg);
}

.legal-modal-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--text-gold);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.legal-text {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-white);
    line-height: 1.8;
}

.legal-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: var(--text-gold);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.legal-text p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.legal-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-text ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.legal-text a {
    color: var(--text-gold);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.legal-text a:hover {
    color: var(--accent-bronze);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-column ul li a:hover {
        padding-left: 0;
    }
    
    .legal-modal-content {
        padding: 2rem 1.5rem;
    }
    
    .legal-modal-content h2 {
        font-size: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav ul {
        gap: 1.5rem;
    }
    
    .main-nav a {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .overlay-nav a {
        font-size: 1.8rem;
    }
    
    .about-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .about-section .logos-container {
        flex-direction: row;
        gap: 2rem;
    }
    
    /* Full-width video on mobile portrait */
    .video-container {
        max-width: 100%;
        padding: 40px 0;
        margin: 0;
    }
    
    .youtube-embed {
        border-radius: 0;
    }
    
    .youtube-embed iframe {
        border-radius: 0;
    }

    .logo {
        height: 200px;
    }
    
    .endorsement-text {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .cort-container img {
        max-width: 300px;
    }
    
    .carousel-item {
        flex: 0 0 500px;
    }

    .carousel-container {
        grid-template-columns: 56px 1fr 56px;
        padding: 0 1.5rem;
        gap: 1rem;
    }
    
    .hero-image {
        background-attachment: scroll;
    }
    
    .content-section {
        padding: 4rem 1.5rem;
    }
}

/* Tablet mode: Hide top social icons, show bottom ones (481px to 1024px) */
@media (max-width: 1024px) and (min-width: 481px) {
    .social-icons {
        display: none !important;
    }
    
    .mobile-social-icons {
        display: flex;
    }
    
    .menu-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .menu-btn {
        top: 18px;
        left: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    
    .menu-icon {
        gap: 3px;
    }
    
    .menu-icon span {
        width: 25px;
        height: 2px;
    }
    
    .menu-text {
        display: none;
    }
    
    .top-blur-bar {
        height: 60px;
    }
    
    .top-logo {
        top: 12px;
        left: 55%;
        transform: translateX(-50%);
    }
    
    .top-logo img {
        height: 45px;
    }
    
    .social-icons {
        display: none !important;
    }
    
    .mobile-social-icons {
        display: flex;
    }
    
    .social-icons a img {
        height: 20px;
    }
    
    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }

    .carousel-container {
        grid-template-columns: 44px 1fr 44px;
        padding: 0 1rem;
        gap: 0.75rem;
    }
    
    /* Scoring carousel - 10% smaller than current on mobile portrait */
    .carousel-item {
        flex: 0 0 345px;
    }
    
    /* Showreel - full width on mobile portrait */
    #showreel {
        padding-left: 0;
        padding-right: 0;
    }
    
    #showreel .video-container {
        padding: 40px 0;
        margin: 0;
        max-width: none;
        width: 100%;
    }
    
    /* Hero logo - bigger and higher on mobile portrait */
    .hero-title {
        top: 35%;
        width: 95%;
        max-width: none;
    }
}

/* Screen reader only - for SEO H1 */
.sr-only {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ─────────────────────────────────────────────────────────────
   Bandcamp embed (inside Session Guitar section)
   ───────────────────────────────────────────────────────────── */
.bandcamp-embed {
    margin: 3rem auto 0;
    text-align: center;
    max-width: 600px;
    padding: 0 1rem;
}
.bandcamp-title {
    color: var(--text-gold);
    font-size: 1.05rem;
    font-weight: 400;
    margin: 0 0 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.bandcamp-embed iframe {
    display: block;
    margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────────
   Newsletter banner — Couleur Beige (#cdb996)
   Placed between Contact section and Footer
   ───────────────────────────────────────────────────────────── */
.newsletter-banner {
    width: 100%;
    background: var(--text-gold);
    color: var(--bg-dark);
    padding: 4rem 1.5rem;
    box-sizing: border-box;
}
.newsletter-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.newsletter-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    margin: 0 0 0.5rem;
    color: var(--bg-dark);
    letter-spacing: 0.04em;
}
.newsletter-lead {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--bg-dark);
    margin: 0 0 1.5rem;
    opacity: 0.85;
}
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0 auto 1rem;
    max-width: 460px;
    align-items: stretch;
}
.newsletter-form input[type="email"] {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--bg-dark);
    background: rgba(255, 255, 255, 0.5);
    color: var(--bg-dark);
    border-radius: 2px;
    font-family: inherit;
    box-sizing: border-box;
    width: 100%;
    transition: background 0.2s ease;
}
.newsletter-form input[type="email"]::placeholder {
    color: var(--bg-dark);
    opacity: 0.5;
}
.newsletter-form input[type="email"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.85);
}
.newsletter-turnstile {
    display: flex;
    justify-content: center;
    margin: 0.25rem 0;
    min-height: 65px;
}
.newsletter-btn {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    background: var(--bg-dark);
    color: var(--text-gold);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    border-radius: 2px;
    transition: background 0.2s ease, color 0.2s ease;
}
.newsletter-btn:hover:not(:disabled) {
    background: var(--accent-bronze);
    color: var(--text-white);
}
.newsletter-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.newsletter-rgpd {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--bg-dark);
    opacity: 0.7;
    margin: 1rem auto 0;
    max-width: 480px;
}
.newsletter-message {
    margin-top: 1rem;
    padding: 0.75rem;
    font-size: 0.95rem;
    border-radius: 2px;
    display: none;
}
.newsletter-message.success {
    display: block;
    background: rgba(13, 15, 15, 0.1);
    color: var(--bg-dark);
    border: 1px solid var(--bg-dark);
}
.newsletter-message.error {
    display: block;
    background: rgba(180, 60, 60, 0.15);
    color: #5a1010;
    border: 1px solid #8b1f1f;
}
@media (max-width: 600px) {
    .newsletter-banner { padding: 3rem 1rem; }
    .newsletter-title { font-size: 1.6rem; }
    .newsletter-lead { font-size: 0.95rem; }
}

/* ─────────────────────────────────────────────────────────────
   Newsletter popup modal (auto-shown on page load with delay)
   Dark blurred backdrop + couleur beige card centered
   ───────────────────────────────────────────────────────────── */
.newsletter-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
    padding: 1.5rem;
    box-sizing: border-box;
}
.newsletter-popup.visible {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0s linear 0s;
}
.newsletter-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 15, 15, 0.55);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    cursor: pointer;
}
.newsletter-popup-box {
    position: relative;
    z-index: 1;
    background: var(--text-gold);
    color: var(--bg-dark);
    padding: 3rem 2.5rem 2.5rem;
    border-radius: 4px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.3, 1);
    box-sizing: border-box;
}
.newsletter-popup.visible .newsletter-popup-box {
    transform: translateY(0) scale(1);
}
.newsletter-popup-close {
    position: absolute;
    top: 0.5rem;
    right: 0.85rem;
    background: none;
    border: none;
    color: var(--bg-dark);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.2s ease, transform 0.2s ease;
    padding: 0.25rem 0.5rem;
    font-family: inherit;
}
.newsletter-popup-close:hover {
    opacity: 1;
    transform: scale(1.15);
}
.newsletter-popup-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    margin: 0 0 0.5rem;
    text-align: center;
    color: var(--bg-dark);
    letter-spacing: 0.04em;
}
.newsletter-popup-lead {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    margin: 0 0 1.5rem;
    color: var(--bg-dark);
    opacity: 0.85;
}
.newsletter-popup-box .newsletter-form {
    margin-bottom: 1rem;
}
.newsletter-popup-box .newsletter-rgpd {
    text-align: center;
    margin: 1rem auto 0;
}
.newsletter-popup-box .newsletter-message {
    text-align: center;
}
@media (max-width: 600px) {
    .newsletter-popup-box {
        padding: 2.5rem 1.5rem 2rem;
    }
    .newsletter-popup-title { font-size: 1.6rem; }
    .newsletter-popup-lead { font-size: 0.95rem; }
}
