/*
Theme Name: CITA Tortilla Flakes
Theme URI: https://cita.ro
Author: CITA
Author URI: https://cita.ro
Description: Temă custom pentru brandul CITA - tortilla flakes. Design urban, dark & grungy cu accente gold.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cita
*/

/* ===== RESET & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #141414;
  --fg: #f2f2f2;
  --primary: #e6a800;
  --primary-fg: #0d0d0d;
  --muted: #999;
  --card: #1f1f1f;
  --border: #333;
  --flavor-red: #d42c2c;
  --flavor-green: #2d8a2d;
  --flavor-blue: #2080bf;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== UTILITIES ===== */
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted); }
.text-gradient-gold {
  background: linear-gradient(135deg, #e6a800, #f0c040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-style: italic;
}

.btn-cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  background: var(--primary);
  color: var(--primary-fg);
  transition: all 0.3s ease;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
}
.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(230, 168, 0, 0.4);
}

.bg-grungy {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(38, 38, 38, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(230, 168, 0, 0.03) 0%, transparent 40%);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--primary);
  letter-spacing: 0.05em;
}
.site-logo span { color: var(--fg); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  color: rgba(242, 242, 242, 0.8);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.site-nav a:hover { color: var(--primary); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1rem 2rem;
}
.mobile-nav.active { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  color: rgba(242, 242, 242, 0.8);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.875rem;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--primary); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20,20,20,0.95), rgba(20,20,20,0.7), rgba(20,20,20,0.4));
}
.hero-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg), transparent, transparent);
}
.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 6rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.hero h1 {
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-family: var(--font-display);
  line-height: 0.95;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}
.hero p {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 28rem;
}
.hero .btn-cta { margin-top: 2rem; }

.hero-mascot {
  display: flex;
  justify-content: center;
}
.hero-mascot img {
  width: 400px;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.5));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ===== FLAVORS ===== */
.flavors { padding: 6rem 0; }
.flavors-header { text-align: center; margin-bottom: 4rem; }
.flavors-header p { color: var(--muted); margin-top: 0.75rem; font-size: 1.125rem; }

.flavors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

.flavor-card {
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}
.flavor-card:hover {
  transform: scale(1.05) translateY(-0.5rem);
}

.flavor-card--red {
  background: linear-gradient(180deg, rgba(212,44,44,0.3), rgba(120,25,25,0.6));
  border: 1px solid rgba(212,44,44,0.4);
}
.flavor-card--green {
  background: linear-gradient(180deg, rgba(45,138,45,0.3), rgba(25,80,25,0.6));
  border: 1px solid rgba(45,138,45,0.4);
}
.flavor-card--blue {
  background: linear-gradient(180deg, rgba(32,128,191,0.3), rgba(20,75,120,0.6));
  border: 1px solid rgba(32,128,191,0.4);
}

.flavor-card .emoji { font-size: 1.5rem; }
.flavor-card h3 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  margin-top: 0.5rem;
}
.flavor-card .subtitle {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.flavor-card .product-img {
  width: 12rem;
  height: 16rem;
  margin: 1rem auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.flavor-card:hover .product-img { transform: scale(1.1); }
.flavor-card .btn-cta { font-size: 0.875rem; padding: 0.5rem 1.5rem; margin-top: 1rem; }

/* ===== STREET SECTION ===== */
.street { padding: 6rem 0; }
.street-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.street h2 { margin-bottom: 1rem; }
.street p {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 32rem;
  margin-top: 1rem;
}
.street-img-wrap {
  position: relative;
}
.street-img-wrap img {
  border-radius: 1rem;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}
.street-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(to top, rgba(20,20,20,0.6), transparent);
}

/* ===== SOCIAL ===== */
.social { padding: 6rem 0; }
.social-header { text-align: center; margin-bottom: 3rem; }
.social-header p { color: var(--muted); margin-top: 1rem; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
.social-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
}
.social-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.5s ease;
}
.social-item:hover img {
  filter: grayscale(0);
  transform: scale(1.1);
}

/* ===== FOOTER ===== */
.site-footer { border-top: 1px solid var(--border); padding: 4rem 0; }
.retailers { text-align: center; margin-bottom: 3rem; }
.retailers h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.retailers-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.retailers-list span {
  color: rgba(242,242,242,0.6);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.retailers-list span:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: var(--muted); font-size: 0.875rem; }
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a {
  color: var(--muted);
  font-size: 0.875rem;
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-nav, .site-header .btn-cta-desktop { display: none; }
  .menu-toggle { display: block; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-mascot { display: none; }
  .hero h1 { font-size: 3.5rem; }

  .flavors-grid { grid-template-columns: 1fr; max-width: 24rem; }

  .street-grid { grid-template-columns: 1fr; }

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

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .social-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== FLAVOR DETAIL PAGE ===== */
.back-link:hover { color: var(--primary) !important; }

@media (max-width: 768px) {
  .flavor-hero-grid { grid-template-columns: 1fr !important; }
  .flavor-hero-grid > div:first-child { order: -1; }
  .flavor-hero-grid img { width: 14rem !important; }
  .nutrition-grid { grid-template-columns: 1fr !important; }
  .flavor-card a.flavor-card, section > .container > div[style*="grid-template-columns: repeat(2"] { grid-template-columns: 1fr !important; }
}
