/**
 * Theme Name:        neuro_heme
 * Theme URI:         https://truta.tech/
 * Description:       Custom theme description...
 * Version:           1.0.1
 * Author:            TRUTA
 * Author URI:        https://truta.tech/
 * Tags:              block-patterns, full-site-editing
 * Text Domain:       Trutechnologies
 * Domain Path:       /assets/lang
 * Tested up to:      6.4
 * Requires at least: 6.2
 * Requires PHP:      8.1
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */

/* Importando a tipografia personalizada */
@font-face {
  font-family: 'Montserrat';
  src: url('Montserrat-Black.ttf') format('truetype');
}
/* Definição de Variáveis CSS */
:root {
    /* Paleta de Cores */
    --primary-color: #714D37;
    --secondary-color: #A07E63;
    --accent-color: #b3edef;         /* Nova cor adicionada */
    --background-light: #f9f9f9;
    --background-dark: #fbfbfb;
    --neutral-gray: #eeeeee;
    --text-color: #6b4e44;
    --button-text: #fbfbfb;
    --button-bg: linear-gradient(to right, #1e293b, #0f172a);
    
  
    /* Outras Variáveis */
    --font-family: 'Montserrat', sans-serif;
    --transition-speed: 0.3s;
    --border-radius: 5px;
    --container-max-width: 1100px;
  
    /* Variáveis para a Hero Section */
    /* --hero-bg: url('/wp-content/themes/trutheme/assets/images/estampa.jpg'); */
    --hero-overlay: rgba(0, 0, 0, 0.45);
  }
  /* Scroll suave */
  html {
    scroll-behavior: smooth;
  }

  /* Global Styles */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    scroll-behavior: smooth;
  }
  
  body {
    line-height: 1.6;
    background-color: var(--background-light);
    color: var(--text-color);
  }
  
  .container {
    max-width: var(--container-max-width);
    margin: auto;
    padding: 20px;
  }
  
  button {
    background: var(--button-bg);
    color: var(--button-text);
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
  }
  
  button:hover {
    background: var(--neutral-gray);
    color: var(--text-color);
    border: solid 1px rgb(206, 206, 206);
  }
    
  /* Estilização do header */
  header {
    background: transparent;
    transition: background 0.7s ease;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }
  header.scrolled {
    background: var(--primary-color);
  }
  header .container {
    display: flex;
    justify-content: center;
  }
  header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }
  header nav ul li a:hover {
    color: var(--text-color);
  }
  /* Hero Section */
  .hero {
    position: relative;
    background: var(--hero-bg) no-repeat center center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
  }
  
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
  }
  
  .hero h1,
  .hero p,
  .hero button {
    position: relative;
    z-index: 1;
  }
  
  .hero h1 {
    font-size: 48px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  }
  
  .hero p {
    font-size: 20px;
    margin: 20px 0;
  }
  
  /* Sobre a Neurologista */
  .sobre-neurologista {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 20px;
    background: var(--background-dark);
    flex-wrap: wrap;
  }
  .sobre-neurologista > div {
    display: flex;
    gap: 40px;
  }
  
  .sobre-neurologista img {
    width: 400px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .sobre-neurologista h2 {
    font-size: 32px;
    color: var(--primary-color);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
  }
  
  /* Especialidades */
  .especialidades {
    background: var(--secondary-color);
    color: white;
    padding: 60px 20px;
    text-align: center;
  }
  
  .especialidades h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  }
  
  /* Cards Container para Flip Cards */
  .cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  /* Flip Card Styles */
  .flip-card {
    background-color: transparent;
    width: 300px;
    height: 300px;
    perspective: 1000px;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front,
  .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
  }
  
  .flip-card-front {
    background-color: var(--background-light);
    color: var(--text-color);
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
    font-weight: 700;
  }
  .flip-card-front img {
    height: 90%;
    width: 90%;
    object-fit: cover;
  }
  
  .flip-card-back {
    background-color: var(--primary-color);
    color: var(--button-text);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
  }
  
  /* Contato */
  .contato {
    background: var(--neutral-gray);
    padding: 60px 20px;
    text-align: center;
  }
  
  .contato form {
    max-width: 600px;
    margin: auto;
  }
  
  .contato input,
  .contato textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
  }
  
  /* Footer */
  footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px;
  }
  
  footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  footer ul li a {
    color: white;
    text-decoration: none;
    transition: var(--transition-speed);
    font-size: 1.5rem;
  }
  
  footer ul li a:hover {
    text-decoration: underline;
  }
  
  /* Efeito de animação para elementos internos */
  .animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .animate.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Responsividade */
  @media (max-width: 768px) {
    .sobre-neurologista {
      flex-direction: column;
      text-align: center;
    }
    .sobre-neurologista img {
      width: 100%;
      max-width: 350px;
    }
  }
  