/*
Theme Name: Trainer Isaias Jone
Theme URI: https://wordpress.org/themes/trainerisaiasjone/
Author: Equipa - TWD
Author URI: https://wordpress.org
Description: Tainer Isaias Jone enfatiza simplicidade e adaptabilidade. Ele oferece opções de design flexíveis, suportadas por uma variedade de padrões para diferentes tipos de página, como serviços e landing pages, tornando-o ideal para construir blogs pessoais, portfólios profissionais, revistas online ou sites de negócios. Seus modelos atendem a vários estilos de blog, de layouts focados em texto a layouts pesados ​​em imagens. Além disso, ele suporta tipografia internacional e paletas de cores diversas, garantindo acessibilidade e personalização para usuários em todo o mundo. Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trainerisaiasjone
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
Theme Name: Trainer Isaias Jone
...
*/

/* ============================= */
/* BASE WORDPRESS */
/* ============================= */

a {
    text-decoration-thickness: 1px !important;
    text-underline-offset: .1em;
}

:where(.wp-site-blocks *:focus) {
    outline-width: 2px;
    outline-style: solid;
}

.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
    margin-bottom: 3px;
}

.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
    outline-offset: 4px;
}

.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    outline-offset: 0;
}

h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
    text-wrap: pretty;
}

.more-link {
    display: block;
}

/* ============================= */
/* HERO PREMIUM (LIMPO + FIXADO) */
/* ============================= */
.hero {padding:0;}

#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  isolation: isolate; /* 🔥 resolve overlay definitivo */
}

/* SWIPER */
#hero .swiper {
  width: 100%;
  height: 100%;
}

#hero .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
}

/* IMAGEM BACKGROUND */
#hero .swiper-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* OVERLAY BASE */
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  z-index: 1;
  pointer-events: none;
}

/* GRADIENTE PREMIUM */
hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0,0,0,0.9) 10%,
    rgba(0,0,0,0.6) 40%,
    rgba(0,0,0,0.25) 70%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* CONTAINER (CORRIGIDO) */
#hero .container {
  position: relative;
  z-index: 5;
}

#hero .row {
  margin: 0;
}

#hero .col-lg-7 {
  padding-left: 0;
}

/* TEXTO */
#hero h2 {
  font-size: 48px;
  font-weight: 700;
  max-width: 700px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.custom-excerpt {
  width: 100%;
  max-width: 590px;
}

#hero .custom-excerpt {
  font-size: 18px;
  margin-top: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* BOTÕES */
#hero .btn-get-started {
  background: #ff4a17;
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  margin-right: 15px;
  position: relative;
  z-index: 6;
  transition: 0.3s ease;
}

#hero .btn-get-started:hover {
  background: #ff6a3a;
  transform: translateY(-2px);
}

#hero .btn-watch-video {
  color: #fff;
  position: relative;
  z-index: 6;
  transition: 0.3s ease;
}

#hero .btn-watch-video:hover {
  opacity: 0.8;
}

/* ============================= */
/* ANIMAÇÃO PREMIUM */
/* ============================= */

#hero h2 {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

#hero .custom-excerpt {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

#hero .d-flex {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================= */
/* RESPONSIVO */
/* ============================= */

@media (max-width: 992px) {
  #hero h2 {
    font-size: 32px;
  }

  #hero .custom-excerpt {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  #hero {
    height: 90vh;
  }

  #hero .swiper-slide {
    align-items: flex-end;
    padding-bottom: 60px;
  }

  #hero h2 {
    font-size: 24px;
  }

  #hero .custom-excerpt {
    font-size: 14px;
  }

  #hero .d-flex {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .custom-excerpt {
    width: 95%;
    padding: 0 10px;
  }
}

/* ============================= */
/* OUTROS */
/* ============================= */
section, .section {
    padding: 50px 0;
    scroll-margin-top: 70px;
}
.section-title {
    padding-bottom: 30px;
}
.btn {
    border-radius: 5rem;
}
.contact .info-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 24px 0 30px 0;
  margin-bottom: 30px;
}