@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
    --bg-dark: #050505;
    --sidebar-bg: #0a0a0c;
    --card-bg: #0f1015;
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #f3f4f6;
    --text-muted: #888888;
    --accent-gold: #d97706;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

.split-container {
    display: flex;
    min-height: 100vh;
}

/* ==========================================
   DESKTOP SIDEBAR
   ========================================== */
.sidebar {
    width: 300px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    padding: 40px 30px;
    z-index: 100;
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.sidebar-logo {
    max-width: 140px;
    height: auto;
    margin-bottom: 20px;
}

.profile-info h1 {
    font-size: 1.4rem;
    font-weight: 700;
}

.profile-info .subtitle {
    color: var(--accent-gold);
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    margin-top: 4px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 40px 0;
}

.sidebar-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
}

.sidebar-nav a:hover {
    color: var(--text-main);
}

.sidebar-footer .socials {
    display: flex;
    gap: 16px;
    margin-bottom: 15px;
}

.sidebar-footer .socials a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.sidebar-footer .socials a:hover {
    color: var(--accent-gold);
}

.sidebar-footer p {
    color: #444444;
    font-size: 0.75rem;
}

/* ==========================================
   MAIN CONTENT & SECTIONS
   ========================================== */
.main-content {
    margin-left: 300px;
    flex: 1;
    padding: 50px 60px;
}

.content-block {
    margin-bottom: 60px;
}

.block-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.section-intro, .section-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 01. SHOWREEL */
.reel-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.video-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #000;
}

.video-container video {
    width: 100%;
    display: block;
    max-height: 520px;
}

.reel-card h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.reel-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================
   02. CINEMATOGRAPHY VIDEO SLIDER
   ========================================== */
.video-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #000000;
    padding: 20px;
}

.video-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    transform: translateX(0px);
}

.video-item.slide {
    min-width: 100%;
    width: 100%;
    background: #121212;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    flex-shrink: 0;
}

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.video-header h3 {
    font-size: 1.25rem;
}

.project-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 2px;
}

.badge {
    background: rgba(217, 119, 6, 0.15);
    color: var(--accent-gold);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: 'Space Mono', monospace;
    white-space: nowrap;
    display: inline-block;
}


.preview-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-wrapper:hover .preview-thumb {
    opacity: 1;
    transform: scale(1.02);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.video-wrapper:hover .play-overlay {
    background: var(--accent-gold);
    transform: translate(-50%, -50%) scale(1.1);
}

.tech-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.tech-specs span {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 4px 8px;
    border-radius: 4px;
}

/* SLIDER CONTROLS */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: #ffffff;
    color: #000000;
}

.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dots .dot.active {
    background: #ffffff;
}

/* ==========================================
   03. EVENT PHOTOGRAPHY GRID
   ========================================== */
.photo-grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.photo-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.photo-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
}

.photo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.photo-info {
    padding: 16px;
}

.photo-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.photo-info .tech-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* 04. CONTACT */
.quote-notice {
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.2);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-main);
}

.direct-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.location-tag {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 10px;
}

/* ==========================================
   MODAL LIGHTBOXES (VIDEO & IMAGE)
   ========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(8px);
    z-index: 4000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    position: relative;
}

.modal-content h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.modal-video-container {
    width: 100%;
    max-height: 70vh;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.modal-video-container video {
    width: 100%;
    max-height: 70vh;
    display: block;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
}

.close-btn:hover {
    color: var(--accent-gold);
}

/* IMAGE LIGHTBOX MODAL SPECIFIC */
.img-modal-content {
    max-width: 85vw;
    max-height: 80vh;
    text-align: center;
}

.img-modal-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.img-caption {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'Space Mono', monospace;
}

.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 16, 21, 0.8);
    border: 1px solid var(--border-color);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.modal-arrow:hover {
    border-color: var(--accent-gold);
    background: var(--accent-gold);
}

.modal-arrow.prev { left: 25px; }
.modal-arrow.next { right: 25px; }

/* GURUSHOTS IKON */
.socials a.gurushots-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.socials .gurushots-icon {
    width: 1.1em;
    height: 1.1em;
    object-fit: contain;
    vertical-align: middle;
    filter: opacity(0.6) grayscale(100%);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.socials a.gurushots-link:hover .gurushots-icon {
    filter: opacity(1) brightness(2) grayscale(0%);
    transform: scale(1.1);
}

/* REJTETT ELEMEK DESKTOPON */
.mobile-top-header,
.mobile-footer,
.mobile-menu-btn {
    display: none;
}

/* ==========================================
   MOBIL RESPONSIVE (768px ALATT)
   ========================================== */
@media (max-width: 768px) {

    .mobile-menu-btn {
        display: flex;
        position: fixed;
        top: 16px;
        right: 16px;
        z-index: 3000;
        background: #121318;
        color: #ffffff;
        border: 1px solid #232530;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        font-size: 1.2rem;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    }

    /* MODAL SIDEBAR (80% WIDTH, 100VH HEIGHT) */
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 80vw;
        height: 100vh;
        background-color: rgba(10, 10, 12, 0.98);
        backdrop-filter: blur(12px);
        border-right: 1px solid #232530;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
        z-index: 2500;
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        padding: 40px 20px;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .split-container {
        flex-direction: column;
    }

    .main-content {
        margin-left: 0 !important;
        padding: 20px 18px !important;
        width: 100%;
    }

    .mobile-top-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px 0 30px 0;
        width: 100%;
        text-align: center;
    }

    .mobile-top-header .mobile-logo {
        max-height: 48px;
        width: auto;
        margin-bottom: 8px;
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.08));
    }

    .mobile-top-header .mobile-tagline {
        font-family: 'Space Mono', monospace;
        font-size: 0.7rem;
        color: #666666;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .mobile-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 40px 0 20px 0;
        margin-top: 40px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        width: 100%;
    }

    .mobile-footer .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    .mobile-footer .footer-links a {
        color: #888888;
        text-decoration: none;
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .mobile-footer .copyright {
        color: #444444;
        font-size: 0.72rem;
    }

    .video-wrapper {
        height: 230px;
    }

    .video-slider-container {
        padding: 18px;
    }

    .modal-arrow {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .modal-arrow.prev { left: 8px; }
    .modal-arrow.next { right: 8px; }
}

/* FIX: Videó képarány és tartó konténer */
.video-wrapper {
    position: relative;
    width: 100%;
    height: auto; /* Fix height eltávolítva */
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover; /* Kitölti a keretet arányos vágással, torzulás nélkül */
    background: #000000;
}

/* SLIDER TRACK CONTAINER FIX */
.video-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #000000;
    padding: 20px;
}

.video-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.video-item.slide {
    min-width: 100%;
    width: 100%;
    background: #121212;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    flex-shrink: 0;
}

/* GURUSHOTS IKON STÍLUS A SIDEBAR-BAN */
.socials a.gurushots-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.socials .gurushots-icon {
    width: 1.1em;
    height: 1.1em;
    object-fit: contain;
    filter: opacity(0.6) grayscale(100%);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.socials a.gurushots-link:hover .gurushots-icon {
    filter: opacity(1) brightness(2) grayscale(0%);
    transform: scale(1.1);
}