


/* ===== GALERIJA ===== */

.gallery-section {
    padding: 60px 20px;
    background: #f8f8f8;
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
* {
    box-sizing: border-box;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  
  background: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', system-ui, sans-serif;


}



.gallery-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.gallery-card {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
    background: #ddd;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-grid img {
    width: 100%;
    height: 100%;

    aspect-ratio: 4 / 3;     /* 🔑 VISOS VIENODO DYDŽIO */
    object-fit: cover;       /* 🔑 NEIŠTEMPINA, O APKERPA */
    object-position: center; /* 🔑 CENTRAS LIEKA */

    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    background: #ddd;

    transition: transform .3s ease, box-shadow .3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

/* MOBILE */
@media (max-width: 600px) {
    .gallery-grid img {
        aspect-ratio: 3 / 4;
    }
}
.gallery-section {
  background: #ffffff;
  border-radius: 20px;
  padding: 60px 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.gallery-hero {
  text-align: center;
  padding: 80px 20px 40px;
}

.gallery-hero h1 span {
  color: var(--accent);
}


.gallery-hero p {
  font-size: 18px;
  color: #666;
}
.gallery-grid {
  margin-top: 40px;
}
:root {
  --bg-main: #9fa2a79c;        /* bendras puslapio fonas */
  --bg-section: #e9e9e9;    /* sekcijų / kortelių fonas */

  --text-main: #1f2933;     /* pagrindinis tekstas */
  --text-muted: #6b7280;    /* antrinis tekstas */

  --accent: #8b6f4e;        /* šiltas akcentas (medis / jaukumas) */
  --border-soft: #e5e7eb;   /* švelnios linijos */

  --shadow-soft: 0 20px 40px rgba(0,0,0,0.06);
}
.gallery-section {
  background: var(--bg-section);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}
h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
}
.gallery-hero h1 span {
  color: var(--accent);
}
/* ===== NAVBAR ===== */

.navbar {
  background: #9fa2a79c;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  padding-bottom: 6px;
}

nav a:hover {
  color: var(--text-main);
}

nav a.active {
  color: var(--text-main);
}

nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

