/* Custom styles for La Hija de La Tostada */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background-color: #c9983e;
    color: #0a1628;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #c9983e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4a853;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar transition */
.nav-scrolled {
    background-color: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(201, 152, 62, 0.1);
}

/* Mobile menu animation */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Line animation for hamburger */
.menu-line {
    transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menuBtn.active .menu-line:nth-child(3) {
    width: 20px;
    margin-left: 0;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Image hover effects */
img {
    transition: transform 0.7s ease;
}

/* Gold gradient text effect */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4a853 0%, #c9983e 50%, #b8862e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle card hover */
.card-hover {
    transition: border-color 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c9983e;
    outline-offset: 2px;
}

/* Mobile menu links */
.mobile-link {
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Map container */
iframe {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

@media (max-width: 768px) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
}
