/*
Theme Name: IP Travel Experience
Theme URI: https://www.iptravelexperience.online
Author: IP Travel Experience
Description: Tema com slider em fade para agência de viagens.
Version: 1.2
Text Domain: ip-travel-experience
*/

/* RESET SIMPLES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background: #f3f4f6;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

/* LAYOUT BÁSICO */
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER / TOPO */
.site-header {
  background: #0b2b4c;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* quando você colocar logo depois */
.site-logo img {
  max-height: 52px;
  width: auto;
  display: block;
}

.site-title {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.site-description {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* MENU DESKTOP */
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-navigation a {
  position: relative;
  color: #ffffff;
  font-weight: 500;
}

.main-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: #f5b41a;
  transition: width 0.2s ease;
}

.main-navigation a:hover::after {
  width: 100%;
}

/* BOTÃO HAMBÚRGUER (MOBILE) */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* CONTEÚDO PRINCIPAL */
.site-content {
  flex: 1;
}

/* RODAPÉ */
.site-footer {
  background: #020617;
  color: #e5e7eb;
  padding: 1.8rem 1rem;
  text-align: center;
  font-size: 0.85rem;
}

/* =========================================
   HERO SLIDER – CONFIGURAÇÃO CORRETA
   ========================================= */

#hero-slider {
  position: relative;
  width: 100%;
  height: 60vh;
  max-height: 500px;
  overflow: hidden;
  background: #475569;
}

@media (max-width: 768px) {
  #hero-slider {
    height: 28vh;
    min-height: 220px;
    max-height: 300px;
  }
}


/* TODOS os slides ocupam o MESMO espaço,
   um em cima do outro, mas escondidos */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out;
}

/* SOMENTE o slide ativo aparece */
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
}

.hero-text {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  background: rgba(15, 23, 42, 0.5);
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-text p {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  max-width: 650px;
  margin: 0 auto 1.7rem;
  color: rgba(241, 245, 249, 0.9);
}

/* BOTÃO PRINCIPAL */
.hero-btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  background: #f5b41a;
  color: #1f2933;
  text-decoration: none;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-btn:hover {
  background: #ffd34d;
}

/* SEÇÕES ABAIXO DO SLIDER */
.home-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  position: relative;
  background: #ffffff;
  z-index: 2;
}

.home-section h1,
.home-section h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
  color: #0b2b4c;
}

.home-section p {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #374151;
}

/* BOTÃO DE WHATSAPP NAS SEÇÕES (usa estilo do hero) */
.home-section .hero-btn {
  box-shadow: none;
}

/* BOTÃO FLUTUANTE DE WHATSAPP */
.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.4rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 60;
}

.whatsapp-float span {
  transform: translateY(-1px);
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .header-inner {
    padding: 0.6rem 1rem;
  }
}

/* MOBILE: HEADER COM MENU HAMBÚRGUER */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .main-navigation {
    width: 100%;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding-bottom: 0.6rem;
    display: none;
  }

  .main-navigation.is-open ul {
    display: flex;
  }

  /* animação simples do ícone */
  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  #hero-slider {
    height: 70vh;
  }

  .hero-text {
    padding: 0 1rem;
  }

  .hero-text p {
    max-width: 100%;
  }
}
/* Ajuste: fundo branco limpo para os blocos de texto */
.site-content {
  background: #ffffff;
}

.site-content > .home-section {
  max-width: 1200px;
  margin: 2.5rem auto;
  padding: 2rem 2.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

/* Mais espaço entre o slider e o primeiro bloco de texto */
.site-content > .home-section:first-of-type {
  margin-top: 3.5rem;
}
