/* ================================================
   ARCANO HOLÍSTICO - BRAND REFINEMENTS
   Mejoras sutiles de identidad de marca
   ================================================ */

/* ========== NAVIGATION LOGO WITH ISOLOGO ===========*/
.nav-logo {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Playfair Display', 'Cormorant Garamond', serif !important;
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #F3E3C3 0%, #7A5A27 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none !important;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.nav-logo-text {
    background: linear-gradient(135deg, #F3E3C3 0%, #7A5A27 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== LOGIN BUTTON REFINEMENT ========== */
.btn-login {
    background-color: transparent !important;
    color: #5E3B78 !important;
    border: 2px solid #5E3B78 !important;
    padding: 0.625rem 1.25rem !important;
    font-size: 0.95rem !important;
    font-family: 'Inter', sans-serif !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

.btn-login:hover {
    background-color: #5E3B78 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(94, 59, 120, 0.25) !important;
}

/* Override accent button to be login style */
.nav-menu .btn-accent {
    background-color: transparent !important;
    color: #5E3B78 !important;
    border: 2px solid #5E3B78 !important;
    padding: 0.625rem 1.25rem !important;
    font-size: 0.95rem !important;
    font-family: 'Inter', sans-serif !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    background-image: none !important;
    transition: all 0.3s ease !important;
}

.nav-menu .btn-accent:hover {
    background-color: #5E3B78 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(94, 59, 120, 0.25) !important;
}

/* ========== UNIFIED BUTTON COLORS ========== */
.btn-primary {
    background-color: var(--color-btn-light) !important;
    background-image: none !important;
    color: var(--color-text-primary) !important;
}

.btn-primary:hover {
    background-color: var(--color-gold-light) !important;
    background-image: none !important;
}

.btn-light {
    background-color: var(--color-btn-light) !important;
    color: var(--color-text-primary) !important;
}

.btn-light:hover {
    background-color: var(--color-gold-light) !important;
}

/* ========== CONSISTENT GRADIENTS ========== */
.hero {
    background: linear-gradient(135deg, var(--color-bg-base) 0%, var(--color-highlight) 100%) !important;
}

/* CTA sections with cream-yellow gradient */
.section[style*="linear-gradient"] {
    background: var(--gradient-highlight) !important;
}

/* ========== MYSTICAL DECORATIVE ICONS ========== */
.mystical-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 0.5rem;
    opacity: 0.7;
    vertical-align: middle;
}

.mystical-icon-sm {
    width: 16px;
    height: 16px;
    margin: 0 0.35rem;
}

.section-title-decorated {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.title-underline-decorative {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.title-underline-decorative::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold-light) 0%, var(--color-gold-dark) 100%);
    border-radius: 2px;
    opacity: 0.6;
}

/* Hero sparkles */
.hero-sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--color-gold-light) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.4;
    animation: sparkle 3s ease-in-out infinite;
}

.hero-sparkle:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.hero-sparkle:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.hero-sparkle:nth-child(3) {
    bottom: 30%;
    left: 25%;
    animation-delay: 2s;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

/* ========== FOOTER LOGO ========== */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
}

.footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== HERO TITLE ENHANCEMENT ========== */
.hero-title {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem) !important;
}

/* ========== NAVIGATION FIX FOR DESKTOP ========== */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(250, 246, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(45, 45, 45, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-menu {
    display: flex !important;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-direction: row !important;
    position: static !important;
    background-color: transparent !important;
    width: auto !important;
    box-shadow: none !important;
    padding: 0 !important;
    left: auto !important;
}

.nav-link {
    color: #2D2D2D;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #5E3B78;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #5E3B78;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-primary);
    margin: 5px 0;
    transition: all 0.2s ease;
}

/* ========== CAROUSEL & CARDS ========== */
.carousel-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
}

.carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
}

.carousel-item {
    min-width: 100%;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--color-accent);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(45, 45, 45, 0.1);
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.carousel-btn:hover:not(:disabled) {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-highlight);
    border: 2px solid var(--color-accent);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.carousel-indicator:hover {
    background-color: var(--color-gold-light);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background-color: var(--color-accent);
    width: 32px;
    border-radius: 6px;
}

.card {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(45, 45, 45, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(45, 45, 45, 0.15);
}

.card-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.card-title {
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
    .carousel-item {
        min-width: calc(50% - 1rem);
    }
}

@media (min-width: 1024px) {
    .carousel-item {
        min-width: calc(33.333% - 1.333rem);
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed !important;
        left: -100% !important;
        top: 70px;
        flex-direction: column !important;
        background-color: var(--color-bg-base) !important;
        width: 100% !important;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 4px 16px rgba(45, 45, 45, 0.1) !important;
        padding: 2rem 0 !important;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .nav-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .nav-logo-icon {
        width: 30px;
        height: 30px;
    }

    .mystical-icon {
        width: 16px;
        height: 16px;
    }

    .hero-title {
        font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}