/* ==========================================================================
   Kunigiskes103.lt — statinis puslapis
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #808080;
    background-color: #e9e4dc;
    background-image: url("images/terasa_l.jpg"), url("images/texture.svg");
    background-repeat: repeat;
    background-position: center top;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

a {
    color: #e96656;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: #c9453a;
}

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   Navigacija
   -------------------------------------------------------------------------- */

.site-header {
    position: relative;
}

.navbar {
    background-color: rgba(39, 39, 39, 0.96);
    min-height: 75px;
    position: relative;
    z-index: 100;
}

.navbar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 75px;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-list > li > a {
    display: block;
    padding: 0 18px;
    line-height: 75px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-list > li > a:hover,
.nav-list > li > a:focus {
    color: #e96656;
}

.nav-list > li.current > a {
    color: #e96656;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 4px;
    padding: 9px 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    background: #ffffff;
}

@media (max-width: 700px) {
    .navbar .container {
        justify-content: space-between;
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding-bottom: 12px;
    }

    .nav-list.open {
        display: flex;
    }

    .nav-list > li > a {
        line-height: 1.4;
        padding: 12px 0;
    }
}

/* --------------------------------------------------------------------------
   Viršutinė dalis (hero)
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1e2a24;
    background-image: url("images/background.png"), url("images/hero.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 25, 20, 0.35) 0%, rgba(15, 25, 20, 0.15) 45%, rgba(15, 25, 20, 0.45) 100%);
}

.hero--inner {
    min-height: 170px;
    background-color: #1f2c25;
    background-image: linear-gradient(120deg, #1f2c25 0%, #33503f 55%, #1f2c25 100%);
}

.hero--inner h1 {
    font-size: 40px;
}

.hero h1 {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 40px 20px;
    color: #ffffff;
    font-family: "Montserrat", "Open Sans", "Segoe UI", Arial, sans-serif;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

@media (max-width: 767px) {
    .hero {
        min-height: 320px;
    }

    .hero h1 {
        font-size: 30px;
    }
}

/* --------------------------------------------------------------------------
   Turinys
   -------------------------------------------------------------------------- */

.site-content {
    background-color: #ffffff;
    position: relative;
}

.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin: 0 0 55px;
}

.section-header h2 {
    margin: 0;
    color: #333333;
    font-family: "Montserrat", "Open Sans", "Segoe UI", Arial, sans-serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-header .subtitle {
    margin: 14px auto 0;
    max-width: 640px;
    color: #9a9a9a;
    font-size: 16px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
}

.col-half {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 20px;
}

.col-full {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 20px;
}

@media (max-width: 767px) {
    .col-half {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.big-intro {
    margin: 0 0 20px;
    color: #404040;
    font-family: "Montserrat", "Open Sans", "Segoe UI", Arial, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
}

.about-text p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.8;
    color: #7d7d7d;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.highlights {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.highlights li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 40px;
    background: #f4f1ec;
    color: #5c5c5c;
    font-size: 14px;
}

.highlights svg {
    width: 16px;
    height: 16px;
    flex: none;
    fill: #e96656;
}

/* --------------------------------------------------------------------------
   Nuotraukos
   -------------------------------------------------------------------------- */

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
}

.gallery figure {
    flex: 1 1 calc(50% - 12px);
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #f4f1ec;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.gallery img {
    display: block;
    width: 100%;
    transition: transform 0.4s ease;
}

.gallery figure:hover img {
    transform: scale(1.03);
}

@media (max-width: 767px) {
    .gallery figure {
        flex: 1 1 100%;
    }
}

/* --------------------------------------------------------------------------
   Žemėlapis
   -------------------------------------------------------------------------- */

.map-frame {
    position: relative;
    height: 460px;
    border-radius: 4px;
    overflow: hidden;
    background: #dfe7df;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

#map {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
}

.map-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ea url("images/map-fallback.svg") center center no-repeat;
    background-size: cover;
    z-index: 1;
}

.map-fallback-card {
    position: relative;
    padding: 18px 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    color: #404040;
    font-size: 15px;
    text-align: center;
}

.map-fallback-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 17px;
}

.map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
}

.button {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 3px;
    background: #e96656;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.button:hover,
.button:focus {
    background: #c9453a;
    color: #ffffff;
}

.button--ghost {
    background: transparent;
    border: 2px solid #e96656;
    color: #e96656;
}

.button--ghost:hover,
.button--ghost:focus {
    background: #e96656;
    color: #ffffff;
}

.leaflet-container {
    font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Poraštė
   -------------------------------------------------------------------------- */

.site-footer {
    padding: 55px 0 30px;
    background: #272727;
    color: #b5b5b5;
    font-size: 15px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.footer-col {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
    margin-bottom: 28px;
    text-align: center;
}

.footer-col .icon {
    display: block;
    margin: 0 auto 12px;
    width: 40px;
    height: 40px;
}

.footer-col .icon svg {
    width: 40px;
    height: 40px;
}

.footer-col a {
    color: #b5b5b5;
}

.footer-col a:hover,
.footer-col a:focus {
    color: #e96656;
}

.footer-address {
    line-height: 1.6;
}

.footer-phone a {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.copyright {
    margin-top: 10px;
    padding-top: 22px;
    border-top: 1px solid #3a3a3a;
    text-align: center;
    font-size: 13px;
    color: #8c8c8c;
}

@media (max-width: 900px) {
    .footer-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 480px) {
    .footer-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
