/* ═══════════════════════════════════════════════════════════
   AXKAN — Shared Navigation & Footer Styles
   Used by all destination/historia pages for consistency
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: transparent;
    border-bottom: none;
    transition: background 0.4s ease, border-bottom 0.4s ease, box-shadow 0.4s ease;
}

.site-nav.nav--scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.site-nav .nav-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.site-nav .nav-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.4s ease;
}

.site-nav.nav--scrolled .nav-logo {
    filter: none;
}

.site-nav .nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav .nav-links a {
    font-family: 'RL Aqva', 'Arial Black', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.4s ease;
}

.site-nav.nav--scrolled .nav-links a {
    color: #262626;
}

.site-nav .nav-links a:hover {
    color: #e72a88;
}

.site-nav .nav-cta {
    background: #e72a88;
    color: white !important;
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.site-nav .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 42, 136, 0.4);
}

/* Hamburger */
.site-nav .nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.site-nav .nav-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.site-nav.nav--scrolled .nav-hamburger span {
    background: #262626;
}

.site-nav .nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.site-nav .nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.site-nav .nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* When mobile menu is open, force dark nav elements */
.site-nav .nav-hamburger.active span {
    background: #262626 !important;
}

/* Default scrolled state — for pages without hero overlays */
.site-nav.nav--solid {
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.site-nav.nav--solid .nav-logo {
    filter: none;
}
.site-nav.nav--solid .nav-links a {
    color: #262626;
}
.site-nav.nav--solid .nav-hamburger span {
    background: #262626;
}

/* Mobile Menu Overlay — Rich product grid (matches main page) */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f5f5f7;
    z-index: 99;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 80px 1rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-cta {
    display: block;
    text-align: center;
    font-family: 'RL Aqva', 'Arial Black', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 2rem;
    margin-bottom: 1.25rem;
    background: #e72a88;
    color: white;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(231, 42, 136, 0.3);
    transition: transform 0.2s ease;
    letter-spacing: 0.02em;
}

.mobile-menu-cta:active {
    transform: scale(0.97);
}

.mobile-menu-section {
    margin-bottom: 1rem;
}

.mobile-menu-title {
    font-family: 'RL Aqva', 'Arial Black', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
    padding: 0 4px;
    margin-bottom: 0.5rem;
}

.mobile-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.mobile-menu a.mobile-product-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem;
    background: white;
    border-radius: 14px;
    font-family: 'RL Aqva', 'Arial Black', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.mobile-menu a.mobile-product-link:active {
    transform: scale(0.97);
    background: #eee;
}

.mobile-product-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: contain;
    flex-shrink: 0;
}

.mobile-menu a.mobile-view-all {
    grid-column: 1 / -1;
    display: block;
    text-align: center;
    padding: 0.75rem;
    background: white;
    border-radius: 14px;
    font-family: 'RL Aqva', 'Arial Black', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #e72a88;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: background 0.15s ease;
}

.mobile-menu a.mobile-view-all:active {
    background: #eee;
}

.mobile-designs-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu a.mobile-design-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: white;
    border-radius: 14px;
    text-decoration: none;
    color: #1a1a2e;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: background 0.15s ease, transform 0.15s ease;
}

.mobile-menu a.mobile-design-card:active {
    transform: scale(0.97);
    background: #eee;
}

.mobile-design-emoji {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.mobile-design-text {
    flex: 1;
    min-width: 0;
}

.mobile-design-text strong {
    display: block;
    font-family: 'RL Aqva', 'Arial Black', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.mobile-design-text span {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.3;
}

.mobile-design-arrow {
    color: #ccc;
    font-size: 1.2rem;
    flex-shrink: 0;
}


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

.site-footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 2rem 1.5rem;
}

.site-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 3rem;
}

.site-footer-brand img {
    height: 60px;
    margin-bottom: 1rem;
}

.site-footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.site-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.site-footer-social a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-footer-social a:hover {
    color: #e72a88;
    transform: translateY(-2px);
}

.site-footer-mega {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.site-footer-mega-section h4 {
    font-family: 'RL Aqva', 'Arial Black', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.site-footer-mega-section:nth-child(1) h4 { color: #e72a88; }
.site-footer-mega-section:nth-child(2) h4 { color: #8ab73b; }
.site-footer-mega-section:nth-child(3) h4 { color: #f39223; }
.site-footer-mega-section:nth-child(4) h4 { color: #09adc2; }

.site-footer-mega-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: inherit;
    font: inherit;
}

.site-footer-mega-chevron {
    display: none;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.site-footer-mega-section.open .site-footer-mega-chevron {
    transform: rotate(180deg);
}

.site-footer-mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-mega-list li {
    margin-bottom: 0.5rem;
}

.site-footer-mega-list a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.site-footer-mega-list a:hover {
    color: #e72a88;
}

.site-footer-see-all {
    color: #e72a88 !important;
    font-weight: 600;
    font-size: 0.85rem !important;
}

.site-footer-bottom {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer-bottom-social {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.site-footer-bottom-social a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-footer-bottom-social a:hover {
    color: #e72a88;
}


/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 1024px) {
    .site-footer-content {
        grid-template-columns: 1fr 2fr;
    }

    .site-footer-mega {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-nav .nav-links {
        display: none;
    }

    .site-nav .nav-hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .site-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-footer-brand {
        margin-bottom: 0.75rem;
    }

    .site-footer-social {
        justify-content: center;
    }

    .site-footer-mega {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: left;
    }

    .site-footer-mega-section {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-footer-mega-section:last-child {
        border-bottom: none;
    }

    .site-footer-mega-toggle {
        padding: 14px 0;
    }

    .site-footer-mega-section h4 {
        margin-bottom: 0;
    }

    .site-footer-mega-chevron {
        display: block;
    }

    .site-footer-mega-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        padding: 0;
    }

    .site-footer-mega-section.open .site-footer-mega-list {
        max-height: 300px;
        padding-bottom: 12px;
    }

    .site-footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ═══════════════════════════════════════
   FLOATING WHATSAPP BUTTON
   ═══════════════════════════════════════ */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-float-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.whatsapp-float-icon svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.whatsapp-float:hover .whatsapp-float-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-label {
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px 8px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    margin-right: -8px;
    padding-right: 16px;
    opacity: 0;
    transform: translateX(8px);
    order: -1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float-label {
    opacity: 1;
    transform: translateX(0);
}

/* Pulse animation on load */
@keyframes whatsapp-pulse {
    0% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.15); }
    100% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }
}

.whatsapp-float-icon {
    animation: whatsapp-pulse 2s ease-in-out 3;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float-icon {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float-icon svg {
        width: 26px;
        height: 26px;
    }

    .whatsapp-float-label {
        display: none;
    }
}
