/* ===================================
   Dani's Family Restaurant
   Clean Minimalist · Terracotta + Sand
   =================================== */

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

:root {
    --terracotta: #C0603A;
    --terracotta-dark: #A04E2E;
    --terracotta-light: #D4846A;
    --sand: #F5EDE3;
    --sand-light: #FAF6F1;
    --sand-dark: #E8DDD0;
    --charcoal: #1E1E1E;
    --text-dark: #2A2520;
    --text-mid: #5C544C;
    --text-light: #8A7E74;
    --white: #FFFFFF;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --nav-height: 72px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--sand-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    background: rgba(250, 246, 241, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(192, 96, 58, 0.1);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.nav-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--terracotta);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: transform var(--transition);
}

.nav-logo:hover .nav-logo-mark {
    transform: rotate(-5deg) scale(1.05);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
    transition: color var(--transition);
}

.nav.scrolled .nav-logo-text {
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terracotta);
    transition: width var(--transition);
}

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

.nav-links a:hover {
    color: var(--white);
}

.nav.scrolled .nav-links a {
    color: var(--text-mid);
}

.nav.scrolled .nav-links a:hover {
    color: var(--terracotta);
}

.nav-cta {
    background: var(--terracotta) !important;
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--terracotta-dark) !important;
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-line {
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition);
    transform-origin: center;
}

.nav.scrolled .nav-toggle-line {
    background: var(--text-dark);
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--sand-light);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--text-dark);
    transition: color var(--transition);
}

.mobile-menu-link:hover {
    color: var(--terracotta);
}

.mobile-menu-cta {
    margin-top: 16px;
    font-size: 18px;
    color: var(--terracotta);
    font-weight: 500;
    letter-spacing: 0.03em;
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 20, 15, 0.72) 0%,
        rgba(40, 25, 18, 0.58) 50%,
        rgba(30, 20, 15, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    padding: 0 24px;
}

.hero-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--terracotta-light);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(42px, 8vw, 80px);
    font-weight: 400;
    line-height: 1.08;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-headline em {
    font-style: italic;
    color: var(--terracotta-light);
}

.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all var(--transition);
    border: 1.5px solid transparent;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 96, 58, 0.3);
}

.btn-light {
    background: var(--white);
    color: var(--text-dark);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--sand);
    transform: translateY(-2px);
}

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

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--sand-dark);
}

.btn-outline-dark:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

/* --- Section Divider --- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.divider-dot {
    width: 6px;
    height: 6px;
    background: var(--terracotta);
    border-radius: 50%;
    opacity: 0.5;
}

/* --- Section Tags & Titles --- */
.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-mid);
    font-weight: 300;
    line-height: 1.7;
    max-width: 520px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* --- Menu Section --- */
.menu {
    padding: 100px 0;
    background: var(--sand-light);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 56px;
}

.menu-category {
    background: var(--white);
    border-radius: 16px;
    padding: 36px;
    border: 1px solid var(--sand-dark);
    transition: transform var(--transition), box-shadow var(--transition);
}

.menu-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(42, 37, 32, 0.08);
}

.menu-cat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--sand);
    color: var(--terracotta);
    margin-bottom: 20px;
}

.menu-cat-icon svg {
    width: 20px;
    height: 20px;
}

.menu-cat-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.menu-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.menu-items li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--sand);
}

.menu-items li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.menu-item-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.menu-item-desc {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 300;
    white-space: nowrap;
    text-align: right;
}

.menu-footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.menu-footer p {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    background: var(--white);
}

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

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--terracotta);
    border-radius: 16px;
    opacity: 0.15;
    z-index: -1;
}

.about-content {
    padding: 16px 0;
}

.about-text {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

.about-stats {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--sand-dark);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--terracotta);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    background: var(--sand-dark);
    align-self: stretch;
}

/* --- Visit Section --- */
.visit {
    padding: 100px 0;
    background: var(--sand);
}

.visit-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 48px 0;
    text-align: left;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.visit-detail-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--white);
    color: var(--terracotta);
}

.visit-detail h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.visit-detail p {
    font-size: 15px;
    color: var(--text-mid);
    font-weight: 300;
    line-height: 1.6;
}

.visit-detail a {
    color: var(--terracotta);
    transition: color var(--transition);
}

.visit-detail a:hover {
    color: var(--terracotta-dark);
}

.visit-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background: var(--white);
}

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

.contact-text {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 32px;
    font-weight: 300;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-mid);
    transition: color var(--transition);
}

.contact-method:hover {
    color: var(--terracotta);
}

.contact-method svg {
    color: var(--terracotta);
    min-width: 18px;
}

/* Contact Form */
.contact-form-wrap {
    background: var(--sand-light);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--sand-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--sand-dark);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-light);
}

.form-input:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(192, 96, 58, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: rgba(192, 96, 58, 0.08);
    border-radius: 10px;
    color: var(--terracotta);
    font-size: 14px;
    font-weight: 400;
    margin-top: 16px;
}

.form-success.show {
    display: flex;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal);
    padding: 72px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    width: 32px;
    height: 32px;
    background: var(--terracotta);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-weight: 300;
}

.footer-nav h5,
.footer-hours h5,
.footer-contact h5 {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

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

.footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--terracotta-light);
}

.footer-hours,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-hours p,
.footer-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--terracotta-light);
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-headline {
        font-size: clamp(36px, 10vw, 56px);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 260px;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .menu {
        padding: 72px 0;
    }
    
    .menu-category {
        padding: 28px;
    }
    
    .about {
        padding: 72px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .about-img {
        height: 360px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
    }
    
    .visit {
        padding: 72px 0;
    }
    
    .contact {
        padding: 72px 0;
    }
    
    .contact-form-wrap {
        padding: 28px;
    }
    
    .footer {
        padding: 56px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .menu-category {
        padding: 24px;
    }
    
    .menu-items li {
        flex-direction: column;
        gap: 4px;
    }
    
    .menu-item-desc {
        text-align: left;
    }
}
