/*
Theme Name: LHC
Version: 1.0
*/

/* RESET & PAMATSTILS - Bootstrap papildinājumi */
body {
    font-family: 'Inter', sans-serif;
    background-color: #FCF9F2;
    color: #1E2A2C;
    line-height: 1.5;
}

h1, h2, h3, .logo a {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* HEADER */
.site-header {
    background: #FCF9F2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(2px);
    border-bottom: 1px solid #e9e2d4;
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    max-height: 50px;
    width: auto;
}

/* NAVIGĀCIJA */
.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    font-weight: 500;
    color: #2C423F;
    transition: color 0.2s;
}
.nav-list a:hover { color: #2A5C3E; }

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #2A5C3E;
}

/* HERO */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center 30%;
    color: white;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,0,0,0.5), rgba(0,0,0,0.3));
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}
.hero-title {
    font-size: 4.2rem;
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}
.btn {
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.25s;
}
.btn-primary {
    background: #2A5C3E;
    border-color: #2A5C3E;
}
.btn-primary:hover {
    background: #1F4B32;
    border-color: #1F4B32;
    transform: translateY(-2px);
}
.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}
.btn-outline:hover {
    background: white;
    color: #1E2A2C;
}
.btn-secondary {
    background: transparent;
    color: #2A5C3E;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 2px solid #2A5C3E;
    border-radius: 0;
}
.btn-large {
    padding: 14px 36px;
    font-size: 1.2rem;
}

/* Sekcijas */
.section {
    padding: 80px 0;
}
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 48px;
    color: #1E2A2C;
    position: relative;
}
.section-title:after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: #2A5C3E;
    margin: 16px auto 0;
}

/* Pakalpojumi */
.service-card {
    background: white;
    padding: 30px 24px;
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.03);
    transition: transform 0.2s;
}
.service-card:hover {
    transform: translateY(-5px);
}
.service-card i {
    font-size: 2.8rem;
    color: #2A5C3E;
    margin-bottom: 20px;
}
.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.6rem;
}

/* TAKAS - Bootstrap grid 2 vienā rindā */
.trail-card {
    background: white;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}
.trail-card:hover {
    transform: translateY(-5px);
}
.trail-image {
    height: 280px;
    background-size: cover;
    background-position: center;
}
.trail-info {
    padding: 30px;
}
.trail-info h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}
.trail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #2A5C3E;
}
.trail-meta i {
    margin-right: 6px;
}

/* Pasākumi */
.events-list {
    background: white;
    border-radius: 28px;
    padding: 16px;
}
.event-item {
    padding: 24px;
    border-bottom: 1px solid #EDE7DD;
}
.event-date {
    font-weight: 600;
    color: #2A5C3E;
}
.social-follow {
    text-align: center;
    margin-top: 48px;
}
.social-icons a {
    color: #2C423F;
    font-size: 1.6rem;
    margin: 0 16px;
    transition: 0.2s;
}
.social-icons a:hover { color: #2A5C3E; }

/* CTA */
.cta {
    background: #2A5C3E;
    color: white;
    text-align: center;
    border-radius: 48px;
    margin: 40px 32px;
    padding: 20px 0;
}
.cta-container h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}
.cta-container p {
    max-width: 600px;
    margin: 0 auto 28px;
}
.cta .btn-primary {
    background: #FFE1B3;
    color: #1E2A2C;
    border: none;
}
.cta .btn-primary:hover {
    background: white;
}

/* Kontakti */
.contact-info, .contact-note {
    background: white;
    padding: 30px;
    border-radius: 30px;
    height: 100%;
}
.contact-info p {
    margin-bottom: 20px;
}

/* Kājene */
.site-footer {
    background: #1E2A2C;
    color: #D9D2C5;
    padding: 40px 0;
    margin-top: 40px;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-nav-list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-nav-list a {
    color: #D9D2C5;
    text-decoration: none;
}
.footer-nav-list a:hover {
    color: white;
}

/* Responsīvs */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    .main-nav {
        position: fixed;
        top: 74px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 74px);
        background: #FCF9F2;
        box-shadow: 4px 0 20px rgba(0,0,0,0.05);
        transition: 0.3s;
        padding: 32px;
        z-index: 99;
    }
    .main-nav.active {
        left: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 1.6rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .section {
        padding: 50px 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .trail-image {
        height: 220px;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-nav-list {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* === LAPAS (PAGE) STILI === */
.page-content {
    padding: 60px 0 80px;
    background: #FCF9F2;
}

.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #1E2A2C;
    margin-bottom: 16px;
}

.page-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #2A5C3E;
    margin: 20px auto 0;
}

.page-body {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2C423F;
}

.page-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 40px 0 20px;
    color: #1E2A2C;
}

.page-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: #2A5C3E;
}

.page-body p {
    margin-bottom: 1.5rem;
}

.page-body ul, 
.page-body ol {
    margin: 0 0 1.5rem 2rem;
}

.page-body li {
    margin-bottom: 0.5rem;
}

.page-body a {
    color: #2A5C3E;
    text-decoration: underline;
    font-weight: 500;
}

.page-body a:hover {
    color: #1F4B32;
    text-decoration: none;
}

.page-body strong {
    color: #1E2A2C;
    font-weight: 700;
}

/* Citu lapu elementu stili (piemēram, statūtu saitei) */
.page-body .btn-link {
    display: inline-block;
    background: #2A5C3E;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    margin: 20px 0;
    transition: all 0.2s;
}

.page-body .btn-link:hover {
    background: #1F4B32;
    transform: translateY(-2px);
}

/* Pielāgojums mobilajām ierīcēm */
@media (max-width: 768px) {
    .page-content {
        padding: 40px 0 60px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-body {
        font-size: 1rem;
        padding: 0 16px;
    }
    
    .page-body h2 {
        font-size: 1.6rem;
    }
    
    .page-body h3 {
        font-size: 1.3rem;
    }
}

.trail-single {
    padding: 60px 0;
    background: #FCF9F2;
}
.trail-single-header {
    text-align: center;
    margin-bottom: 40px;
}
.trail-single-image {
    margin-bottom: 30px;
}
.trail-single-image img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
}
.trail-single-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #1E2A2C;
}
.trail-single-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Footer izvēlnes stili */
.footer-links a {
    color: #D9D2C5;
    text-decoration: none;
    margin-left: 28px;
}
.footer-links a:hover {
    color: white;
}

img.aligncenter {margin-left: auto; margin-right: auto; display: block;}
.page-body img {max-width: 100%; height: auto; }

.mw1200 {max-width: 1200px}

.grid{max-width:1800px;margin:0 auto}.grid-sizer,.grid-item{width:25%}.grid-item{float:left}.grid-item img{display:block;max-width:100%;width:100%;height:auto;padding:0 5px 10px}@media(max-width: 1200px){.grid-sizer,.grid-item{width:33.33%}}@media (max-width: 991px){.grid-sizer,.grid-item{width:50%}}@media (max-width: 480px){.grid-sizer,.grid-item{width:100%}.grid-item img{padding:0 0 5px}}@media(max-width: 460px){.page-title h1{font-size:30px;line-height:33px}}

.fancybox-nav span,.fancybox-close { background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGUAAAAgCAMAAAA8N0YiAAAAPFBMVEXq6uri4uJcXFytra3S0tLIx8eRkZF4eHhhYWHb29uamprV1dWysrJzc3O8vLzBwcGlpaWcnJxtbW2GhoYaQc03AAAA0ElEQVRIx91U7Q7CIAykwGAbH4Pt/d/VGIPoD44EnVbvF0kh17teEZ8CCRp8OHB3DLyIqMnDRAvDwVCL6QcteysWs9xPDiwmmV0LAL0bpMFbdyOxSgCscp5QfZrliurRXpt01iOLs5RKQCQpM6pvQQttIxqjKiRQLb4zBR+2Rq2QpH60TIcmzo0yVc/7oAPMDmopLEd1DyekNxfsmOnTpOIYoYxBGuRZTciL+5K781ePSSa0+6dtJcboD8P8P38Cl654ivkjKTy7Qvi6BadZdgGr3ASbRhAT+gAAAABJRU5ErkJggg=='); background-repeat: no-repeat;}
/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,.fancybox-skin,.fancybox-outer,.fancybox-inner,.fancybox-image,.fancybox-wrap iframe,.fancybox-wrap object,.fancybox-nav,.fancybox-nav span,.fancybox-tmp{padding:0;margin:0;border:0;outline:none;vertical-align:top}
.fancybox-wrap{position:absolute;top:0;left:0;z-index:8020}
.fancybox-skin{position:relative;background:#f9f9f9;color:#444;text-shadow:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}
.fancybox-opened{z-index:8030}
.fancybox-opened .fancybox-skin{-webkit-box-shadow:0 10px 25px rgba(0,0,0,0.5);-moz-box-shadow:0 10px 25px rgba(0,0,0,0.5);box-shadow:0 10px 25px rgba(0,0,0,0.5)}
.fancybox-outer,.fancybox-inner{position:relative}
.fancybox-inner{overflow:hidden}
.fancybox-type-iframe .fancybox-inner{-webkit-overflow-scrolling:touch}
.fancybox-error{color:#444;font:14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;margin:0;padding:15px;white-space:nowrap}
.fancybox-image,.fancybox-iframe{display:block;width:100%;height:100%}
.fancybox-image{max-width:100%;max-height:100%}
#fancybox-loading{position:fixed;top:50%;left:50%;margin-top:-22px;margin-left:-22px;background-position:0 -108px;opacity:.8;cursor:pointer;z-index:8060}
.fancybox-close{position:absolute;top:-18px;right:-18px;width:36px;height:36px;cursor:pointer;z-index:8040}
.fancybox-nav{position:absolute;top:0;width:40%;height:100%;cursor:pointer;text-decoration:none;background:transparent url(img/blank.gif);-webkit-tap-highlight-color:rgba(0,0,0,0);z-index:8040}
.fancybox-nav span{position:absolute;top:50%;width:36px;height:34px;margin-top:-18px;cursor:pointer;z-index:8040;visibility:hidden}
.fancybox-prev span{left:10px;background-position:0 -36px}
.fancybox-next span{right:10px;background-position:0 -72px}
.fancybox-nav:hover span{visibility:visible}
.fancybox-tmp{position:absolute;top:-99999px;left:-99999px;visibility:hidden;max-width:99999px;max-height:99999px;overflow:visible!important}
.fancybox-lock{overflow:hidden!important;width:auto}
.fancybox-lock body{overflow:hidden!important}
.fancybox-lock-test{overflow-y:hidden!important}
.fancybox-overlay{position:absolute;top:0;left:0;overflow:hidden;display:none;z-index:8010;}
.fancybox-overlay-fixed{position:fixed;bottom:0;right:0}
.fancybox-lock .fancybox-overlay{overflow:auto;overflow-y:scroll}
/* custom */
#fancybox-thumbs ul li img{max-width:none}
.info.hidden{display:none}
.fancybox-skin{color:#5c5c5c!important}
.fancybox-nav span{width:36px!important;height:36px!important;margin-top:-18px!important}
.fancybox-close{top:0!important;right:16px!important;width:29px!important;height:29px!important}
.fancybox-close,.fancybox-prev span,.fancybox-next span{-webkit-transition:all 200ms ease-in!important;-o-transition:all 200ms ease-in!important;-moz-transition:all 200ms ease-in!important;opacity:.5}
.fancybox-close:hover,.fancybox-prev span:hover,.fancybox-next span:hover{opacity:1!important}
.fancybox-wrap:hover .fancybox-close,.fancybox-wrap:hover .fancybox-prev span,.fancybox-wrap:hover .fancybox-next span{opacity:.9}
.fancybox-nav.fancybox-prev span{background-position:0 0}
.fancybox-nav.fancybox-next span{background-position:-36px 0}
.fancybox-close{background-position:-72px 0}
#fancybox-loading{margin-top:-18px!important;margin-left:-18px!important;opacity:1!important}
#fancybox-loading div{height:36px!important;width:36px!important;position:relative!important;-webkit-animation:rotation .8s infinite linear!important;-moz-animation:rotation .8s infinite linear!important;-o-animation:rotation .8s infinite linear!important;animation:rotation .8s infinite linear!important;border-left:3px solid rgba(87,164,164,.15)!important;border-right:3px solid rgba(87,164,164,.15)!important;border-bottom:3px solid rgba(87,164,164,.15)!important;border-top:3px solid rgba(87,164,164,.8)!important;border-radius:100%!important}
.fancybox-overlay{background:url(img/fancybox_overlay.png); background:rgba(27,27,27,0.94)!important}
.fancybox-opened .fancybox-skin{-webkit-box-shadow:none!important;-moz-box-shadow:none!important;box-shadow:none!important}
.fancybox-nav span{visibility:visible}
.fancybox-title-inside-wrap{padding-top:12px;padding-bottom:8px;background:#282828}
.fancybox-skin{padding-left:45px!important;padding-right:45px!important;background:none!important}
.fancybox-next{right:-55px}
.fancybox-prev{left:-55px}

@media (max-width: 1200px){
.fancybox-title{display:none}
.isotope .grid-sizer,
.full-portfolio .isotope .item{width:25%}
}
@media (max-width: 991px) { 
figure img{width:100%}
.fancybox-skin{padding-left:0!important;padding-right:0!important}
.fancybox-close{top:0!important;right:0!important}
.fancybox-next{right:-10px}
.fancybox-prev{left:-10px}
.fancybox-prev span,.fancybox-next span{opacity:0}
/*.fancybox-prev span,.fancybox-next span{display: none;}*/
.fancybox-wrap:hover .fancybox-close {opacity:.6}
.fancybox-wrap:hover .fancybox-prev span,.fancybox-wrap:hover .fancybox-next span{opacity:.4}
.isotope .grid-sizer,
.full-portfolio .isotope .item{width:33.333%;padding:2px}
}
@media (max-width: 767px) { 
.fix-portfolio .isotope .item{width:100%!important;height:auto!important}
.full-portfolio .isotope .item,.full-portfolio .isotope .grid-sizer{width:50%}
.classic-masonry .isotope .item{width:100%}
}