/* ============================================
   Colombian Coffee Shop — Custom Styles
   Classic & Elegant · Burgundy + Blush
   ============================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
    font-weight: 400;
}

.section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #b07888;
    font-weight: 500;
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #6B1D3A;
    color: #FDF9F5;
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0.875rem 2rem;
    border: 1.5px solid #6B1D3A;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #8a1f35;
    border-color: #8a1f35;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 29, 58, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #F5E6D3;
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0.875rem 2rem;
    border: 1.5px solid rgba(245, 230, 211, 0.5);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: rgba(245, 230, 211, 0.1);
    border-color: #F5E6D3;
    transform: translateY(-2px);
}

/* ---- Nav Link ---- */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #F5E6D3;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ---- Hero ---- */
.hero-bg {
    will-change: transform;
}

.hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(45, 10, 21, 0.55) 0%,
        rgba(107, 29, 58, 0.65) 50%,
        rgba(45, 10, 21, 0.80) 100%
    );
}

.hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    opacity: 0;
    animation: fadeUp 1s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-title {
    opacity: 0;
    animation: fadeUp 1s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-description {
    opacity: 0;
    animation: fadeUp 1s 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-buttons {
    opacity: 0;
    animation: fadeUp 1s 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

/* Scroll indicator */
.hero-scroll {
    opacity: 0;
    animation: fadeIn 1s 1.5s forwards;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(245, 230, 211, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---- Mobile Menu ---- */
.mobile-nav-link {
    font-family: 'Playfair Display', serif;
}

#mobile-menu.open {
    opacity: 1 !important;
    pointer-events: all !important;
}

#mobile-menu.closed {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ---- Scroll Reveal (below fold only) ---- */
.reveal-image,
.reveal-text,
.reveal-menu,
.reveal-feature,
.reveal-map,
.reveal-contact {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-image {
    transform: translateX(-30px);
}

.reveal-text {
    transform: translateY(30px);
}

.reveal-menu {
    transform: translateY(30px);
}

.reveal-feature {
    transform: translateY(30px);
}

.reveal-map {
    transform: translateY(30px);
}

.reveal-contact {
    transform: translateY(30px);
}

.reveal-image.revealed,
.reveal-text.revealed,
.reveal-menu.revealed,
.reveal-feature.revealed,
.reveal-map.revealed,
.reveal-contact.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered delays for grid items */
.reveal-menu:nth-child(2) { transition-delay: 0.1s; }
.reveal-menu:nth-child(3) { transition-delay: 0.2s; }

.reveal-feature:nth-child(2) { transition-delay: 0.1s; }
.reveal-feature:nth-child(3) { transition-delay: 0.2s; }
.reveal-feature:nth-child(4) { transition-delay: 0.3s; }

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal-image,
    .reveal-text,
    .reveal-menu,
    .reveal-feature,
    .reveal-map,
    .reveal-contact {
        opacity: 1;
        transform: none;
    }
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .section-eyebrow {
        font-size: 0.65rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    /* Tablet adjustments */
}
