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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #050505;
    color: #ffffff;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* --- NAVIGACIJA --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.navbar.visible {
    transform: translateY(0);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
    display: block;
}

/* Socialinės ikonos navigacijoje */
.nav-socials a {
    color: #fff;
    font-size: 1.2rem;
    margin-left: 20px;
    text-decoration: none;
    transition: transform 0.3s, color 0.3s;
    display: inline-block;
}

.nav-socials a:hover {
    transform: scale(1.2); /* Padidėja užvedus */
}

/* Facebook spalva užvedus */
.nav-socials a:hover .fa-facebook-f {
    color: #1877F2;
}

/* Instagram spalva užvedus */
.nav-socials a:hover .fa-instagram {
    color: #E1306C;
}

/* --- HERO SEKCIJA --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.back-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    animation: fadeIn 1.5s ease;
}

.main-logo {
    max-width: 500px;
    width: 80%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    padding-bottom: 20px;
}

.scroll-down span {
    display: block; width: 20px; height: 20px;
    border-bottom: 2px solid #fff; border-right: 2px solid #fff;
    transform: rotate(45deg); margin: -10px;
    animation: animate 2s infinite;
}
.scroll-down span:nth-child(2) { animation-delay: -0.2s; }
.scroll-down span:nth-child(3) { animation-delay: -0.4s; }

@keyframes animate {
    0% { opacity: 0; transform: rotate(45deg) translate(-20px, -20px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(20px, 20px); }
}

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

/* --- PORTFOLIO --- */
.portfolio-section {
    padding: 80px 20px;
    background-color: #050505;
}

.container { max-width: 1200px; margin: 0 auto; }

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #eee;
    font-weight: 300;
}

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

.portfolio-item {
    background: #111;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.portfolio-item:hover { transform: translateY(-5px); }

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 formatas */
    height: 0;
    overflow: hidden;
    background: #000;
}

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

.item-info {
    padding: 15px;
    text-align: center;
}
.item-info h3 {
    font-size: 1.1rem;
    color: #ccc;
    font-weight: 400;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 40px;
    background-color: #000;
    color: #444;
    font-size: 0.8rem;
    border-top: 1px solid #111;
}

.footer-socials {
    margin-bottom: 15px;
}

.footer-socials a {
    color: #666;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
    text-decoration: none;
}

.footer-socials a:hover .fa-facebook-f { color: #1877F2; }
.footer-socials a:hover .fa-instagram { color: #E1306C; }