@import "main.css";


body {
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--secondary);
    color: var(--primary);
    line-height: 1.7;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== CONTAINER WITH VIDEO BACKGROUND ===== */
.container {
    position: relative;
    max-width: 1100px;
    width: 100%;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid #4a3f38;
    /* Add this to ensure container has height */
    min-height: 100vh; /* or set a specific height */
}

/* Video / GIF background - FIXED TO VIEWPORT */
.container-bg {
    position: fixed; /* ← CHANGED from absolute */
    top: 0;
    left: 0;
    width: 100vw; /* ← CHANGED from 100% */
    height: 100vh; /* ← CHANGED from 100% */
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}
/* Semi-transparent overlay for readability */
.container-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 23, 21, 0.82); /* light black with opacity */
    z-index: 1;
    backdrop-filter: blur(2px); /* optional soft blur */
}

/* Content sits on top */
.content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 2rem;
}

/* ===== rest of the styles (unchanged) ===== */
header {
    text-align: center;
    border-bottom: 2px solid #b89a7a;
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
}

h1 {
    font-size: 3.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #d4b48c;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.25rem;
}

.subhead {
    font-size: 1.2rem;
    color: #c6b09a;
    letter-spacing: 1px;
    border-top: 1px dashed #6a5a4a;
    display: inline-block;
    padding-top: 0.5rem;
    margin-top: 0.25rem;
}

nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin: 1.8rem 0 2.2rem 0;
}

nav a {
    color: #dccbbc;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.5rem 0.8rem;
    border-bottom: 2px solid transparent;
    transition: 0.2s ease;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

nav a:hover {
    color: #f0deca;
    border-bottom-color: #b89a7a;
    transform: translateY(-2px);
}

.hero {
    background: rgba(47, 41, 36, 0.7);
    backdrop-filter: blur(4px);
    padding: 2.2rem 2rem;
    border-radius: 2rem;
    margin-bottom: 2.8rem;
    border-right: 6px solid #b89a7a;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.hero h2 {
    font-size: 2.2rem;
    color: #e6d2bb;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    color: #dacfc0;
    max-width: 80%;
}

.menu-section {
    margin: 3rem 0 2rem;
}

.menu-section h2 {
    font-size: 2.2rem;
    color: #d4b48c;
    border-right: 6px solid #b89a7a;
    padding-right: 1rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.8rem;
}

.menu-item {
    background: rgba(43, 38, 34, 0.85);
    backdrop-filter: blur(4px);
    padding: 1.5rem 1.2rem;
    border-radius: 1.5rem;
    border: 1px solid #4d4037;
    transition: 0.2s;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.menu-item:hover {
    transform: scale(1.02);
    border-color: #b89a7a;
    background: rgba(51, 45, 40, 0.9);
}

.menu-item h3 {
    color: #f0decb;
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.menu-item .price {
    color: #c8ad8a;
    font-weight: 500;
    font-size: 1.2rem;
    background: rgba(30, 26, 23, 0.8);
    display: inline-block;
    padding: 0.2rem 1.2rem;
    border-radius: 30px;
    margin-top: 0.5rem;
    border: 1px solid #4d3f35;
}

.menu-item .desc {
    color: #bbaa98;
    font-size: 0.95rem;
    margin-top: 0.4rem;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0 2.5rem;
    justify-content: center;
}

.feature-card {
    flex: 1 1 200px;
    background: rgba(35, 31, 28, 0.85);
    backdrop-filter: blur(4px);
    padding: 1.8rem 1.5rem;
    border-radius: 2rem;
    text-align: center;
    border: 1px solid #4d3f35;
    transition: 0.2s;
}

.feature-card:hover {
    border-color: #b89a7a;
    background: rgba(43, 38, 33, 0.9);
}

.feature-card .icon {
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
    display: block;
}

.feature-card h4 {
    color: #e3cfba;
    font-size: 1.3rem;
    font-weight: 500;
}

.feature-card p {
    color: #b3a28e;
    font-size: 1rem;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: rgba(31, 27, 24, 0.85);
    backdrop-filter: blur(4px);
    padding: 1.8rem 2rem;
    border-radius: 2rem;
    margin-top: 2.5rem;
    border: 1px solid #4d3f35;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #d4c5b5;
    font-size: 1.1rem;
}

.contact-item span {
    color: #b89a7a;
    font-size: 1.6rem;
}

.footer-note {
    text-align: center;
    margin-top: 2.5rem;
    color: #7a6a5a;
    border-top: 1px solid #3a322c;
    padding-top: 2rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

@media (max-width: 700px) {
    .content {
        padding: 1.5rem 1rem;
    }
    
    h1 {
        font-size: 2.6rem;
    }
    
    .hero p {
        max-width: 100%;
    }
       
    nav {
        gap: 1rem;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .menu-item h3 {
        color: #f0decb;
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .menu-item .price {
        color: #c8ad8a;
        font-weight: 500;
        font-size: 0.9rem;
        background: rgba(30, 26, 23, 0.8);
        display: inline-block;
        padding: 0.2rem 1.2rem;
        border-radius: 30px;
        margin-top: 0.5rem;
        border: 1px solid #4d3f35;
    }

    .menu-item .desc {
        color: #bbaa98;
        font-size: 0.75rem;
        margin-top: 0.4rem;
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;  
    }

    .menu-item {
        padding: 1rem 0.8rem;
    }

    .menu-item h3 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .menu-item .price {
        font-size: 0.85rem;
        padding: 0.15rem 0.8rem;
        margin-top: 0.3rem;
    }

    .menu-item .desc {
        font-size: 0.75rem;
        margin-top: 0.2rem;
    }

    .hero {
        background: rgba(47, 41, 36, 0.7);
        backdrop-filter: blur(4px);
        padding: 2.2rem 2rem;
        border-radius: 2rem;
        margin-bottom: 2.8rem;
        border-right: 6px solid #b89a7a;
        box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    }

    .hero h2 {
        font-size: 1.2rem;
        color: #e6d2bb;
        margin-bottom: 0.75rem;
        font-weight: 600;
    }

    .hero p {
        font-size: 1rem;
        color: #dacfc0;
        max-width: 80%;
    }

    nav {
        gap: 0.5rem;           
        flex-wrap: nowrap;    
        overflow-x: auto;     
        justify-content: space-between; 
        padding: 0.2rem 0;
    }

    nav a {
        font-size: 0.9rem;
        padding: 0.4rem 0.5rem;
        white-space: nowrap;
        flex-shrink: 1;
    }
}