* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #111;
    color: white;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 8%;
    background: #050505;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #d4af37;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 15px;
}

.navbar a:hover {
    color: #d4af37;
}

/* Hero */
.hero {
    min-height: 82vh;
    background: linear-gradient(rgba(0,0,0,0.68), rgba(0,0,0,0.68)),
                url("/assets/images/hero.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 58px;
    color: #d4af37;
    margin-bottom: 20px;
}

.hero p {
    font-size: 21px;
    color: #eee;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background: #d4af37;
    color: #111;
    padding: 13px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #f2cc57;
}

.btn.danger {
    background: #b83232;
    color: white;
}

/* Sections */
.intro,
.page-title {
    text-align: center;
    padding: 65px 8%;
}

.intro h2,
.page-title h1 {
    color: #d4af37;
    font-size: 40px;
    margin-bottom: 18px;
}

.intro p,
.page-title p {
    color: #ddd;
    font-size: 18px;
    line-height: 1.7;
    max-width: 850px;
    margin: auto;
}

/* Features */
.features,
.about-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 20px 8% 70px;
}

.about-section {
    grid-template-columns: repeat(2, 1fr);
}

.feature-card,
.about-section div {
    background: #1c1c1c;
    padding: 28px;
    border-radius: 18px;
    text-align: center;
}

.feature-card h3,
.about-section h3 {
    color: #d4af37;
    margin-bottom: 12px;
}

/* Menu */
.menu-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 40px 8%;
}

.food-card {
    background: #1c1c1c;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    transition: 0.3s;
}

.food-card:hover {
    transform: translateY(-6px);
}

.food-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.food-info {
    padding: 22px;
}

.food-info h3 {
    color: #d4af37;
    margin-bottom: 10px;
    font-size: 23px;
}

.food-info p {
    color: #bbb;
    margin-bottom: 12px;
}

.food-info strong {
    font-size: 21px;
}

.empty-message {
    grid-column: 1 / -1;
    text-align: center;
    color: #ccc;
}

/* Contact */
.contact-box p {
    margin-bottom: 12px;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 28px;
    background: #050505;
    margin-top: 50px;
    color: #aaa;
}

/* Admin */
.admin-wrapper {
    padding: 40px 6%;
}

.admin-wrapper h1,
.admin-form h1 {
    color: #d4af37;
    margin-bottom: 25px;
}

.admin-actions {
    margin-bottom: 25px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    min-width: 750px;
    border-collapse: collapse;
    background: #1c1c1c;
}

table th,
table td {
    padding: 14px;
    border: 1px solid #333;
    text-align: center;
}

table th {
    background: #000;
    color: #d4af37;
}

table a {
    color: #d4af37;
    text-decoration: none;
}

.admin-form {
    max-width: 500px;
    margin: 70px auto;
    background: #1c1c1c;
    padding: 35px;
    border-radius: 18px;
}

.admin-form input,
.admin-form select {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    border: none;
    border-radius: 8px;
}

.admin-form button {
    width: 100%;
    padding: 14px;
    background: #d4af37;
    color: #111;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.admin-form a {
    display: inline-block;
    margin-top: 18px;
    color: #d4af37;
}

.error {
    background: #5c1d1d;
    color: white;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.small-title {
    margin-bottom: 10px;
    color: #ddd;
}

.preview-img {
    width: 160px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Tablet */
@media (max-width: 1024px) {
    .menu-container,
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero p {
        font-size: 19px;
    }
    
}

/* Mobile */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 18px;
        text-align: center;
        position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    }

    .navbar {
        justify-content: center;
        gap: 14px;
        display :none;
    }

    .hero {
        text-align: center;
        justify-content: center;
        padding: 50px 6%;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 16px;
    }

    .menu-container,
    .features,
    .about-section {
        grid-template-columns: 1fr;
        padding-left: 6%;
        padding-right: 6%;
    }

    .intro h2,
    .page-title h1 {
        font-size: 32px;
    }

    .admin-form {
        margin: 40px 15px;
        padding: 25px;
    }
}

/* New Menu Design */
html {
    scroll-behavior: smooth;
}

.menu-page {
    background: #fff7df;
    min-height: 100vh;
    color: #2b1b16;
    padding-bottom: 60px;
}

.menu-top {
    text-align: center;
    padding: 45px 8% 20px;
}

.menu-top h1 {
    color: #c8322a;
    font-size: 42px;
    margin-bottom: 10px;
}

.menu-top p {
    color: #5f4a40;
    margin-bottom: 25px;
}

.menu-search {
    width: 100%;
    max-width: 620px;
    padding: 16px 22px;
    border-radius: 30px;
    border: 1px solid #eadfbd;
    font-size: 16px;
}

.category-tabs {
    display: none;
    gap: 14px;
    overflow-x: auto;
    padding: 18px 8%;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #eadfbd;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-link {
    white-space: nowrap;
    background: white;
    color: #4a352e;
    padding: 13px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

.category-link.active,
.category-link:hover {
    background: #c8322a;
    color: white;
}

.menu-list {
    max-width: 950px;
    margin: 30px auto;
    padding: 0 20px;
}

.menu-category-block {
    scroll-margin-top: 105px;
    margin-bottom: 55px;
}

.menu-category-title {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #928b8b;
    font-size: 34px;
    margin: 35px 0 20px;
}

.menu-category-title::after {
    content: "";
    height: 1px;
    background: #e7c8a5;
    flex: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border-radius: 18px;
    padding: 18px 20px;
    margin-bottom: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.menu-item img {
    width: 95px;
    height: 95px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.menu-item-info {
    flex: 1;
}

.menu-item-info h3 {
    font-size: 24px;
    color: #2b1b16;
    margin-bottom: 6px;
}

.menu-item-info p {
    color: #7a6258;
    font-size: 15px;
}

.menu-item-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.menu-item-right strong {
    color: #595959;
    font-size: 22px;
}


@media (max-width: 480px) {
    .logo {
        font-size: 23px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .btn {
        padding: 11px 20px;
    }

    .menu-item {
        gap: 12px;
        padding: 14px;
    }

    .menu-item img {
        width: 80px;
        height: 80px;
    }

    .menu-item-info h3 {
        font-size: 18px;
    }

    .menu-item-right strong {
        font-size: 18px;
    }
}

/* ===== TEPSI FIRINI FINAL THEME ===== */

body {
    background: #062443;
    color: white;
}

.site-header {
    background: #062443;
    padding: 22px 8%;
    min-height: 110px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.25);
}



.navbar a {
    color: white;
    font-weight: 700;
}

.hero {
    min-height: 72vh;
    background: linear-gradient(135deg, #062443 0%, #020b14 100%);
    padding: 80px 8%;
}

.hero h1 {
    color: white;
    font-size: 64px;
    line-height: 1.05;
}

.hero p {
    color: #e9eef5;
    font-size: 23px;
}

.btn {
    background: white;
    color: #062443;
    padding: 15px 34px;
    border-radius: 40px;
}

.intro,
.features {
    background: #062443;
}

.intro h2 {
    color: white;
    font-size: 46px;
}

.feature-card {
    background: white;
    color: #111;
    border-radius: 28px;
    padding: 38px 28px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.feature-card h3 {
    color: #062443;
}

.menu-page {
    background: #062443;
    color: white;
}

.menu-item {
    background: white;
    color: #111;
}

.site-footer {
    background: white;
    color: #111;

/* Logo fix */
.logo {
    background: transparent !important;
    display: flex;
    align-items: center;
}


/* Menu color polish */
.menu-page {
    background: #062443 !important;
    color: white;
}

.menu-top h1 {
    color: white !important;
}

.menu-top p {
    color: rgba(255,255,255,0.75) !important;
}

.menu-search {
    background: white;
    color: #062443;
    border: none;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.category-tabs {
    background: #062443 !important;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.category-link {
    background: white !important;
    color: #062443 !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.category-link.active,
.category-link:hover {
    background: #d8b83f !important;
    color: #062443 !important;
    border: none !important;
}

.menu-category-title {
    color: white !important;
}

.menu-category-title::after {
    background: rgba(255,255,255,0.3) !important;
}

.menu-item {
    background: white !important;
    color: #111 !important;
    border-radius: 24px;
    box-shadow: 0 16px 35px rgba(0,0,0,0.22);
}

.menu-item-info h3 {
    color: #111 !important;
}

.menu-item-info p {
    color: #555 !important;
}

.menu-item-right strong {
    color: #062443 !important;
}

.menu-item-right button {
    border: 1px solid #062443 !important;
    color: #062443 !important;
    background: white !important;
}

.menu-item-right button:hover {
    background: #062443 !important;
    color: white !important;
}
.logo-svg {
    height: 75px;
    width: auto;
    display: block;
}

/* اگر رنگ لوگو داخل SVG قابل تغییره */
.logo-svg path {
    fill: white;
}
/* ===== FINAL MENU FIX ===== */

.menu-page,
.menu-list {
    background: #062443 !important;
    color: #ffffff !important;
}

.menu-top {
    background: #062443 !important;
}

.menu-top h1 {
    color: #ffffff !important;
}

.menu-top p {
    color: rgba(255,255,255,0.75) !important;
}

.menu-search {
    background: #ffffff !important;
    color: #062443 !important;
    border: none !important;
}

.category-tabs {
    background: #062443 !important;
    border-top: 1px solid rgba(255,255,255,0.12) !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}

.category-link {
    background: #ffffff !important;
    color: #062443 !important;
    border: none !important;
}

.category-link.active,
.category-link:hover {
    background: #d8b83f !important;
    color: #062443 !important;
}

.menu-category-title {
    color: #ffffff !important;
}

.menu-category-title::after {
    background: rgba(255,255,255,0.35) !important;
}

.menu-item {
    background: #ffffff !important;
    color: #111111 !important;
    border-radius: 24px !important;
}

.menu-item-info h3 {
    color: #111111 !important;
}

.menu-item-info p {
    color: #555555 !important;
}

.menu-item-right strong {
    color: #062443 !important;
}

.menu-item-right button {
    border: 1px solid #062443 !important;
    color: #062443 !important;
    background: #ffffff !important;
}
.admin-form textarea {
    width: 100%;
    min-height: 110px;
    padding: 14px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    font-family: Arial, Helvetica, sans-serif;
}
.food-desc {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.food-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    background: #eef3f8;
    color: #062443;
    padding: 5px 12px;
    border-radius: 20px;
}

.calorie-badge {
    background: #fff7e6;
    color: #d35400;
    font-size: 13px;
    font-weight: 800;
    padding: 7px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.menu-item-right button {
    display: none !important;
}
/* ===== RESPONSIVE FIX PRO ===== */

/* Tablet */
@media (max-width: 1024px) {

    .menu-item {
        gap: 14px;
    }

    .menu-item img {
        width: 85px;
        height: 85px;
    }

    .menu-item-info h3 {
        font-size: 20px;
    }

}

/* Mobile */
@media (max-width: 768px) {

    .site-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .navbar {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        display :none;
    }



    /* MENU CARD */
    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }

    .menu-item img {
        width: 100%;
        height: 160px;
        border-radius: 16px;
    }

    .menu-item-right {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 10px;
    }

    .menu-item-right strong {
        font-size: 20px;
    }

    .calorie-badge {
        font-size: 12px;
        padding: 5px 10px;
    }

    /* CATEGORY TABS */
    .category-tabs {
        padding: 12px;
        gap: 10px;
    }

    .category-link {
        padding: 10px 16px;
        font-size: 13px;
    }

}

/* Small Mobile */
@media (max-width: 480px) {

    .hero h1 {
        font-size: 28px;
    }

    .menu-item img {
        height: 140px;
    }

}
.logo {
    cursor: pointer;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
/* ===== HOME PAGE UPGRADE ===== */

.hero {
    min-height: 82vh;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 30%),
        linear-gradient(135deg, #062443 0%, #010912 100%);
    display: flex;
    align-items: center;
    padding: 90px 8%;
}

.hero-content {
    max-width: 780px;
}

.hero h1 {
    font-size: 72px;
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero p {
    font-size: 24px;
    color: rgba(255,255,255,0.85);
    max-width: 720px;
    margin-bottom: 36px;
}

.hero .btn {
    background: #ffffff;
    color: #062443;
    padding: 16px 38px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.hero .btn:hover {
    background: #d8b83f;
    transform: translateY(-3px);
}

.intro {
    background: #062443;
    padding: 90px 8% 45px;
}

.intro h2 {
    font-size: 50px;
    color: #ffffff;
}

.intro p {
    color: rgba(255,255,255,0.78);
    font-size: 19px;
}

.features {
    background: #062443;
    padding: 35px 8% 110px;
    gap: 32px;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff, #f4f4f4);
    color: #111;
    border-radius: 30px;
    padding: 42px 30px;
    box-shadow: 0 22px 50px rgba(0,0,0,0.28);
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "🔥";
    display: block;
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card:nth-child(1)::before {
    content: "🥗";
}

.feature-card:nth-child(2)::before {
    content: "🔥";
}

.feature-card:nth-child(3)::before {
    content: "⚡";
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 65px rgba(0,0,0,0.35);
}

.feature-card h3 {
    color: #062443;
    font-size: 24px;
    margin-bottom: 14px;
}

.feature-card p {
    color: #333;
    font-size: 17px;
    line-height: 1.6;
}

/* mobile */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding: 70px 6%;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 18px;
    }

    .intro h2 {
        font-size: 34px;
    }

    .features {
        grid-template-columns: 1fr;
    }
}
/* ===== CONTACT PAGE ===== */

.contact-page {
    background: #062443;
    color: white;
    min-height: 75vh;
    padding: 70px 8% 90px;
}

.contact-header {
    text-align: center;
    margin-bottom: 45px;
}

.contact-header h1 {
    color: white;
    font-size: 52px;
    margin-bottom: 14px;
}

.contact-header p {
    color: rgba(255,255,255,0.78);
    font-size: 18px;
}

.contact-card {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 28px;
    align-items: stretch;
}

.contact-info,
.contact-map {
    background: white;
    color: #111;
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 22px 50px rgba(0,0,0,0.28);
}

.contact-row {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 24px;
}

.contact-row span {
    width: 48px;
    height: 48px;
    background: #062443;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-row h3 {
    color: #062443;
    margin-bottom: 5px;
    font-size: 19px;
}

.contact-row p {
    color: #333;
    font-size: 17px;
}

.whatsapp-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 15px 24px;
    border-radius: 40px;
    font-weight: 900;
    margin-top: 10px;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
}

.contact-map {
    padding: 0;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: none;
}

@media (max-width: 768px) {
    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-header h1 {
        font-size: 38px;
    }

    .contact-info {
        padding: 25px;
    }
}
/* ===== CONTACT PAGE FINAL FIX ===== */

.contact-page {
    background: #062443 !important;
    color: white !important;
    min-height: 75vh !important;
    padding: 70px 8% 90px !important;
}

.contact-header {
    text-align: center !important;
    margin-bottom: 45px !important;
}

.contact-header h1 {
    color: white !important;
    font-size: 52px !important;
    margin-bottom: 14px !important;
}

.contact-header p {
    color: rgba(255,255,255,0.78) !important;
    font-size: 18px !important;
}

.contact-card {
    max-width: 1100px !important;
    margin: auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1.2fr !important;
    gap: 28px !important;
    align-items: stretch !important;
}

.contact-info,
.contact-map {
    background: white !important;
    color: #111 !important;
    border-radius: 28px !important;
    box-shadow: 0 22px 50px rgba(0,0,0,0.28) !important;
}

.contact-info {
    padding: 35px !important;
}

.contact-row {
    display: flex !important;
    gap: 18px !important;
    align-items: center !important;
    margin-bottom: 24px !important;
}

.contact-row span {
    width: 48px !important;
    height: 48px !important;
    background: #062443 !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.contact-row h3 {
    color: #062443 !important;
    margin-bottom: 5px !important;
    font-size: 19px !important;
}

.contact-row p {
    color: #333 !important;
    font-size: 17px !important;
}

.whatsapp-btn {
    display: inline-block !important;
    width: 100% !important;
    text-align: center !important;
    background: #25D366 !important;
    color: white !important;
    text-decoration: none !important;
    padding: 15px 24px !important;
    border-radius: 40px !important;
    font-weight: 900 !important;
    margin-top: 10px !important;
}

.contact-map {
    padding: 0 !important;
    overflow: hidden !important;
}

.contact-map iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 360px !important;
    border: none !important;
}

@media (max-width: 768px) {
    .contact-card {
        grid-template-columns: 1fr !important;
    }

    .contact-header h1 {
        font-size: 38px !important;
    }

    .contact-info {
        padding: 25px !important;
    }
}
.insta-link {
    color: #e1306c;
    font-weight: 700;
    text-decoration: none;
}

.insta-link:hover {
    text-decoration: underline;
}
/* ===== INSTAGRAM PREMIUM ===== */

.instagram-row {
    align-items: center;
}

/* آیکون */
.insta-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* متن */
.insta-content h3 {
    color: #062443;
    margin-bottom: 6px;
}

/* دکمه اینستا */
.insta-button {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 30px;
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
    color: white;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
}

/* hover */
.insta-button:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
/* CONTACT LAYOUT FIX */
.contact-card {
    max-width: 1200px !important;
    margin: 40px auto 0 !important;
    display: grid !important;
    grid-template-columns: 0.85fr 1.15fr !important;
    gap: 32px !important;
    align-items: stretch !important;
}

.contact-info {
    height: auto !important;
}

.contact-map {
    height: auto !important;
    min-height: 420px !important;
}

.contact-map iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 420px !important;
    display: block !important;
}

@media (max-width: 900px) {
    .contact-card {
        grid-template-columns: 1fr !important;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 320px !important;
    }
}
.logo {
    overflow: hidden;
}

/* ===== LOGO FIX ===== */



/* موبایل */
@media (max-width: 768px) {

}
/* FINAL LOGO SIZE FIX */
.site-header .logo img,
.site-header .logo-svg {
    height: 52px !important;
    max-width: 260px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.site-header .logo {
    max-width: 280px !important;
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .site-header .logo img,
    .site-header .logo-svg {
        height: 34px !important;
        max-width: 220px !important;
    }

    .site-header {
        padding: 14px 5% !important;
    }
}
/* FINAL RESPONSIVE LOGO FIX */
.site-header {
    overflow: hidden !important;
}

.site-header .logo {
    width: 100% !important;
    max-width: 520px !important;
    display: flex !important;
    justify-content: center !important;
}

.site-header .logo img,
.site-header .logo-svg {
    width: 100% !important;
    max-width: 420px !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
}

@media (max-width: 768px) {
    .site-header {
        padding: 18px 5% !important;
    }

    .site-header .logo {
        max-width: 100% !important;
    }

    .site-header .logo img,
    .site-header .logo-svg {
        max-width: 88vw !important;
        height: auto !important;
    }

    .navbar {
        width: 100% !important;
        justify-content: center !important;
        gap: 18px !important;
    }

    .navbar a {
        font-size: 15px !important;
    }
}
.site-header {
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .site-header {
        padding: 16px 5% !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .site-header .logo {
        max-width: 88vw !important;
    }
}
@media (max-width: 768px) {
    .logo {
        max-width: 160px !important;
    }
}
.logo-wrap {
    width: 260px !important;
    max-width: 70vw !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
}

.logo-wrap img {
    width: 100% !important;
    height: auto !important;
    max-height: 70px !important;
    object-fit: contain !important;
    display: block !important;
}

@media (max-width: 768px) {
    .logo-wrap {
        width: 230px !important;
        max-width: 78vw !important;
    }

    .logo-wrap img {
        max-height: 55px !important;
    }
}

/* FINAL LOGO RESPONSIVE */

.logo img {
    width: 200px;
    max-width: 70vw;
    height: auto;
    display: block;
}

/* موبایل */
@media (max-width: 768px) {
    .logo img {
        width: 140px;
        max-width: 65vw;
    }
}
/* ABSOLUTE FINAL LOGO FIX */
.site-header .logo,
.site-header #adminLogo {
    width: 120px !important;
    max-width: 120px !important;
    flex: 0 0 120px !important;
    overflow: hidden !important;
}

.site-header .logo img,
.site-header #adminLogo img {
    width: 120px !important;
    max-width: 120px !important;
    height: auto !important;
    max-height: 45px !important;
    display: block !important;
    object-fit: contain !important;
}

@media (max-width: 768px) {
    .site-header .logo,
    .site-header #adminLogo {
        width: 95px !important;
        max-width: 95px !important;
        flex: 0 0 95px !important;
    }

    .site-header .logo img,
    .site-header #adminLogo img {
        width: 95px !important;
        max-width: 95px !important;
        max-height: 35px !important;
    }
}
}/* تنظیمات کلی بخش هیرو */
.hero {
    position: relative;
    width: 100%;
    min-height: 80vh; /* ارتفاع بخش هیرو، می‌توانید آن را به 100vh یا 600px تغییر دهید */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* کانتینر اسلایدر پس‌زمینه */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* پایین‌ترین لایه */
}

/* استایل پایه عکس‌ها */
.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* transition از اینجا حذف شد */
}

/* وقتی عکس فعال می‌شود به طور پیش‌فرض دیده شود */
.hero-slider .slide.active {
    opacity: 1;
}

/* =========================================
   تعریف افکت‌های انیمیشنی مختلف
   ========================================= */

/* افکت ۱: محو شدن ساده (Fade) */
@keyframes fadeAnim {
    from { opacity: 0; }
    to { opacity: 1; }
}
.hero-slider .slide.active.effect-fade {
    animation: fadeAnim 1.5s ease-in-out;
}

/* افکت ۲: زوم به سمت عقب (Zoom Out) */
@keyframes zoomAnim {
    from { opacity: 0; transform: scale(1.15); }
    to { opacity: 1; transform: scale(1); }
}
.hero-slider .slide.active.effect-zoom {
    animation: zoomAnim 1.5s ease-out;
}

/* افکت ۳: حرکت نرم از پایین به بالا (Slide Up) */
@keyframes slideUpAnim {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-slider .slide.active.effect-slide-up {
    animation: slideUpAnim 1.5s ease-out;
}

/* افکت ۴: حرکت نرم از راست به چپ (Slide Right) */
@keyframes slideRightAnim {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
.hero-slider .slide.active.effect-slide-right {
    animation: slideRightAnim 1.5s ease-out;
}

/* لایه تیره برای خوانایی بهتر متن */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* عدد 0.6 میزان تیرگی را تعیین می‌کند. از 0.1 تا 0.9 قابل تغییر است */
    z-index: 2; /* روی عکس‌ها قرار می‌گیرد */
}

/* محتوای متنی */
.hero-content {
    position: relative;
    z-index: 3; /* بالاترین لایه، روی لایه تیره */
    text-align: center;
    color: #ffffff; /* رنگ متن حتما سفید یا روشن باشد */
    padding: 20px;
}