@font-face {
    font-family: 'Good Timing Light';
    src: url('assets/FontsFree-Net-Good-Timing-W00-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-color: #000000;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --accent-red: #c50000;
    --accent-hover: #ff1a1a;
    --font-main: 'Good Timing Light', 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden; /* Allow vertical scrolling, prevent horizontal scroll from marquees */
    min-height: 100vh;
    position: relative;
}

/* Mobile: hard-disable horizontal scrolling. iOS Safari ignores overflow-x on body alone,
   so it is set on html too. 'clip' (unlike 'hidden') does not create a scroll container,
   so GSAP pinning / sticky elements keep working. */
@media (max-width: 1024px) {
    html,
    body {
        overflow-x: clip;
        max-width: 100%;
    }
}

/* The new fixed top header */
#fixed-header {
    position: fixed;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 4vw; /* Restored padding to place logo properly */
    z-index: 2010;
    pointer-events: none; /* Let clicks pass through empty space */
}

#fixed-header > * {
    pointer-events: auto;
}

.navbar {
    position: fixed; /* Changed to fixed to force native hardware layer, mimicking the working hamburger button */
    top: 20px;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 2000;
    pointer-events: none;
}

.navbar > * {
    pointer-events: auto;
}

#fixed-header a {
    pointer-events: none; /* The link wrapping the logo shouldn't block the center either */
}

.logo-img {
    height: 130px;
    width: auto;
    object-fit: contain;
    margin-top: -25px;
    pointer-events: none !important; /* Force this so the wide transparent PNG edges NEVER block navbar clicks */
}

.nav-links {
    position: absolute;
    top: 10px; /* Centered nicely inside the top notch */
    display: flex;
    gap: 15px; /* Reduced gap to account for link padding */
}

.nav-links a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 8px 18px; /* Padding to hold the background shape */
    transition: color 0.3s ease;
    z-index: 1;
}

.nav-links a span {
    position: relative;
    z-index: 1; /* Puts the text exactly above the red background */
}

/* The Brave Futuristic Hover Effect (Slanted Red Slice) */
.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-red);
    z-index: 0; /* No longer negative! Guaranteed to not fall behind the page */
    /* Slanted parallelogram shape matching the overall cutouts */
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    /* Animation setup: start hidden, scale from right */
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a:hover::before {
    /* Slice in from the left on hover */
    transform: scaleX(1);
    transform-origin: left;
}

/* ==============================
   FINGERPRINT MENU ICON
   ============================== */
.hamburger-btn {
    position: relative;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    z-index: 2010;
    flex-shrink: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-btn:hover {
    transform: scale(1.12);
    opacity: 0.7;
}

/* ---- Fingerprint image ---- */
.fp-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.25s ease;
}

/* Cross SVG overlay — sits on top of the fingerprint image */
.fp-cross-svg {
    position: absolute;
    width: 44px;
    height: 44px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ---- Cross lines (hidden by default) ---- */
.fp-cross {
    stroke: var(--accent-red);
    stroke-width: 6; /* Thinner cross */
    fill: none;
    stroke-linecap: round;
    opacity: 0;
    stroke-dasharray: 85;
    stroke-dashoffset: 85;
}

/* ---- OPEN STATE ---- */
/* 1. Fade fingerprint image OUT (and keep it hidden during closing) */
body.menu-open .fp-image,
body.menu-closing .fp-image {
    opacity: 0;
}

/* 2. Draw cross lines IN */
body.menu-open .fp-cross {
    opacity: 1;
    animation: fp-draw-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
body.menu-open .fp-cross-1 { animation-delay: 0.22s; }
body.menu-open .fp-cross-2 { animation-delay: 0.30s; }

@keyframes fp-draw-in {
    from { stroke-dashoffset: 85; opacity: 1; }
    to   { stroke-dashoffset: 0;  opacity: 1; }
}

/* ---- CLOSING STATE ---- */
body.menu-closing .fp-cross {
    opacity: 1;
    stroke-dashoffset: 0;
    animation: fp-draw-out 0.35s cubic-bezier(0.86, 0, 0.07, 1) forwards;
}
body.menu-closing .fp-cross-2 { animation-delay: 0.06s; }
body.menu-closing .fp-cross-1 { animation-delay: 0.12s; }

@keyframes fp-draw-out {
    from { stroke-dashoffset: 0;  opacity: 1; }
    to   { stroke-dashoffset: 85; opacity: 0; }
}

/* Default (not open, not closing) — invisible */
body:not(.menu-open):not(.menu-closing) .fp-cross {
    opacity: 0;
    stroke-dashoffset: 85;
}

/* Sleek Fullscreen Menu Overlay */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 5, 5, 0.95); /* Deep, almost solid black */
    backdrop-filter: blur(10px);
    z-index: 2005;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the entire menu block */
    align-items: flex-start; /* Left align for a more editorial look */
    padding-left: 12vw;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    overflow-y: auto;
}

body.menu-open .fullscreen-menu {
    opacity: 1;
    pointer-events: auto;
}

.menu-nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.menu-nav-links a {
    position: relative;
    color: rgba(255, 255, 255, 0.2); /* Original dimmed state */
    text-decoration: none;
    font-size: clamp(32px, 5vw, 54px);
    font-family: var(--font-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px; /* Sleek futuristic tracking like header */
    opacity: 0; /* Hidden initially for stagger animation */
    transform: translateX(-50px); /* Will slide in from left */
    transition: color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .menu-nav-links a {
        font-size: clamp(24px, 6vw, 36px);
        letter-spacing: 2px;
    }
}

.menu-nav-links a:hover {
    color: #ffffff;
    transform: translateX(20px);
}

/* Subtle red dash indicator on hover */
.menu-nav-links a::before {
    content: "";
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 0px;
    height: 2px;
    background-color: var(--accent-red);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-nav-links a:hover::before {
    width: 25px;
}

/* Language Switcher in Fullscreen Menu - placed directly below menu items */
.menu-lang-switch {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.35s;
}

body.menu-open .menu-lang-switch {
    opacity: 1;
    transform: translateX(0);
}

.lang-btn {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.3);
    padding: 6px 10px;
    transition: all 0.3s ease;
    position: relative;
}

.lang-btn:hover {
    color: #ffffff;
}

.lang-btn.active {
    color: #ffffff;
}

.lang-btn.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: var(--accent-red);
    box-shadow: 0 0 8px var(--accent-red);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    user-select: none;
}

@media (max-width: 768px) {
    .menu-lang-switch {
        margin-top: 25px;
        padding-top: 15px;
    }
    .lang-btn {
        font-size: 16px;
        padding: 6px 8px;
    }
}

/* Hero Section Wrapper */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
}

/* Hero Container */
.hero-container {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1;
}

/* Background layer with video and cutouts */
.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    transform-origin: center center;
    will-change: transform;
    
    /* This shape creates true 5px curved corners at the outer bounds, while keeping notches sharp */
    clip-path: polygon(
        /* Top Edge */
        0 5px, 1px 2px, 2px 1px, 5px 0, /* Top-Left 5px Curve */
        
        calc(50% - 500px) 0, 
        calc(50% - 440px) 70px, 
        calc(50% + 440px) 70px, 
        calc(50% + 500px) 0, 
        
        calc(100% - 5px) 0, calc(100% - 2px) 1px, calc(100% - 1px) 2px, 100% 5px, /* Top-Right 5px Curve */
        
        /* Bottom Edge (Narrower tab) */
        100% calc(100% - 105px), calc(100% - 1px) calc(100% - 102px), calc(100% - 2px) calc(100% - 101px), calc(100% - 5px) calc(100% - 100px), /* Bottom-Right 5px Curve */
        
        calc(50% + 220px) calc(100% - 100px), 
        calc(50% + 160px) 100%, 
        calc(50% - 160px) 100%, 
        calc(50% - 220px) calc(100% - 100px), 
        
        5px calc(100% - 100px), 2px calc(100% - 101px), 1px calc(100% - 102px), 0 calc(100% - 105px) /* Bottom-Left 5px Curve */
    );
}

/* Dark + red tint overlay on top of the video */
.hero-bg-layer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(50, 0, 0, 0.5); /* Dark tint with red tone */
    mix-blend-mode: multiply;
}

.hero-video, .hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 100px;
    height: calc(100vh - 240px); /* Adjusting to fit between the top notch and bottom cutouts with margins */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Reviews */
.reviews {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
}

.stars {
    display: flex;
    gap: 4px;
}

.star {
    width: 14px;
    height: 14px;
    background-color: var(--accent-red);
}

.star.half {
    background: linear-gradient(to right, var(--accent-red) 50%, rgba(255, 255, 255, 0.3) 50%);
}

.rating-num {
    font-weight: 700;
    font-size: 14px;
}

.ravers {
    color: var(--text-muted);
    font-size: 14px;
}

.ravers strong {
    color: var(--text-main);
}

/* Main Headline */
.main-headline {
    font-size: 70px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.divider {
    color: var(--accent-red);
}

/* The Button in the Bottom Notch */
.hero-tab-button {
    position: fixed; /* Fixed so it stays on screen when outside hero-section */
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 360px;
    height: 70px;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-btn {
    position: relative;
    background: var(--accent-red);
    color: white;
    border: none;
    padding: 18px 50px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 2px;
    cursor: pointer;
    /* Slanted edges button */
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

/* Shiny Sweep Effect */
.cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.cta-btn:hover::before {
    left: 150%;
}

.cta-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--accent-red);
}

.cta-btn span {
    transition: transform 0.3s ease;
}

.cta-btn:hover span {
    transform: translateX(6px);
}

/* Bottom Bar */
.bottom-bar {
    position: fixed; /* Native hardware layer fix */
    bottom: 40px;
    left: 40px;
    width: calc(100vw - 80px);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 4vw; /* Same padding as header */
    z-index: 2000;
    pointer-events: none; /* Let clicks pass through empty space */
}

.bottom-bar > * {
    pointer-events: auto;
}

/* QR Section */
.qr-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.qr-placeholder {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qr-dots {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.8) 40%, transparent 40%);
    background-size: 10px 10px;
}

.price-info h3 {
    font-size: 24px;
    font-weight: 700;
}

.price-info p {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.4;
    margin-top: 4px;
}

/* Scroll Section */
.scroll-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.scroll-section p {
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 1px;
    text-align: right;
    line-height: 1.5;
}

.small-preview {
    width: 70px;
    height: 45px;
    background-image: url('assets/hero_rave.jpg');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.small-preview-link {
    text-decoration: none;
}

.small-preview:hover {
    opacity: 1;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
    .main-headline { font-size: 50px; }
    .hero-bg-layer { 
        clip-path: polygon(
            0 5px, 1px 2px, 2px 1px, 5px 0,
            calc(50% - 300px) 0, calc(50% - 240px) 70px, calc(50% + 240px) 70px, calc(50% + 300px) 0, 
            calc(100% - 5px) 0, calc(100% - 2px) 1px, calc(100% - 1px) 2px, 100% 5px, 
            
            100% calc(100% - 105px), calc(100% - 1px) calc(100% - 102px), calc(100% - 2px) calc(100% - 101px), calc(100% - 5px) calc(100% - 100px), 
            calc(50% + 260px) calc(100% - 100px), calc(50% + 200px) 100%, calc(50% - 200px) 100%, calc(50% - 260px) calc(100% - 100px), 
            5px calc(100% - 100px), 2px calc(100% - 101px), 1px calc(100% - 102px), 0 calc(100% - 105px)
        ); 
    }
    .nav-links { top: 40px; gap: 20px; }
    .hero-tab-button { bottom: 45px; }
}

@media (max-width: 1200px) {
    .nav-links { display: none; }
    .main-headline { font-size: 36px; }
    .hero-bg-layer { 
        clip-path: polygon(
            0 5px, 1px 2px, 2px 1px, 5px 0, 
            calc(50% - 120px) 0, calc(50% - 90px) 40px, calc(50% + 90px) 40px, calc(50% + 120px) 0, 
            calc(100% - 5px) 0, calc(100% - 2px) 1px, calc(100% - 1px) 2px, 100% 5px, 
            
            100% calc(100% - 75px), calc(100% - 1px) calc(100% - 72px), calc(100% - 2px) calc(100% - 71px), calc(100% - 5px) calc(100% - 70px), 
            calc(50% + 180px) calc(100% - 70px), calc(50% + 140px) 100%, calc(50% - 140px) 100%, calc(50% - 180px) calc(100% - 70px), 
            5px calc(100% - 70px), 2px calc(100% - 71px), 1px calc(100% - 72px), 0 calc(100% - 75px)
        ); 
    }
    .bottom-bar { display: none; }
    .hero-tab-button { bottom: 45px; }
}

/* Futuristic Loading Reveal */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    z-index: 9999;
    pointer-events: none; 
}

.loader-block {
    flex: 1;
    background: #000;
    height: 100%;
    position: relative;
    animation: slideUpReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.loader-block:last-child {
    border-right: none;
}

/* Red scanner line at the bottom of each block */
.loader-block::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-red);
    box-shadow: 0 0 10px var(--accent-red);
}

.loader-block:nth-child(1) { animation-delay: 0.1s; }
.loader-block:nth-child(2) { animation-delay: 0.2s; }
.loader-block:nth-child(3) { animation-delay: 0.3s; }
.loader-block:nth-child(4) { animation-delay: 0.4s; }
.loader-block:nth-child(5) { animation-delay: 0.5s; }
.loader-block:nth-child(6) { animation-delay: 0.6s; }
.loader-block:nth-child(7) { animation-delay: 0.7s; }

@keyframes slideUpReveal {
    0% { transform: translateY(0); }
    100% { transform: translateY(calc(-100% - 20px)); }
}

/* Removed CSS entrance animations to handle them via GSAP */



/* GSAP Scroll Transition Styles */
.centered-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 150%); /* Start lower */
    opacity: 0;
    width: 250px;
    z-index: 5;
    pointer-events: none;
}

.marquee-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0; /* Hidden initially */
    pointer-events: none;
    overflow: hidden;
}

.marquee {
    display: flex;
    white-space: nowrap;
}

.marquee span {
    font-size: 100px;
    line-height: 1;
    text-transform: uppercase;
    padding-right: 50px;
}

.marquee-bold span {
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
    transform: translateX(0); /* Animation driven by GSAP */
}

.marquee-red span {
    font-weight: 400;
    color: var(--accent-red);
    transform: translateX(-50%); /* Start offset for opposite direction */
}

/* Atmospheric Red Lightings */
.red-glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 0, 0, 0.8) 0%, rgba(197, 0, 0, 0) 70%);
    filter: blur(40px);
    z-index: -1; /* Behind the marquees */
    pointer-events: none;
    /* Removed mix-blend-mode to fix Safari/WebKit disappearing repaint bugs on scroll */
    
    transform: translateZ(0);
}

.glow-1 {
    width: 800px;
    height: 800px;
    top: -200px;
    left: -200px;
    animation: floatGlow 12s infinite alternate ease-in-out;
}

.glow-2 {
    width: 1000px;
    height: 1000px;
    bottom: -300px;
    right: -200px;
    animation: floatGlow 15s infinite alternate-reverse ease-in-out;
}

.glow-3 {
    width: 600px;
    height: 600px;
    top: 40%;
    left: 40%;
    animation: floatGlow 10s infinite alternate ease-in-out;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(100px, -100px) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50px, 80px) scale(0.9);
        opacity: 0.6;
    }
}

/* About Section */
.about-section {
    position: relative;
    z-index: 10;
    background-color: var(--bg-color); /* Deep black background */
    width: 100vw;
    padding: 60px 6vw 120px 6vw; /* Reduced top padding, restored bottom padding */
    color: var(--text-main);
    display: flex;
    justify-content: center;
}

/* --- HERO → RÓLUNK "rácsúszó kártya" --- */
.hero-container {
    transform-origin: 50% 40%;
    will-change: transform;
}

/* Sötétítő réteg a hero felett (a bevágásokban úgyis fekete a háttér) */
.hero-dim {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    z-index: 6;
    pointer-events: none;
}

/* Görgetési tér: elég hosszú ahhoz, hogy a Rólunk csak azután kezdjen rácsúszni,
   hogy a logó már teljesen, nyugalmi állapotban a helyén van (lásd script.js) */
.hero-card-spacer {
    height: 120vh;
    pointer-events: none;
}

/* A Rólunk szekció mint kártya: lekerekített felső sarkok, finom világos élvonal + mélység */
.about-section {
    border-radius: 28px 28px 0 0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 -30px 80px rgba(0, 0, 0, 0.85);
}

/* Felső fül: a hero felső bevágásának fordítottja (lent széles, fent keskeny).
   ::before = 1px-es világos körvonal, ::after = fekete kitöltés */
.about-section::before,
.about-section::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
.about-section::before {
    width: 1002px;
    height: 71px;
    margin-bottom: -1px;
    background: rgba(255, 255, 255, 0.12);
    clip-path: polygon(60px 0, calc(100% - 60px) 0, 100% 100%, 0 100%);
}
.about-section::after {
    width: 1000px;
    height: 70px;
    margin-bottom: -1px; /* rácsúszik a kártya élvonalára, így a fül alatt nincs vonal */
    background: var(--bg-color);
    clip-path: polygon(60px 0, calc(100% - 60px) 0, 100% 100%, 0 100%);
}

@media (max-width: 1200px) {
    .about-section::before {
        width: 242px;
        height: 41px;
        clip-path: polygon(30px 0, calc(100% - 30px) 0, 100% 100%, 0 100%);
    }
    .about-section::after {
        width: 240px;
        height: 40px;
        clip-path: polygon(30px 0, calc(100% - 30px) 0, 100% 100%, 0 100%);
    }
}

@media (max-width: 768px) {
    .about-section {
        border-radius: 20px 20px 0 0;
    }
}

/* ==========================================================================
   Megosztott "kártya" stílus MINDEN hero utáni szekcióhoz (pontosan ugyanaz a mechanizmus,
   mint a Rólunk-nál): add hozzá a .hero-next-card osztályt a szekcióhoz - ez adja a
   lekerekített felső sarkokat, a mélység-árnyékot ÉS a felső "fül" polygont (::before/::after).
   FONTOS: a szekció ne állítson be saját overflow:hidden-t, mert az levágná a fület,
   ami a doboz felső éle FÖLÉ lóg ki (bottom: 100%).
   ========================================================================== */
.hero-next-card {
    position: relative;
    border-radius: 28px 28px 0 0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 -30px 80px rgba(0, 0, 0, 0.85);
}

.hero-next-card::before,
.hero-next-card::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
.hero-next-card::before {
    width: 1002px;
    height: 71px;
    margin-bottom: -1px;
    background: rgba(255, 255, 255, 0.12);
    clip-path: polygon(60px 0, calc(100% - 60px) 0, 100% 100%, 0 100%);
}
.hero-next-card::after {
    width: 1000px;
    height: 70px;
    margin-bottom: -1px;
    background: var(--bg-color);
    clip-path: polygon(60px 0, calc(100% - 60px) 0, 100% 100%, 0 100%);
}

@media (max-width: 1200px) {
    .hero-next-card::before {
        width: 242px;
        height: 41px;
        clip-path: polygon(30px 0, calc(100% - 30px) 0, 100% 100%, 0 100%);
    }
    .hero-next-card::after {
        width: 240px;
        height: 40px;
        clip-path: polygon(30px 0, calc(100% - 30px) 0, 100% 100%, 0 100%);
    }
}

@media (max-width: 768px) {
    .hero-next-card {
        border-radius: 20px 20px 0 0;
    }
}

.about-container {
    max-width: 1400px;
    width: 100%;
}

.about-title {
    font-size: 80px;
    font-weight: 800;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: var(--text-main);
    letter-spacing: 4px;
    text-align: center; /* Center the text to avoid left-side logo overlap */
}

.about-title::after {
    content: "";
    display: block;
    width: 120px;
    height: 5px;
    background: var(--accent-red);
    margin: 20px auto 0 auto; /* Center the red line */
    box-shadow: 0 0 15px var(--accent-red);
}

.about-rows {
    position: relative;
    width: 100%;
    min-height: 620px; /* Increased to comfortably fit text without top or bottom clipping */
    overflow: hidden; /* Prevents horizontal scrollbar when sliding left */
}

.about-row {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background-color: var(--bg-color); /* Opaque background hides the layers underneath */
}

/* Stacking Order & Initial Visibility */
/* These are now set dynamically in script.js to support any number of rows */

.about-row.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.about-text p {
    margin-bottom: 22px;
}

.two-column-text {
    display: flex;
    gap: 40px;
    text-align: left;
}
.two-column-text > div {
    flex: 1;
}

.about-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    /* Container for the parallax effect overflow */
    overflow: hidden;
    position: relative;
    height: 500px;
    background-color: transparent;
}

.wrapper-left {
    justify-content: flex-start;
}

.wrapper-right {
    justify-content: flex-end;
}

/* The mask that actually applies the cutout to the image */
.about-image-mask {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Cyberpunk/Tech notched corner cutouts */
.cutout-tl {
    clip-path: polygon(0% 15%, 35% 15%, 50% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.cutout-br {
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 65% 85%, 50% 100%, 0% 100%);
}

.cutout-tr {
    clip-path: polygon(0% 0%, 50% 0%, 65% 15%, 100% 15%, 100% 100%, 0% 100%);
}

/* The actual image inside the mask, sized larger to allow parallax */
.parallax-img {
    width: 100%;
    height: 120%; /* Taller than container for parallax movement */
    object-fit: cover;
    object-position: center;
    transform: translateY(-10%); /* Start offset for parallax */
    will-change: transform;
}

/* --- EVENTS SECTION --- */
.events-section {
    position: relative;
    padding: 120px 6vw 250px 6vw;
    background-color: #050505; /* Deep, near-black */
    min-height: 100vh;
    overflow: hidden;
    margin-top: -2px; /* Pull up slightly to hide sub-pixel rendering seam from pinned section */
    z-index: 20;
}

/* Fade to black at the bottom for smooth transition */
.events-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 350px;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 5;
}

/* Sliding Geometric Shape */
.about-slider-shape {
    position: absolute;
    top: -1px; /* Prevent sub-pixel rendering gaps */
    left: -100px; /* Hide left edge off-screen initially to look flush */
    width: 65vw;
    height: 120px;
    background-color: var(--bg-color);
    z-index: 10;
    /* 45-degree angled trapezoid mimicking the header */
    clip-path: polygon(0 0, 100% 0, calc(100% - 120px) 100%, 120px 100%);
    will-change: transform;
}

/* Ambient Background Glows */
.events-glow-override {
    z-index: 0 !important; /* Force them to sit above the #050505 background */
}

.events-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.events-title {
    font-size: 80px;
    font-weight: 800;
    margin-bottom: 80px;
    text-transform: uppercase;
    color: var(--text-main);
    letter-spacing: 4px;
    text-align: right;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

/* Ensure the hidden attribute wins over display:grid */
.events-grid[hidden],
.events-coming-soon[hidden] {
    display: none !important;
}

/* --- "Hamarosan..." placeholder (no upcoming events) ---
   Mirrors the .event-card look: same panel bg, border, red diagonal tint and notched cutout. */
.events-coming-soon {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.events-coming-soon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(197,0,0,0.1) 0%, rgba(0,0,0,0) 50%);
    z-index: 0;
    pointer-events: none;
}

.coming-soon-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 140px 60px 60px 60px; /* Top padding clears the top-left cutout */
}

.coming-soon-text {
    font-size: clamp(56px, 9vw, 140px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-main);
    margin: 0 0 30px 0;
}

/* Red underline bar, same as the section titles */
.coming-soon-text::after {
    content: "";
    display: block;
    width: 120px;
    height: 5px;
    background: var(--accent-red);
    margin-top: 30px;
}

.coming-soon-sub {
    max-width: 520px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .events-coming-soon {
        min-height: 50vh;
    }
    .coming-soon-content {
        padding: 100px 24px 40px 24px;
        container-type: inline-size; /* Lets the headline size itself to the available text width */
    }
    .coming-soon-text {
        /* cqi = % of the text area's width, so "HAMAROSAN..." always fits on one line */
        font-size: 8cqi;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }
    .coming-soon-text > span {
        white-space: nowrap;
    }
    .coming-soon-text::after {
        width: 80px;
        height: 4px;
        margin-top: 20px;
    }
    .coming-soon-sub {
        font-size: 14px;
    }
}

.event-card {
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    align-self: start;
}

/* Stagger the second card */
.event-card:nth-child(2) {
    margin-top: 150px;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(197,0,0,0.1) 0%, rgba(0,0,0,0) 50%);
    z-index: 0;
    pointer-events: none;
}

.event-poster {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.event-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.event-card:hover .event-poster img {
    transform: scale(1.05);
}

.event-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

/* If the content is on top and the top-left is cut out, push the text down to clear the cutout */
.event-card.cutout-tl .event-card-content:first-child {
    padding-top: 110px; /* Reduced slightly to balance with the absolute button */
}

/* Move the button to the top-right corner to utilize the space beside the top-left cutout */
.event-card.cutout-tl .event-btn {
    position: absolute;
    top: 35px;
    right: 40px;
    margin-top: 0;
}

.event-date {
    color: var(--accent-red);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.event-name {
    font-size: 34px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
}

.event-location {
    color: rgba(255,255,255,0.5);
    font-size: 16px;
}

.event-btn {
    align-self: flex-start;
    margin-top: 30px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 15px 30px;
    font-size: 14px;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
    margin-top: 40px;
}

.event-btn:hover {
    border-color: var(--accent-red);
    background-color: rgba(197, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    .event-card:nth-child(2) {
        margin-top: 0;
    }
    .events-title {
        font-size: 60px;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .events-title {
        font-size: 45px;
    }
    .event-btn {
        padding: 10px 20px; /* Make button smaller to fit */
        font-size: 11px;
    }
}

.highlight-text {
    font-size: 26px;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.6;
    border-left: 4px solid var(--accent-red);
    padding-left: 30px;
    margin-bottom: 40px !important;
}

@media (max-width: 1024px) {
    .about-row, .about-row.reverse {
        flex-direction: column;
        gap: 40px;
    }
    .two-column-text {
        flex-direction: column;
        gap: 20px;
    }
    .about-image-wrapper {
        width: 100%;
        height: 400px;
    }
    .about-title {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .about-section {
        height: 100dvh;
        padding-top: 120px;
    }
    .about-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    .about-rows {
        height: calc(100dvh - 220px);
        min-height: 0;
    }
    .about-row, .about-row.reverse {
        gap: 0;
        justify-content: center;
        align-items: center;
        padding: 0 10px; /* Small horizontal padding to avoid edge hugging */
    }
    .about-text {
        flex: none; /* Prevent vertical stretching so justify-content: center can work */
    }
    .mobile-smaller-text {
        font-size: 16px; /* Just slightly smaller to fit */
    }
    .about-text p {
        margin-bottom: 20px;
    }
    .highlight-text {
        font-size: 20px;
        padding-left: 20px;
    }
    .about-image-wrapper {
        height: 100%;
        width: 100%;
        margin-bottom: 60px; /* Leave some space at the bottom */
    }
    .about-image-wrapper .about-image-mask {
        border-radius: 20px;
    }
}

/* --- GALLERY SECTION --- */
.gallery-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    overflow: hidden;
}

.gallery-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px; /* Increased gradient height */
    background: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    z-index: 10;
    display: flex;
    justify-content: flex-start; /* Align left */
    align-items: flex-start;
    padding-top: 100px;
    padding-left: 6vw; /* Misaligned left edge */
    pointer-events: none;
}

.gallery-overlay-top h2 {
    font-size: 80px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-main);
    letter-spacing: 4px;
    margin-left: -20px; /* Slight misaligned shift to the left */
}

.gallery-pin-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-center {
    position: absolute;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform, width, height, border-radius;
}

.gallery-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.masonry-column {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    /* Irregular gaps handled on individual items */
    width: 28vw;
    height: 85vh; /* Slightly taller for more breathing room */
    z-index: 1;
}

.col-left {
    left: 4vw;
}

.col-right {
    right: 4vw;
}

.gallery-img {
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Abstract irregular layout */
.g-left-1 { 
    height: 48%; 
    margin-bottom: 55px; 
}
.g-left-2 { 
    height: 38%; 
    width: 88%; 
    margin-left: 12%; 
    margin-top: 15px; 
}
.g-right-1 { 
    height: 40%; 
    width: 90%; 
    margin-bottom: 80px; 
}
.g-right-2 { 
    height: 46%; 
    width: 95%; 
    margin-left: 5%; 
    margin-top: 35px; 
}

.gallery-cta-wrapper {
    position: absolute;
    bottom: 50px;
    z-index: 30; /* Increased z-index to guarantee it's above everything */
    display: flex;
    justify-content: center;
    width: 100%;
}

.gallery-btn {
    text-decoration: none;
}

@media (max-width: 768px) {
    .col-right { display: none; }
    .masonry-column {
        width: 86vw;
        height: auto;
        gap: 2vh; /* Use vh for gap to be perfectly proportional */
    }
    .col-left { 
        left: 7vw; 
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    .gallery-img { border-radius: 12px; }
    .g-left-1, .g-left-2 {
        height: 24vh;
        margin-bottom: 0 !important; /* Force override just in case */
    }
}

/* --- SCROLL-DRIVEN TRANSITION LOADER --- */
.scroll-loader {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Exactly viewport height */
    display: flex;
    z-index: 100;
    pointer-events: none;
}

.s-block {
    flex: 1;
    background-color: var(--bg-color); /* Changed to black */
    height: 100%;
    transform: translateY(100%); /* hidden below initially */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Changed shadow to match */
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    position: relative; /* for the pseudo-element */
}

.s-block:last-child {
    border-right: none;
}

/* Red scanner line at the bottom, just like initial loader */
.s-block::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--bg-color);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* --- CONTACT SECTION --- */
.contact-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    margin-top: -100vh;
    z-index: 1000;
}

/* Sponsor Marquee */
.sponsor-marquee-container {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100vw;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    z-index: 0; /* Behind contact-container */
    opacity: 0.8; /* More visible */
    pointer-events: none;
    gap: 30px;
}

.sponsor-title {
    color: var(--text-muted);
    font-size: 16px;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 300;
}

.sponsor-marquee-track {
    display: flex;
    width: max-content;
    align-self: flex-start; /* Forces the track to start at the left edge, fixing the cut-off bug */
    animation: sponsorMarquee 45s linear infinite;
}

.sponsor-marquee {
    display: flex;
    align-items: center;
    gap: 150px;
    padding-right: 150px;
    flex-shrink: 0; /* Prevents logos from squishing or wrapping */
}

.sponsor-marquee img {
    height: 100px; /* Much bigger */
    width: auto;
    object-fit: contain;
    /* Removed filter to keep original colors */
}

@keyframes sponsorMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


.contact-section .navbar {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 2000;
    pointer-events: none;
}

.contact-section .navbar > * {
    pointer-events: auto;
}

.contact-container {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100vw - 40px);
    height: calc(100vh - 40px);
    z-index: 1;
    overflow: hidden;
}

.contact-bg-layer {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform: scaleX(-1); /* Horizontally reversed */
    
    /* Exact same polygon as hero-bg-layer, so the notch is at the top center again! */
    clip-path: polygon(
        /* Top Edge */
        0 5px, 1px 2px, 2px 1px, 5px 0, /* Top-Left 5px Curve */
        
        calc(50% - 500px) 0, 
        calc(50% - 440px) 70px, 
        calc(50% + 440px) 70px, 
        calc(50% + 500px) 0, 
        
        calc(100% - 5px) 0, calc(100% - 2px) 1px, calc(100% - 1px) 2px, 100% 5px, /* Top-Right 5px Curve */
        
        /* Bottom Edge (Narrower tab) */
        100% calc(100% - 105px), calc(100% - 1px) calc(100% - 102px), calc(100% - 2px) calc(100% - 101px), calc(100% - 5px) calc(100% - 100px), /* Bottom-Right 5px Curve */
        
        calc(50% + 220px) calc(100% - 100px), 
        calc(50% + 160px) 100%, 
        calc(50% - 160px) 100%, 
        calc(50% - 220px) calc(100% - 100px), 
        
        5px calc(100% - 100px), 2px calc(100% - 101px), 1px calc(100% - 102px), 0 calc(100% - 105px) /* Bottom-Left 5px Curve */
    );
}

.contact-bg-layer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), linear-gradient(rgba(197,0,0,0.2), rgba(197,0,0,0.2));
    pointer-events: none;
}

.contact-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.contact-logo {
    width: 300px;
    max-width: 80%;
    z-index: 2;
}

/* Contact Infos */
.top-notch-headline {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 5px;
    z-index: 10;
}


.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: var(--text-muted);
}

.c-icon {
    color: var(--accent-red);
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
}

.contact-socials {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-socials-left {
    justify-content: flex-start;
}

.contact-socials-right {
    justify-content: flex-end;
}

.s-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--accent-red);
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.s-icon:hover {
    transform: translateY(-3px);
    background-color: rgba(197, 0, 0, 0.1);
}

@media (max-width: 1200px) {
    /* Contact Section Mobile Cleanup */
    .contact-bg-layer {
        clip-path: none !important;
    }
    .contact-container {
        top: 20px !important;
        left: 20px !important;
        width: calc(100vw - 40px) !important;
        height: calc(100vh - 40px) !important;
        border-radius: 12px !important;
    }
    .contact-logo {
        display: none !important;
    }
    
    /* Center the contact info in the upper/middle part of the screen */
    .contact-bottom-area {
        position: absolute !important;
        top: 30% !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 50px !important; /* Increased gap */
        padding: 0 20px !important;
    }
    .contact-info-list {
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important; /* Increased gap */
    }
    .contact-socials {
        justify-content: center !important;
        width: 100% !important;
        gap: 25px !important;
    }
    
    /* Place the button below the info */
    .contact-section .hero-tab-button {
        position: absolute !important;
        top: 78vh !important; /* Push slightly down */
        bottom: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 20 !important;
    }
}
