/* ============================================
   Ali Lash Lady - Custom Styles
   Colores Pastel Tiffany
   ============================================ */

:root {
    /* Paleta de colores Tiffany */
    --tiffany-primary: #81D8D0;
    --tiffany-light: #B4E4DE;
    --tiffany-medium: #A0D8CF;
    --tiffany-dark: #5CBDB3;
    --pastel-pink: #F4D5D5;
    --pastel-lavender: #E8D5F2;
    --pastel-peach: #FFE5D8;
    
    /* Colores complementarios */
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --shadow: rgba(129, 216, 208, 0.2);
    --whatsapp-green: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--off-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* ============================================
   Navbar
   ============================================ */

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 15px var(--shadow);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--tiffany-dark);
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: var(--tiffany-primary);
}

.navbar-brand i {
    color: var(--tiffany-primary);
    margin-right: 8px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 15px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--tiffany-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--tiffany-dark);
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--tiffany-light) 0%, var(--pastel-lavender) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(244, 213, 213, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4.5rem;
    color: var(--white);
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
}

.hero-section .lead {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 400;
    opacity: 0.95;
}

/* Animaciones Hero */
.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeInUp 1s ease-out 0.9s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Buttons
   ============================================ */

.btn-primary {
    background: linear-gradient(135deg, var(--tiffany-primary), var(--tiffany-dark));
    border: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--tiffany-dark), var(--tiffany-primary));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow);
}

/* ============================================
   Sections
   ============================================ */

section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--tiffany-primary), var(--pastel-pink));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 300;
}

/* ============================================
   About Section
   ============================================ */

#nosotros {
    background: var(--white);
    margin-top: 0;
}

.about-image img {
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

.feature-box {
    background: linear-gradient(135deg, var(--tiffany-light), var(--white));
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--tiffany-primary);
    box-shadow: 0 10px 30px var(--shadow);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--tiffany-dark);
    margin-bottom: 15px;
}

.feature-box h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   Services Section
   ============================================ */

.services-section {
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--tiffany-primary);
    box-shadow: 0 15px 40px var(--shadow);
    background: linear-gradient(135deg, var(--white), var(--tiffany-light));
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--tiffany-primary), var(--tiffany-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(360deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h4 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-benefits li {
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 8px 0;
    border-bottom: 1px solid var(--tiffany-light);
    position: relative;
    padding-left: 25px;
}

.service-benefits li:last-child {
    border-bottom: none;
}

.service-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--tiffany-dark);
    font-weight: bold;
}

/* ============================================
   Gallery Section - Treatments Carousel
   ============================================ */

.treatments-carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
}

.treatments-carousel .carousel-inner {
    border-radius: 20px;
}

.treatments-carousel .carousel-item {
    height: 500px;
    position: relative;
}

.treatments-carousel .carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: brightness(0.75);
    transition: filter 0.3s ease;
}

.treatments-carousel .carousel-item:hover img {
    filter: brightness(0.85);
}

.treatments-carousel .carousel-caption {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background: rgba(129, 216, 208, 0.9);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.treatments-carousel .carousel-caption h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.treatments-carousel .carousel-caption p {
    font-size: 0.95rem;
    color: var(--white);
    margin: 0;
    font-weight: 500;
}

.treatments-carousel .carousel-control-prev,
.treatments-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: var(--tiffany-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.treatments-carousel .carousel-control-prev {
    left: 20px;
}

.treatments-carousel .carousel-control-next {
    right: 20px;
}

.treatments-carousel .carousel-control-prev:hover,
.treatments-carousel .carousel-control-next:hover {
    opacity: 1;
    background-color: var(--tiffany-dark);
    transform: translateY(-50%) scale(1.1);
}

.treatments-carousel .carousel-indicators {
    bottom: 20px;
}

.treatments-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--tiffany-primary);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.treatments-carousel .carousel-indicators button.active {
    opacity: 1;
    background-color: var(--white);
    transform: scale(1.3);
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .treatments-carousel .carousel-item {
        height: 350px;
    }
    
    .treatments-carousel .carousel-item img {
        height: 350px;
    }
    
    .treatments-carousel .carousel-caption {
        bottom: 50px;
        padding: 12px 15px;
        width: 85%;
    }
    
    .treatments-carousel .carousel-caption h3 {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }
    
    .treatments-carousel .carousel-caption p {
        font-size: 0.85rem;
    }
    
    .treatments-carousel .carousel-control-prev,
    .treatments-carousel .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .treatments-carousel .carousel-control-prev {
        left: 10px;
    }
    
    .treatments-carousel .carousel-control-next {
        right: 10px;
    }
}

/* ============================================
   Lightbox / Modal Gallery
   ============================================ */

.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.70);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lightboxZoom 0.3s ease;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 1.2rem;
    margin-top: 10px;
    background: rgba(129, 216, 208, 0.8);
    border-radius: 8px;
    font-weight: 500;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    z-index: 100000;
    background-color: rgba(129, 216, 208, 0.4);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.lightbox-close {
    top: 30px;
    right: 40px;
}

.lightbox-prev {
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--tiffany-primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-close:hover {
    transform: scale(1.1);
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-caption {
        font-size: 1rem;
        padding: 10px;
    }
}

/* ============================================
   Contact Section
   ============================================ */

.contact-section {
    background: linear-gradient(135deg, var(--tiffany-light) 0%, var(--pastel-peach) 100%);
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item i {
    font-size: 2rem;
    color: var(--tiffany-dark);
    margin-top: 5px;
}

/* Phone Icons Container */
.phone-icons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phone-icons .bi-telephone-fill {
    font-size: 2rem;
    color: var(--tiffany-dark);
}

.phone-icons .bi-whatsapp {
    font-size: 2rem;
    color: var(--tiffany-dark);
}

.whatsapp-icon {
    color: var(--tiffany-dark) !important;
}

.contact-item h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.phone-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-link {
    color: var(--tiffany-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--tiffany-primary);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--tiffany-primary), var(--tiffany-dark));
    color: var(--white) !important;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
    width: fit-content;
    border: none;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, var(--tiffany-dark), var(--tiffany-primary));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow);
    color: var(--white) !important;
}

.whatsapp-btn i {
    font-size: 1.2rem;
    color: var(--white);
}

.contact-item a {
    color: var(--tiffany-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--tiffany-primary);
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--tiffany-primary), var(--tiffany-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.form-control,
.form-select {
    border: 2px solid var(--tiffany-light);
    border-radius: 10px;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--tiffany-primary);
    box-shadow: 0 0 0 0.2rem var(--shadow);
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--tiffany-primary), var(--tiffany-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 4px 20px var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: float-whatsapp 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, var(--tiffany-dark), var(--tiffany-primary));
    transform: scale(1.1);
    box-shadow: 0 8px 30px var(--shadow);
    color: var(--white);
}

@keyframes float-whatsapp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse animation for floating button */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--tiffany-primary);
    opacity: 0.4;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--text-dark);
    color: var(--white);
}

.footer-link {
    color: var(--tiffany-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--tiffany-primary);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .nav-link {
        margin: 10px 0;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }
    
    .phone-links {
        width: 100%;
    }
    
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Scroll Animations
   ============================================ */

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.service-icon {
    animation: float 3s ease-in-out infinite;
}

.service-card:hover .service-icon {
    animation: none;
}