@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;600;700&family=Teko:wght@500;600;700&display=swap");

:root {
  --red-1: #8d0e12;
  --red-2: #bb1519;
  --red-3: #e11f24;
  --gold-1: #ffcf5a;
  --gold-2: #f3a81b;
  --cream: #fff5de;
  --brown: #3d220f;
  --line: rgba(255, 214, 117, 0.35);
  --card: rgba(77, 8, 10, 0.82);
  --shadow: 0 16px 36px rgba(50, 4, 5, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--cream);
  font-family: "Barlow", "Segoe UI", sans-serif;
  line-height: 1.58;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 207, 90, 0.2), transparent 24%),
    radial-gradient(circle at 86% 8%, rgba(255, 207, 90, 0.14), transparent 20%),
    linear-gradient(150deg, var(--red-1), var(--red-2) 56%, var(--red-3));
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(118, 12, 15, 0.96), rgba(136, 14, 18, 0.88));
  backdrop-filter: blur(8px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(255, 197, 88, 0.35);
}

.brand strong {
  display: block;
  font-family: "Teko", sans-serif;
  letter-spacing: 0.04em;
  font-size: 1.45rem;
  line-height: 1;
  color: #ffe8b1;
}

.brand span {
  color: rgba(255, 239, 206, 0.88);
  font-size: 0.82rem;
}

.lang-switch {
  border: 1px solid var(--line);
  background: linear-gradient(120deg, var(--gold-1), var(--gold-2));
  color: var(--brown);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.lang-switch:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

nav {
  padding: 0 0 14px;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

nav a {
  display: inline-block;
  text-decoration: none;
  color: #ffeec7;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

nav a:hover,
nav a.active {
  background: linear-gradient(120deg, var(--gold-1), var(--gold-2));
  color: var(--brown);
  border-color: rgba(255, 207, 90, 0.9);
}

main {
  padding: 40px 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}

.card,
.panel {
  border-radius: 22px;
  border: 1px solid var(--line);
  padding: 24px;
  background: linear-gradient(170deg, rgba(93, 9, 11, 0.94), rgba(70, 7, 9, 0.88));
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.card:hover,
.panel:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 214, 117, 0.65);
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-family: "Teko", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.03;
  color: #ffe3a5;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 11px;
  color: #ffefca;
}

.tag {
  display: inline-block;
  margin: 0 8px 12px 0;
  border: 1px solid rgba(255, 219, 136, 0.9);
  border-radius: 999px;
  padding: 5px 10px;
  background: linear-gradient(120deg, rgba(255, 207, 90, 0.95), rgba(243, 168, 27, 0.95));
  color: #3f220d;
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cta {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  border-radius: 12px;
  padding: 11px 17px;
  background: linear-gradient(120deg, var(--gold-1), var(--gold-2));
  color: var(--brown);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(255, 184, 46, 0.38);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 14px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 212, 112, 0.56);
  background: rgba(65, 6, 8, 0.86);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease;
}

.gallery figure:hover {
  transform: translateY(-3px);
}

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

.gallery figcaption {
  padding: 10px 12px;
  font-size: 0.88rem;
  color: #ffedc4;
}

footer {
  border-top: 1px solid var(--line);
  color: #ffe9b7;
  padding: 20px 0 28px;
}

main .card,
main .panel,
main .gallery figure {
  animation: pop 0.55s ease both;
}

main .gallery figure:nth-of-type(2) {
  animation-delay: 0.06s;
}

main .gallery figure:nth-of-type(3) {
  animation-delay: 0.12s;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 930px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1160px, 94%);
  }

  .card,
  .panel {
    padding: 18px;
    border-radius: 16px;
  }

  .gallery img {
    height: 185px;
  }
}
