/* ==========================================================================
   Homepage Styles - Chicken or Pasta 2025
   ========================================================================== */

/* CSS Variables (fallback if not in compiled.css) */
:root {
  --post-color: #668f97;
  --guide-color: #8967bc;
  --weekend-guide-color: #d48425;
  --site-color: #86b23b;
  --black-color: #272727;
  --white-color: #ffffff;
  --light-gray-color: #eeeeee;
  --gray-color: #797979;
  --reader: reader, Helvetica, sans-serif;
}

/* ==========================================================================
   Site Header
   ========================================================================== */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.menu-toggle {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #fff;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--reader);
  font-weight: 600;
  font-size: 0.875rem;
}

.site-logo svg {
  width: 28px;
  height: 28px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-family: var(--reader);
  font-size: 0.8125rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link-arrow {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link-arrow::after {
  content: '→';
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */

.hero-slider {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-slider {
    height: 560px;
  }
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  max-width: 700px;
  padding: 0 2rem;
  z-index: 10;
}

.hero-category {
  display: inline-block;
  color: #fff;
  font-family: var(--reader);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-title {
  margin: 0;
  font-family: var(--reader);
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.hero-title a {
  color: #fff;
  text-decoration: none;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 20;
}

.hero-nav:hover {
  background: rgba(255,255,255,0.3);
}

.hero-nav svg {
  color: #fff;
}

.hero-nav-prev {
  left: 1.5rem;
}

.hero-nav-next {
  right: 1.5rem;
}

@media (max-width: 768px) {
  .hero-nav {
    width: 36px;
    height: 36px;
  }
  
  .hero-nav-prev {
    left: 0.75rem;
  }
  
  .hero-nav-next {
    right: 0.75rem;
  }
}

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-dot.active,
.hero-dot:hover {
  background: #fff;
}

/* ==========================================================================
   Section Base Styles
   ========================================================================== */

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

.section-title {
  font-family: var(--reader);
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 0.5rem;
  color: var(--black-color);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
}

.section-subtitle {
  font-family: Georgia, serif;
  font-size: 0.9375rem;
  text-align: center;
  color: var(--gray-color);
  margin: 0 0 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--black-color);
  border-radius: 2rem;
  color: var(--black-color);
  text-decoration: none;
  font-family: var(--reader);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--black-color);
  color: #fff;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--site-color);
  border: none;
  border-radius: 2rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--reader);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #75a030;
}

/* ==========================================================================
   Novidades Section
   ========================================================================== */

.section-novidades {
  padding: 4rem 0;
  background: #fff;
}

.novidades-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .novidades-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .novidades-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.novidades-card {
  background: #fff;
}

.novidades-card-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.novidades-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.novidades-card-image {
  width: 100%;
  padding-bottom: 75%;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}

.novidades-card-featured .novidades-card-image {
  padding-bottom: 100%;
}

@media (min-width: 768px) {
  .novidades-card-featured .novidades-card-image {
    padding-bottom: calc(100% - 60px);
  }
}

.novidades-card-content {
  padding: 0.75rem 0;
}

.novidades-card-category {
  display: block;
  font-family: var(--reader);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--gray-color);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}

.novidades-card-title {
  font-family: var(--reader);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  color: var(--black-color);
}

.novidades-card-featured .novidades-card-title {
  font-size: 1rem;
}

@media (min-width: 768px) {
  .novidades-card-title {
    font-size: 0.875rem;
  }
  
  .novidades-card-featured .novidades-card-title {
    font-size: 1.125rem;
  }
}

/* ==========================================================================
   Projetos Especiais Section
   ========================================================================== */

.section-projetos {
  padding: 4rem 0;
  background: var(--light-gray-color);
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .projetos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.projeto-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.projeto-card-link {
  display: block;
  text-decoration: none;
}

.projeto-card-image {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
}

.projeto-card:hover .projeto-card-image {
  transform: scale(1.05);
}

.projeto-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%);
}

.projeto-card-title {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  margin: 0;
  font-family: var(--reader);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

@media (min-width: 768px) {
  .projeto-card-title {
    font-size: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
  }
}

/* ==========================================================================
   Editors Picks Section
   ========================================================================== */

.section-editors {
  padding: 4rem 0;
  background: #fff;
}

.editors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .editors-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
  }
}

.editors-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.editors-card-image {
  width: 100%;
  padding-bottom: 75%;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}

.editors-card-content {
  padding: 0.75rem 0;
  text-align: center;
}

.editors-card-category {
  display: block;
  font-family: var(--reader);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--gray-color);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}

.editors-card-title {
  font-family: var(--reader);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  color: var(--black-color);
}

/* ==========================================================================
   Guias Section
   ========================================================================== */

.section-guias {
  padding: 4rem 0;
  background: #fff;
}

.guias-scroll {
  overflow-x: auto;
  margin: 0 -1.5rem;
  padding: 0 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.guias-scroll::-webkit-scrollbar {
  display: none;
}

.guias-track {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
}

.guia-card {
  flex: 0 0 280px;
  min-width: 280px;
}

@media (min-width: 768px) {
  .guia-card {
    flex: 0 0 320px;
    min-width: 320px;
  }
}

.guia-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.guia-card-image {
  position: relative;
  width: 100%;
  padding-bottom: 140%;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  overflow: hidden;
}

.guia-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 50%);
}

.guia-card-title {
  font-family: var(--reader);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0.75rem 0 0;
  color: var(--black-color);
}

/* ==========================================================================
   Weekend Section
   ========================================================================== */

.section-weekend {
  padding: 4rem 0;
  background: #fff;
}

.weekend-featured {
  max-width: 800px;
  margin: 0 auto;
}

.weekend-card {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  overflow: hidden;
}

.weekend-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
}

.weekend-card-content {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 10;
}

.weekend-card-city {
  font-family: var(--reader);
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem;
}

@media (min-width: 768px) {
  .weekend-card-city {
    font-size: 3.5rem;
  }
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */

.section-newsletter {
  padding: 2.5rem 0;
  background: var(--site-color);
}

.section-newsletter .section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .section-newsletter .section-container {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
  }
}

.newsletter-title {
  font-family: var(--reader);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.newsletter-links {
  display: flex;
  gap: 2rem;
}

.newsletter-link {
  color: #fff;
  text-decoration: none;
  font-family: var(--reader);
  font-size: 0.875rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.newsletter-link:hover {
  opacity: 1;
}

.newsletter-link-arrow {
  font-weight: 600;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
  padding: 3rem 0 2rem;
  background: var(--black-color);
  color: #fff;
}

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

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-text {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.footer-heading {
  font-family: var(--reader);
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  display: inline-block;
  color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   Homepage Wrapper
   ========================================================================== */

.homepage {
  min-height: 100vh;
}
