*{margin:0;padding:0;box-sizing:border-box}
:root{--green:#2f8b3c;--green-dark:#17351d;--muted:#68726a;--border:#e3ece2;--shadow:0 20px 55px rgba(20,55,27,.12)}
html{scroll-behavior:smooth}
body{font-family:'Poppins',sans-serif;color:#1f2d22;background:#f8faf7;overflow-x:hidden}
body.lightbox-open{overflow:hidden}
a{text-decoration:none}ul{list-style:none}img{display:block;max-width:100%}button{font:inherit}
.container{width:90%;max-width:1300px;margin:auto}

.main-header{position:fixed;top:0;left:0;width:100%;z-index:9999;background:#fff;box-shadow:0 2px 18px rgba(0,0,0,.08)}
.header-container{min-height:115px;display:grid;grid-template-columns:300px 1fr 300px;align-items:center;padding:12px 0}
.logo{justify-self:start;display:flex;align-items:center}.logo img{width:260px;height:auto;max-width:none}
nav{justify-self:center}nav ul{display:flex;align-items:center;justify-content:center;gap:42px}
nav a{position:relative;color:#292f2a;font-size:16px;font-weight:600;transition:.3s}
nav a::after{content:"";position:absolute;left:0;bottom:-9px;width:0;height:3px;border-radius:20px;background:var(--green);transition:.3s}
nav a:hover,nav a.active{color:var(--green)}nav a:hover::after,nav a.active::after{width:100%}

.page-hero{min-height:430px;margin-top:115px;position:relative;display:flex;align-items:center;justify-content:center;text-align:center;background:url("../img/hero-v2.jpg") center center/cover no-repeat}
.page-hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,20,8,.42),rgba(5,20,8,.72))}
.page-hero-content{position:relative;z-index:2;color:#fff}
.page-hero-content span{display:inline-block;margin-bottom:16px;color:#9ce38d;font-size:15px;font-weight:700;letter-spacing:5px}
.page-hero-content h1{margin-bottom:18px;font-size:68px;font-weight:800}
.page-hero-content p{max-width:760px;margin:auto;color:rgba(255,255,255,.9);font-size:20px;line-height:1.8}

.gallery-section{padding:110px 0;background:#fff}
.section-title{margin-bottom:42px;text-align:center}
.section-title span{display:inline-block;color:var(--green);font-size:14px;font-weight:800;letter-spacing:4px}
.section-title h2{margin:14px 0;color:var(--green-dark);font-size:46px}
.section-title p{max-width:720px;margin:auto;color:var(--muted);font-size:17px;line-height:1.8}
.gallery-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-bottom:45px}
.filter-button{cursor:pointer;padding:12px 24px;color:#2e3830;background:#fff;border:1px solid var(--border);border-radius:40px;box-shadow:0 8px 22px rgba(20,55,27,.06);transition:.3s}
.filter-button:hover,.filter-button.active{color:#fff;background:var(--green);border-color:var(--green);transform:translateY(-2px);box-shadow:0 12px 25px rgba(47,139,60,.25)}

.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:310px;gap:22px}
.gallery-item{cursor:pointer;position:relative;overflow:hidden;width:100%;height:100%;padding:0;background:#edf4ec;border:0;border-radius:22px;box-shadow:0 14px 35px rgba(20,55,27,.10);transition:.35s}
.gallery-item:hover{transform:translateY(-8px);box-shadow:var(--shadow)}
.gallery-item.is-hidden{display:none}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease}
.gallery-item:hover img{transform:scale(1.08)}
.gallery-item-wide{grid-column:span 2}
.gallery-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:28px;color:#fff;text-align:left;background:linear-gradient(180deg,rgba(0,0,0,0) 35%,rgba(5,25,9,.86) 100%)}
.gallery-overlay strong{font-size:22px}.gallery-overlay small{margin-top:4px;color:rgba(255,255,255,.78);font-size:14px}
.gallery-overlay i{position:absolute;right:24px;bottom:27px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:var(--green-dark);background:#fff;border-radius:50%;opacity:0;transform:translateY(10px);transition:.3s}
.gallery-item:hover .gallery-overlay i{opacity:1;transform:translateY(0)}

.lightbox{visibility:hidden;opacity:0;position:fixed;inset:0;z-index:20000;display:flex;align-items:center;justify-content:center;padding:35px;background:rgba(5,18,8,.92);backdrop-filter:blur(8px);transition:.25s}
.lightbox.open{visibility:visible;opacity:1}
.lightbox-content{width:min(1100px,84vw);max-height:86vh;display:flex;flex-direction:column;align-items:center}
.lightbox-content img{max-width:100%;max-height:76vh;object-fit:contain;border-radius:18px;box-shadow:0 25px 70px rgba(0,0,0,.45)}
.lightbox-content figcaption{margin-top:16px;color:#fff;font-size:17px;font-weight:600;text-align:center}
.lightbox-close,.lightbox-nav{cursor:pointer;position:absolute;display:flex;align-items:center;justify-content:center;color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);border-radius:50%;transition:.3s}
.lightbox-close:hover,.lightbox-nav:hover{background:var(--green);border-color:var(--green)}
.lightbox-close{top:24px;right:24px;width:50px;height:50px;font-size:23px}
.lightbox-nav{top:50%;transform:translateY(-50%);width:54px;height:54px;font-size:20px}
.lightbox-prev{left:25px}.lightbox-next{right:25px}

.footer{color:#fff;background:#102716}
.footer-content{padding:70px 0;display:grid;grid-template-columns:1.3fr .7fr 1fr;gap:70px}
.footer-brand img{width:260px;margin-bottom:20px;filter:brightness(0) invert(1)}
.footer-brand p{max-width:420px;color:rgba(255,255,255,.72);line-height:1.8}
.footer h3{margin-bottom:20px;color:#fff;font-size:19px}
.footer-links,.footer-contact{display:flex;flex-direction:column;align-items:flex-start}
.footer-links a,.footer-contact a,.footer-contact p{margin-bottom:12px;color:rgba(255,255,255,.75);font-size:14px;transition:.3s}
.footer-links a:hover,.footer-contact a:hover{color:#8ddb76;transform:translateX(4px)}
.footer-contact i{width:24px;color:#85d872}.footer-address{display:flex;align-items:flex-start;gap:10px}.footer-address span{line-height:1.7}
.footer-bottom{padding:20px;text-align:center;border-top:1px solid rgba(255,255,255,.1)}
.footer-bottom p{color:rgba(255,255,255,.65);font-size:13px}

@media(max-width:1100px){
.header-container{grid-template-columns:240px 1fr 240px}.logo img{width:220px}nav ul{gap:24px}
.gallery-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
.header-container{min-height:auto;display:flex;flex-direction:column;gap:18px;padding:18px 0}
nav ul{flex-wrap:wrap;justify-content:center;gap:20px}.page-hero{margin-top:150px}
.footer-content{grid-template-columns:1fr;gap:40px}
}
@media(max-width:650px){
.container{width:92%}.logo img{width:190px}nav ul{gap:14px}nav a{font-size:13px}
.page-hero{min-height:390px;margin-top:145px}.page-hero-content h1{font-size:44px}.page-hero-content p{font-size:16px}
.gallery-section{padding:80px 0}.section-title h2{font-size:34px}.gallery-filters{gap:10px}.filter-button{padding:10px 16px;font-size:13px}
.gallery-grid{grid-template-columns:1fr;grid-auto-rows:280px}.gallery-item-wide{grid-column:span 1}
.gallery-overlay{padding:22px}.gallery-overlay strong{font-size:19px}
.lightbox{padding:18px}.lightbox-content{width:92vw}.lightbox-nav{top:auto;bottom:20px;width:48px;height:48px;transform:none}
.lightbox-prev{left:calc(50% - 58px)}.lightbox-next{right:calc(50% - 58px)}
.footer-brand img{width:220px}
}
