/* ── HOMEPAGE ── */

/* HERO */
.hero {
  height: 70vh;
  min-height: 480px;
  background-color: #5f6e4c;
  background-image: url("../images/pagrindinis.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 60px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0,0,0,0.58) 0%,
    rgba(0,0,0,0.25) 60%,
    rgba(0,0,0,0.08) 100%
  );
}

.hero-content {
  position: relative;
  color: white;
  max-width: 580px;
}

.hero-content h1 {
  margin: 0 0 14px;
  font-size: 3rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-content p {
  margin: 0;
  font-size: 1.15rem;
  opacity: 0.92;
  line-height: 1.5;
}

.hero-badge {
  display: inline-block;
  background: rgba(167,177,147,0.35);
  border: 1px solid rgba(167,177,147,0.6);
  color: rgba(255,255,255,0.95);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-family: 'Nunito', sans-serif;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 15px 36px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: #5f6e4c;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(167,177,147,0.45);
}

.btn-primary:hover {
  background: #2d342b;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(45,52,43,0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
}

.btn-white:focus-visible {
  outline: 3px solid #2d342b;
  outline-offset: 3px;
}

/* STATS STRIP */
.stats-strip {
  background: #2d342b;
  padding: 28px 20px;
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  color: white;
  padding: 0 20px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}

.stat-number {
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #5f6e4c;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  opacity: 0.7;
  letter-spacing: 0.3px;
}

/* ABOUT */
.about {
  max-width: 1060px;
  margin: 0 auto;
  padding: 70px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #2d342b;
  margin: 0 0 16px;
  line-height: 1.2;
}

.about-text p {
  color: #555;
  line-height: 1.7;
  margin: 0 0 28px;
  font-size: 1rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #444;
  font-size: 0.97rem;
  line-height: 1.5;
}

.about-list i {
  color: #5f6e4c;
  margin-top: 3px;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Feature cards on the right */
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-feature {
  background: white;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border: 1px solid #e8ede0;
  border-top: 3px solid #5f6e4c;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.11);
}

.about-feature .feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #5f6e4c, #6b7a58);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.about-feature .feature-icon i {
  color: white;
  font-size: 1.2rem;
}

.about-feature h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #2d342b;
  margin: 0 0 6px;
}

.about-feature p {
  font-size: 0.8rem;
  color: #777;
  margin: 0;
  line-height: 1.4;
}

/* GALLERY PREVIEW */
.home-preview {
  background: #f8faf6;
  padding: 70px 0 90px;
}

.preview-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-heading {
  text-align: center;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #2d342b;
  margin: 0 0 8px;
}

.section-heading p {
  color: #777;
  font-size: 0.97rem;
  margin: 0;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.preview-grid a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #e8ede0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-grid img {
  width: 100%;
  height: 190px;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.preview-grid a:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
}

.preview-grid a:hover img {
  transform: scale(1.05);
}

.preview-note {
  text-align: center;
  margin-top: 24px;
  color: #666;
  font-size: 0.92rem;
}

.preview-note a {
  color: #5f6e4c;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.preview-note a:hover {
  color: #2d342b;
}

/* CTA BANNER */
.home-cta {
  background: linear-gradient(135deg, #5f6e4c 0%, #4a5639 100%);
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.home-cta h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.home-cta p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin: 0 0 28px;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 38px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #2d342b;
  background: white;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-white:hover {
  background: #2d342b;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 50px 20px;
  }
  .about-text h2 { font-size: 1.7rem; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(3, 1fr); gap: 0; }
}

@media (max-width: 600px) {
  .hero { height: 65vh; padding: 0 22px; }
  .hero-content h1 { font-size: 2.1rem; }
  .hero-content p { font-size: 1rem; }
  .about-cards { grid-template-columns: 1fr 1fr; }
  .preview-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .preview-grid img { height: 150px; }
  .stats-inner { grid-template-columns: 1fr; gap: 20px; }
  .stat-item + .stat-item::before { display: none; }
  .home-cta h2 { font-size: 1.6rem; }
}

@media only screen and (min-width: 481px) and (max-width: 1024px) {
  .hero { height: 60vh; padding: 0 36px; }
  .hero-content h1 { font-size: 2.4rem; }
  .about { grid-template-columns: 1fr; gap: 32px; padding: 56px 24px; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .preview-grid img { height: 200px; }
  .preview-inner { padding: 0 24px; }
  .home-preview { padding: 56px 0 70px; }
}
