
:root{
  --bg: #1a1d23;
  --ink: #f0f4f8;
  --muted: #94a3b8;
  --brand: #d4af37;
  --brand-hover: #f4d03f;
  --card: #252932;
  --card-hover: #2d3142;
  --border: #374151;
  --accent: #8b5cf6;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scroll-behavior: smooth;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--brand-hover);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(26, 29, 35, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 1rem 0;
}

.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  display: block;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav a {
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav a:hover {
  background: var(--card);
  color: var(--brand-hover);
}

.nav-toggle {
  display: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  background: var(--card-hover);
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
  min-height: 70vh;
}

.hero img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.hero img:hover {
  transform: scale(1.02);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Cards */
.card {
  background: var(--card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.card:hover {
  background: var(--card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card h2 {
  color: var(--brand);
  margin-bottom: 1rem;
}

.card a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: white;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.card a:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Typography */
h1, h2, h3 {
  line-height: 1.3;
  margin: 0 0 1rem;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.site-footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  color: var(--brand);
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.contacts li {
  margin-bottom: 0.75rem;
}

.small {
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner.fade-out {
  opacity: 0;
  transform: translateY(20px);
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.cookie-actions button {
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-actions button:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.cookie-actions a {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 500;
}

input, textarea {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

button[type="submit"] {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 1rem 0 2rem;
}

.breadcrumbs a {
  color: var(--brand);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery figure {
  margin: 0;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.gallery figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
}

.gallery figcaption {
  padding: 1rem;
}

.gallery figcaption h4 {
  margin: 0 0 0.5rem;
  color: var(--brand);
  font-size: 1rem;
}

.gallery figcaption p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Gallery intro */
.gallery-intro {
  margin-bottom: 3rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: var(--card);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.stat-item span {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Contact info */
.contact-info {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 1.5rem 0;
}

.contact-info h3 {
  color: var(--brand);
  margin-bottom: 1rem;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info li:last-child {
  border-bottom: none;
}

/* Cookie options */
.cookie-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.cookie-options .card {
  text-align: center;
  padding: 1.5rem;
}

.cookie-options h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--brand);
}

.cookie-options p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

th, td {
  border: 1px solid var(--border);
  padding: 1rem;
  text-align: left;
}

th {
  background: var(--card);
  font-weight: 600;
  color: var(--brand);
}

/* Details/Summary */
details {
  margin: 1rem 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.5rem;
  background: var(--card);
  border-radius: 8px;
  transition: background 0.3s ease;
}

summary:hover {
  background: var(--card-hover);
}

details[open] summary {
  margin-bottom: 1rem;
}

/* Utility Classes */
.figure {
  display: block;
  margin: 1rem 0;
}

.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .wrap {
    padding: 0 1rem;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .site-footer .cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}
