/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #F4A460;
    --text-dark: #2C1810;
    --text-light: #6B4423;
    --bg-light: #FFF8F0;
    --bg-dark: #1A1A1A;
    --white: #FFFFFF;
    --gold: #FFD700;
    --shadow: rgba(139, 69, 19, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Background */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(139, 69, 19, 0.1) 0%, 
        rgba(244, 164, 96, 0.05) 50%, 
        rgba(210, 105, 30, 0.1) 100%);
    z-index: -2;
}

.background-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(244, 164, 96, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

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

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 5px;
    margin-left: 15px;
    padding: 5px;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(139, 69, 19, 0.2);
}

.lang-btn {
    background: none;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: left 0.3s ease;
    z-index: -1;
}

.lang-btn:hover::before,
.lang-btn.active::before {
    left: 0;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--white);
    transform: translateY(-1px);
}

.lang-btn.active {
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(139, 69, 19, 0.1) 0%,
        rgba(244, 164, 96, 0.05) 50%,
        rgba(210, 105, 30, 0.1) 100%
    );
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23D2691E" fill-opacity="0.05"><circle cx="30" cy="30" r="4"/></g></svg>') repeat;
    animation: rotate 60s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1.5s ease-out;
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px var(--shadow);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--shadow);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-dark);
}

.cta-button i {
    animation: bounce 2s infinite;
}

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

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Menu Categories */
.menu-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.category-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: left 0.3s ease;
    z-index: -1;
}

.category-btn:hover::before,
.category-btn.active::before {
    left: 0;
}

.category-btn:hover,
.category-btn.active {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

/* Menu Grid */
.menu-grid {
    display: grid;
    gap: 40px;
}

.menu-category {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.menu-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-dark);
}

.menu-category.hidden {
    display: none;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
}

.menu-items {
    display: grid;
    gap: 20px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(244, 164, 96, 0.05));
    transition: left 0.3s ease;
    z-index: -1;
}

.menu-item:hover::before {
    left: 0;
}

.menu-item:hover {
    border-color: var(--accent-color);
    transform: translateX(10px);
}

.item-info {
    flex: 1;
}

.item-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.item-description {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 300;
}

.item-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--accent-color), var(--gold));
    padding: 8px 15px;
    border-radius: 20px;
    margin-left: 20px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(244, 164, 96, 0.3);
}

.additional-item {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed var(--accent-color);
}

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

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

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.contact-item p {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

.developer-credit {
    margin-top: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0.8;
}

.developer-credit a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.developer-credit a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.developer-credit a:hover {
    color: var(--gold);
    transform: translateY(-1px);
}

.developer-credit a:hover::after {
    width: 100%;
}

/* Responsive Design */

/* Tablets and small laptops */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .menu-categories {
        gap: 12px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Large tablets */
@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 20px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 5px 20px var(--shadow);
        border-radius: 0 0 15px 15px;
        z-index: 999;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .language-switcher {
        margin: 15px 0 0 0;
        justify-content: center;
        align-self: center;
    }
    
    .lang-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 35px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
    
    .menu-section {
        padding: 80px 0;
    }
    
    .menu-categories {
        gap: 8px;
        margin-bottom: 40px;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .menu-category {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .category-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .menu-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        padding: 18px;
    }
    
    .item-name {
        font-size: 1.1rem;
    }
    
    .item-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .item-price {
        margin-left: 0;
        align-self: center;
        font-size: 1rem;
        padding: 6px 12px;
    }
    
    .about-section,
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-item {
        padding: 25px;
    }
}

/* Mobile phones (landscape) */
@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }
    
    .header .container {
        padding: 10px 20px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .menu-categories {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    
    .category-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
        border-radius: 20px;
    }
    
    .menu-category {
        padding: 25px 15px;
        border-radius: 15px;
    }
    
    .category-title {
        font-size: 1.6rem;
    }
    
    .menu-item {
        padding: 15px;
        gap: 10px;
    }
}

/* Mobile phones (portrait) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        padding: 8px 15px;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }
    
    .logo i {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 60px 0 40px;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
        gap: 8px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .section-title::after {
        width: 60px;
        height: 2px;
    }
    
    .menu-section {
        padding: 60px 0;
    }
    
    .menu-categories {
        margin-bottom: 30px;
        gap: 5px;
    }
    
    .category-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        border-radius: 15px;
        white-space: nowrap;
    }
    
    .menu-category {
        padding: 20px 12px;
        border-radius: 12px;
        margin-bottom: 20px;
    }
    
    .category-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    
    .category-title::after {
        width: 40px;
    }
    
    .menu-items {
        gap: 15px;
    }
    
    .menu-item {
        padding: 12px;
        gap: 8px;
        border-radius: 10px;
    }
    
    .item-name {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .item-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .item-price {
        font-size: 0.9rem;
        padding: 5px 10px;
        border-radius: 15px;
        white-space: nowrap;
    }
    
    .about-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .contact-item {
        padding: 20px;
        border-radius: 12px;
    }
    
    .contact-item i {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .contact-item p {
        font-size: 1rem;
    }
    
    .footer {
        padding: 20px 0;
        font-size: 0.9rem;
    }

    .developer-credit {
        font-size: 0.8rem;
        margin-top: 10px;
    }
}

/* Small mobile phones */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
    
    .category-btn {
        padding: 5px 10px;
        font-size: 0.7rem;
    }
    
    .menu-category {
        padding: 15px 10px;
    }
    
    .menu-item {
        padding: 10px;
    }
    
    .item-name {
        font-size: 0.95rem;
    }
    
    .item-description {
        font-size: 0.75rem;
    }
    
    .item-price {
        font-size: 0.85rem;
        padding: 4px 8px;
    }

    .developer-credit {
        font-size: 0.7rem;
        margin-top: 8px;
    }
}

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

.menu-category {
    animation: fadeIn 0.5s ease-out;
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .menu-item:hover {
        transform: none;
        border-color: transparent;
    }
    
    .menu-item:active {
        transform: scale(0.98);
        background: rgba(139, 69, 19, 0.05);
    }
    
    .category-btn:hover {
        transform: none;
    }
    
    .category-btn:active {
        transform: scale(0.95);
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    .cta-button:active {
        transform: scale(0.95);
    }
    
    .nav-link:hover {
        transform: none;
    }
}

/* Prevent zoom on form elements */
@media screen and (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* Safe area for iPhone X and newer */
@supports (padding: max(0px)) {
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
    
    .header {
        padding-top: env(safe-area-inset-top);
    }
    
    .footer {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-light: #1a1a1a;
        --white: #2d2d2d;
        --text-dark: #e0e0e0;
        --text-light: #b0b0b0;
        --shadow: rgba(0, 0, 0, 0.3);
    }
} 