/* Modern Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom properties for mobile viewport */
:root {
    --vh: 1vh;
}

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

.container {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

html {
    overflow: hidden;
    /* Mobile viewport fixes */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: normal;
    line-height: 1.6;
    color: #000;
    background: #fff;
    overflow: hidden;
    /* Mobile fixes */
    position: fixed;
    width: 100%;
    height: 100%;
    overscroll-behavior: none;
    /* Additional mobile overscroll prevention */
    overscroll-behavior-x: none;
    overscroll-behavior-y: none;
}
h1, h2, h3, h4, p {    
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: normal;
}
/* Side Navigation */
.side-nav {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    mix-blend-mode: difference;
    color: white;
}

.side-nav-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0.8rem;
    text-align: right;
}

.side-nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.side-nav-link.active::before {
    content: '•';
    position: absolute;
    left: -0.2rem;
    top: 0;
    font-size: 1rem;
}

/* Scroll Container */
.scroll-container {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    min-height: 100vh; /* Fallback */
    overflow-y: auto;
    position: relative;
    /* Mobile scroll improvements */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
    overscroll-behavior-x: none;
    /* Prevent elastic bounce on mobile */
    overscroll-behavior: none;
}

/* Section Base Styles with Bouncing Animation Support */
.section {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    min-height: 100vh; /* Fallback */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.section-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transform-origin: center;
    will-change: transform, opacity;
}

/* Enhanced transition for bouncing */
.section.transitioning .section-content {
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                opacity 0.4s ease-out;
}

/* Bouncing keyframes for fallback */
@keyframes sectionBounce {
    0% {
        transform: scale(0.95) translateY(20px);
        opacity: 0.7;
    }
    40% {
        transform: scale(1.03) translateY(-8px);
        opacity: 0.9;
    }
    70% {
        transform: scale(0.98) translateY(3px);
        opacity: 0.95;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.section-bounce {
    animation: sectionBounce 0.65s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Enhanced bouncing with shadow effects */
.section.transitioning .brand-container {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.section.transitioning .about-content,
.section.transitioning .contact-content {
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
}

.section.transitioning .carousel-container {
    filter: drop-shadow(0 20px 40px rgba(22, 22, 23, 0.3));
}

/* Landing Section */
#landing {
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.landing-content {
    text-align: center;
    z-index: 1;
    mix-blend-mode: difference;
}

.brand-name {
    font-size: clamp(4rem, 8vw, 10rem);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: rgb(255, 255, 255);
    transition: all 0.5s ease;
    cursor: default;
    line-height: 0.9;
}

.brand-details {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 1);
    transition: all 0.5s ease;
    cursor: default;
    margin-top: 0.2rem;
}

/* About Section */
#about {
    background: rgb(245, 245, 247);
    color: rgb(22, 22, 23);
    padding: 0 0 2rem 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: 2rem;
}

.about-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: rgb(22, 22, 23);
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: normal;
}

.about-intro {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: rgb(22, 22, 23);
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: normal;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(22, 22, 23, 0.8);
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: normal;
}

.skills,
.equipment {
    margin-bottom: 2rem;
}

.skills h3,
.equipment h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: rgb(22, 22, 23);
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: normal;
}

.skill-tags {
    padding-top: 0.5rem;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.0);
    color: #585858;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.equipment ul {
    list-style: none;
}

.equipment li {
    padding: 0.5rem 0;
    color: #2f2f2f;
    position: relative;
    padding-left: 1.5rem;
}

.equipment li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #ff6b6b;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.2), rgba(0, 0, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover .image-overlay {
    opacity: 1;
}

/* Contact Section */
#contact {
    background: rgb(245, 245, 247);
    color: rgb(22, 22, 23);
}

.contact-content {
    text-align: center;
}

.contact-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgb(22, 22, 23);
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: normal;
}

.contact-intro {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: rgba(22, 22, 23, 0.8);
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: normal;
}

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.contact-item p {
    font-size: 10pt !important;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.contact-item i {
    font-size: 2rem;
    color: rgb(22, 22, 23);
    width: 3rem;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: rgb(22, 22, 23);
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: normal;
}

.contact-item p {
    color: rgba(22, 22, 23, 0.6);
    font-size: 1.1rem;
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: normal;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(22, 22, 23, 0.1);
    border: 2px solid rgba(22, 22, 23, 0.3);
    border-radius: 50%;
    color: rgb(22, 22, 23);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgb(22, 22, 23);
    color: rgb(245, 245, 247);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(22, 22, 23, 0.2);
}

/* Contact Footer */
.contact-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 0 10px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-footer p {
    color: rgba(22, 22, 23, 0.6);
    font-size: 0.9rem;
    margin: 0.5rem 0;
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: normal;
}

/* Gallery Section */
#gallery {
    background: rgb(22, 22, 23);
    color: rgb(245, 245, 247);
}

#gallery .gallery-title {
    position: absolute;
    font-size: 2rem;
    bottom: 1rem;
    left: 2rem;
}

#gallery .container {
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    min-height: 100vh; /* Fallback */
    padding-top: 5rem;
}

#gallery h2 {
    font-size: 3rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 1rem;
    color: rgb(245, 245, 247);
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: normal;
}

.gallery-intro {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: rgba(245, 245, 247, 0.8);
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: normal;
}

.carousel-container {
    width: 100vw;
    margin: 0 auto;
    text-align: center;
}

.carousel {
    position: relative;
    width: 100vw;
    height: 65vh;
    height: 65dvh; /* Dynamic viewport height for mobile */
    min-height: 65vh; /* Fallback */
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
    z-index: 1;
    position: relative;
}

/* Video container for custom controls */
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Custom play button overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

/* Hide play overlay when video is playing */
.video-container.playing .video-play-overlay {
    opacity: 0;
    pointer-events: none;
}

/* Play button styling */
.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.play-button i {
    font-size: 24px;
    color: #333;
    margin-left: 3px; /* Adjust for visual centering */
}

/* Loading overlay */
.video-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-loading-overlay.show {
    opacity: 1;
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fullscreen button */
.fullscreen-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.fullscreen-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.fullscreen-button i {
    font-size: 18px;
    color: white;
}

/* Show fullscreen button when video is playing */
.video-container.playing .fullscreen-button {
    opacity: 1;
}

/* Also show on hover for better discoverability */
.video-container:hover .fullscreen-button {
    opacity: 0.8;
}

/* Video controls for mobile */
@media (max-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 18px;
    }
    
    .loading-spinner {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }
    
    .fullscreen-button {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
    
    .fullscreen-button i {
        font-size: 14px;
    }
}

.carousel-info {
    margin-bottom: 0.5rem;
}

.carousel-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: rgb(245, 245, 247);
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: normal;
}

.carousel-subtitle {
    font-size: 1.1rem;
    color: rgba(245, 245, 247, 0.7);
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: normal;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(245, 245, 247, 0.3);
}

.dot.active {
    background: rgb(245, 245, 247);
    transform: scale(1.2);
}

/* Stagger animation for child elements */
@keyframes staggerIn {
    0% {
        transform: translateY(15px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.stagger-in {
    animation: staggerIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile viewport fixes using custom properties */
    html {
        height: auto; /* Changed from fixed height to auto for scrolling */
        min-height: 100vh;
        overflow: auto; /* Allow normal scrolling on mobile */
    }
    
    body {
        height: auto; /* Changed from fixed height to auto for scrolling */
        min-height: 100vh;
        overflow: auto; /* Allow normal scrolling on mobile */
        position: relative; /* Changed from fixed to allow scrolling */
        width: 100%;
        touch-action: pan-y;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        /* Enhanced mobile overscroll prevention */
        overscroll-behavior: none;
        overscroll-behavior-x: none;
        overscroll-behavior-y: none;
        /* Prevent rubber band scrolling on iOS */
        -webkit-overflow-scrolling: touch;
    }
    
    /* Ensure sections fill mobile viewport properly but allow natural scrolling */
    .section {
        min-height: 100vh; /* Use min-height instead of fixed height */
        height: auto; /* Allow content to determine height */
    }
    
    .scroll-container {
        height: auto; /* Allow natural scrolling */
        min-height: 100vh;
        overflow-y: visible; /* Enable natural scrolling */
    }
    .about-text h3 {
        font-size: 15pt;
    }
    .about-text p {
        font-size: 10pt;
    }

    .skill-tag {
        padding: 0.2rem 0.2rem;
        font-size: 9pt;
    }
    /* Gallery mobile fixes */
    #gallery .container {
        height: auto; /* Allow natural height */
        min-height: 100vh;
        padding-top: 3rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .carousel {
        height: 60vh;
        height: 60dvh;
        min-height: 300px;
    }
    
    .carousel-container {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: auto; /* Allow natural height */
    }
    
    .carousel-info {
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    
    .carousel-dots {
        margin-top: 1rem;
        padding: 0 1rem;
    }
    
    /* Landing section mobile adjustments */
    .landing-content {
        padding: 0 1rem;
        height: auto; /* Allow natural height */
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    /* About section mobile adjustments */
    .about-content {
        padding: 2rem 1rem;
        height: auto; /* Allow natural height */
        overflow-y: visible; /* Allow natural scrolling */
    }
    
    /* Contact section mobile adjustments */
    .contact-content {
        padding: 2rem 1rem;
        height: auto; /* Allow natural height */
        overflow-y: visible; /* Allow natural scrolling */
    }
    
    /* Hide side navigation on mobile */
    .side-nav {
        display: none;
    }
    
    .brand-name {
        font-size: clamp(3rem, 10vw, 6rem);
        letter-spacing: 4px;
        line-height: 0.85;
    }
    
    .brand-details {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .contact-item {
        width:100%;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .gallery-title {
        visibility: hidden;
    }
}

/* Medium screens and smaller tablets */
@media (max-width: 1024px) {
    .side-nav {
        right: 2rem;
        gap: 0.8rem;
    }
    
    .side-nav-link {
        font-size: 0.85rem;
    }
}

/* Small screens and mobile devices */
@media (max-width: 900px) {
    /* Completely hide navigation */
    .side-nav {
        display: none !important;
    }

    .brand-name {
        font-size: clamp(2.5rem, 12vw, 5rem);
        letter-spacing: 2px;
    }
    
    /* Adjust about section for mobile */
    .about-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
}

/* Mobile swipe indicator */
@media (max-width: 768px) {
    /* Ensure proper safe area handling for devices with notches */
    html {
        padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    }
    
    body {
        /* Additional safe area padding */
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .section {
        /* Account for safe areas */
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
        box-sizing: border-box;
    }
    
    .mobile-swipe-hint {
        position: fixed;
        bottom: calc(2rem + env(safe-area-inset-bottom));
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.8rem;
        text-align: center;
        z-index: 1000;
        mix-blend-mode: difference;
        pointer-events: none;
        animation: fadeInOut 3s ease-in-out infinite;
    }
    
    @keyframes fadeInOut {
        0%, 100% { opacity: 0; }
        50% { opacity: 1; }
    }
    
    /* Hide hint after user interaction */
    .mobile-swipe-hint.hidden {
        display: none;
    }
}

/* iPhone 12/13/14 specific adjustments */
@media screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) {
    .section {
        min-height: 100vh;
        height: auto; /* Allow natural height */
    }
    
    .scroll-container {
        height: auto;
        min-height: 100vh;
    }
    
    .carousel {
        height: 55vh;
        height: 55dvh;
        min-height: 280px;
    }
}

/* iPhone 12 Pro Max / 13 Pro Max / 14 Plus specific adjustments */
@media screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) {
    .section {
        min-height: 100vh;
        height: auto; /* Allow natural height */
    }
    
    .scroll-container {
        height: auto;
        min-height: 100vh;
    }
    
    .carousel {
        height: 58vh;
        height: 58dvh;
        min-height: 300px;
    }
}

/* General fix for webkit mobile browsers */
@supports (-webkit-appearance: none) {
    @media (max-width: 768px) {
        .section {
            min-height: -webkit-fill-available;
        }
        
        .scroll-container {
            min-height: -webkit-fill-available;
        }
        
        .carousel {
            min-height: 250px;
        }
    }
}

.section h2 {
    font-size: 2rem;
}

/* Sound indicator for video interaction */
.sound-indicator {
    font-family: Arial, sans-serif;
    user-select: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sound-indicator i {
    color: white;
    font-size: 16px;
}

/* Mobile native scrolling - enable natural scroll behavior on mobile */
@media (max-width: 768px) {
    html {
        overflow: auto; /* Allow scrolling on mobile */
    }
    
    .scroll-container {
        /* Remove height restrictions for natural scrolling */
        height: auto;
        min-height: 100vh;
        overflow-y: visible; /* Allow natural scrolling */
    }
    
    .section {
        /* Ensure sections are properly sized for mobile scrolling */
        min-height: 100vh;
        height: auto; /* Allow content to determine height */
    }
}

/* Desktop-only discrete scrolling with smooth behavior */
@media (min-width: 769px) {
    html {
        scroll-behavior: auto;
        overflow: hidden; /* Maintain discrete scrolling on desktop */
    }
    
    .scroll-container {
        scroll-behavior: auto;
        height: 100vh;
        overflow-y: auto;
    }
    
    .section {
        height: 100vh; /* Fixed height for discrete scrolling */
    }
}

