/* ==========================================
   1. BENDRINIAI STILIAI IR ŠRIFTAI
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.home-page {
    font-family: 'Italianno', cursive, sans-serif;
    color: #fff9f5;
    line-height: 1.6;
    background-color: #120d0a;
    overflow-x: hidden;
}

/* Įgalina šrifto paveldėjimą mygtukams bei įvesties laukams */
input, textarea, button {
    font-family: 'Italianno', cursive, sans-serif;
}

/* ==========================================
   2. VIDEO FONAS IR OVERLAY
   ========================================== */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(28, 16, 10, 0.65);
    z-index: -1;
}

/* ==========================================
   3. NAVIGACIJA (NAV)
   ========================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.0rem 5%;
    z-index: 10;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(28, 16, 10, 0.4);
    border-bottom: 1px solid rgba(255, 200, 150, 0.1);
}

.logo {
    font-size: 2.2rem;
    font-weight: 200;
    letter-spacing: 1px;
    color: #ffb703;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff9f5;
    text-decoration: none;
    font-size: 2.0rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffb703;
}

/* ==========================================
   4. HERO SEKCIJA (#home)
   ========================================== */
#home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

#home h1.h1 {
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 400;
    max-width: 900px;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

#home p {
    font-size: clamp(2.6rem, 2.5vw, 1.8rem);
    max-width: 750px;
    margin-bottom: 2rem;
    color: #f3e5d8;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Mygtukai */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 400;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-large {
    background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
    color: #120d0a;
    box-shadow: 0 4px 15px rgba(251, 133, 0, 0.4);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(251, 133, 0, 0.6);
    background: linear-gradient(135deg, #ffc300 0%, #ff9e00 100%);
}

/* ==========================================
   5. KONTAKTAI (#contact)
   ========================================== */
#contact {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem 1.5rem;
    position: relative;
    z-index: 2;
}

.contact-container {
    background: rgba(45, 25, 15, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 183, 3, 0.25);
    padding: 2.5rem;
    border-radius: 16px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.contact-container h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #ffb703;
}

.form-group {
    margin-bottom: 0.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 1.6rem;
    color: #f3e5d8;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 183, 3, 0.2);
    background: rgba(18, 13, 10, 0.6);
    color: #fff9f5;
    font-size: 1.4rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ffb703;
    box-shadow: 0 0 8px rgba(255, 183, 3, 0.3);
}

.btn-submit {
    width: 100%;
    background: #ffb703;
    color: #120d0a;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: #fff9f5;
    color: #120d0a;
}

/* ==========================================
   6. PADĖKOS PUSLAPIO STILIAI
   ========================================== */
.thank-you-container {
    width: 100%;
    max-width: 550px;
    padding: 20px;
    position: relative;
    z-index: 5;
}

.thank-you-card {
    background: rgba(45, 25, 15, 0.55);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 183, 3, 0.25);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.thank-you-card h1 {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #ffb703;
}

.thank-you-card p {
    font-size: 1.6rem;
    color: #f3e5d8;
    margin-bottom: 25px;
    line-height: 1.6;
}

.thank-you-card.error h1 {
    color: #c0392b;
}

/* ==========================================
   7. PRISITAIKANTIS DIZAINAS (RESPONSIVE)
   ========================================== */
@media (max-width: 768px) {
    nav {
        padding: 1rem 4%;
    }

    .nav-links {
        gap: 1rem;
    }

    .contact-container,
    .thank-you-card {
        padding: 1.8rem;
    }
}

/* ==========================================
   8. FOOTER
   ========================================== */


.footer-content {
     text-align: center;
     font-size: 1.6rem;
    margin-top: 0.1rem;
}

