/* =========================================================
   gallery.css - Gallery Page
   ========================================================= */

/* -- Variables -- */
:root {
  --color-primary:    #114E72;
  --color-header:     #6A8CA0;
  --color-white:      #ffffff;
  --color-border:     #D9D9D9;
  --color-text-muted: #7E7E7E;
  --font-main:        'Hanuman', serif;
  --radius-btn:       20px;
  --radius-img:       40px;
}

.BtnLogin {
  background: var(--color-white);
  border-radius: var(--radius-btn);
  border: 2px solid var(--color-white);
  padding: 10px 28px;
  cursor: pointer;
}

.BtnLogin-text {
  color: var(--color-header);
  font-size: 24px;
  font-weight: 900;
}

/* -- Reset -- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background: var(--color-white);
  color: var(--color-primary);
}

a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
img { display: block; max-width: 100%; }

/* =========================================================
   HEADER  (2 rows: top-bar + navbar)
   ========================================================= */
.SiteHeader {
  width: 100%;
  background: var(--color-header);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* -- Row 1: logo + actions -- */
.SiteHeader-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
}

.SiteHeader-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.Logo-img {
  width: 82px;
  height: 60px;
  object-fit: contain;
}

.Logo-text {
  color: var(--color-white);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.SiteHeader-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.Icon-faq {
  width: 41px;
  height: 41px;
  object-fit: contain;
}

.BtnLogin {
  background: var(--color-white);
  border-radius: var(--radius-btn);
  border: 2px solid var(--color-white);
  padding: 10px 28px;
  cursor: pointer;
}

.BtnLogin-text {
  color: var(--color-header);
  font-size: 24px;
  font-weight: 900;
}

/* -- Row 2: navbar -- */
.Navbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px 18px;
  flex-wrap: nowrap;
}

.NavBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  border: 2px solid var(--color-white);
  background: var(--color-header);
  color: var(--color-white);
  font-size: 16px;
  font-family: var(--font-main);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.NavBtn:hover   { background: rgba(255,255,255,0.15); }
.NavBtn--active { background: var(--color-primary); }

/* =========================================================
   GALLERY GRID
   ========================================================= */
.GallerySection {
  padding: 40px 35px 60px;
}

.GalleryGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
}

.GalleryGrid-item {
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 437 / 291;
}

.GalleryGrid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.GalleryGrid-item:hover img {
  transform: scale(1.04);
}

.Icon-faq-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: opacity 0.2s, filter 0.2s;
  text-decoration: none;
}

.Icon-faq-link:hover {
  filter: brightness(0.85);
}