/* WORLD CLASS DESIGNER THEME v6.0 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700;900&family=Plus+Jakarta+Sans:wght@400;600;700&display=swap');

:root {
    /* Color Palette - Vibrant & Sophisticated */
    --primary: #4F46E5;
    /* Indigo Vibrant */
    --primary-dark: #4338CA;
    --secondary: #EC4899;
    /* Pink Rose */
    --accent: #F59E0B;
    /* Amber */
    --surface: #ffffff;
    --background: #F3F4F6;
    /* Cool Grey */
    --text-main: #111827;
    --text-muted: #6B7280;

    /* Gradients */
    --grad-hero: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #EC4899 100%);
    --grad-card: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, #ffffff 100%);
    --grad-glow: radial-gradient(circle at 50% -20%, rgba(124, 58, 237, 0.15), transparent 70%);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-float: 0 25px 50px -12px rgba(79, 70, 229, 0.25);
}

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

h1,
h2,
h3,
h4,
.hero-title-main,
.section-title,
.price-amount {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

/* ---------------- HERO SECTION ---------------- */
.carousel-item {
    height: 90vh;
    min-height: 600px;
    background: var(--text-main);
    /* Fallback */
    position: relative;
    overflow: hidden;
}

/* Mesh Gradient Background */
.carousel-item::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: var(--grad-hero);
    filter: blur(80px);
    opacity: 0.8;
    animation: flowBg 15s ease-in-out infinite alternate;
}

@keyframes flowBg {
    0% {
        transform: rotate(0deg) scale(1);
    }

    100% {
        transform: rotate(10deg) scale(1.1);
    }
}

.hero-content-box {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title-main {
    font-size: clamp(3rem, 6vw, 5rem);
    /* Responsive typography */
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-subtitle-main {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* ---------------- BUTTONS ---------------- */
.btn-radical-fill {
    background: white;
    color: var(--primary) !important;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 100px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-radical-fill:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.btn-radical {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white !important;
    font-weight: 600;
    padding: 18px 40px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.btn-radical:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ---------------- NAV RESERVAR BTN ---------------- */
.btn-reservar-nav {
    background: var(--grad-hero);
    color: white !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    transition: all 0.3s ease;
    border: none;
    animation: pulse-glow 2s infinite;
}

.btn-reservar-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.6);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(236, 72, 153, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0);
    }
}

/* Typewriter Effect */
.txt-rotate>.wrap {
    border-right: 0.08em solid #fff;
    padding-right: 5px;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #fff;
    }

    /* Adjust color based on background */
}

/* Modern FAQ Accordion */
.accordion-custom .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.accordion-custom .accordion-button {
    background: white;
    font-weight: 700;
    color: #333;
    box-shadow: none;
    padding: 1.5rem;
}

.accordion-custom .accordion-button:not(.collapsed) {
    background: var(--grad-hero);
    color: white;
}

.accordion-custom .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-custom .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-custom .accordion-body {
    padding: 1.5rem;
    background: #fff;
    line-height: 1.6;
    color: #666;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Preloader Logo Improved */
.loader-logo {
    width: 300px;
    /* Much bigger for 4k look */
    max-width: 80%;
    margin-bottom: 30px;
    animation: bounce 2s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-20px);
    }
}

/* Floating Reserve Button (Bottom Left) */
.floating-reserve-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    padding: 15px 30px;
    background: var(--grad-hero);
    color: white;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    animation: floatBtn 3s infinite ease-in-out;
}

.floating-reserve-btn:hover {
    transform: scale(1.05) translateY(-5px);
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

@keyframes floatBtn {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.pricing-section {
    position: relative;
    padding: 8rem 0;
    background: white;
}

.pricing-card {
    background: white;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-float);
    border-color: transparent;
    z-index: 2;
}

.pricing-card.featured {
    background: #0f172a;
    /* Dark theme for premium */
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.4);
}

.pricing-card.featured .price-amount {
    color: white;
}

.pricing-card.featured .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.pricing-card.featured .btn-price {
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border: 0;
    color: white;
}

.price-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: super;
    opacity: 0.5;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 2rem;
}

.price-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
    text-align: left;
}

.price-features li {
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card.featured .price-features li {
    color: rgba(255, 255, 255, 0.8);
}

.check-icon {
    color: var(--secondary);
    font-size: 1.2rem;
}

.btn-price {
    display: block;
    width: 100%;
    padding: 15px;
    border-radius: 15px;
    font-weight: 700;
    border: 2px solid var(--background);
    background: transparent;
    color: var(--text-main);
    transition: all 0.3s;
}

.btn-price:hover {
    background: var(--text-main);
    color: white;
    border-color: var(--text-main);
}

/* Ensure standard buttons are visible and follow theme */
.btn-dark {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-dark:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* ---------------- CATALOG CARDS - CLEAN ---------------- */
.product-card {
    background: white;
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-img-container {
    height: 350px;
    background: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.1));
}

.product-card:hover .product-img {
    transform: scale(1.1) translateY(-10px);
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-name {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 5px;
}

/* ---------------- SECTION HEADERS ---------------- */
.section-title.modern {
    font-size: 3rem;
    background: var(--grad-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Mobile Fixes */
@media(max-width: 768px) {
    .pricing-card.featured {
        transform: none !important;
        margin: 20px 0;
    }
}

/* ---------------- SCROLL REVEAL ANIMATION ---------------- */
.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

/* ---------------- BOOTSTRAP OVERRIDES ---------------- */
.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}