/* Fenzi - Lukáš Blažek | Filmař, Střihač, Fotograf */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000000;
    --secondary-black: #1a1a1a;
    --white: #ffffff;
    --accent-blue: #3B82F6;
    --accent-yellow: #FFD700;
    --gray-light: #cccccc;
    --gray-medium: #666666;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    background-color: transparent;
    backdrop-filter: blur(0px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
}


.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header.scrolled .logo {
    color: var(--primary-black);
}

.header.scrolled .nav-link {
    color: var(--primary-black);
}

.header.scrolled .nav-link:hover {
    color: var(--accent-blue);
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
    cursor: pointer;
    position: relative;
}

.logo img {
    height: 28px;
    width: auto;
    transition: var(--transition-smooth);
}

.logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 28px;
    background-image: url('../fotky/icons/lblogonav.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.header.scrolled .logo::after {
    opacity: 1;
}

.header.scrolled .logo img {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

/* Ensure anchor inherits bold weight */
.logo a { font-weight: inherit; }

.logo:hover {
    color: var(--accent-yellow);
}

.nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--accent-blue);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
    animation: fadeInUp 1s ease-out;
    overflow: hidden;
}
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}
.hero-bg-video video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: block;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(59, 130, 246, 0.1) 0%,
        transparent 25%,
        transparent 75%,
        rgba(255, 215, 0, 0.1) 100%
    );
    animation: gradientShift 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(
            45deg,
            rgba(59, 130, 246, 0.1) 0%,
            transparent 25%,
            transparent 75%,
            rgba(255, 215, 0, 0.1) 100%
        );
    }
    50% {
        background: linear-gradient(
            225deg,
            rgba(255, 215, 0, 0.15) 0%,
            transparent 25%,
            transparent 75%,
            rgba(59, 130, 246, 0.15) 100%
        );
    }
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--white);
    animation: elegantFadeIn 2s ease-out 0.3s both;
    position: relative;
}

@keyframes elegantFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
        letter-spacing: 0.05em;
    }
    60% {
        opacity: 0.8;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: -0.02em;
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    margin-bottom: 10px;
    color: var(--gray-light);
    animation: elegantSlideUp 1.8s ease-out 0.8s both;
}

.hero-location {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 300;
    color: var(--gray-medium);
    animation: elegantSlideUp 1.8s ease-out 1.2s both;
}

@keyframes elegantSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Projects Section */
.projects {
    padding: 40px 0 80px;
    width: 100%;
    margin: 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    text-align: center;
}

.projects.visible {
    opacity: 1;
    transform: translateY(0);
}

.projects .motto-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    margin-bottom: 60px;
    color: var(--accent-blue);
    text-align: center;
    letter-spacing: -0.01em;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 0px;
    padding: 0 20px;
}

.project-card {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--secondary-black);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 215, 0, 0.4);
}

.project-card:hover .project-video video,
.project-card:hover .project-video .project-gif {
    transform: scale(1.1);
}

.project-card:hover .project-overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

.project-card:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

.project-video {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-video .project-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    transform: translateY(0);
    opacity: 1;
    transition: var(--transition-smooth);
}

/* Behind-the-scenes gallery: uniform, responsive grid
   - 3 columns desktop, 2 columns tablet, 1 column mobile
   - images use aspect-ratio and object-fit: cover for consistent crop
*/
.behind-scenes .bts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 40px;
}
.behind-scenes .bts-item img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
}

@media (max-width: 1000px) {
    .behind-scenes .bts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .behind-scenes .bts-grid {
        grid-template-columns: 1fr;
    }
    .behind-scenes .bts-item img {
        aspect-ratio: 4 / 3;
    }
}

.project-title {
    font-family: 'Fjalla One', sans-serif;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 5px;
    color: var(--white);
}

.project-type {
    font-size: 14px;
    font-weight: 400;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about-section {
    padding: 60px 0;
    width: 100%;
    margin: 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.about-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: -50px;
    right: 10%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-yellow) 100%);
    border-radius: 50% 30% 60% 40%;
    opacity: 0.03;
    z-index: 1;
    animation: gentleFloat 8s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-background-shape {
    position: absolute;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-yellow) 100%);
    border-radius: 50% 30% 70% 40%;
    opacity: 0.1;
    animation: shapeFloat 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        border-radius: 50% 30% 70% 40%;
    }
    33% {
        transform: rotate(120deg) scale(1.05);
        border-radius: 30% 50% 40% 70%;
    }
    66% {
        transform: rotate(240deg) scale(0.95);
        border-radius: 70% 40% 50% 30%;
    }
}

.about-image img {
    width: 85%;
    height: auto;
    border-radius: 30px;
    object-fit: cover;
    aspect-ratio: 3/4;
    filter: grayscale(20%);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.about-text {
    padding: 20px 0;
    text-align: left;
    max-width: 900px;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-light);
    margin-bottom: 20px;
}

.about-text h2 {
    font-family: 'Fjalla One', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-text h3 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--white);
}

.about-details h4 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin: 30px 0 15px 0;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-details p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-light);
    margin-bottom: 20px;
}


.specialization-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.specialization-list li {
    padding: 8px 0;
    font-size: 1rem;
    color: var(--white);
    position: relative;
    padding-left: 20px;
}

    .specialization-list li:before {
        content: "▶";
        position: none;
        left: 0;
        color: var(--accent-blue);
        font-size: 0.8rem;
    }

    .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

.about-text {
    max-width: 480px;
    border-left: 2px solid var(--accent-blue);
    padding-left: 30px;
}

.about-text h2 {
    font-family: 'Fjalla One', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-text h3 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--white);
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-light);
    margin-bottom: 12px;
}

.about-details h4 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin: 28px 0 12px 0;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 6px;
}

.specialization-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.specialization-list li {
    font-size: 1rem;
    color: var(--white);
    position: static;
    padding-left: 0;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    filter: grayscale(15%);
    transition: var(--transition-smooth);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.about-image img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-text {
        border-left: none;
        padding-left: 0;
        max-width: 100%;
    }
    .specialization-list {
        justify-content: flex-start;
        gap: 8px 16px;
    }
    .about-image img {
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
}

    /* Services Section */
    .services-section {
        padding: 60px 0;
        background-color: var(--secondary-black);
        opacity: 0;
        transform: translateY(50px);
        transition: all 0.8s ease-out;
        width: 100%;
    }

    .services-section.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .services-content {
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
        padding: 0 20px;
    }

    .services-content h2 {
        font-family: 'Fjalla One', sans-serif;
        font-size: clamp(2.5rem, 5vw, 4rem);
        font-weight: 400;
        margin-bottom: 60px;
        color: var(--accent-blue);
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin-top: 60px;
    }

    .service-card {
        background-color: #1e1c1d;
        padding: 40px 30px;
        border-radius: 20px;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;
    }

    .service-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, var(--accent-blue), var(--accent-yellow));
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 1;
    }

    .service-card:hover::before {
        opacity: 0.05;
    }

    .service-card:hover {
        transform: translateY(-15px) scale(1.02);
        border-color: var(--accent-yellow);
        box-shadow: 0 25px 50px rgba(255, 215, 0, 0.25);
        background-color: rgba(255, 215, 0, 0.02);
    }

    .service-card > * {
        position: relative;
        z-index: 2;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 20px;
        transition: all 0.4s ease;
        color: var(--accent-blue);
    }

    .service-icon svg {
        width: 100%;
        height: 100%;
        stroke: currentColor;
    }

    .service-card:hover .service-icon {
        transform: scale(1.2) rotate(5deg);
        filter: drop-shadow(0 5px 15px rgba(59, 130, 246, 0.3));
        color: var(--accent-yellow);
    }

    .service-card h3 {
        font-family: 'Fjalla One', sans-serif;
        font-size: 1.5rem;
        font-weight: 400;
        margin-bottom: 15px;
        color: var(--white);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .service-card p {
        color: var(--gray-light);
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Responsive Services */
    @media (max-width: 768px) {
        .services-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        
        .service-card {
            padding: 30px 20px;
        }
    }

/* Section Dividers */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.section-divider.visible {
    opacity: 1;
    transform: translateY(0);
}

.divider-line {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    margin: 0 20px;
}

.divider-icon {
    width: 32px;
    height: 32px;
    color: var(--gray-medium);
    transition: all 0.4s ease;
}

.divider-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.section-divider:hover .divider-icon {
    color: var(--accent-yellow);
    transform: scale(1.2);
}

.section-divider:hover .divider-line {
    background: linear-gradient(90deg, transparent, var(--accent-yellow), transparent);
}/* Responsive About Section */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-image img {
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
    
    .about-text {
        text-align: left;
    }
}
.motto-section {
    padding: 100px 20px;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.motto-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.motto-content {
    max-width: 800px;
    margin: 0 auto;
}

.motto-text {
    font-family: 'Fjalla One', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    margin-bottom: 60px;
    color: var(--accent-yellow);
    opacity: 0.9;
    animation: fadeInUp 1s ease-out;
}

.motto-video {
    width: 300px;
    height: 400px;
    margin: 0 auto 40px;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--secondary-black);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.motto-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.profile-link {
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
}

.link-box {
    padding: 12px 24px;
    background-color: var(--white);
    color: var(--primary-black);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.link-box:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-black);
    transform: translateY(-2px);
}

/* Contact Popup */
.contact-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.contact-popup.show {
    display: flex;
}

.popup-content {
    background: var(--secondary-black);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    text-align: center;
    border: 2px solid var(--accent-blue);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.popup-close:hover {
    color: var(--accent-blue);
    transform: scale(1.1);
}

.popup-content h3 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    color: var(--accent-yellow);
    font-weight: 600;
    display: inline-block;
    width: 80px;
    text-align: left;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-item a:hover {
    color: var(--accent-blue);
}

.contact-item span {
    color: var(--gray-light);
}

.popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.popup-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
}

.popup-btn.primary {
    background-color: var(--accent-blue);
    color: var(--white);
}

.popup-btn.primary:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-black);
    transform: translateY(-2px);
}

.popup-btn.secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.popup-btn.secondary:hover {
    background-color: var(--white);
    color: var(--primary-black);
    transform: translateY(-2px);
}

/* Responsive popup */
@media (max-width: 480px) {
    .popup-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
    
    .contact-item strong {
        width: 100%;
        display: block;
        margin-bottom: 5px;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    padding: 30px 20px;
    border-top: 1px solid #222;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.footer.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-socials {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.footer-socials a {
    color: var(--gray-light);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-socials a:hover {
    color: var(--accent-blue);
}

.footer-socials svg {
    width: 20px;
    height: 20px;
}

/* Footer social icons: enforce outlined white (prevent accidental white fills) */
.footer-socials a[aria-label="Instagram"] svg,
.footer-socials a[aria-label="YouTube"] svg {
    color: var(--white) !important;
}
.footer-socials a[aria-label="Instagram"] svg *,
.footer-socials a[aria-label="YouTube"] svg * {
    fill: none !important;
    stroke: currentColor !important;
}

/* Force all footer social icons to white (override inline SVG fills/strokes) */
.footer-socials,
.footer-socials a,
.footer-socials svg,
.footer-socials img {
    color: var(--white) !important;
    stroke: var(--white) !important;
    fill: var(--white) !important;
}

/* For raster icons (PNG) force white using filter */
.footer-socials img {
    /* aggressive raster conversion to white (fallback for PNG icons) */
    filter: brightness(0) invert(1) !important;
    mix-blend-mode: normal !important;
}

/* Final fallback: ensure the anchor color is white too */
.footer-socials a { color: var(--white) !important; }

/* Also force any SVG child shapes to inherit white (covers inline fills/paths) */
.footer-socials svg * {
    stroke: var(--white) !important;
    fill: var(--white) !important;
}

/* Target common SVG shape elements too (extra specificity) */
.footer-socials a svg path,
.footer-socials a svg rect,
.footer-socials a svg circle,
.footer-socials a svg polygon,
.footer-socials a svg line {
    stroke: var(--white) !important;
    fill: var(--white) !important;
}

.footer-copy {
    font-size: 13px;
    color: var(--gray-medium);
}

.footer-copy a {
    color: var(--gray-medium) !important;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-copy a:hover {
    color: var(--white) !important;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-black);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-black);
    color: var(--white);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 15px 20px;
        z-index: 1000;
    }
    
    .nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .hero {
        padding: 0 20px;
    }
    
    .projects {
        padding: 60px 20px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .motto-section {
        padding: 80px 20px;
    }
    
    .motto-video {
        width: 250px;
        height: 320px;
    }
    
    .profile-links {
        flex-direction: column;
        align-items: center;
    }
    
    .footer {
        padding: 60px 20px 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        aspect-ratio: 1/1;
    }
    
    .motto-video {
        width: 200px;
        height: 280px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-black);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-yellow);
}

/* Project Detail Page Styles */
.project-main {
    padding-top: 80px;
}

/* Project Hero */
.project-hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    padding: 120px 40px 80px;
    text-align: center;
}

.project-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.project-title {
    font-family: 'Fjalla One', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--white);
    text-transform: uppercase;
}

.project-main-title {
    font-family: 'Fjalla One', sans-serif;
    font-size: clamp(2rem, 3vw, 2rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--white);
    text-transform: uppercase;
}

.project-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 300;
    color: var(--gray-light);
    margin-bottom: 30px;
}

.project-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--secondary-black);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid var(--gray-medium);
    transition: var(--transition-smooth);
}

.tag:hover {
    background-color: var(--white);
    color: var(--primary-black);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Trailer Section */
.trailer-section {
    padding: 80px 0;
    background-color: var(--primary-black);
}

.video-embed {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Behind the Scenes */
.behind-scenes {
    padding: 80px 0;
    background-color: var(--primary-black);
}

.bts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.bts-item {
    text-align: center;
}

.bts-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: var(--transition-smooth);
}

.bts-image:hover {
    transform: scale(1.05);
}

.bts-caption {
    color: var(--gray-light);
    font-size: 14px;
    font-style: italic;
}

/* Director's Note */
.directors-note {
    padding: 80px 0;
    background-color: var(--secondary-black);
}

.note-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.directors-quote {
    font-size: 24px;
    line-height: 1.6;
    color: var(--white);
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    padding: 0 40px;
}

.directors-quote::before {
    content: '"';
    font-size: 80px;
    color: var(--gray-medium);
    position: absolute;
    top: -20px;
    left: 0;
    font-family: serif;
}

.directors-quote::after {
    content: '"';
    font-size: 80px;
    color: var(--gray-medium);
    position: absolute;
    bottom: -60px;
    right: 0;
    font-family: serif;
}

.quote-author {
    color: var(--gray-light);
    font-size: 16px;
    font-weight: 500;
}

/* Related Projects */
.related-projects {
    padding: 80px 0;
    background-color: var(--primary-black);
}

/* Project story (O filmu) - make a bit more present and readable */
.project-story {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.project-story .section-title {
    font-family: 'Fjalla One', sans-serif;
    font-size: clamp(1.6rem, 3.2vw, 2rem);
    color: var(--accent-blue);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-story .story-text {
    font-size: 1.05rem; /* slightly larger */
    line-height: 1.75; /* more airy for readability */
    color: var(--gray-light);
    margin-bottom: 18px;
    opacity: 0.95;
}

.project-story .subsection-title {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.25rem;
    color: var(--white);
    margin-top: 12px;
    margin-bottom: 8px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.related-card {
    background-color: var(--secondary-black);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(245, 245, 245, 0.1);
}

.related-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-title {
    font-family: 'Fjalla One', sans-serif;
    font-size: 20px;
    font-weight: 400;
    margin: 20px 20px 5px 20px;
    color: var(--white);
}

.related-type {
    color: var(--gray-light);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 20px 20px 20px;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--secondary-black) 0%, var(--primary-black) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-family: 'Fjalla One', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-text {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: var(--white);
    color: var(--primary-black);
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cta-button:hover {
    background-color: var(--gray-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Portfolio Page Styles */
.portfolio-main {
    padding-top: 80px;
}

.portfolio-hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    padding: 120px 40px 80px;
    text-align: center;
}

.portfolio-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.portfolio-hero-title {
    font-family: 'Fjalla One', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--white);
    text-transform: uppercase;
}

.portfolio-hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 300;
    color: var(--gray-light);
    margin-bottom: 30px;
}

.portfolio-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.portfolio-breadcrumb a:hover {
    color: var(--gray-light);
}

/* Portfolio Filters */
.portfolio-filters {
    padding: 60px 0 40px;
    background-color: var(--primary-black);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--gray-medium);
    color: var(--gray-light);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--white);
    color: var(--white);
    background-color: var(--white);
    color: var(--primary-black);
}

/* All Projects Grid */
.all-projects {
    padding: 40px 0 80px;
    background-color: var(--primary-black);
}

.all-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.all-projects .project-card {
    position: relative;
    background-color: var(--secondary-black);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.all-projects .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(255, 255, 255, 0.1);
}

.all-projects .project-video {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: var(--primary-black);
}

.all-projects .project-video video,
.all-projects .project-video .project-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-smooth);
}

.all-projects .project-card:hover .project-video video,
.all-projects .project-card:hover .project-video .project-gif {
    transform: scale(1.05);
}

.all-projects .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.all-projects .project-card:hover .project-overlay {
    opacity: 1;
}

.project-play-btn {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    transition: var(--transition-smooth);
}

.project-play-btn svg {
    width: 24px;
    height: 24px;
    margin-left: 3px;
}

.project-play-btn:hover {
    transform: scale(1.1);
}

.all-projects .project-info {
    padding: 30px;
}

.all-projects .project-main-title {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.all-projects .project-type {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.project-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-light);
    margin-bottom: 20px;
}

.project-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.project-meta span {
    font-size: 12px;
    color: var(--gray-medium);
    background-color: var(--primary-black);
    padding: 6px 12px;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Portfolio CTA */
.portfolio-cta {
    background: linear-gradient(135deg, var(--secondary-black) 0%, var(--primary-black) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Fjalla One', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-content p {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-cta .cta-button {
    background-color: var(--white);
    color: var(--primary-black);
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portfolio-cta .cta-button:hover {
    background-color: var(--gray-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Responsive Design for Portfolio Page */
@media (max-width: 768px) {
    .portfolio-hero {
        padding: 100px 20px 60px;
    }
    
    .portfolio-filters {
        padding: 40px 0 20px;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .all-projects {
        padding: 20px 0 60px;
    }
    
    .all-projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .all-projects .project-video {
        height: 220px;
    }
    
    .all-projects .project-info {
        padding: 20px;
    }
    
    .portfolio-cta {
        padding: 60px 20px;
    }
}

a,
a:visited {
  color: #f6c90e; 
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

a:hover {
  color: #ffffff; 
}

.about-text a,
.about-text a:visited {
  color: #f6c90e;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.about-text a:hover {
  color: #ffffff;
}

.about-role {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent-yellow) !important;
  text-decoration: none;
  margin-top: -8px;
  margin-bottom: 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
}