/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.5s ease-in-out;
}

.loading-container {
    text-align: center;
    color: #ffd700;
}

.loading-logo h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

.loading-logo p {
    font-size: 1.2rem;
    color: #ffed4e;
    margin-bottom: 2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Loading Bee Image */
.loading-bee-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    display: block;
    border-radius: 50%;
    background-color: rgba(255, 215, 0, 0.1);
    padding: 15px;
    border: 3px solid #ffd700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    animation: beeFloat 3s ease-in-out infinite alternate;
}

@keyframes beeFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Loading Progress Bar */
.loading-bar {
    width: 300px;
    height: 6px;
    background: #3d3d3d;
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 3px;
    transition: width 3s ease-in-out;
    position: relative;
}

.loading-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s ease-in-out infinite;
}

/* Loading Animations */

@keyframes glow {
    from {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 215, 0, 0.3);
    }
    to {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.6);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Main Site Hidden Initially */
.main-site {
    opacity: 0;
}

body {
    font-family: 'Vazirmatn', Arial, sans-serif;
    line-height: 1.6;
    color: #ffd700;
    background-color: #1a1a1a;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffd700;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.bee-logo {
    width: 70px;
    height: 70px;
    margin-left: 15px;
    vertical-align: middle;
    display: inline-block;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease;
}

.bee-logo:hover {
    transform: scale(1.1);
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: inline-block;
    vertical-align: middle;
}

.logo p {
    font-size: 0.9rem;
    color: #ffed4e;
    font-weight: 300;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #ffd700 #2d2d2d;
}

.nav ul li {
    white-space: nowrap;
}

.nav a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}



.nav a:hover {
    background-color: #ffd700;
    color: #1a1a1a;
    border-color: #ffd700;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #fff59d 100%);
    color: #1a1a1a;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="honeycomb" x="0" y="0" width="50" height="43.4" patternUnits="userSpaceOnUse"><polygon points="25,0 50,14.4 50,28.9 25,43.4 0,28.9 0,14.4" fill="none" stroke="rgba(26,26,26,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23honeycomb)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.8;
}

/* Main Content */
.main-content {
    padding: 3rem 0;
    background-color: #1a1a1a;
}

.menu-section {
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffd700;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 2px;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.menu-item {
    background: #2d2d2d;
    border: 2px solid #3d3d3d;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}


.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #ffd700, #ffed4e);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
}

.menu-item:hover::before {
    transform: scaleY(1);
}

.item-info {
    flex: 1;
    margin-left: 1rem;
}

.item-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.item-info p {
    font-size: 0.95rem;
    color: #ffed4e;
    line-height: 1.5;
}

.item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
}

/* Product Thumbnail Image */
.item-image {
    width: 100%;
    height: 150px;
    margin: 0 0 0.5rem 0;
}

/* ========== Desktop Enhancements ========== */
@media (min-width: 992px) {
    .menu-grid {
        grid-template-columns: repeat(2, minmax(450px, 1fr));
        gap: 2rem;
    }

    .menu-item {
        display: grid;
        grid-template-columns: 220px 1fr;
        grid-template-rows: 1fr auto;
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 18px;
        box-shadow: 0 4px 12px rgba(0,0,0,.15);
    }

    .item-image {
        grid-row: 1 / 3;
        width: 220px;
        height: 220px;
        margin: 0;
        border-radius: 12px;
        overflow: hidden;
    }

    .item-info {
        align-self: start;
    }

    .item-info h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
        color: #ffd700;
    }

    .item-info p {
        font-size: 1rem;
        line-height: 1.6;
        color: #ffed4e;
    }

    .item-price {
        justify-self: start;
        margin-bottom: 1rem;
    }

    .item-actions {
        justify-self: start;
        margin-top: 0;
    }
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ffd700;
}

.item-actions {\n    display: flex;\n    justify-content: flex-end;\n    margin-top: 0.5rem;\n}\n\n.add-to-cart-btn {\n    background: linear-gradient(135deg, #ffd700, #ffcc00);\n    color: #1a1a1a;\n    padding: 0.6rem 1.2rem;\n    border: none;\n    border-radius: 30px;\n    cursor: pointer;\n    font-weight: 600;\n    font-size: 1rem;\n    transition: all 0.3s ease;\n    box-shadow: 0 2px 4px rgba(0,0,0,0.1);\n}\n\n.add-to-cart-btn:hover {\n    transform: translateY(-2px);\n    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.4);\n    background: linear-gradient(135deg, #ffcc00, #ffd700);\n}\n\n/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}
.dropdown-btn {
    background: #ffcc00;
    color: #000;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.dropdown-btn:focus {
    outline: none;
    background-color: #e6b800;
}
.dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    background: #fff;
    border: 1px solid #ffcc00;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    min-width: 180px;
    z-index: 1000;
    padding: 8px 0;
}
.dropdown-menu li {
    list-style: none;
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}
.dropdown-menu li a:hover {
    background: #ffecb3;
}

/* QR Dropdown Animation Styles */
.qr-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 1rem;
}
.qr-toggle-btn {
    background: linear-gradient(135deg, #ffd700, #ffcc00);
    color: #1a1a1a;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.7rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.15);
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    position: relative;
    z-index: 101;
}
.qr-toggle-btn:hover {
    background: linear-gradient(135deg, #ffcc00, #ffd700);
    transform: scale(1.08) rotate(-8deg);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.25);
}
.qr-dropdown {
    display: none;
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background: #fffbe6;
    border: 2px solid #ffd700;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.18);
    padding: 18px 28px 14px 28px;
    min-width: 220px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1);
    z-index: 100;
}
.qr-dropdown.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scale(1);
    animation: qrFadeIn 0.5s cubic-bezier(.4,0,.2,1);
}
@keyframes qrFadeIn {
    0% { opacity: 0; transform: translateX(-50%) scale(0.95); }
    100% { opacity: 1; transform: translateX(-50%) scale(1); }
}
.qr-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    border: 2px solid #ffd700;
    box-shadow: 0 2px 12px rgba(255, 215, 0, 0.12);
    margin-bottom: 10px;
    animation: qrBounce 1.2s infinite alternate;
}
@keyframes qrBounce {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.05) translateY(-8px); }
}
.qr-dropdown small {
    display: block;
    color: #bfa700;
    font-size: 0.95rem;
    margin-top: 6px;
    font-weight: 500;
}
@media (max-width: 768px) {
    .dropdown-menu {
        right: auto;
        left: 0;
        min-width: 140px;
    }
    .dropdown-btn {
        width: 100%;
        padding: 10px 0;
    }
    .qr-dropdown {
        left: 50%;
        min-width: 180px;
        padding: 14px 12px 10px 12px;
    }
    .qr-image {
        width: 90px;
        height: 90px;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffd700;
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: #ffed4e;
}

.footer-section p {
    color: #ffed4e;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .logo h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .menu-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .item-info {
        margin-left: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2.5rem 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .menu-item {
        padding: 1rem;
    }
    
    .nav ul {
        gap: 0.5rem;
    }
    
    .nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item {
    animation: fadeInUp 0.6s ease-out;
}

.menu-item:nth-child(even) {
    animation-delay: 0.1s;
}

.menu-item:nth-child(odd) {
    animation-delay: 0.2s;
}

/* Hover Effects for Better UX */
.section-title:hover {
    color: #ffd700;
    transition: color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffd700, #ffed4e);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffed4e, #ffd700);
}

/* Custom Styles for About Page */
.about-header {
    background-color: #000;
    color: #ffcc00;
    padding: 50px 20px;
    text-align: center;
}

.about-header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-header p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    background-color: #000;
    color: #ffcc00;
    padding: 50px 20px;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.about-section .card {
    background-color: #000;
    color: #ffcc00;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    margin: 0 auto;
}

.about-section .card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.about-section .card p {
    font-size: 1rem;
    line-height: 1.6;
}

.about-team {
    background-color: #000;
    color: #ffcc00;
    padding: 50px 20px;
    text-align: center;
}

.about-team h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.about-team .team-card {
    background-color: #ffcc00;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    margin: 0 auto;
}

.about-team .team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.about-team .team-card p {
    font-size: 1rem;
    line-height: 1.6;
}

.about-contact {
    background-color: #000;
    color: #ffcc00;
    padding: 50px 20px;
    text-align: center;
}

.about-contact h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.about-contact p {
    font-size: 1.2rem;
    line-height: 1.8;
}