:root {
  --bg-main: #0b0c0b;
  --bg-card: #151716;
  --bg-hover: #1e211f;
  --text-main: #d4ddd7;
  --text-muted: #8c9991;
  --accent: #00ea5d;
  --accent-hover: #00ff66;
  --border-color: #212623;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header - Slim and Unstuck */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
}

.brand-logo span {
  color: var(--accent);
}

.desktop-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.desktop-nav a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
}

.desktop-nav a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Buttons */
.btn-primary {
  background-color: var(--accent);
  color: #00220c;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #000000;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: rgba(0, 234, 93, 0.1);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.2);
}

/* Main Content Container */
.main-content {
  flex: 1;
  padding: 40px 5%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-section {
  text-align: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Grid Layouts */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

/* Cards */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-img-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img-container img {
  transform: scale(1.05);
}

.card-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.card-content p {
  color: var(--text-muted);
  margin-bottom: 25px;
  flex: 1;
}

/* Detail Pages */
.detail-header {
  margin-bottom: 40px;
}

.detail-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
}

.detail-body {
  font-size: 1.1rem;
  color: var(--text-main);
}

.detail-body h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.detail-body ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.detail-body li {
  margin-bottom: 10px;
}

/* Footer - Mandatory */
.site-footer {
  background-color: #070807;
  border-top: 1px solid var(--border-color);
  padding: 60px 5% 20px 5%;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 40px;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col p {
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Legal Pages Typography */
.legal-content h2 { margin-top: 30px; }
.legal-content p { margin-bottom: 15px; color: var(--text-muted); }

/* Forms */
.contact-form {
  max-width: 600px;
  background: var(--bg-card);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 500;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: #fff;
  border-radius: 4px;
  font-family: var(--font-main);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 5px rgba(0,234,93,0.3);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1d1b;
  border-top: 1px solid var(--accent);
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
  flex-wrap: wrap;
  gap: 15px;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .desktop-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    background: var(--bg-main);
    padding: 20px 5%;
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
  }

  .desktop-nav.active {
    display: flex;
  }

  .hero-section h1 { font-size: 2.2rem; }
  
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}