/* ============================================
   Churrasqueira São Domingos — Styles
   ============================================ */

:root {
  --primary: #C41E3A; /* Cardinal Red */
  --primary-dark: #8B1527;
  --secondary: #FF8F00; /* Amber/Orange */
  --accent: #FFD700; /* Gold */
  --dark: #121212;
  --dark-light: #1E1E1E;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-500: #9E9E9E;
  --gray-800: #424242;
  --text-main: #E0E0E0;
  --text-muted: #B0B0B0;
  
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.7);
  
  --radius: 8px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 1rem;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.6);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--dark-light);
  color: var(--white);
  border: 1px solid var(--gray-800);
}

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

.btn--sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.4s ease;
}

.header.scrolled {
  padding: 5px 0;
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  height: 60px;
  width: auto;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
}

.nav__link:hover, .nav__link.active {
  color: var(--white);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav__link:hover::after, .nav__link.active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 30px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

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

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(18,18,18,0.95) 20%, rgba(18,18,18,0.4) 60%, rgba(18,18,18,0.8));
  z-index: 2;
}

.hero__embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(196, 30, 58, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease backwards;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeInLeft 0.8s ease 0.2s backwards;
}

.hero__title span {
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.hero__title span::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(255, 143, 0, 0.2);
  z-index: -1;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  animation: fadeInLeft 0.8s ease 0.4s backwards;
}

.hero__btns {
  display: flex;
  gap: 20px;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
  z-index: 3;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--text-muted);
  border-radius: 20px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollMouse 2s infinite;
}

/* ---------- Sections ---------- */
section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 16px;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ---------- Features ---------- */
.features {
  background: var(--dark-light);
  padding: 60px 0;
  margin-top: -50px;
  border-radius: 30px 30px 0 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 40px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}

.feature-card:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-10px);
  border-color: var(--primary);
}

.feature-card__icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Menu ---------- */
.menu-section {
  background: var(--dark);
}

.menu-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.menu-card {
  text-align: center;
  padding: 50px 30px;
  background: var(--dark-light);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-card:hover {
  border-color: var(--secondary);
  transform: scale(1.02);
}

.menu-card__icon {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.menu-card h3 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 12px;
}

.menu-card p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* ---------- Gallery ---------- */
.gallery {
  background: var(--dark-light);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery__item {
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__item:hover img {
  transform: scale(1.1);
}

/* ---------- Info Section ---------- */
.info-section {
  background: var(--dark);
}

.info-section__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.info-content h2 {
  text-align: left;
  margin-bottom: 30px;
}

.info-list {
  margin: 30px 0;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-main);
}

.info-list i {
  color: var(--primary);
}

.info-stats {
  display: flex;
  gap: 40px;
}

.stat strong {
  display: block;
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
}

.stat span {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-hours {
  background: var(--dark-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary);
}

.info-hours h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hours-list li:last-child {
  border: none;
}

.hours-list span:first-child {
  font-weight: 600;
  color: var(--text-muted);
}

.payment-icons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  font-size: 1.5rem;
  color: var(--text-muted);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--dark-light);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-address {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 30px;
}

.contact-address i {
  color: var(--primary);
  margin-right: 10px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
}

.contact-link i {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.3rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-5px);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0;
  background: var(--dark);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__legal a {
  margin: 0 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Animations ---------- */
@keyframes scrollMouse {
  0% { transform: translate(-50%, 0); opacity: 0; }
  20% { opacity: 1; }
  60% { transform: translate(-50%, 20px); opacity: 0; }
  100% { opacity: 0; }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Mobile Responsiveness ---------- */
@media (max-width: 1024px) {
  .hero__title { font-size: 3rem; }
  .features__grid, .menu-cards { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--dark);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  
  .nav.open { right: 0; }
  
  .nav__list {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .nav__link { font-size: 1.5rem; }
  
  .nav-toggle { display: flex; z-index: 1002; }
  
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
  
  .hide-mobile { display: none; }
  
  .hero__title { font-size: 2.5rem; }
  .features__grid, .menu-cards, .gallery__grid, .info-section__inner, .contact__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .info-hours { order: -1; }
  .hero__btns { flex-direction: column; }
}
