/* CSS GERAL DO SITE - NACORRIDA.COM */
:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #b11217;
  --primary-hover: #8f0f13;
  --border: #e2e8f0;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --alpha-shadow: rgba(0,0,0,0.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
}

/* HEADER */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  width: 100%;
  /*  position: fixed; */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  max-width: 1180px;
  margin: 0 auto;   
}

.nav-desktop a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.nav-desktop a:hover {
  color: var(--primary);
}


.nav-mobile.open {
    display: flex;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.nav-mobile a {
    padding: 15px 20px;
    text-decoration: none;
    color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}

.nav-mobile a:hover {
  background: #f8f9fb;
}

.nav-desktop {
  display: flex;
  gap: 24px;
}

@media (max-width: 768px) {

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-mobile.open {
    display: flex;
  }

}
/* SEARCH */
/* ================= SEARCH ================= */

.search-section {
    padding: 0;
    background: transparent;
    margin-top: 15px;
    margin-bottom: 10px;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 18px 25px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px var(--alpha-shadow);
}

.search-container h3 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 16px;
}

.search-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.search-form input,
.search-form select {
    flex: 1;
    min-width: 220px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid #ddd;
    font-size: 14px;
}

.search-form button {
    background: #b51217;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.search-form button:hover {
    background: #8f0f13;
}

/* DESABILITAR POR ENQUANTO */
.search-disabled {
    display: none;
}

/* HERO */
/* ================= HERO ================= */

.hero {
    background: transparent;
    margin-bottom: 10px;
}
.hero-container {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 30px 40px;
    box-shadow: 0 15px 35px var(--alpha-shadow);
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #111;
}

.hero-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.hero-actions {
    margin-top: 10px;
}

.btn-hero-primary {
    display: inline-block;
    background: #b51217; /* vermelho fechado elegante */
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: #8f0f13;
    transform: translateY(-2px);
}

/* HERO IMAGE */

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

/* Overlay leve para contraste */
.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.15), rgba(0,0,0,0));
    border-radius: var(--radius-lg);
}

/* ================= RESPONSIVO ================= */

@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 16px;
    }
}

.hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 30px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    font-size: 34px;
    font-weight: 700;
    color: #b51217;
    line-height: 1;
}

.hero-stat span {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

.hero-stat strong::before {
    content: "+";
}

/* EVENT CARD */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.event-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s ease;
  box-shadow: 0 15px 35px var(--alpha-shadow);
}

.event-card:hover {
  transform: translateY(-4px);
}

.event-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.event-body {
  padding: 20px;
}

.event-date {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

.btn-primary {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

/* FOOTER */
/* ================= FOOTER ================= */

.main-footer {
    margin-top: 80px;
    padding: 30px 20px;
    background: #111;
    color: #aaa;
    font-size: 13px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.main-footer strong {
    color: #fff;
}