/*
Theme Name:     LNT.lt
Theme URI:      https://www.lnt.lt
Author:         UAB LNT
Author URI:     https://www.lnt.lt
Description:    Custom WordPress tema UAB „LNT" nekilnojamojo turto svetainei. Veikia kartu su LNT Real Estate plugin. Lengva, greita, responsyvi. Spalvos: žalia (#3eaf3e) ir geltona (#fbc02d).
Version:        1.0.0
License:        GPL-2.0+
Text Domain:    lnt-theme
Requires PHP:   7.4
Requires at least: 6.0
Tags:           real-estate, business, responsive, custom-menu, custom-logo, threaded-comments, translation-ready
*/

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

html, body {
    margin: 0; padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #222;
    line-height: 1.5;
    background: #f5f5f5;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #318135; text-decoration: none; }
a:hover { color: #256128; text-decoration: underline; }
h1, h2, h3, h4, h5 { line-height: 1.25; color: #222; }

:root{
    --lnt-green:       #318135;
    --lnt-green-dark:  #256128;
    --lnt-yellow:      #fbc02d;
    --lnt-gray:        #f5f5f5;
}

/* =====================================================
   HEADER
   ===================================================== */
.lnt-header {
    background: var(--lnt-green);
    color: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    position: sticky; top: 0; z-index: 100;
}
.lnt-header__inner {
    max-width: 1280px; margin: 0 auto; padding: 12px 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.lnt-header__logo {
    color: #fff !important; font-weight: 800; font-size: 28px; letter-spacing: 1px;
    text-decoration: none;
}
.lnt-header__logo:hover { color:#fff !important; text-decoration:none; }
.lnt-header__logo img { max-height: 48px; width: auto; display: block; }

.lnt-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lnt-nav__menu { list-style:none; padding:0; margin:0; display:flex; gap: 22px; }
.lnt-nav__menu li a {
    color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
    text-transform: uppercase; letter-spacing: .5px;
    padding-bottom: 4px; border-bottom: 2px solid transparent;
}
.lnt-nav__menu li a:hover, .lnt-nav__menu li.current-menu-item a {
    color: var(--lnt-yellow); border-bottom-color: var(--lnt-yellow);
}

.lnt-nav__actions { display:flex; gap: 8px; align-items: center; }
.lnt-nav__btn {
    color: #fff !important; padding: 8px 16px; border: 2px solid #fff;
    border-radius: 4px; text-decoration: none; font-size: 13px;
    text-transform: uppercase; font-weight: 700; letter-spacing: .5px;
}
.lnt-nav__btn:hover { background:#fff; color: var(--lnt-green) !important; text-decoration:none; }
.lnt-nav__btn--filled { background: rgba(255,255,255,.15); }
.lnt-nav__btn--filled:hover { background:#fff; color: var(--lnt-green) !important; }
.lnt-nav__fav { color:#fff !important; font-size: 13px; text-transform: uppercase; }
.lnt-nav__fav:hover { color: var(--lnt-yellow) !important; text-decoration:none; }

/* Mobile toggle */
.lnt-nav-toggle {
    display:none; background:none; border:none; color:#fff;
    font-size:24px; cursor:pointer;
}
@media (max-width: 900px) {
    .lnt-nav { display: none; flex-direction: column; align-items: flex-start;
        position: absolute; top: 100%; left: 0; right: 0; background: var(--lnt-green); padding: 12px 16px; }
    .lnt-nav.is-open { display: flex; }
    .lnt-nav__menu { flex-direction: column; gap: 10px; }
    .lnt-nav-toggle { display: inline-block; }
}

/* =====================================================
   HERO (pradinis puslapis)
   ===================================================== */
.lnt-hero {
    background: linear-gradient( rgba(0,0,0,.45), rgba(0,0,0,.45) ),
                url('assets/hero-bg.jpg') center/cover no-repeat;
    color: #fff; padding: 60px 16px 30px;
    text-align: center;
}
.lnt-hero h1 { color: #fff; font-size: 36px; margin: 0 0 8px; }
.lnt-hero p  { color: #fff; opacity: .9; font-size: 17px; margin: 0 0 24px; }
.lnt-hero .lnt-search { max-width: 1100px; margin: 0 auto; background: rgba(255,255,255,.97); }

/* =====================================================
   SECTIONS
   ===================================================== */
.lnt-section { max-width: 1280px; margin: 0 auto; padding: 36px 16px; }
.lnt-section__title { color: var(--lnt-green); font-size: 24px; margin: 0 0 18px; }
.lnt-section__title small { font-weight: 400; color: #777; margin-left: 8px; font-size:14px; }

/* =====================================================
   FOOTER
   ===================================================== */
.lnt-footer {
    background: #1d1d1d; color: #c0c0c0;
    margin-top: 40px;
}
.lnt-footer__inner {
    max-width: 1280px; margin: 0 auto; padding: 28px 16px;
    display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.lnt-footer h4 { color: #fff; margin: 0 0 10px; }
.lnt-footer a { color: #c0c0c0; }
.lnt-footer a:hover { color: var(--lnt-yellow); }
.lnt-footer__bottom {
    border-top: 1px solid #333; padding: 14px 16px; text-align:center;
    color: #777; font-size: 13px;
}

/* =====================================================
   MOBILE FRIENDLY (visa kita - per plugin CSS)
   ===================================================== */
@media (max-width: 600px) {
    .lnt-hero h1 { font-size: 26px; }
    .lnt-hero { padding: 40px 12px 20px; }
}
