:root {
    --primary-color: #81C7BE; /* Turquesa/Menta suave del círculo */
    --secondary-color: #F9E04C; /* Amarillo de los confetis para estrellas */
    --accent-color: #E6007E; /* Fucsia / Magenta del regalo y texto */
    --accent-dark: #00A79D; /* Turquesa oscuro de la cinta inferior */
    --bg-color: #F4FAF9; /* Fondo menta muy claro */
    --text-color: #4A4A4A;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(129, 199, 190, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(0, 167, 157, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at top right, #fff 0%, transparent 60%),
                      radial-gradient(circle at bottom left, #e0f5f2 0%, transparent 60%);
    background-attachment: fixed;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
}

/* Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    object-fit: contain;
    background-color: white;
    border: 2px solid var(--primary-color);
    padding: 2px;
}

.logo-container h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-color);
    background: -webkit-linear-gradient(45deg, var(--accent-color), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    text-decoration: none;
    color: var(--accent-dark);
    font-weight: 600;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.social-icon {
    font-size: 1.3rem;
    color: #1877F2 !important; /* Facebook blue */
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5% 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    animation: blobMove 12s ease-in-out infinite alternate;
}

.hero::before {
    width: 500px;
    height: 500px;
    background: rgba(230, 0, 126, 0.25); /* Fucsia / Magenta */
    top: -10%;
    left: 0%;
}

.hero::after {
    width: 450px;
    height: 450px;
    background: rgba(129, 199, 190, 0.4); /* Turquesa/Menta */
    bottom: -10%;
    right: 0%;
    animation-direction: alternate-reverse;
    animation-delay: -5s;
}

/* Bolita amarilla extra para más color */
.hero-bg-extra {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(249, 224, 76, 0.3); /* Amarillo */
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation: blobMoveExtra 15s ease-in-out infinite alternate;
}

@keyframes blobMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 150px) scale(1.1); }
}

@keyframes blobMoveExtra {
    0% { transform: translate(-50%, -20%) scale(0.9); }
    100% { transform: translate(-30%, 20%) scale(1.2); }
}

.hero-content {
    max-width: 850px;
    padding: 4rem;
    animation: fadeIn 1s ease-out;
}

.hero-content h2 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    color: var(--accent-color);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #666;
    font-weight: 300;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(45deg, var(--accent-color), #ff4da6);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(230, 0, 126, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(230, 0, 126, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(45deg, #003087, #0079C1);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0, 121, 193, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(0, 121, 193, 0.4);
}

/* Sections */
.section {
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--accent-dark);
    margin-bottom: 3rem;
    font-weight: 800;
}

.bg-light {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Upload & Gallery */
.upload-container {
    text-align: center;
    padding: 2.5rem;
    margin-bottom: 4rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    border-top: 4px solid var(--primary-color);
}

.upload-container h3 {
    margin-bottom: 10px;
    color: var(--accent-color);
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    display: inline-block;
    padding: 12px 30px;
    cursor: pointer;
    background: white;
    border: 2px dashed var(--accent-dark);
    color: var(--accent-dark);
    border-radius: 15px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.custom-file-upload:hover {
    background: var(--accent-dark);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    background: white;
    padding: 10px;
    border: 1px solid rgba(129, 199, 190, 0.3);
}

.gallery-item:hover {
    transform: scale(1.04) translateY(-5px);
    border-color: var(--accent-color);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

/* Reviews */
.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.review-form {
    flex: 1;
    min-width: 320px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 4px solid var(--accent-color);
}

.review-form h3 {
    color: var(--accent-dark);
    margin-bottom: 10px;
}

.review-form input, .review-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    outline: none;
    font-family: inherit;
    background: rgba(255,255,255,0.8);
    transition: border-color 0.3s ease;
}

.review-form input:focus, .review-form textarea:focus {
    border-color: var(--accent-color);
    background: white;
}

.star-rating {
    color: #e0e0e0;
    font-size: 1.8rem;
    cursor: pointer;
}

.star-rating .fas.active {
    color: var(--secondary-color);
    text-shadow: 0 0 5px rgba(249, 224, 76, 0.5);
}

.reviews-list {
    flex: 2;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 15px;
}

.reviews-list::-webkit-scrollbar {
    width: 8px;
}
.reviews-list::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05); 
    border-radius: 10px;
}
.reviews-list::-webkit-scrollbar-thumb {
    background: var(--primary-color); 
    border-radius: 10px;
}

.review-card {
    padding: 1.8rem;
    border-left: 4px solid var(--primary-color);
}

.review-card .stars {
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.review-card h4 {
    margin-bottom: 8px;
    color: var(--accent-dark);
    font-size: 1.2rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 38px;
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Chat Bot */
.chat-bot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    justify-content: flex-end;
    transition: transform 0.3s ease;
    border: 1px solid var(--primary-color);
}

.chat-bot-container.minimized .chat-body,
.chat-bot-container.minimized .chat-input-area {
    display: none;
}

.chat-header {
    background: linear-gradient(45deg, var(--accent-dark), var(--primary-color));
    color: white;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
}

.chat-body {
    height: 350px;
    padding: 20px;
    overflow-y: auto;
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.message.bot {
    background: #f2f2f2;
    border: 1px solid #eee;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.user {
    background: var(--accent-color);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-input-area {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
    background: white;
}

.chat-input-area input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px;
    font-family: inherit;
    font-size: 1rem;
    border-radius: 20px;
    background: #f5f5f5;
    margin-right: 10px;
}

.chat-input-area button {
    background: var(--accent-dark);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.chat-input-area button:hover {
    transform: scale(1.05);
    background: var(--accent-color);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero-content h2 { font-size: 2.8rem; }
    .nav-links { display: none; }
    .chat-bot-container { right: 20px; bottom: 20px; width: 300px; }
    .whatsapp-float { left: 20px; bottom: 20px; width: 60px; height: 60px; font-size: 32px; }
    .hero-content { padding: 2rem; }
}
