/* ========================================
   Laphahie Food Stand — Custom Styles
   ======================================== */

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

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

body {
    font-family: 'Nunito', system-ui, sans-serif;
    color: #3a1017;
    background-color: #FFFAF7;
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #7B2D3B;
    color: #FFFAF7;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    font-weight: 700;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* ---------- Utility ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section {
    padding: 6rem 0;
}

/* ---------- Section Labels & Titles ---------- */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #a8253d;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fdf0f2 0%, #fce1d5 100%);
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.section-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: #7B2D3B;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #8c1c30;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Nunito', system-ui, sans-serif;
    font-weight: 700;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 3px solid #e87d4e;
    outline-offset: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, #a8253d 0%, #7B2D3B 100%);
    color: #FFFAF7;
    border-color: #7B2D3B;
    box-shadow: 0 4px 15px rgba(123, 45, 59, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c23a56 0%, #8c1c30 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 45, 59, 0.4);
}

.btn-outline-light {
    background: transparent;
    color: #FFFAF7;
    border-color: rgba(255, 250, 247, 0.7);
}

.btn-outline-light:hover {
    background: rgba(255, 250, 247, 0.15);
    border-color: #FFFAF7;
    transform: translateY(-2px);
}

.btn-light {
    background: #FFFAF7;
    color: #7B2D3B;
    border-color: #FFFAF7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
    background: #FFF5EE;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-ghost-light {
    background: transparent;
    color: #FFFAF7;
    border-color: rgba(255, 250, 247, 0.5);
}

.btn-ghost-light:hover {
    background: rgba(255, 250, 247, 0.1);
    border-color: #FFFAF7;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* ---------- Header / Navigation ---------- */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 250, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: all 0.3s ease;
}

.nav-header.scrolled {
    box-shadow: 0 4px 30px rgba(123, 45, 59, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.25rem;
    color: #7B2D3B;
    transition: transform 0.2s;
}

.nav-logo:hover {
    transform: scale(1.03);
}

.nav-logo-text {
    line-height: 1.2;
}

.nav-menu {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #8c1c30;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #7B2D3B;
    background: rgba(123, 45, 59, 0.08);
}

.nav-cta {
    display: none;
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #7B2D3B;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile menu */
@media (max-width: 767px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: #FFFAF7;
        padding: 6rem 2rem 2rem;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(123, 45, 59, 0.15);
    }
    
    .nav-menu.open {
        transform: translateX(0);
    }
    
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.875rem 1rem;
        font-size: 1.05rem;
        border-radius: 12px;
    }
    
    .nav-cta {
        display: block;
        margin-top: 1rem;
    }
    
    .nav-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
    
    .nav-menu {
        display: block;
    }
    
    .nav-cta {
        display: block;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #3a1017;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(58, 16, 23, 0.88) 0%,
        rgba(123, 45, 59, 0.75) 50%,
        rgba(58, 16, 23, 0.85) 100%
    );
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 230, 216, 0.15);
    border: 1px solid rgba(245, 230, 216, 0.25);
    color: #F5E6D8;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge svg {
    color: #f09e76;
}

.hero-headline {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    color: #FFFAF7;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-headline br {
    display: none;
}

@media (min-width: 640px) {
    .hero-headline br {
        display: block;
    }
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 250, 247, 0.8);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 250, 247, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-trust-item svg {
    color: #f09e76;
}

.hero-trust-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 250, 247, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 250, 247, 0.5);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ---------- About ---------- */
.about {
    background: #FFFAF7;
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(123, 45, 59, 0.15);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    width: 55%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(123, 45, 59, 0.2);
    border: 5px solid #FFFAF7;
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    background: linear-gradient(135deg, #a8253d 0%, #7B2D3B 100%);
    color: #FFFAF7;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(123, 45, 59, 0.3);
}

.about-badge svg {
    flex-shrink: 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-text {
    font-size: 1.05rem;
    color: #5c1f28;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #fdf0f2 0%, #fce1d5 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7B2D3B;
}

.about-feature-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.15rem;
    color: #7B2D3B;
    margin-bottom: 0.25rem;
}

.about-feature p {
    font-size: 0.95rem;
    color: #8c1c30;
    opacity: 0.8;
    line-height: 1.6;
}

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

/* ---------- Menu ---------- */
.menu {
    background: linear-gradient(180deg, #FFFAF7 0%, #fdf0f2 100%);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 0.75rem 1.75rem;
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #8c1c30;
    background: rgba(255, 250, 247, 0.8);
    border: 2px solid rgba(123, 45, 59, 0.12);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.menu-tab:hover {
    border-color: rgba(123, 45, 59, 0.3);
    background: rgba(253, 240, 242, 0.9);
}

.menu-tab.active {
    background: linear-gradient(135deg, #a8253d 0%, #7B2D3B 100%);
    color: #FFFAF7;
    border-color: #7B2D3B;
    box-shadow: 0 4px 15px rgba(123, 45, 59, 0.3);
}

.menu-panel {
    display: none;
}

.menu-panel.active {
    display: block;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.menu-card {
    background: #FFFAF7;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(123, 45, 59, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(123, 45, 59, 0.06);
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(123, 45, 59, 0.15);
}

.menu-card-img {
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.menu-card:hover .menu-card-img img {
    transform: scale(1.05);
}

.menu-card-body {
    padding: 1.5rem;
}

.menu-card-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.25rem;
    color: #7B2D3B;
    margin-bottom: 0.5rem;
}

.menu-card-desc {
    font-size: 0.95rem;
    color: #8c1c30;
    opacity: 0.8;
    line-height: 1.6;
}

.menu-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #8c1c30;
    opacity: 0.7;
}

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

@media (min-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ---------- Gallery ---------- */
.gallery {
    background: #FFFAF7;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    grid-auto-rows: 250px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(58, 16, 23, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: #FFFAF7;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.25rem;
}

.gallery-item--large {
    grid-column: span 1;
}

.gallery-item--tall {
    grid-row: span 2;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 280px;
    }
    
    .gallery-item--large {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 260px;
    }
    
    .gallery-item--large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* ---------- Visit ---------- */
.visit {
    background: linear-gradient(180deg, #fdf0f2 0%, #FFFAF7 100%);
}

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

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.visit-desc {
    font-size: 1.05rem;
    color: #5c1f28;
    line-height: 1.8;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visit-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.visit-detail-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #a8253d 0%, #7B2D3B 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFAF7;
}

.visit-detail-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.1rem;
    color: #7B2D3B;
    margin-bottom: 0.25rem;
}

.visit-detail p {
    font-size: 0.95rem;
    color: #5c1f28;
    line-height: 1.6;
}

.visit-phone {
    font-size: 1.1rem;
    font-weight: 700;
    color: #a8253d;
    transition: color 0.2s;
}

.visit-phone:hover {
    color: #7B2D3B;
}

.visit-map {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(123, 45, 59, 0.12);
}

.map-wrapper {
    border-radius: 24px;
    overflow: hidden;
}

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

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, #3a1017 0%, #7B2D3B 50%, #5c1f28 100%);
    padding: 5rem 0;
}

.cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.cta-content {
    max-width: 600px;
}

.cta-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #FFFAF7;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 250, 247, 0.75);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-inner {
        flex-direction: row;
        text-align: left;
    }
    
    .cta-actions {
        justify-content: flex-start;
    }
}

/* ---------- Footer ---------- */
.footer {
    background: #3a1017;
    color: rgba(255, 250, 247, 0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.2rem;
    color: #FFFAF7;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.7;
}

.footer-heading {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.1rem;
    color: #FFFAF7;
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a,
.footer-contact a,
.footer-contact li {
    font-size: 0.95rem;
    color: rgba(255, 250, 247, 0.6);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #F5E6D8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 250, 247, 0.1);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ---------- Scroll Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .scroll-indicator {
        animation: none;
    }
    
    .gallery-item img {
        transition: none;
    }
    
    .menu-card:hover .menu-card-img img {
        transform: none;
    }
}

/* ---------- Mobile menu overlay ---------- */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(58, 16, 23, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}
