/* ============================================
   Neveria La Brisa — Styles
   Burgundy + Blush | Warm & Friendly
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --burgundy: #781c28;
    --burgundy-dark: #5a141e;
    --burgundy-light: #9a2636;
    --blush: #f4c2c2;
    --blush-light: #fce8e8;
    --blush-lighter: #fdf3f3;
    --cream: #fffaf8;
    --cream-dark: #f9f0ee;
    --text-dark: #2d1f1f;
    --text-mid: #5a4040;
    --text-light: #8a6565;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(120, 28, 40, 0.08);
    --shadow-md: 0 4px 20px rgba(120, 28, 40, 0.12);
    --shadow-lg: 0 8px 40px rgba(120, 28, 40, 0.16);
    --shadow-xl: 0 16px 60px rgba(120, 28, 40, 0.20);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 48px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--burgundy);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 700;
}

.skip-link:focus {
    top: 16px;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

.text-accent {
    color: var(--burgundy);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--burgundy);
    background: var(--blush-light);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-mid);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-mid);
    margin-bottom: 24px;
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 17px;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
    box-shadow: 0 4px 16px rgba(120, 28, 40, 0.3);
}

.btn-primary:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(120, 28, 40, 0.4);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--burgundy);
    transform: translateY(-2px);
}

/* --- Section --- */
.section {
    padding: 100px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 120px 0;
    }
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 250, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(120, 28, 40, 0.08);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--burgundy);
}

.logo-text {
    letter-spacing: -0.02em;
}

.logo-light .logo-text {
    color: var(--white);
}

.main-nav ul {
    display: none;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    color: var(--text-mid);
    padding: 8px 16px;
    border-radius: 50px;
    transition: all var(--transition);
}

.main-nav a:hover {
    color: var(--burgundy);
    background: var(--blush-light);
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--blush-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--blush);
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--burgundy);
    border-radius: 2px;
    transition: all var(--transition);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }

    .main-nav {
        display: flex !important;
    }

    .main-nav ul {
        display: flex;
    }
}

/* Mobile Nav */
.main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 250, 248, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid rgba(120, 28, 40, 0.08);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    z-index: 99;
}

.main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
}

.main-nav ul {
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.main-nav a {
    display: block;
    padding: 14px 20px;
    font-size: 17px;
    border-radius: var(--radius-sm);
}

.main-nav .btn {
    margin-top: 12px;
    text-align: center;
    width: 100%;
    justify-content: center;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--burgundy);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(90, 20, 30, 0.92) 0%,
        rgba(120, 28, 40, 0.85) 50%,
        rgba(154, 38, 54, 0.78) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blush);
    background: rgba(244, 194, 194, 0.15);
    border: 1px solid rgba(244, 194, 194, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title .text-accent {
    color: var(--blush);
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 250, 248, 0.85);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--blush);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(244, 194, 194, 0.3);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 250, 248, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* --- About --- */
.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

@media (min-width: 600px) {
    .about-img-main img {
        height: 500px;
    }
}

.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream);
}

.about-img-secondary img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

@media (min-width: 600px) {
    .about-img-secondary {
        right: -32px;
        bottom: -48px;
    }
    .about-img-secondary img {
        width: 240px;
        height: 240px;
    }
}

.about-badge {
    position: absolute;
    top: -16px;
    left: -16px;
    background: var(--burgundy);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-mid);
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--blush-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
}

.feature-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.feature-item span {
    font-size: 14px;
    color: var(--text-light);
}

/* --- Flavors --- */
.flavors {
    background: var(--blush-lighter);
}

.flavors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 56px;
}

@media (min-width: 600px) {
    .flavors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .flavors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.flavor-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

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

.flavor-img {
    overflow: hidden;
    height: 220px;
}

.flavor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.flavor-card:hover .flavor-img img {
    transform: scale(1.08);
}

.flavor-info {
    padding: 24px;
}

.flavor-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.tag {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
}

.tag-classic {
    background: var(--blush-light);
    color: var(--burgundy);
}

.tag-popular {
    background: #fff3cd;
    color: #856404;
}

.tag-signature {
    background: #e8d5f5;
    color: #6b21a8;
}

.tag-rich {
    background: #fde8d0;
    color: #78350f;
}

.tag-seasonal {
    background: #d1fae5;
    color: #065f46;
}

.tag-dairyfree {
    background: #dbeafe;
    color: #1e40af;
}

.flavor-name {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.flavor-desc {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.6;
}

.flavors-cta {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.flavors-cta p {
    font-size: 17px;
    color: var(--text-mid);
}

/* --- Experience Banner --- */
.experience-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.experience-bg {
    position: absolute;
    inset: 0;
}

.experience-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(90, 20, 30, 0.90) 0%,
        rgba(120, 28, 40, 0.85) 100%
    );
}

.experience-content {
    position: relative;
    z-index: 1;
}

.experience-title {
    font-size: clamp(28px, 4vw, 44px);
    color: var(--white);
    text-align: center;
    margin-bottom: 56px;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .experience-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.experience-item {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 250, 248, 0.08);
    border: 1px solid rgba(255, 250, 248, 0.15);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.experience-item:hover {
    background: rgba(255, 250, 248, 0.14);
    transform: translateY(-4px);
}

.exp-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(244, 194, 194, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blush);
}

.experience-item h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 10px;
}

.experience-item p {
    font-size: 15px;
    color: rgba(255, 250, 248, 0.75);
    line-height: 1.7;
}

/* --- Visit --- */
.visit {
    background: var(--cream);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 900px) {
    .visit-grid {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
    }
}

.visit-info .section-title {
    margin-bottom: 16px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--blush-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
}

.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.6;
}

.contact-item a {
    color: var(--burgundy);
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.visit-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

.map-placeholder {
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* --- Footer --- */
.site-footer {
    background: var(--burgundy-dark);
    color: var(--white);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 56px;
}

@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-brand p {
    color: rgba(255, 250, 248, 0.7);
    font-size: 15px;
    margin-top: 16px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--blush);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 250, 248, 0.7);
    font-size: 15px;
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-links ul li span {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 250, 248, 0.7);
    font-size: 14px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 250, 248, 0.1);
}

.footer-contact p {
    color: rgba(255, 250, 248, 0.7);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--blush);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 250, 248, 0.12);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 250, 248, 0.5);
}

.footer-bottom a {
    color: var(--blush);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { 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 {
        opacity: 1;
        transform: none;
    }
}
