/* ===== RLCOU.COM - Main Stylesheet ===== */

:root {
  --red: #d32f2f;
  --red-dark: #b71c1c;
  --red-light: #ffebee;
  --gold: #f9a825;
  --gold-light: #fff8e1;
  --dark: #1a1a1a;
  --text: #333333;
  --text-light: #666666;
  --border: #e0e0e0;
  --bg: #f5f5f5;
  --white: #ffffff;
  --card-shadow: 0 2px 8px rgba(0,0,0,0.10);
  --card-shadow-hover: 0 6px 20px rgba(0,0,0,0.16);
  --radius: 8px;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== TOP NAV ===== */
.top-nav {
  background: var(--dark);
  padding: 7px 0;
  font-size: 12px;
}
.top-nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.top-nav-links a {
  color: #cccccc;
  font-size: 12px;
  transition: color 0.2s;
}
.top-nav-links a:hover { color: var(--gold); text-decoration: none; }

/* ===== MAIN HEADER ===== */
.main-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 52px;
  height: 52px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(211,47,47,0.4);
}
.logo-icon img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}
/* Fallback SVG beaver inline */
.logo-beaver-svg {
  width: 52px;
  height: 52px;
}
.logo-text { display: flex; flex-direction: column; }
.logo-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
  line-height: 1;
}
.logo-sub {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  padding: 6px 14px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.main-nav a:hover {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 2px solid var(--red);
  color: var(--red);
  font-size: 20px;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 2px solid var(--red);
  padding: 10px 16px;
}
.mobile-nav a {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--dark);
  font-weight: 500;
  text-transform: uppercase;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.open { display: flex; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius);
  margin: 24px 0 20px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '🦫';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 100px;
  opacity: 0.12;
  pointer-events: none;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.1;
}
.hero-desc {
  font-size: 15px;
  max-width: 700px;
  opacity: 0.95;
  line-height: 1.7;
}
.hero-desc strong { color: var(--gold); }

/* ===== AD SLOTS ===== */
.ad-slot {
  margin: 24px 0;
  text-align: center;
}
.ad-placeholder {
  background: #f0f0f0;
  border: 2px dashed #cccccc;
  color: #aaaaaa;
  font-size: 12px;
  padding: 20px;
  border-radius: var(--radius);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ad-slot-banner .ad-placeholder { padding: 30px; }

/* ===== MENU SECTIONS ===== */
.menu-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 24px;
  box-shadow: var(--card-shadow);
}
.menu-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--red-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red-light);
}
.section-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 900px;
}
.section-desc strong { color: var(--text); font-weight: 600; }

/* ===== MENU GRID ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.menu-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--red);
}
.menu-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: var(--bg);
}
.card-info {
  padding: 10px 8px 12px;
}
.card-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-price {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
}
.card-price span {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
}

/* ===== PRO TIP ===== */
.pro-tip {
  background: var(--gold-light);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin-top: 20px;
  font-size: 14px;
  color: #5d4037;
  line-height: 1.5;
}
.pro-tip strong { color: #e65100; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: #cccccc;
  padding: 40px 0 20px;
  margin-top: 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #333;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo-title { color: #ff6659; }
.footer-brand .logo-sub { color: #aaa; }
.footer-brand p { font-size: 13px; color: #999; line-height: 1.6; max-width: 280px; }
.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: #aaaaaa;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); text-decoration: none; }
.footer-bottom {
  padding-top: 20px;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: #777;
  line-height: 1.7;
}
.footer-bottom a { color: #aaa; }
.footer-bottom a:hover { color: var(--gold); }

/* ===== INNER PAGES ===== */
.page-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  margin: 24px 0 40px;
  box-shadow: var(--card-shadow);
  max-width: 800px;
}
.page-content h1 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--red-dark);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.page-content h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--dark);
  margin: 24px 0 10px;
}
.page-content p { margin-bottom: 14px; line-height: 1.75; color: var(--text); }
.page-content ul { padding-left: 22px; margin-bottom: 14px; }
.page-content li { margin-bottom: 6px; line-height: 1.7; }
.page-content a { color: var(--red); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .menu-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { padding: 28px 20px; }
  .hero::before { display: none; }
  .menu-section { padding: 20px 14px; }
  .menu-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand p { max-width: 100%; }
  .top-nav-links { gap: 10px; }
}

@media (max-width: 380px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== IMAGE FALLBACK ===== */
.menu-card img {
  background: #f0f0f0;
  min-height: 140px;
}
.menu-card img[src=""] {
  background: linear-gradient(135deg, #f5f5f5 0%, #eeeeee 100%);
  position: relative;
}
