/* Step 1: Define the font face */
@font-face {
    font-family: 'AvenirLight';
src: url('https://austejosirtautvydovestuves.lt/avenir-light.woff2') format('woff2');

    font-weight: normal;
    font-style: normal;
}

/* Bendri stiliai */
body {
    font-family: 'AvenirLight', sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-image: linear-gradient(rgba(30, 20, 20, 0.3), rgba(30, 20, 20, 0.3)), url(dvaras.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}



.greeting-blur {
    background: rgba(253, 249, 243, 0.6); /* Didesnis permatomumas */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    color: #2c2c2c;
    width: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); /* silpnesnis šešėlis */
    animation: fadeIn 1s ease-in-out;
    line-height: 1.4; /* mažesnis nei 1.6 */
}

.greeting-blur h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.2; /* mažiau nei 1.4 */
}

.greeting-blur h5 {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 4px;
    line-height: 1.2; /* dar mažesni tarpai tarp eilučių */
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.background-color {
    background-color: #f8f8f8;
}




/* Hero sekcija */
.hero-header {
    background-color: #fdf9f3;
    font-family: 'AvenirLight', sans-serif;
    color: #3e3a35;
}

.hero-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    font-size: 14px;
}

.hero-names,
.hero-date {
    font-weight: 500;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px 20px 5px;
}

.hero-heading {
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    font-family: 'AvenirLight', serif;
    text-align: left;
    color: #3e3a35;
}

.hero-collage-full {
    width: 100%;
    height: 160px; 
    overflow: hidden;
    padding-bottom: 20px;
    background-color: #fdf9f3;
}

.hero-collage-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



/*Teksto stiliai Austeja*/



.event-block {
    margin-bottom: 50px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #3e3a35;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.event-time {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #3e3a35;
}

.event-location {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 6px;
    color: #3e3a35;
}

.event-address {
    font-size: 16px;
    font-style: italic;
    color: #6a6a6a;
    margin-bottom: 10px;
}

.event-note {
    font-size: 16px;
    color: #3e3a35;
    line-height: 1.6;
}

.wedding-date {
    font-size: 38px;
    font-weight: 600;
    color: #3e3a35;
    margin-bottom: 40px;
}

.date-part {
    margin: 0 2px;
}

.date-separator {
    margin: 0 2px;
    font-size: 28px;
    color: #6a6a6a;
}


/*Austejos info*/
.info {
background: linear-gradient(rgba(255, 250, 240, 0.9), rgba(255, 250, 240, 0.9)),
            url('koliazas.png') no-repeat center center fixed;
    background-size: cover;
    background-blend-mode: normal;
    color: #3e3a35;
}


.info::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 0;
}

.info-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.info-text {
    flex: 1;
    max-width: 50%;
    text-align: left;
    color: black;
}

a {
    color: #4a5e39;
    text-decoration: none;
}

a:hover {
        color: #95ad09;
}



.wedding-button {
    background-color: #6a7751;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    padding: 10px 18px;
    margin: 10px auto;
    display: block;
    max-width: 400px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    flex: 1 1 auto; /* leidžia augti ir mažėti pagal vietą */
}

.wedding-button:hover {
    background-color: #95ad09;
}

.wedding-button.selected {
    background-color: #95ad09;
}

.guest-header {
    font-size: 1.2em;
    font-weight: 500;
    color: #3e3a35;
    margin-bottom: 14px;
    text-align: left;
}

.guest-container {

    background: rgba(253, 249, 243, 0.6); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    margin: 20px auto;
    width: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    line-height: 1.4;
}


.hidden {
    display: none !important;
}


#attendance-options,
#dinner-options,
#stay-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}


textarea, input[type="text"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
    resize: vertical;
    min-height: 80px; 
    font-family: 'AvenirLight', sans-serif;
}


.map-container {
    flex: 1;
    max-width: 40%;
    padding: 20px;
    z-index: 2;
}

.map {
    width: 100%;
    height: 40vh;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    display: block;
}


/* Responsyvumas */

@media (max-width: 768px) {
    .info-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 30px 0;
    }

    .info-container,
    .greeting-blur {
        max-width: 90%;
        width: 100%;
        padding: 10;
    }

    
    .info-text,
    .map-container {
        max-width: 90%;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .map {
        width: 100%;
        height: 28vh;
        border-radius: 0;
        margin: 0;
        padding: 0;
    }

    .aligned-text {
        padding: 0 10px;
        text-align: center;
        margin-top: 30px;
    }

    .guest-container {
        max-width: 95%;
    }

    .section-divider img,
    .section-divider svg {
        max-width: 90%;
    }
}