/*
Theme Name: BS Nutricionistas
Theme URI: https://bsnutricionistas.com
Author: BS Nutricionistas Team
Author URI: https://bsnutricionistas.com
Description: Tema personalizado para BS Nutricionistas - Consultas de nutrición personalizadas
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bs-nutricionistas
Tags: one-column, custom-menu, custom-logo, translation-ready
*/

/* ============================================
   BS NUTRICIONISTAS - CUSTOM STYLES
   Based on original public/css/styles.css
   ============================================ */

/* === General === */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* === Bootstrap overrides === */
.btn-success {
    background-color: #4CAF50;
    border-color: #4CAF50;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #3e8e41;
    border-color: #3e8e41;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* === Loader === */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    max-width: 150px;
    animation: pulse 1.0s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loader-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* === Navbar === */
.navbar-brand img {
    width: 60px;
    height: 60px;
}

/* === Hero Section === */
.hero-section {
    position: relative;
    background-image: url('assets/img/hero-bg.jpg');
    background-size: cover;
    background-position: center top;
    min-height: 600px;
    padding: 120px 0;
}

.hero-section h1 {
    font-size: 2.8rem;
}

/* === Services Section === */
.services-section {
    background-color: #000;
}

.services-section img {
    height: 200px;
    object-fit: cover;
}

/* === Experts Section === */
.experts-section .card {
    transition: all 0.3s ease;
}

.experts-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* === Testimonials === */
.testimonials-section .card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonials-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* === Footer === */
footer a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* === WhatsApp Float === */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(145deg, #25d366, #1eb85a);
    color: #fff;
    border-radius: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(0,0,0,0.25);
    z-index: 1050;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    overflow: hidden;
}

.whatsapp-float:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 28px rgba(0,0,0,0.32);
    color: #fff;
}

.whatsapp-float i {
    font-size: 30px;
    line-height: 1;
}

@media (max-width: 575.98px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
        font-size: 28px;
    }
}

/* === Service Cards === */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-title {
    color: #333;
    font-weight: 600;
}

/* === Stats Section === */
.stats-section h3 {
    font-weight: 600;
    color: #4CAF50;
}

/* === Detailed Services === */
.service-detailed-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-detailed-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.service-detailed-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* === Contact Info === */
.contact-item .icon-container {
    margin-bottom: 15px;
}

/* === CTA Section === */
.cta-section {
    padding: 60px 0;
}

/* === Flags === */
.flags-wrap {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.flag-item img {
    width: 32px;
    height: 22px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.flags-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

/* === Blog === */
.blog-card {
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* === Team / Nutritionists === */
.team-expert {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.team-expert:last-child {
    border-bottom: none;
}

/* === Benefits / Process Cards === */
.benefit-card,
.process-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-card:hover,
.process-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* === Testimonial Card === */
.testimonial-card {
    border: 1px solid #eee;
    border-radius: 10px;
}

.testimonial-text {
    font-style: italic;
    color: #555;
}

/* === FAQ / Accordion === */
.accordion-button:not(.collapsed) {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

/* === Legal Pages === */
.legal-page h1,
.legal-page h2,
.legal-page h3 {
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-page ul {
    padding-left: 1.5rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

/* === Map === */
.map-container iframe {
    max-width: 100%;
}

/* === Captcha Overlay === */
.captcha-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
}

.captcha-overlay.d-none {
    display: none;
}

.captcha-overlay__box {
    width: min(100%, 460px);
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 1.25rem 1.5rem;
    text-align: center;
}

/* === Service Hero === */
.service-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

.service-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.service-hero > .container {
    position: relative;
    z-index: 1;
}

.service-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.service-hero-text {
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* === Section Titles === */
.section-title {
    font-weight: 700;
    color: #333;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #4CAF50;
}

/* === Service Description === */
.service-description {
    padding: 60px 0;
}

/* === Stat Items === */
.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-weight: 700;
    color: #4CAF50;
    font-size: 1.5rem;
}

/* === Social Icons === */
.social-icons a {
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #4CAF50 !important;
}

.social-links a {
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #4CAF50 !important;
}

/* === Additional Services === */
.additional-services .card {
    transition: all 0.3s ease;
}

.additional-services .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.service-icon {
    color: #4CAF50;
}

/* === Insights Section === */
.insights-section ul li {
    padding: 5px 0;
}

/* === History Section === */
.history-section .card {
    transition: all 0.3s ease;
}

.history-section .card:hover {
    transform: translateY(-3px);
}
