/* Font Imports */
@font-face {
    font-family: 'Bebas Neue';
    src: url('/fonts/BebasNeueBold.eot');
    src: url('/fonts/BebasNeueBold.eot?#iefix') format('embedded-opentype'),
         url('/fonts/BebasNeueBold.woff') format('woff'),
         url('/fonts/BebasNeueBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('/fonts/BebasNeueRegular.eot');
    src: url('/fonts/BebasNeueRegular.eot?#iefix') format('embedded-opentype'),
         url('/fonts/BebasNeueRegular.woff') format('woff'),
         url('/fonts/BebasNeueRegular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('/fonts/ProximaNova-Light.eot');
    src: url('/fonts/ProximaNova-Light.eot?#iefix') format('embedded-opentype'),
         url('/fonts/ProximaNova-Light.woff') format('woff'),
         url('/fonts/ProximaNova-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('/fonts/ProximaNova-Bold.eot');
    src: url('/fonts/ProximaNova-Bold.eot?#iefix') format('embedded-opentype'),
         url('/fonts/ProximaNova-Bold.woff') format('woff'),
         url('/fonts/ProximaNova-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html {
    zoom: 1 !important;
    -webkit-transform: scale(1) !important;
    -moz-transform: scale(1) !important;
    -ms-transform: scale(1) !important;
    -o-transform: scale(1) !important;
    transform: scale(1) !important;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
}

body {
    font-family: 'Bebas Neue', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-weight: 700;
    zoom: 1 !important;
    transform: scale(1) !important;
    min-height: 100vh;
    position: relative;
}



/* Anti-zoom rules for video elements */
.portfolio-item, .video-container, .video-thumbnail, iframe {
    zoom: 1 !important;
    -webkit-transform: scale(1) !important;
    -moz-transform: scale(1) !important;
    -ms-transform: scale(1) !important;
    -o-transform: scale(1) !important;
    transform: scale(1) !important;
}

/* Top Section with Logo and Menu */
.top-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    background-image: url('media/Backgrounds/Pagrindinis_pixel_moments_filmavimas.webp'), url('./media/Backgrounds/Pagrindinis_pixel_moments_filmavimas.webp'), url('/media/Backgrounds/Pagrindinis_pixel_moments_filmavimas.webp');
    background-size: cover;
    background-position: 15% 72%;
    background-attachment: fixed;
    padding: 20px;
    position: relative;
    z-index: 1000;
}

/* Add dark transition to bottom of header */
.top-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.9));
    z-index: 1;
    pointer-events: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80vw;
    max-width: none;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    height: 150px;
    width: auto;
    object-fit: contain;
}

/* Hamburger Container */
.hamburger-container {
    position: relative;
}

/* Hamburger Menu */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 10px;
    transition: transform 0.3s ease;
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Main Navigation */
.main-navigation {
    display: none;
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    margin-right: 20px;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1001;
    white-space: nowrap;
}

.main-navigation.expanded {
    display: block;
    animation: slideInLeft 0.3s ease;
    /* Ensure stable positioning after animation */
    animation-fill-mode: forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* Mobile-specific animation */
@media (max-width: 633px) {
    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

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

.nav-list {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
    white-space: nowrap;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.nav-link:hover,
.nav-link.active {
    color: #f9a53c;
    background: rgba(249, 165, 60, 0.1);
}

/* Category Tabs - Always visible below header */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    padding: 20px 0;
    width: 80vw;
    max-width: none;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}


/* jQuery UI Tab Styles - TURBO Style */
.tab-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    background: transparent;
    border: none;
    border-bottom: 1px solid #414f62;
    justify-content: center;
    flex-wrap: wrap;
}

.ui-tabs-tab {
    position: relative;
    float: left;
    border-bottom-width: 0;
    margin: 0;
    white-space: nowrap;
    background: transparent;
}

.ui-tabs-tab.ui-corner-top {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.ui-state-default {
    border: none;
    background: transparent;
    font-weight: 700;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
}

.ui-state-active {
    border: none;
    background: #f9a53c;
    color: #000;
    font-weight: 700;
}

.ui-tabs-anchor {
    float: left;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: inherit;
    display: block;
    outline: none;
    font-size: 1.2rem;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
    border-radius: 0;
}

.ui-tabs-anchor:hover {
    text-decoration: none;
    background: rgba(249, 165, 60, 0.1);
}

.ui-tabs-tab:hover .ui-tabs-anchor {
    color: #f9a53c;
}

.ui-tabs-tab.ui-state-active .ui-tabs-anchor {
    color: #000;
    font-weight: 700;
}

.ui-widget-header {
    border: none;
    background: transparent;
    color: #fff;
    font-weight: 700;
}

.ui-helper-reset {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    line-height: 1.3;
    text-decoration: none;
    font-size: 100%;
    list-style: none;
}

.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
    content: "";
    display: table;
    border-collapse: collapse;
}

.ui-helper-clearfix:after {
    clear: both;
}


/* Portfolio Section */
.portfolio {
    padding: 40px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    position: relative;
    z-index: 2;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 33.333% 33.333% 33.333%;
    gap: 0;
    margin: 0 auto 100px auto;
    width: 80vw;
    max-width: none;
    justify-content: center;
}

/* Dynamic responsive grid breakpoints */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: 50% 50%;
    }
}

@media (max-width: 640px) {
    .portfolio-grid {
        grid-template-columns: 100%;
    }
}

.portfolio-item {
    background: #000;
    border-radius: 0;
    overflow: hidden;
}

/* Video Container Styles */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 0;
    overflow: hidden;
    container-type: inline-size;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: default;
}

.video-container iframe,
.video-container .preview-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    object-fit: cover;
}

.video-container .video-thumbnail-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    object-fit: cover;
}

/* Video Title Overlay */
.video-title {
    position: absolute;
    bottom: 1.5%;
    left: 1.5%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 1% 2%;
    font-family: 'Bebas Neue', sans-serif;
    font-size: max(12px, min(24px, 4cqw));
    font-weight: 400;
    text-transform: uppercase;
    border-radius: max(2px, min(8px, 1cqw));
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
    max-width: 90%;
    word-wrap: break-word;
    hyphens: auto;
}

/* Fallback for browsers without container query support */
@supports not (font-size: 1cqw) {
    .video-title {
        font-size: clamp(12px, calc(100vw / 80), 24px);
        border-radius: clamp(2px, calc(100vw / 400), 8px);
    }
}


/* Responsive design for new sections */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: clamp(2rem, 5vw, 4rem);
        max-width: 90%;
    }

    .reviews-grid, .pricing-grid, .contact-content {
        width: 90%;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .pricing-item {
        padding: 25px;
    }

    .contact-info {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .review-item img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .pagrindinis {
        min-height: 80vh;
        padding: 40px 20px;
    }

    .hero-text h1 {
        font-size: clamp(1.8rem, 4vw, 3rem);
        max-width: 95%;
    }

    .atsiliepimai, .kainos, .kontaktai {
        padding: 40px 0;
    }

    .atsiliepimai h2, .kainos h2, .kontaktai h2 {
        font-size: clamp(1.5rem, 3vw, 2.5rem);
        margin-bottom: 30px;
    }

    .reviews-grid {
        min-height: 350px;
        width: 95%;
        padding: 20px 15px;
        overflow: visible;
    }

    .review-item.size-small {
        width: 140px;
        height: 105px;
    }

    .review-item.size-medium {
        width: 180px;
        height: 135px;
    }

    .review-item.size-large {
        width: 220px;
        height: 165px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        width: 95%;
    }

    .pricing-item {
        padding: 20px;
    }

    .pricing-item h3 {
        font-size: 1.3rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        width: 95%;
    }

    .contact-item {
        padding: 20px;
    }
}

@media (max-width: 640px) {
    .reviews-grid {
        min-height: 300px;
        padding: 15px 10px;
        overflow: visible;
    }

    .review-item.size-small {
        width: 110px;
        height: 83px;
    }

    .review-item.size-medium {
        width: 140px;
        height: 105px;
    }

    .review-item.size-large {
        width: 170px;
        height: 128px;
    }

    .pricing-item h3 {
        font-size: 1.2rem;
        line-height: 1.2;
    }

    .pricing-item p, .contact-item p {
        font-size: 1rem;
    }

    .contact-intro {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: clamp(1.5rem, 3.5vw, 2.5rem);
        line-height: 1.1;
    }

    .atsiliepimai {
        background-attachment: scroll;
        padding: 15px 0;
    }

    .atsiliepimai h2 {
        margin-bottom: 15px;
        padding: 0 15px;
    }

    .reviews-grid {
        min-height: 250px;
        padding: 10px 5px;
        width: 98%;
        overflow: visible;
    }

    .review-item.size-small {
        width: 80px;
        height: 60px;
    }

    .review-item.size-medium {
        width: 100px;
        height: 75px;
    }

    .review-item.size-large {
        width: 120px;
        height: 90px;
    }

    .review-item {
        border: 2px solid rgba(249, 165, 60, 0.3);
    }

    .review-item:hover {
        transform: scale(1.05) !important;
    }

    .pricing-item, .contact-item {
        padding: 15px;
    }

    .pricing-item h3 {
        font-size: 1.1rem;
    }

    .contact-intro {
        font-size: 1.2rem;
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .atsiliepimai {
        padding: 10px 0;
    }

    .atsiliepimai h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 10px;
        padding: 0 10px;
    }

    .reviews-grid {
        min-height: 200px;
        padding: 8px 3px;
        width: 100%;
        overflow: visible;
    }

    .review-item.size-small {
        width: 70px;
        height: 53px;
    }

    .review-item.size-medium {
        width: 85px;
        height: 64px;
    }

    .review-item.size-large {
        width: 100px;
        height: 75px;
    }

    .review-item {
        border-radius: 8px;
        border: 1px solid rgba(249, 165, 60, 0.3);
    }

    .review-item img {
        border-radius: 6px;
    }
}

/* Additional responsive design adjustments */
@media (max-width: 1024px) {
    .category-tabs {
        width: 90%;
    }
    
    .tab-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .ui-tabs-anchor {
        padding: 0.4rem 0.8rem;
        font-size: 1.1rem;
    }
    
    /* Tablet menu adjustments */
    .main-navigation {
        margin-right: 15px;
        padding: 12px 20px;
    }
    
    .nav-list {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 6px 10px;
    }
}

@media (max-width: 768px) {
    .top-section {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }
    
    .logo {
        height: 40px;
    }
    
    .category-tabs {
        width: 100%;
        justify-content: center;
    }
    
    .tab-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .ui-tabs-anchor {
        padding: 0.3rem 0.6rem;
        font-size: 1.2rem;
    }
    
    /* Adjust video title scaling for mobile */
    .video-title {
        font-size: max(14px, min(20px, 5cqw));
        padding: 1.5% 3%;
        bottom: 2%;
        left: 2%;
    }
    
    @supports not (font-size: 1cqw) {
        .video-title {
            font-size: clamp(14px, calc(100vw / 60), 20px);
        }
    }
}

@media (max-width: 640px) {
    .top-section {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }
    
    .logo {
        height: 38px;
    }
    
    .category-tabs {
        width: 100%;
    }
    
    .ui-tabs-anchor {
        padding: 0.3rem 0.5rem;
        font-size: 1rem;
    }
    
    /* Mobile menu adjustments */
    .main-navigation {
        position: fixed;
        top: 70px;
        right: 20px;
        left: 20px;
        transform: none;
        z-index: 1000;
        /* Prevent menu shifting during animation */
        will-change: auto;
        margin-right: 0;
        width: auto;
        /* Ensure stable positioning */
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        padding: 20px;
        border-radius: 12px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .nav-link {
        text-align: center;
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 1.1rem;
    }
    
    /* Single column specific adjustments */
    .video-title {
        font-size: max(16px, min(22px, 6cqw));
        padding: 1.5% 3%;
        bottom: 2%;
        left: 2%;
    }
    
    @supports not (font-size: 1cqw) {
        .video-title {
            font-size: clamp(16px, calc(100vw / 50), 22px);
        }
    }
}

@media (max-width: 480px) {
    .top-section {
        padding: 10px;
    }
    
    .logo {
        height: 35px;
    }
    
    .ui-tabs-anchor {
        padding: 0.2rem 0.4rem;
        font-size: 0.9rem;
    }
    
    /* Further adjust video title scaling for very small screens */
    .video-title {
        font-size: max(14px, min(18px, 7cqw));
        padding: 2% 4%;
        bottom: 2.5%;
        left: 2.5%;
        border-radius: max(3px, min(6px, 1.5cqw));
    }
    
    @supports not (font-size: 1cqw) {
        .video-title {
            font-size: clamp(14px, calc(100vw / 45), 18px);
            border-radius: clamp(3px, calc(100vw / 200), 6px);
        }
    }
}

/* Section Styles */
section {
    padding: 60px 0;
    width: 100%;
    position: relative;
    min-height: calc(100vh - 200px); /* Ensure sections take up viewport minus header */
}

/* When sections are standalone pages, ensure they fill the viewport */
body main section:only-child,
body main section:first-child:last-child {
    min-height: 100vh;
    padding-top: 0;
}

/* Add smooth transitions between sections */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
    pointer-events: none;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
    pointer-events: none;
}

/* Pagrindinis Section */
.pagrindinis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('media/Backgrounds/Pagrindinis_pixel_moments_filmavimas.webp'), url('./media/Backgrounds/Pagrindinis_pixel_moments_filmavimas.webp'), url('/media/Backgrounds/Pagrindinis_pixel_moments_filmavimas.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Keep top transition for first section for smooth fade from header */
.pagrindinis::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
    height: 80px;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    max-width: 80%;
    margin: 0 auto;
}

/* Darbai Section */
.darbai {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('media/Backgrounds/Darbai_nufotografuoti_pigu.webp'), url('./media/Backgrounds/Darbai_nufotografuoti_pigu.webp'), url('/media/Backgrounds/Darbai_nufotografuoti_pigu.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 40px 0;
    min-height: 100vh;
}

/* Atsiliepimai Section */
.atsiliepimai {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('media/Backgrounds/Atsiliepimai_nufilmuoti_pigiai.webp'), url('./media/Backgrounds/Atsiliepimai_nufilmuoti_pigiai.webp'), url('/media/Backgrounds/Atsiliepimai_nufilmuoti_pigiai.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    backdrop-filter: blur(10px);
    text-align: center;
    min-height: 100vh;
    padding: 20px 0;
}

.atsiliepimai h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 700;
    color: #f9a53c;
    text-transform: uppercase;
    margin-bottom: clamp(20px, 4vw, 40px);
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.reviews-grid {
    display: block;
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 10px;
    position: relative;
    z-index: 2;
    min-height: 400px;
    overflow: visible;
}

.review-item {
    position: absolute;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, z-index 0.4s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(249, 165, 60, 0.3);
    background: transparent;
    z-index: 10;
}

.review-item.size-small {
    width: 200px;
    height: 150px;
}

.review-item.size-medium {
    width: 280px;
    height: 210px;
}

.review-item.size-large {
    width: 360px;
    height: 270px;
}

.review-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 12px;
    display: block;
}

.review-item:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 15px 40px rgba(249, 165, 60, 0.5);
    z-index: 30 !important;
    border-color: #f9a53c;
}

.review-item:hover img {
    transform: scale(1.05);
}

/* Kainos Section */
.kainos {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('media/Backgrounds/Kainos_geros_marijampole_kaunas.webp'), url('./media/Backgrounds/Kainos_geros_marijampole_kaunas.webp'), url('/media/Backgrounds/Kainos_geros_marijampole_kaunas.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    backdrop-filter: blur(15px);
    text-align: center;
    min-height: 100vh;
}

.kainos h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 700;
    color: #f9a53c;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.pricing-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(249, 165, 60, 0.3);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pricing-item:hover {
    background: rgba(249, 165, 60, 0.1);
    border-color: #f9a53c;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 165, 60, 0.2);
}

.pricing-item h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.3;
}

.pricing-item p {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #ccc;
    text-transform: none;
    line-height: 1.4;
}

.pricing-item .price {
    color: #f9a53c;
    font-weight: 700;
    font-size: 1.3rem;
}

/* Kontaktai Section */
.kontaktai {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('media/Backgrounds/Kontaktai_Filmukai_videi_paslaugos.webp'), url('./media/Backgrounds/Kontaktai_Filmukai_videi_paslaugos.webp'), url('/media/Backgrounds/Kontaktai_Filmukai_videi_paslaugos.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    backdrop-filter: blur(12px);
    text-align: center;
    min-height: 100vh;
}

.kontaktai h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 700;
    color: #f9a53c;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.contact-content {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.contact-intro {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(249, 165, 60, 0.3);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(249, 165, 60, 0.1);
    border-color: #f9a53c;
    transform: translateY(-3px);
}

.contact-item h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #f9a53c;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-item p {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #fff;
    text-transform: none;
    line-height: 1.4;
}

/* Animation for video loading */
.portfolio-item {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Video thumbnail styling */
.video-thumbnail {
    transition: none;
    cursor: pointer;
}

.video-container:hover .video-thumbnail {
    opacity: 1;
}

.video-container iframe {
    transition: none;
}

.video-container {
    cursor: pointer;
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999 !important;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.lightbox-content {
    position: relative;
    width: 90vw;
    max-width: 1200px;
    height: 80vh;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #f9a53c;
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
    background: #fff;
    transform: scale(1.1);
}

.lightbox-video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
        height: 70%;
    }
    
    .lightbox-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: -10px;
        right: -10px;
    }
}

@media (max-width: 480px) {
    .lightbox-content {
        width: 100%;
        height: 60%;
        border-radius: 0;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }
}

/* Pagination Styles */
.pagination-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    width: 100%;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    padding: 12px 16px;
    border: 2px solid #f9a53c;
    background: transparent;
    color: #f9a53c;
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    min-width: 44px;
    text-align: center;
}

.pagination-btn:hover {
    background: #f9a53c;
    color: #000;
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: #f9a53c;
    color: #000;
    font-weight: 700;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn:disabled:hover {
    background: transparent;
    color: #f9a53c;
    transform: none;
}

.pagination-dots {
    color: #f9a53c;
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 16px;
    padding: 0 8px;
}

.prev-btn,
.next-btn {
    font-size: 14px;
    padding: 12px 20px;
}

/* Mobile pagination styles */
@media (max-width: 768px) {
    .pagination-container {
        margin-bottom: 30px;
        padding: 15px 10px;
    }

    .pagination {
        gap: 6px;
    }

    .pagination-btn {
        padding: 10px 12px;
        font-size: 14px;
        min-width: 40px;
    }

    .prev-btn,
    .next-btn {
        font-size: 12px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .pagination-container {
        margin-bottom: 20px;
        padding: 10px 5px;
    }

    .pagination {
        gap: 4px;
    }

    .pagination-btn {
        padding: 8px 10px;
        font-size: 12px;
        min-width: 36px;
    }

    .prev-btn,
    .next-btn {
        font-size: 11px;
        padding: 8px 12px;
    }

    .pagination-dots {
        font-size: 14px;
        padding: 0 4px;
    }
}