/* ============================================
   COLE AMICK ~ GLASS SCULPTURE
   modern / smooth / elegant
   ============================================ */

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

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 15px;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
    overflow-x: hidden;
}

a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    color: #fff;
}

.container {
    height: 100%;
}

/* Full-page sections with scroll snap */
.page-section {
    height: 100vh;
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Hero doesn't need scroll-margin since content is centered */
.hero-section {
    scroll-margin-top: 0;
}

/* Gallery/content sections need offset to account for fixed header */
.gallery-section,
.instagram-section,
.contact-section {
    scroll-margin-top: 150px;
}

.page-section .section-content {
    max-width: 800px;
    width: 100%;
    padding: 2rem;
    animation: sectionFadeIn 0.8s ease-out;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section scroll indicators */
.section-nav-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

.nav-dot.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: #fff;
    transform: scale(1.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header - Fixed at top */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    z-index: 100;
    background: linear-gradient(to bottom, 
        rgba(10, 10, 10, 0.95) 0%, 
        rgba(10, 10, 10, 0.8) 60%,
        transparent 100%);
    pointer-events: none;
}

header * {
    pointer-events: auto;
}

header h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.75rem;
}

.tagline {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

nav {
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

nav a {
    color: rgba(255, 255, 255, 0.4);
    padding: 0.5rem 0;
    position: relative;
    touch-action: manipulation; /* Improve mobile touch response */
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.3s ease;
}

nav a:hover {
    color: rgba(255, 255, 255, 0.9);
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: #fff;
}

nav a.active::after {
    width: 100%;
    background: #fff;
}

.sep {
    color: rgba(255, 255, 255, 0.15);
    margin: 0 1.25rem;
}

/* Hero Section */
.hero-section {
    background: #0a0a0a;
}

.hero-section .hero-inner {
    text-align: center;
    padding-top: 6rem;
}

.hero-section .hero-image {
    max-width: 90%;
    max-height: 55vh;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.95);
    animation: heroImageIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes heroImageIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

.scroll-hint span {
    color: rgba(255, 255, 255, 0.25);
    font-size: 1.5rem;
    display: block;
}

.scroll-hint-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: translateX(-50%) translateY(8px);
        opacity: 0.8;
    }
}

/* Main Content - now just a container */
main {
    /* No longer needed as sections handle their own layout */
}

/* Content sections */
section {
    margin-bottom: 5rem;
}

section:last-child {
    margin-bottom: 0;
}

/* Hidden content toggle */
.hidden {
    display: none;
}

h2 {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Work Items */
.work {
    margin-bottom: 3.5rem;
    animation: fadeIn 0.6s ease-out both;
    transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.4s ease, margin 0.4s ease;
    max-height: 1000px;
    overflow: hidden;
}

.work.filtered-out {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
    pointer-events: none;
}

.work:last-child {
    margin-bottom: 0;
}

.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 1rem;
    background: #111;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.video-wrap iframe,
.video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

/* Instagram Embeds */
.instagram-wrap {
    max-width: 400px;
    margin: 0 auto 1rem;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.instagram-wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.instagram-wrap iframe {
    width: 100%;
    min-height: 500px;
    border: none;
    background: #111;
}

.work-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 300;
    transition: color 0.3s ease;
}

.work:hover .work-title {
    color: rgba(255, 255, 255, 0.8);
}

.note {
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    font-weight: 300;
}

/* Available section placeholder */
.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

.coming-soon a {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.coming-soon a:hover {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Instagram alternate link (for blocked embeds) */
.instagram-alt {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.75rem;
}

.instagram-alt a {
    color: rgba(255, 255, 255, 0.25);
}

.instagram-alt a:hover {
    color: rgba(255, 255, 255, 0.6);
}

.instagram-link-wrap {
    text-align: center;
    margin-top: 3rem;
}

.instagram-link-wrap a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.instagram-link-wrap a:hover {
    color: #fff;
}

/* Contact */
#contact p {
    text-align: center;
    margin-bottom: 0.75rem;
    font-weight: 300;
}

#contact a {
    color: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

#contact a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Gallery Sections */
.gallery-section {
    background: #0a0a0a;
    padding-top: 10rem;
    justify-content: flex-start;
}

.gallery-section .gallery-inner {
    width: 100%;
    max-width: 1100px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.gallery-section .gallery-inner::-webkit-scrollbar {
    width: 6px;
}

.gallery-section .gallery-inner::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-section .gallery-inner::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* Legacy support - hidden if needed */
#gallery.hidden {
    display: none;
}

.gallery-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    animation: fadeIn 0.6s ease-out;
}

.gallery-section-title {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 0;
    margin: 0 auto;
    justify-content: center;
}

.grid-item {
    cursor: pointer;
    animation: gridFadeIn 0.6s ease-out both;
    width: 380px;
    flex-shrink: 0;
}

/* Single item in gallery gets hero-like treatment */
.grid-item:only-child {
    width: 90%;
    max-width: 800px;
}

@keyframes gridFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 6px;
    background: #111;
    margin-bottom: 0.75rem;
}

.grid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                filter 0.5s ease;
    filter: brightness(0.9) saturate(0.95);
}

.grid-item:hover .grid-thumb img {
    transform: scale(1.08);
    filter: brightness(1) saturate(1);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0) 50%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.grid-item:hover .grid-overlay {
    opacity: 1;
}

.grid-play-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s ease;
}

.grid-item:hover .grid-play-icon {
    transform: scale(1);
    background: rgba(255, 255, 255, 0.25);
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
}

.grid-title {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
    padding: 0 0.25rem;
}

.grid-item:hover .grid-title {
    color: rgba(255, 255, 255, 0.85);
}

.gallery-close {
    position: absolute;
    top: -1.5rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

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

/* Lightbox Modal */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.hidden {
    display: none;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1100px;
    z-index: 1;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1) translateY(0);
}

.lightbox-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.lightbox-video-wrap iframe,
.lightbox-video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.lightbox-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
    margin-top: 1.5rem;
    letter-spacing: 0.02em;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-prev span,
.lightbox-next span {
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.lightbox-prev span {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.lightbox-next span {
    transform: rotate(45deg);
    margin-right: 4px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

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

/* Mobile-friendly close button at bottom */
.lightbox-close-bottom {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.lightbox.active .lightbox-close-bottom {
    opacity: 1;
    visibility: visible;
    animation: closeHintPulse 2s ease-in-out infinite;
}

@keyframes closeHintPulse {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(3px);
    }
}

.lightbox-close-bottom:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.lightbox-close-bottom .close-hint-arrow {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    line-height: 1;
}

.lightbox-close-bottom .close-hint-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

/* Hide bottom close on desktop by default, show on mobile */
@media (min-width: 601px) {
    .lightbox-close-bottom {
        display: none;
    }
}

/* Contact Section */
.contact-section {
    background: #0a0a0a;
}

.contact-section .contact-inner {
    text-align: center;
}

.contact-location {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.contact-cta {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.contact-email {
    display: inline-block;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 3px;
    margin-bottom: 2.5rem;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-email:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.contact-social svg {
    width: 20px;
    height: 20px;
}

/* Standalone Contact Page */
.contact-page {
    min-height: calc(100vh - 4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.contact-page h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 3rem;
}

.contact-page .contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Instagram Section */
.instagram-section {
    background: #0a0a0a;
    padding-top: 10rem;
    justify-content: flex-start;
}

.instagram-section .instagram-inner {
    width: 100%;
    max-width: 800px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

/* Legacy contact content support */
#contact-content {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact-content.hidden {
    display: none;
}

/* Footer - now inside contact section */
footer {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-weight: 300;
}

/* Mobile */
@media (max-width: 600px) {
    html {
        /* Prevent overscroll bounce that can interfere with nav */
        overscroll-behavior: none;
        height: auto; /* Allow natural document height on mobile */
    }
    
    body {
        /* Ensure smooth scrolling on iOS */
        -webkit-overflow-scrolling: touch;
        height: auto; /* Allow body to grow on mobile */
    }
    
    .container {
        height: auto; /* Don't constrain container height on mobile */
    }
    
    header {
        padding: 1.5rem 1rem 1rem;
        pointer-events: auto; /* Enable touch on mobile header */
        background: rgba(10, 10, 10, 0.97); /* Solid background for reliable touch */
    }
    
    header h1 {
        font-size: 1.4rem;
        letter-spacing: 0.12em;
    }
    
    .tagline {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    nav {
        font-size: 0.75rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.25rem 0;
    }
    
    nav a {
        padding: 0.75rem 0.5rem; /* Larger touch targets on mobile */
        min-height: 44px; /* iOS recommended minimum touch target */
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    }
    
    .sep {
        margin: 0 0.25rem;
        padding: 0.75rem 0;
    }
    
    h2 {
        font-size: 0.7rem;
    }
    
    /* Page sections mobile */
    .page-section {
        /* Disable scroll-snap on mobile - it fights with touch scrolling */
        scroll-snap-align: none;
        scroll-snap-stop: normal;
        /* Allow natural height on mobile for better scrolling */
        min-height: 100vh;
        height: auto;
    }
    
    .page-section .section-content {
        padding: 1.5rem;
    }
    
    .hero-section .hero-inner {
        padding-top: 5rem;
    }
    
    .hero-section .hero-image {
        max-height: 45vh;
    }
    
    .scroll-hint {
        bottom: 2rem;
    }
    
    /* Nav dots - smaller and spaced on mobile */
    .section-nav-dots {
        right: 0.75rem;
        gap: 1.5rem; /* More breathing room between dots */
    }
    
    .nav-dot {
        width: 8px;
        height: 8px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
    }
    
    .nav-dot.active {
        transform: scale(1.1); /* Smaller scale on mobile */
    }
    
    /* Gallery sections mobile */
    .gallery-section,
    .instagram-section {
        padding-top: 8rem;
    }
    
    .gallery-section .gallery-inner,
    .instagram-section .instagram-inner {
        padding: 1rem;
    }
    
    /* Gallery grid mobile */
    .gallery-grid {
        gap: 0.75rem;
        padding: 0;
    }
    
    .grid-item {
        width: calc(50% - 0.375rem);
        min-width: 140px;
    }
    
    .grid-title {
        font-size: 0.75rem;
    }
    
    .grid-play-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    /* Lightbox mobile */
    .lightbox-content {
        width: 95%;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
    }
    
    .lightbox-prev {
        left: -8px;
    }
    
    .lightbox-next {
        right: -8px;
    }
    
    .lightbox-prev span,
    .lightbox-next span {
        width: 10px;
        height: 10px;
    }
    
    .lightbox-title {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    
    .lightbox-close {
        top: -50px;
        right: 0;
        font-size: 1.5rem;
        /* Larger touch target on mobile */
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Show bottom close button on mobile */
    .lightbox-close-bottom {
        display: flex;
    }
}

/* Larger screens - lightbox nav outside content */
@media (max-width: 1300px) {
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
}

/* Subtle selection color */
::selection {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}
