/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d1b0e;
    overflow-x: hidden;
    background-color: #faf8f5;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #2d1b0e;
}

.section-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    color: #2d1b0e;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #8b4513, #d2691e);
    border-radius: 1px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 248, 245, 0.9);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.nav-logo h2 {
    color: #8b4513;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    font-family: 'Playfair Display', serif;
}
.nav-logo h2 a { color: inherit; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: #2d1b0e;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b4513, #d2691e);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #8b4513;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: #8b4513;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 1px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #f5f1eb;
}

/* Background image with subtle Ken Burns animation */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transform-origin: center;
    animation: kenburns 30s ease-in-out infinite alternate;
    filter: sepia(20%) saturate(1.2) contrast(1.1) brightness(0.8);
    z-index: 0;
}

/* Warm overlay for text readability */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(45, 27, 14, 0.4);
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding: 0 32px;
    z-index: 2;
    position: relative;
    max-width: 1200px;
    text-align: center;
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 7rem);
    color: white;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-weight: 300;
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 4rem;
    max-width: 600px;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 20px 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: transparent;
    color: white;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn-primary {
    background: #8b4513;
    color: white;
    border-color: #8b4513;
}

.btn-primary:hover {
    background: #d2691e;
    border-color: #d2691e;
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: white;
    color: #8b4513;
}

/* Hide old decorative circle */
.hero-image { display: none; }

/* About Section */
.about {
    padding: 150px 0;
    background: #faf8f5;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Story media with warm brown framing */
.story-media {
    width: 100%;
    height: 520px;
    background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?q=80&w=2074&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    border: 1px solid #d7ccc8;
    box-shadow: 0 20px 60px rgba(139, 69, 19, 0.18);
}

.since-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(45, 27, 14, 0.85);
    color: #fff;
    padding: 10px 14px;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(210, 105, 30, 0.3);
}

/* Chef spotlight card */
.story-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 5rem;
}

.chef-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    background: #fff;
    border: 1px solid #d7ccc8;
    box-shadow: 0 12px 30px rgba(139, 69, 19, 0.12);
    padding: 2rem;
}

.chef-photo {
    width: 220px;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.chef-info h3 {
    color: #2d1b0e;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.chef-role {
    color: #8b4513;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.chef-bio {
    color: #5d4037;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.chef-signature {
    color: #2d1b0e;
    font-style: italic;
    border-left: 2px solid #d2691e;
    padding-left: 12px;
}

/* Stats */
.story-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.stat {
    background: #fff;
    border: 1px solid #d7ccc8;
    padding: 1.25rem 1rem;
    text-align: center;
}

.stat-value {
    display: block;
    color: #8b4513;
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #5d4037;
    font-size: 0.95rem;
}

/* Milestones */
.milestones {
    grid-column: 1 / -1;
    margin-top: 1rem;
    border-left: 2px solid #d7ccc8;
    padding-left: 1.5rem;
}

.milestone {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    padding: 1rem 0;
}

.milestone-year {
    color: #2d1b0e;
    font-weight: 600;
}

.milestone-text {
    color: #5d4037;
}

@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
    .chef-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .chef-photo {
        width: 100%;
        height: 260px;
    }
}

.about-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #5d4037;
    line-height: 1.8;
    font-weight: 400;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature {
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    border: 1px solid #d7ccc8;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.1);
}

.feature:hover {
    transform: translateY(-5px);
    border-color: #8b4513;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.15);
}

.feature i {
    font-size: 3rem;
    color: #8b4513;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature:hover i {
    transform: scale(1.1);
    color: #d2691e;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #2d1b0e;
    font-weight: 400;
}

.feature p {
    color: #5d4037;
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 500px;
    height: 500px;
    background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?q=80&w=2074&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.2);
    animation: none;
    position: relative;
    overflow: hidden;
    filter: sepia(15%) saturate(1.1) contrast(1.05);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 27, 14, 0.1);
    z-index: 1;
}

.image-placeholder i {
    font-size: 8rem;
    color: #8b4513;
    opacity: 0.9;
    z-index: 2;
    position: relative;
}

/* Menu Section */
.menu {
    padding: 150px 0;
    background: #f5f1eb;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.menu-category {
    padding: 16px 32px;
    border: 1px solid #8b4513;
    background: transparent;
    color: #8b4513;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.menu-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #8b4513, #d2691e);
    transition: left 0.3s ease;
    z-index: -1;
}

.menu-category:hover::before,
.menu-category.active::before {
    left: 0;
}

.menu-category:hover,
.menu-category.active {
    color: white;
    z-index: 1;
    position: relative;
}

.menu-category-content {
    display: none;
    animation: fadeInUp 0.6s ease-out;
}

.menu-category-content.active {
    display: block;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid #d7ccc8;
    transition: all 0.3s ease;
    gap: 2rem;
}

.menu-item:hover {
    background: #ffffff;
    padding-left: 2rem;
    padding-right: 2rem;
    border-bottom-color: transparent;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
}

.menu-item-image {
    width: 120px;
    height: 120px;
    border-radius: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
    transition: transform 0.3s ease;
    filter: sepia(20%) saturate(1.1) contrast(1.05);
    display: block;
    background-color: #8b4513;
    border: 2px solid #d2691e;
}

.menu-item:hover .menu-item-image {
    transform: scale(1.02);
    filter: sepia(0%) saturate(1.2) contrast(1.1);
}

.menu-item-info {
    flex: 1;
}

.menu-item-info h3 {
    font-size: 1.5rem;
    color: #2d1b0e;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.menu-item-info p {
    color: #5d4037;
    font-size: 1rem;
    line-height: 1.6;
}

.menu-price {
    font-size: 1.5rem;
    font-weight: 400;
    color: #8b4513;
    flex-shrink: 0;
}

/* Contact Section */
.contact {
    padding: 150px 0;
    background: #2d1b0e;
    color: white;
    position: relative;
}

.contact .section-title {
    color: white;
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: white;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: white;
    font-weight: 400;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1rem;
}

.reservation-form {
    background: rgba(139, 69, 19, 0.1);
    padding: 4rem;
    border-radius: 0;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(210, 105, 30, 0.2);
}

.reservation-form h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: white;
    font-weight: 400;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 20px 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    background: transparent;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: white;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-bottom-color: white;
}

.form-group select option {
    background: #2d1b0e;
    color: white;
}

/* Footer */
.footer {
    background: #1a0f0a;
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 2rem;
    color: white;
    font-weight: 400;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: transparent;
    color: white;
    text-align: center;
    line-height: 50px;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    border: 1px solid rgba(210, 105, 30, 0.3);
}

.social-links a:hover {
    background: #d2691e;
    color: white;
    border-color: #d2691e;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Ken Burns animation */
@keyframes kenburns {
    0% {
        transform: scale(1.05) translate3d(0, 0, 0);
        background-position: center 45%;
    }
    100% {
        transform: scale(1.15) translate3d(0, 0, 0);
        background-position: center 55%;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form Success Animation */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #2d1b0e;
    color: white;
    padding: 3rem 4rem;
    border-radius: 0;
    text-align: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(210, 105, 30, 0.3);
}

.success-message.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.success-message h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.success-message p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.success-message .success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 0.6s ease-in-out;
}

.success-message .close-btn {
    background: transparent;
    border: 1px solid rgba(210, 105, 30, 0.5);
    color: white;
    padding: 12px 24px;
    border-radius: 0;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.3s ease;
}

.success-message .close-btn:hover {
    background: #d2691e;
    color: white;
    border-color: #d2691e;
}

/* Form Loading State */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0;
    z-index: 10;
}

.form-loading .btn {
    background: #ccc;
    cursor: not-allowed;
}

.form-loading .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Form Field Focus Animation */
.form-group input:focus,
.form-group select:focus {
    transform: translateY(-2px);
}

/* Additional animations for better UX */
.menu-item {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading animation for better perceived performance */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Hover effects for interactive elements */
.nav-link,
.btn,
.menu-category,
.feature,
.social-links a {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
.menu-category:focus,
input:focus,
select:focus {
    outline: 2px solid #0a0a0a;
    outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .menu-categories {
        flex-direction: column;
        align-items: center;
    }

    .menu-category {
        width: 200px;
        text-align: center;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .image-placeholder {
        width: 300px;
        height: 300px;
    }

    .image-placeholder i {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 16px 32px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-features {
        gap: 1rem;
    }

    .feature {
        padding: 2rem 1.5rem;
    }

    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        text-align: center;
    }

    .menu-item-image {
        width: 100%;
        height: 200px;
        margin-bottom: 1rem;
    }

    .menu-price {
        align-self: center;
        margin-top: 0.5rem;
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
    }

    .image-placeholder i {
        font-size: 3rem;
    }
}