/* ==========================================================================
   BAHJA ASHKIR - DESIGN PORTFOLIO STYLES
   100% Cohesive Design System with https://bahjaashkir.com/
   ========================================================================== */

:root {
    --bg-color: #f4f6f9;
    --card-bg: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #5e5e70;
    --accent-cyan: #00bfcc;
    --accent-purple: #9d00ff;
    --accent-gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects (Exact from bahjaashkir.com) */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBvcGFjaXR5PSIwLjAzIi8+PC9zdmc+');
    pointer-events: none;
    z-index: 1000;
    opacity: 0.6;
    mix-blend-mode: multiply;
}

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 191, 204, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: left 0.1s ease, top 0.1s ease;
}

/* Typography & Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.dark-bg {
    background-color: #e8ecf2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* Navigation (100% Cohesive) */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(244, 246, 249, 0.85);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo .dot {
    color: var(--accent-cyan);
}

.logo-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-purple);
    background: rgba(157, 0, 255, 0.08);
    border: 1px solid rgba(157, 0, 255, 0.2);
    border-radius: 50px;
    padding: 0.2rem 0.6rem;
    margin-left: 0.5rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links .cta-button {
    padding: 0.6rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--accent-cyan);
    transition: all 0.3s ease;
}

.nav-links .cta-button:hover {
    background: rgba(0, 191, 204, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 191, 204, 0.2);
}

.portal-link {
    color: var(--accent-purple) !important;
    font-weight: 600 !important;
}

.portal-link:hover {
    color: var(--accent-cyan) !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem 2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    z-index: 99;
}

.mobile-drawer.active {
    display: block;
}

.mobile-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-link {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.mobile-link.highlight {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* Hero Section (Exact matching layout from bahjaashkir.com) */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(189, 0, 255, 0.1);
    border: 1px solid rgba(189, 0, 255, 0.3);
    color: var(--accent-purple);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-section h1 {
    font-size: 4.2rem;
    line-height: 1.12;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.primary-btn {
    padding: 1rem 2rem;
    background: var(--accent-gradient);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 191, 204, 0.2);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 191, 204, 0.3);
}

.secondary-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: var(--text-primary) !important;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--text-primary);
}

/* Floating Hero Visual Card */
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-card-stack {
    position: relative;
    width: 440px;
    animation: float 8s infinite ease-in-out;
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(157, 0, 255, 0.15), 0 0 30px rgba(0, 191, 204, 0.1);
    display: block;
    border: 1px solid var(--glass-border);
}

.hero-caption-card {
    position: absolute;
    bottom: -20px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.caption-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-purple);
    font-weight: 700;
}

.caption-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0.2rem 0;
}

.caption-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-16px);
    }
}

/* Disciplines Section (Exact project-card from bahjaashkir.com) */
.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px -10px rgba(0, 191, 204, 0.08);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px -10px rgba(0, 191, 204, 0.2), 0 0 20px rgba(189, 0, 255, 0.1);
}

.card-header {
    margin-bottom: 1.5rem;
}

.tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-cyan);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.project-card h3 {
    font-size: 1.4rem;
    line-height: 1.3;
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
    flex-grow: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-stack span {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    color: var(--text-secondary);
}

/* Curated Gallery Section */
.filter-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn .count {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    color: var(--text-secondary);
}

.filter-btn:hover {
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 191, 204, 0.3);
}

.filter-btn.active .count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Gallery Masonry Grid */
.gallery-grid {
    columns: 3;
    column-gap: 2rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
}

.gallery-card img,
.gallery-card video {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-card {
    transform: translateY(-6px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px -10px rgba(0, 191, 204, 0.2), 0 0 20px rgba(189, 0, 255, 0.1);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.04);
}

/* Hover Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    padding: 2rem 1.6rem 1.6rem;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0.45) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin: 0.2rem 0;
}

.card-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.view-prompt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Video Card Play Indicator */
.video-card {
    background: #000;
}

.play-btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    font-size: 1.2rem;
    padding-left: 3px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .play-btn-circle {
    background: var(--accent-gradient);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.12);
}

.gallery-item.hidden {
    display: none !important;
}

/* Philosophy Section (Cohesive with About Me in bahjaashkir.com) */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.philosophy-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px -10px rgba(0, 191, 204, 0.08);
}

.philosophy-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
}

.philosophy-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.author-tag {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--accent-purple);
}

.philosophy-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 10px 40px -10px rgba(0, 191, 204, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
}

.stat-card i {
    font-size: 2rem;
    color: var(--accent-purple);
    margin-bottom: 0.8rem;
}

.stat-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* Contact Section (Exact from bahjaashkir.com) */
.contact-section {
    text-align: center;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    width: 250px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 191, 204, 0.2);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--accent-cyan);
}

.contact-card span {
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-card.highlight-card i {
    color: var(--accent-purple);
}

.contact-card.highlight-card:hover {
    border-color: var(--accent-purple);
}

/* Footer (Exact from bahjaashkir.com) */
.main-footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 18, 28, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: scale(1.1);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 2002;
}

.lightbox-nav:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev { left: 2rem; }
.lightbox-nav.next { right: 2rem; }

.lightbox-content {
    display: flex;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    max-height: 84vh;
    max-width: 1180px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
    z-index: 2001;
}

.lightbox-media-wrap {
    flex: 1 1 65%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    max-height: 84vh;
}

.lightbox-media-wrap img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-info {
    flex: 1 1 35%;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    max-height: 84vh;
    overflow-y: auto;
    background: #ffffff;
}

.lightbox-tag {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent-purple);
    background: rgba(157, 0, 255, 0.08);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.lightbox-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.lightbox-medium {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.lightbox-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 18, 28, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: scale(1.1);
}

.video-modal-content {
    width: 900px;
    max-width: 90vw;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
    z-index: 2001;
}

.video-modal-content video {
    width: 100%;
    max-height: 70vh;
    display: block;
    background: #000;
}

.video-modal-info {
    padding: 1.8rem 2.2rem;
}

.video-modal-info h3 {
    font-size: 1.35rem;
    margin-bottom: 0.3rem;
}

.video-modal-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Responsive Media Queries (Exact from bahjaashkir.com) */
@media (max-width: 1024px) {
    .gallery-grid {
        columns: 2;
    }

    .hero-section {
        flex-direction: column;
        justify-content: center;
        padding-top: 140px;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-card-stack {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-content {
        flex-direction: column;
        max-height: 88vh;
        overflow-y: auto;
    }

    .lightbox-media-wrap {
        max-height: 50vh;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .gallery-grid {
        columns: 1;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 320px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-nav.prev { left: 0.5rem; }
    .lightbox-nav.next { right: 0.5rem; }

    .lightbox-close, .video-modal-close {
        top: 1rem;
        right: 1rem;
    }
}
