/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Added carousel styles for hero background */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

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

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.75), rgba(147, 51, 234, 0.7), rgba(249, 115, 22, 0.75));
  z-index: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(249, 115, 22, 0.8)),
    url("/placeholder.svg?height=1080&width=1920") center / cover;
  z-index: -1;
}

.hero-content {
  color: white;
  max-width: 800px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive: smaller buttons on tablets and phones */
@media (max-width: 768px) {

  .hero-buttons,
  .about-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-buttons .btn,
  .about-buttons .btn {
    padding: 10px 18px;
    font-size: 0.95rem;
    border-radius: 14px;
    width: 85%;
    max-width: 340px;
    box-sizing: border-box;
  }
}

@media (max-width: 420px) {

  .hero-buttons .btn,
  .about-buttons .btn {
    padding: 8px 14px;
    font-size: 0.9rem;
    max-width: 300px;
  }
}

/* About Section */
.about {
  background: var(--light-gray);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}


.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-text {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 20px;
  text-align: justify;
}

.about-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-stats {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: var(--transition-smooth);
}

.about-stats:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--card-shadow-hover);
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--orange);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Areas Section */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.area-card-clickable {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.area-card-clickable::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  opacity: 0;
  transition: opacity 0.3s;
}

.area-card-clickable:hover::before {
  opacity: 0.05;
}

.area-card-clickable:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.area-card-clickable .learn-more {
  margin-top: 15px;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}

.area-card-clickable:hover .learn-more,
.area-card-clickable:focus-within .learn-more {
  opacity: 1;
  transform: translateY(0);
}

.area-card-clickable:hover h3 {
  color: var(--orange);
}

.area-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: var(--transition-smooth);
}

.area-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--card-shadow-hover);
}

.area-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.area-icon.orange {
  background: linear-gradient(135deg, var(--orange), #ea580c);
}

.area-icon.blue {
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
}

.area-card h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.area-card p {
  color: var(--gray);
  line-height: 1.6;
  text-align: justify;
}

.logo-areas img {
  max-height: 100px;
}

.logo-areas-teatro img {
  height: 60px;
}

/* Responsive logo sizes */
@media (max-width: 768px) {
  .logo-areas img {
    max-height: 70px;
  }

  .logo-areas-teatro img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .logo-areas img {
    max-height: 50px;
  }

  .logo-areas-teatro img {
    height: 30px;
  }
}
/* History Section */
.history {
  background: linear-gradient(135deg, #fef3c7, #dbeafe);
}

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

.timeline-item {
  display: flex;
  margin-bottom: 40px;
  align-items: flex-start;
  gap: 30px;
}

.timeline-year {
  background: var(--orange);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  min-width: 80px;
  text-align: center;
}

.timeline-content {
  background: white;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  flex: 1;
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--card-shadow-hover);
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.timeline-content p {
  color: var(--gray);
  line-height: 1.6;
  text-align: justify;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, var(--dark-gray), var(--dark-blue));
  color: white;
  padding: 80px 0;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 60px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-card h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-card p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
  text-align: justify;
}

.contact-hours {
  color: var(--orange);
  font-size: 1.2rem;
  font-weight: bold;
}

/* Partners Section */
.partners {
  padding: 80px 0;
  background: #f8f9fa;
}

.partners-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--dark-blue);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.partner-card {
  background: var(--orange);
  border-radius: 20px;
  padding: 40px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  transition: var(--transition-smooth);
}

.partner-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
}

.partner-card img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  ;
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .partners-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

.partner-card.basileu-franca img {
  /* O filtro que transforma a imagem em branco */
  filter: brightness(0) invert(1);
}

.text-white {
  color: white;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


