/* ==========================================================================
   MINIMALIST SINGLE PAGE PORTFOLIO
   ========================================================================== */

:root {
    --bg-dark: #08080a;
    --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", sans-serif;
    --text-primary: #ffffff;
    --text-secondary: #8e8e93;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-apple);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* AMBIENT LIGHT ORBS & FLOATING 3D ELEMENTS */
.ambient-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.light-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 50%, transparent 70%);
    filter: blur(80px);
}

.orb-1 { 
    width: 700px; 
    height: 700px; 
    top: -200px; 
    right: -150px; 
}

.orb-2 { width: 800px; height: 800px; bottom: -200px; left: -200px; }
.orb-3 { width: 500px; height: 500px; top: 40%; left: 50%; transform: translate(-50%, -50%); }

/* FLOATING 3D GLASS OBJECTS */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.float-item {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    opacity: 0.6;
}

.float-film-reel {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    top: 15%;
    left: 8%;
    filter: blur(4px);
    animation: floatSlow 12s ease-in-out infinite;
}

.float-film-reel::after {
    content: '';
    position: absolute;
    inset: 25px;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.float-prism {
    width: 140px;
    height: 140px;
    border-radius: 24px;
    top: 45%;
    right: 6%;
    filter: blur(8px);
    transform: rotate(15deg);
    animation: floatReverse 15s ease-in-out infinite;
}

.float-orb-glass {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    bottom: 20%;
    left: 12%;
    filter: blur(2px);
    animation: floatSlow 10s ease-in-out infinite 2s;
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(5deg);
    }
}

@keyframes floatReverse {
    0%, 100% {
        transform: translateY(0px) rotate(15deg);
    }
    50% {
        transform: translateY(30px) rotate(-10deg);
    }
}

/* HEADER WITH MOBILE BURGER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    background: rgba(8, 8, 10, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    height: 32px;
    text-decoration: none;
    z-index: 1002;
}

.header-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.25s ease;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* HAMBURGER BUTTON */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
}

.burger-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* HERO SECTION & STATUS BADGE */
.hero {
    padding-top: 140px;
    padding-bottom: 40px;
    text-align: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #98989e;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    animation: pulseDot 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulseDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.85);
    }
}

.status-text {
    font-size: 13px;
    font-weight: 500;
    color: #e1e1e6;
    letter-spacing: -0.01em;
}

.hero-title-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
}

.hero-title-img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: screen;
}

.hero-subtitle {
    margin-top: 16px;
    font-size: 15px;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
    padding: 0 16px;
}

/* PORTFOLIO CONTENT & LAYOUT */
.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 120px 24px;
    position: relative; 
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.category-section {
    scroll-margin-top: 100px;
    width: 100%;
}

.format-view {
    display: none;
    width: 100%;
}

.format-view.active {
    display: block;
}

/* PORTFOLIO HEADERS & TABS */
.portfolio-header {
    margin-bottom: 32px;
}

.portfolio-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.portfolio-header h2 { 
    font-size: 38px; 
    font-weight: 700; 
    letter-spacing: -0.03em;
    margin-bottom: 8px; 
}

.portfolio-desc { 
    color: var(--text-secondary); 
    font-size: 15px; 
    margin-bottom: 24px;
}

.format-tabs {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.format-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.format-btn.active {
    background: #ffffff;
    color: #000000;
    font-weight: 600;
}

/* SWIPER CONTAINER */
.swiper-outer-wrapper {
    position: relative;
    width: 100%;
}

.swiper { 
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 20px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
}

.swiper-slide {
    flex-shrink: 0 !important;
    height: auto !important;
}

/* VIDEO CARDS */
.video-container {
    width: 100%;
    position: relative;
    background: #121214;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.video-container:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.video-container.horizontal { padding-bottom: 56.25%; }
.video-container.vertical { padding-bottom: 177.78%; }

.video-container iframe {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    border: none;
}

/* POSTER AND PLAY BUTTON */
.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.play-btn {
    width: 64px;
    height: 44px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
    pointer-events: none;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #ffffff;
}

.video-container:hover .play-btn {
    background: rgba(255, 0, 0, 0.9);
    border-color: rgba(255, 0, 0, 0.9);
    transform: scale(1.1);
}

/* NAVIGATION & PAGINATION */
.swiper-button-next, 
.swiper-button-prev {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: all 0.2s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.18) !important;
}

.swiper-button-prev { left: -22px !important; }
.swiper-button-next { right: -22px !important; }

.swiper-button-next:after, 
.swiper-button-prev:after { font-size: 14px !important; font-weight: 600; }

.custom-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.custom-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.2) !important;
    opacity: 1 !important;
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    transition: all 0.25s ease !important;
    cursor: pointer;
}

.custom-pagination .swiper-pagination-bullet-active {
    background: #ffffff !important;
    width: 24px !important;
    border-radius: 999px !important;
}

/* FOOTER / CONTACT SECTION */
.footer-contact {
    position: relative;
    z-index: 2;
    padding: 100px 24px 40px 24px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
}

.footer-avatar-wrapper {
    width: 96px;
    height: 96px;
    margin: 0 auto 24px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-avatar-fallback {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.footer-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.footer-buttons-wrapper {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

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

.whatsapp-btn:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.3);
}

.footer-direct-contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.direct-contact-item {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.direct-contact-item:hover {
    color: var(--text-primary);
}

.contact-separator {
    color: var(--text-secondary);
    font-size: 12px;
    opacity: 0.5;
}

.footer-divider {
    max-width: 1200px;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 auto 28px auto;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal-links a {
    color: var(--text-secondary);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--text-primary);
}

.legal-separator {
    color: var(--text-secondary);
    font-size: 10px;
    opacity: 0.4;
}

/* MOBILE ADAPTATION */
@media (max-width: 768px) {
    .orb-1 {
        width: 300px;
        height: 300px;
        top: -80px;
        right: -100px;
        opacity: 0.4;
    }

    .floating-elements {
        display: none;
    }

    .hero {
        padding-top: 90px;
        padding-bottom: 40px;
        text-align: center;
    }

    .status-badge {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 6px 18px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 999px;
        margin-bottom: 2px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    }

    .hero-subtitle {
        margin-top: 12px;
        font-size: 14px;
    }

    .burger-btn {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(8, 8, 10, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
    }

    .header-nav.active {
        right: 0;
    }

    .nav-link {
        font-size: 22px;
        font-weight: 600;
    }

    .portfolio-header h2 { font-size: 28px; }
    
    .footer-title {
        font-size: 28px;
    }

    .footer-bottom {
        font-size: 12px;
    }

    .swiper-button-next, 
    .swiper-button-prev { 
        display: none !important; 
    }
}
