/* === SERVICES PAGE STYLES === */

/* Hero Section */
.hero-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.services-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://krcosmetic.ru/800/600/https/otrazhenie-clinic.ru/wp-content/uploads/2020/01/proc.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    z-index: 0;
}

.services-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(var(--primary-rgb), 0.7));
    z-index: 1;
}

[data-theme="dark"] .services-hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(var(--primary-rgb), 0.6));
}

.hero-wrapper [data-include="components/header.html"] {
    position: relative;
    z-index: 3;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.services-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.services-hero-content p {
    font-size: 1.8rem;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s ease;
}

/* Botões do Hero */
.services-hero .hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 40px;
    animation: fadeInUp 1.4s ease;
}

.hero-outline-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 1.6rem;
    cursor: pointer;
    transition: background-color var(--transition-speed), color var(--transition-speed), transform 0.2s;
}

.hero-outline-btn:hover {
    background-color: white;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Services Categories Section */
.services-categories {
    padding: 80px 0;
    background-color: var(--bg-color);
    position: relative;
    z-index: 2;
}

.categories-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
}

.category-button {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    background-color: transparent;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-button:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-3px);
}

.category-button.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

/* Services Cards */
.services-cards {
    margin-top: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--card-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-image {
    height: 240px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--primary-color);
}

.service-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 16px;
}

.service-content p {
    color: var(--text-color);
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-benefits {
    margin-top: auto;
    margin-bottom: 24px;
}

.service-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 1.4rem;
}

.service-benefits li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.5rem;
}

.agendar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.agendar-btn i {
    font-size: 1.5rem;
}

.agendar-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

/* WhatsApp Modal */
.whatsapp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-modal {
    width: 90%;
    max-width: 500px;
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
}

.whatsapp-modal-overlay.active,
.whatsapp-modal-overlay.active .whatsapp-modal {
    opacity: 1;
    visibility: visible;
}

.whatsapp-modal.active {
    transform: translateY(0);
}

.whatsapp-modal-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #25D366;
    color: white;
}

.whatsapp-modal-header i {
    font-size: 2rem;
    margin-right: 15px;
}

.whatsapp-modal-header h3 {
    font-size: 1.8rem;
    margin: 0;
}

.whatsapp-modal-close {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 2.4rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.whatsapp-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.whatsapp-modal-body {
    padding: 30px;
    text-align: center;
}

.whatsapp-modal-body p {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.5rem;
}

.selected-service {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 15px 0;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.6rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background-color: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    font-size: 1.8rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.faq-container {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 24px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
}

.faq-question h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--heading-color);
    margin: 0;
    padding-right: 30px;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background-color: var(--primary-color);
    color: white;
}

.faq-toggle i {
    font-size: 1.4rem;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-color);
    font-size: 1.5rem;
    line-height: 1.7;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiveness */
@media (max-width: 992px) {
    .services-hero-content h1 {
        font-size: 3.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .services-hero .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .services-hero .hero-buttons .btn,
    .services-hero .hero-buttons .hero-outline-btn {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .services-hero-content h1 {
        font-size: 3rem;
    }
    
    .services-hero-content p {
        font-size: 1.6rem;
    }
    
    .category-button {
        padding: 10px 20px;
        font-size: 1.4rem;
    }
    
    .faq-question h3 {
        font-size: 1.6rem;
    }
    
    .service-content h3 {
        font-size: 1.8rem;
    }
    
    .service-content p {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .services-hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .services-hero-content p {
        margin-bottom: 20px;
    }
    
    .services-hero .hero-buttons {
        margin-top: 25px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-buttons {
        flex-wrap: wrap;
    }
    
    .category-button {
        width: calc(50% - 10px);
        padding: 10px;
        font-size: 1.3rem;
    }
    
    .faq-question h3 {
        font-size: 1.5rem;
    }
    
    .faq-answer p {
        font-size: 1.4rem;
    }
} 