/*
Theme Name: Álvaro García Psicólogo
Theme URI: https://desarrollodelsur.com
Author: Desarrollo del Sur
Author URI: https://desarrollodelsur.com
Description: Tema custom para el sitio de Álvaro García, psicólogo. Home con diseño fijo, páginas internas editables con Elementor.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alvaro-garcia
*/

:root {
    --teal: #008f95;
    --dark-teal: #00767c;
    --orange: #e89b51;
    --gris:#4D4D4D;
    --celeste:#53A5BF;
    --dorado:#A2975D;
}
.color-gris{
    color:var(--gris);
}
.color-dorado{
    color:var(--dorado);
}
.color-celeste{
    color:var(--celeste);
}
.img-servicios{
    max-width: 125px;
    padding-bottom: 26px;
}
.icono-mas{
    max-width: 50px;
    margin-top: 20px;
}
/* Fondo de pantalla completa */
.bg-main-image {
    background-image: url('assets/images/fondo_inicio.png');
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    background-repeat: no-repeat;
}
.bg-transparent{
    background-color: transparent;
}
.navbar-brand img{
    max-width: 230px;
    width: 100%;
}
/* Contenedor blanco central */
.main-white-container {
    background-color: white;
    max-width: 1200px;
    box-shadow: 0 0 50px rgba(0,0,0,0.2);
    margin-top: 125px;
}
.bg-teal-dark { background-color: var(--dark-teal); }
/* Hero */
.hero-section { background: white; }
.profile-img {
    max-width: 116%;
    height: auto;
    border-radius: 10px;
    margin-top: -136px;
}
/* Botones y Textos */
.text-teal { color: var(--teal); }
.text-orange { color: var(--orange); }
.btn-gradient {
    background: linear-gradient(135deg, var(--teal), var(--orange));
    color: white; border: none; border-radius: 50px; padding: 10px 30px; font-weight: bold;
}
.btn-gradient:hover {
    color: white;
    opacity: 0.92;
}
/* Cards */
.service-card { border: 1px solid #f0f0f0; border-radius: 15px; }
.btn-plus { background: var(--teal); color: white; border: none; border-radius: 50%; width: 35px; height: 35px; }
.program-card { border: 1px solid #f0f0f0; border-radius: 15px;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); }
.flag-icon { width: 45px; }
/* Sección Newsletter */
.mockup-img { transform: perspective(1000px) rotateY(-15deg); border-radius: 5px; box-shadow: 10px 10px 20px rgba(0,0,0,0.1); }
/* Footer con Avión de fondo */
.footer-plane-bg {
    position: relative;
    background-image: url('assets/images/avion.png');
    background-size: cover;
    background-position: center;
    color: #333;
}
/* Asegura que el contenido sea legible sobre el fondo del avión */
.relative-content { position: relative; z-index: 2; }
.footer-plane-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

/* Estenedor del Detalle del Programa */
.program-detail-container {
    border: 1px solid #f0f0f0;
    margin-top: 80px !important; /* Espacio para el banderín que sobresale */
}

/* El Banderín (Flag) posicionado arriba a la izquierda */
.program-flag {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 70px;
    z-index: 10;
}

/* Título con estilo de la imagen */
.program-title {
    color: #444;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
    max-width: 500px;
    letter-spacing: -0.5px;
}

/* Botón alargado específico para esta sección */
.btn-gradient-long {
    background: linear-gradient(to right, var(--teal), var(--orange));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: transform 0.3s ease;
}

.img-contacto{
        margin-top: -189px;
    max-width: 130%!important;
    width: 130%;

}

.btn-gradient-long:hover {
    transform: scale(1.05);
    color: white;
}

/* Puntos de lista personalizados (guiones o puntos pequeños) */
.custom-dots li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
}

.custom-dots li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #999;
}

/* ============================================
   Footer del blog / páginas internas
   ============================================ */
.site-footer {
    background-color: var(--dark-teal);
    color: white;
    padding: 50px 0 40px;
    margin-top: 0;
    position: relative;
}

/* Pequeña franja blanca de separación arriba del footer
   para crear el "escalón" visual con el contenedor blanco */
.site-footer::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
    pointer-events: none;
}

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

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

.site-footer .contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    color: white;
    font-size: 0.95rem;
}

.site-footer .contact-list li:last-child {
    margin-bottom: 0;
}

/* Ícono circular blanco con outline (al lado de tel, email, ubicación) */
.site-footer .contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
    font-size: 0.85rem;
    color: white;
}

.site-footer a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-footer a:hover {
    opacity: 0.75;
    color: white;
}

/* Íconos sociales: círculo con gradient en el borde */
.site-footer .social-icons {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.site-footer .social-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--dark-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.15rem;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease;
    /* Gradient ring effect */
    background:
        linear-gradient(var(--dark-teal), var(--dark-teal)) padding-box,
        linear-gradient(135deg, var(--teal), var(--dorado), var(--orange)) border-box;
    border: 2px solid transparent;
}

.site-footer .social-icon:hover {
    transform: translateY(-3px);
    color: white;
}

.site-footer .social-icon i {
    background: linear-gradient(135deg, var(--teal), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Si preferís que el ícono quede blanco sólido, comentá las 3 líneas anteriores
       y descomentá la siguiente: */
    /* color: white; */
}

/* Ajuste mobile */
@media (max-width: 767px) {
    .site-footer {
        padding: 40px 0 30px;
        text-align: center;
    }
    .site-footer .social-icons {
        justify-content: center;
        margin-top: 25px;
    }
    .site-footer .contact-list li {
        justify-content: center;
    }
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .program-flag {
        left: 20px;
        width: 55px;
    }
    .program-title {
        font-size: 1.5rem;
        margin-top: 20px;
    }
    
    .img-contacto{
        margin-top: 0px;
    max-width: 100%!important;
 

}
}
@media (min-width: 1400px){
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1220px;
    }
}

/* ============================================
   Búsqueda: ícono navbar + modal + resultados
   ============================================ */
.nav-link.search-toggle {
    font-size: 1.1rem;
    transition: color 0.3s ease;
}
.nav-link.search-toggle:hover {
    color: var(--orange);
}

.search-modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
.search-form-modal .form-control {
    border: 2px solid #f0f0f0;
    border-right: none;
    border-radius: 50px 0 0 50px;
    padding-left: 25px;
}
.search-form-modal .form-control:focus {
    border-color: var(--teal);
    box-shadow: none;
}
.search-form-modal .btn-gradient {
    border-radius: 0 50px 50px 0;
    padding-left: 25px;
    padding-right: 25px;
}

/* Resultados de búsqueda */
.search-results-section {
    padding: 80px 0;
    min-height: 60vh;
}
.search-result-card {
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    background: #fff;
}
.search-result-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.search-result-card h3 a {
    color: var(--teal);
    text-decoration: none;
}
.search-result-card h3 a:hover {
    color: var(--orange);
}
.search-result-meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 10px;
}
.search-no-results {
    text-align: center;
    padding: 40px 20px;
}

/* ============================================
   Páginas internas y blog
   ============================================ */
.page-content img,
.entry-content img {
    max-width: 100%;
    height: auto;
}
.page-content h2,
.entry-content h2 {
    color: var(--gris);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.page-content a,
.entry-content a {
    color: var(--teal);
}
.page-content a:hover,
.entry-content a:hover {
    color: var(--orange);
}

/* Paginación nativa de WP */
.pagination {
    justify-content: center;
}
.page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    color: var(--teal);
    text-decoration: none;
}
.page-numbers.current {
    background: var(--teal);
    color: white;
    border-color: var(--teal);
}
.page-numbers:hover {
    background: var(--orange);
    color: white;
    border-color: var(--orange);
}
