/* Variables */
:root {
    --primary-color: #f8c8dc; /* Rosa suave */
    --secondary-color: #e6be8a; /* Dorado suave */
    --accent-color: #d4af7a; /* Dorado más intenso */
    --text-color: #4a4a4a;
    --light-color: #ffffff;
    --bg-color: #faf7f5; /* Fondo nude muy claro */
    --section-padding: 80px 0;
    --transition: all 0.3s ease;
}

/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--light-color);
    box-shadow: 0 5px 15px rgba(230, 190, 138, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 190, 138, 0.4);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 5px 15px rgba(248, 200, 220, 0.3);
}

.btn-secondary:hover {
    background-color: #f5b5cb;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(248, 200, 220, 0.4);
}

/* Header y navegación */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--text-color);
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sección Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1560066984-138dadb4c035?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1074&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-color);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Sección Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--light-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Sección Galería */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Sección Ubicación */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.address-info {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 20px;
}

.address-info i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Sección Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--light-color);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact-card p {
    margin-bottom: 20px;
}

/* Botón flotante */
.floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.btn-float {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 12px 20px;
    border-radius: 50px;
    background-color: #25D366; /* Color de WhatsApp */
    color: white;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.btn-float i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.btn-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Footer */
footer {
    background-color: #f8f8f8;
    padding: 60px 0 20px;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #777;
}

/* Estilos para el chatbot de WhatsApp */
#whatsapp-chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
}

.whatsapp-chat-button {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color); /* Cambiado a dorado intenso */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.whatsapp-chat-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.whatsapp-chat-header {
    background-color: var(--soft-pink);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
}

.whatsapp-chat-header-avatar {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--soft-pink);
    font-size: 22px;
}

.whatsapp-chat-header-info {
    flex: 1;
}

.whatsapp-chat-header-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.whatsapp-chat-header-info p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
}

.whatsapp-chat-header-close {
    cursor: pointer;
    font-size: 18px;
}

.whatsapp-chat-body {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
    background-color: var(--nude-bg);
}

.whatsapp-chat-message {
    background-color: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.whatsapp-chat-message p {
    margin: 5px 0;
    font-size: 14px;
}

.whatsapp-chat-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.whatsapp-chat-option {
    background-color: white;
    border: 1px solid var(--secondary-color); /* Borde dorado suave */
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    text-align: left;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.whatsapp-chat-option:hover {
    background-color: var(--secondary-color); /* Fondo dorado suave al hover */
    color: white; /* Texto blanco al hover */
}

.whatsapp-chat-footer {
    padding: 15px;
    background-color: white;
    text-align: center;
    border-top: 1px solid #eee;
}

.whatsapp-chat-send {
    display: inline-block;
    background-color: var(--secondary-color); /* Dorado suave */
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.whatsapp-chat-send i {
    margin-left: 5px;
}

.whatsapp-chat-send:hover {
    background-color: var(--accent-color); /* Dorado intenso al hover */
}

/* Media Queries para Responsive */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .whatsapp-chat-container {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--light-color);
        flex-direction: column;
        text-align: center;
        transition: 0.4s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        margin-top: 20px;
        justify-content: center;
    }
    
    .footer-social a {
        margin: 0 8px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .service-card,
    .contact-card {
        padding: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 10px 25px;
    }
    
    .floating-button {
        bottom: 20px;
        right: 20px;
    }
}