/* ALCARA, s.r.o. — Design System v2 */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --color-bg: #0f1114;
  --color-surface: #1a1d22;
  --color-surface-light: #23272e;
  --color-accent: #e8a020;
  --color-accent-dark: #c4851a;
  --color-red: #c0392b;
  --color-green: #27ae60;
  --color-blue: #2980b9;
  --color-text: #e8e6e3;
  --color-text-muted: #9ca3af;
  --color-border: #2d3139;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ========== HEADER ========== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15, 17, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
}

.logo { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }

.logo-icon {
  width: 48px; height: 48px; background: var(--color-accent); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.8rem; color: var(--color-bg); letter-spacing: 1px;
}

.logo-text {
  font-family: var(--font-display); font-size: 1.8rem;
  letter-spacing: 2px; color: var(--color-text);
}
.logo-text span { color: var(--color-accent); }

nav { display: flex; align-items: center; gap: 2.25rem; }
nav a {
  text-decoration: none; color: var(--color-text-muted); font-weight: 600;
  font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; transition: color 0.2s;
}
nav a:hover, nav a.active { color: var(--color-accent); }

.nav-cta {
  background: var(--color-accent) !important; color: var(--color-bg) !important;
  padding: 0.55rem 1.5rem; border-radius: 6px; font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--color-accent-dark) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 26px; height: 2px; background: var(--color-text); transition: all 0.3s; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav {
    position: fixed; top: 76px; left: 0; right: 0; background: var(--color-surface);
    flex-direction: column; padding: 2rem; gap: 1.5rem;
    transform: translateY(-120%); transition: transform 0.3s;
    border-bottom: 2px solid var(--color-accent);
  }
  nav.open { transform: translateY(0); }
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 76px;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(15,17,20,0.95) 0%, rgba(15,17,20,0.65) 50%, rgba(15,17,20,0.85) 100%),
    url('assets/images/hero-bg.jpg') center/cover no-repeat;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(232,160,32,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,160,32,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(232,160,32,0.12); border: 1px solid rgba(232,160,32,0.3);
  padding: 0.5rem 1.25rem; border-radius: 50px; font-size: 0.9rem;
  color: var(--color-accent); font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: var(--font-display); font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 1; letter-spacing: 3px; margin-bottom: 1.75rem;
}
.hero h1 span { color: var(--color-accent); }

.hero-sub {
  font-size: 1.25rem; color: rgba(232,230,227,0.85); max-width: 560px;
  margin-bottom: 2.5rem; line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2.25rem; border-radius: 8px; font-weight: 700; font-size: 1rem;
  text-decoration: none; text-transform: uppercase; letter-spacing: 1px;
  transition: all 0.2s; border: none; cursor: pointer; font-family: var(--font-body);
}

.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--color-text); border: 1.5px solid var(--color-border); }
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ========== STATS BAR ========== */
.stats-bar {
  background: var(--color-surface); border-top: 2px solid var(--color-accent);
  border-bottom: 1px solid var(--color-border); padding: 3rem 0;
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }

.stat-item { position: relative; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 15%; height: 70%;
  width: 1px; background: var(--color-border);
}

.stat-number {
  font-family: var(--font-display); font-size: 3.2rem;
  color: var(--color-accent); letter-spacing: 2px; line-height: 1;
}

.stat-label {
  font-size: 0.9rem; color: var(--color-text-muted);
  text-transform: uppercase; letter-spacing: 1.5px; margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
}

/* ========== SECTIONS ========== */
.section { padding: 7rem 0; }
.section-dark { background: var(--color-surface); }

.section-header { text-align: center; margin-bottom: 4rem; }

.section-tag {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 3px;
  color: var(--color-accent); font-weight: 700; margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: 2px; margin-bottom: 1rem;
}

.section-desc { color: var(--color-text-muted); max-width: 620px; margin: 0 auto; font-size: 1.1rem; }

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

.product-card {
  background: var(--color-surface-light); border: 1px solid var(--color-border);
  border-radius: 12px; padding: 2.25rem; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}

.product-card:hover {
  border-color: var(--color-accent); transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(232,160,32,0.08);
}

.product-icon {
  width: 56px; height: 56px; background: rgba(232,160,32,0.1); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 1.25rem;
}

.product-card h3 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 1px; margin-bottom: 0.75rem; }
.product-card p { color: var(--color-text-muted); font-size: 1rem; line-height: 1.7; }

/* ========== BRANDS BAR ========== */
.brands-bar {
  background: var(--color-surface-light); border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border); padding: 2.5rem 0;
}

.brands-label {
  text-align: center; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 2px; color: var(--color-text-muted); margin-bottom: 1.5rem;
}

.brands-grid {
  display: flex; justify-content: center; align-items: center;
  gap: 3rem; flex-wrap: wrap;
}

.brand-item {
  font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 2px;
  color: var(--color-text-muted); opacity: 0.5; transition: opacity 0.2s;
}
.brand-item:hover { opacity: 0.85; }

/* ========== FUEL PRICES ========== */
.fuel-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}

.fuel-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: 12px; padding: 2.25rem; text-align: center; transition: border-color 0.2s;
  position: relative; overflow: hidden;
}

.fuel-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}

.fuel-card--green::before { background: var(--color-green); }
.fuel-card--amber::before { background: var(--color-accent); }
.fuel-card--blue::before { background: var(--color-blue); }

.fuel-card:hover { border-color: var(--color-accent); }

.fuel-type { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 2px; margin-bottom: 0.75rem; }
.fuel-price { font-family: var(--font-display); font-size: 3.5rem; color: var(--color-accent); letter-spacing: 1px; line-height: 1; }
.fuel-unit { font-size: 0.95rem; color: var(--color-text-muted); margin-top: 0.5rem; }

.fuel-note { text-align: center; color: var(--color-text-muted); font-size: 0.9rem; margin-top: 2rem; font-style: italic; }

.fuel-features {
  display: flex; justify-content: center; gap: 2rem; margin-top: 2.5rem;
  flex-wrap: wrap;
}

.fuel-feature {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.95rem; color: var(--color-text-muted);
}

.fuel-feature-icon {
  width: 36px; height: 36px; background: rgba(232,160,32,0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}

.about-text h3 { font-family: var(--font-display); font-size: 2rem; letter-spacing: 1px; margin-bottom: 1.25rem; }
.about-text p { color: var(--color-text-muted); margin-bottom: 1.25rem; line-height: 1.8; font-size: 1.05rem; }

.about-features { list-style: none; display: grid; gap: 1rem; }

.about-features li { display: flex; align-items: center; gap: 0.85rem; font-weight: 600; font-size: 1.05rem; }

.about-features li::before {
  content: '✓'; width: 30px; height: 30px;
  background: rgba(232,160,32,0.15); color: var(--color-accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
}

.about-image {
  background: var(--color-surface-light); border-radius: 16px; overflow: hidden;
  aspect-ratio: 4/3; border: 1px solid var(--color-border);
}

.about-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.contact-card {
  background: var(--color-surface-light); border: 2px solid var(--color-border);
  border-radius: 12px; padding: 2.5rem;
}

.contact-card h3 {
  font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 1px;
  margin-bottom: 1.5rem; color: var(--color-accent);
}

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--color-border); }
.hours-table td { padding: 0.75rem 0; font-size: 1.05rem; }
.hours-table td:first-child { color: var(--color-text-muted); }
.hours-table td:last-child { text-align: right; font-weight: 600; }

.contact-info { display: grid; gap: 1.5rem; }

.contact-item { display: flex; align-items: flex-start; gap: 1rem; }

.contact-icon {
  width: 48px; height: 48px; background: rgba(232,160,32,0.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}

.contact-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text-muted); margin-bottom: 0.25rem; }
.contact-value { font-weight: 600; font-size: 1.1rem; }
.contact-value a { color: var(--color-text); text-decoration: none; transition: color 0.2s; }
.contact-value a:hover { color: var(--color-accent); }

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

/* ========== MAP ========== */
.map-wrapper { border-radius: 12px; overflow: hidden; border: 1px solid var(--color-border); margin-top: 2.5rem; }
.map-wrapper iframe { width: 100%; height: 400px; border: 0; filter: grayscale(0.6) brightness(0.75) contrast(1.15); }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-surface); border-top: 1px solid var(--color-border);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-border);
}

.footer-about h4 {
  font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 2px;
  margin-bottom: 1rem; color: var(--color-accent);
}

.footer-about p { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.7; }

.footer-col h5 {
  font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 2px;
  margin-bottom: 1rem; color: var(--color-text);
}

.footer-col a {
  display: block; color: var(--color-text-muted); text-decoration: none;
  font-size: 0.95rem; padding: 0.3rem 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--color-accent); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 2rem; flex-wrap: wrap; gap: 1rem;
}

.footer-copy { color: var(--color-text-muted); font-size: 0.85rem; }
.footer-legal { color: var(--color-text-muted); font-size: 0.8rem; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 48px; height: 48px; background: var(--color-accent);
  color: var(--color-bg); border: none; border-radius: 12px;
  font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden;
  transition: all 0.3s; z-index: 50;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--color-accent-dark); transform: translateY(-3px); }
