@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
    --gold: #c9a227;
    --gold-light: #e4c96b;
    --gold-dark: #9e7d1d;

    --white: #ffffff;
    --cream: #faf9f6;
    --cream-dark: #f1eee7;

    --black: #171717;
    --dark: #211e19;
    --gray: #77736c;
    --border: #e7e2d8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Vazirmatn", sans-serif;
    background: var(--cream);
    color: var(--black);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 90px;

    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 100;

    color: var(--white);

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--gold-light);
    border-radius: 50%;

    color: var(--gold-light);

    font-family: Georgia, serif;
    font-size: 23px;
}

.logo-text strong {
    display: block;

    font-family: Georgia, serif;
    font-size: 17px;
    letter-spacing: 3px;
}

.logo-text small {
    display: block;

    color: var(--gold-light);

    font-family: Georgia, serif;
    font-size: 9px;

    letter-spacing: 5px;

    margin-top: -4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a {
    position: relative;

    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);

    transition: 0.3s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--gold-light);

    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold-light);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-button {
    padding: 10px 22px;

    border: 1px solid var(--gold);

    color: var(--gold-light);

    font-size: 12px;

    transition: 0.3s ease;
}

.nav-button:hover {
    background: var(--gold);
    color: var(--black);
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(10, 9, 7, 0.9),
            rgba(25, 20, 14, 0.58),
            rgba(10, 9, 7, 0.82)
        ),
        url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=2000&q=90")
        center / cover no-repeat;

    background-attachment: fixed;

    color: var(--white);
}

.hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(201, 162, 39, 0.2),
            transparent 35%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 850px;

    padding: 150px 8%;
}

.hero-label,
.section-label {
    display: inline-block;

    color: var(--gold);

    font-size: 13px;
    font-weight: 500;

    margin-bottom: 18px;
}

.hero-label::before,
.section-label::before {
    content: "✦";

    margin-left: 8px;

    color: var(--gold-light);
}

.hero h1 {
    font-size: clamp(48px, 7vw, 82px);

    line-height: 1.35;

    font-weight: 800;

    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--gold-light);
}

.hero-content > p:not(.hero-label) {
    max-width: 570px;

    margin: 25px 0 35px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 15px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 135px;

    padding: 12px 25px;

    font-size: 13px;

    transition: 0.3s ease;
}

.primary-button {
    background: var(--gold);

    color: var(--black);

    font-weight: 700;
}

.primary-button:hover {
    background: var(--gold-light);

    transform: translateY(-3px);
}

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.45);

    color: var(--white);
}

.secondary-button:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

/* =========================
   ABOUT
========================= */

.about {
    max-width: 1400px;

    margin: auto;

    padding: 120px 7%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: center;
}

.about-image {
    position: relative;

    overflow: hidden;
}

.about-image::before {
    content: "";

    position: absolute;

    top: 18px;
    right: 18px;

    width: 100%;
    height: 100%;

    border: 1px solid var(--gold);

    z-index: -1;
}

.about-image img {
    height: 540px;

    transition: 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-content h2,
.special-content h2,
.section-heading h2,
.contact-content h2 {
    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.5;

    margin-bottom: 20px;
}

.about-content h2 span,
.special-content h2 span,
.section-heading h2 span,
.contact-content h2 span {
    color: var(--gold-dark);
}

.about-content > p {
    color: var(--gray);

    font-size: 14px;

    max-width: 560px;
}

.text-button {
    display: inline-block;

    margin-top: 28px;

    color: var(--gold-dark);

    font-size: 13px;
    font-weight: 700;

    border-bottom: 1px solid var(--gold);

    padding-bottom: 4px;
}

/* =========================
   SPECIAL
========================= */

.special {
    display: grid;

    grid-template-columns: 1fr 1fr;

    background: var(--dark);

    color: var(--white);
}

.special-content {
    padding: 100px 12%;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;
}

.special-content h2 {
    color: var(--white);

    font-size: 48px;
}

.special-content h2 span {
    color: var(--gold-light);
}

.special-content > p:not(.section-label) {
    max-width: 500px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 14px;
}

.special-price {
    margin: 25px 0;

    color: var(--gold-light);

    font-size: 25px;
    font-weight: 700;
}

.special-image {
    min-height: 500px;

    overflow: hidden;
}

.special-image img {
    height: 100%;

    transition: 0.6s ease;
}

.special-image:hover img {
    transform: scale(1.04);
}

/* =========================
   MENU
========================= */

.menu-section {
    max-width: 1400px;

    margin: auto;

    padding: 120px 7%;
}

.section-heading {
    margin-bottom: 45px;
}

.menu-tabs {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 40px;
}

.menu-tabs button {
    font-family: inherit;

    padding: 10px 22px;

    background: transparent;

    border: 1px solid var(--border);

    color: var(--gray);

    cursor: pointer;

    transition: 0.3s ease;
}

.menu-tabs button:hover,
.menu-tabs button.active {
    background: var(--gold);

    border-color: var(--gold);

    color: var(--black);
}

.menu-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.menu-card {
    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);

    transition: 0.35s ease;
}

.menu-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 20px 45px rgba(40, 30, 15, 0.1);
}

.menu-card > img {
    height: 220px;

    transition: 0.5s ease;
}

.menu-card:hover > img {
    transform: scale(1.04);
}

.menu-card-content {
    padding: 20px;
}

.menu-title {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}

.menu-title h3 {
    font-size: 16px;
}

.menu-title span {
    white-space: nowrap;

    color: var(--gold-dark);

    font-size: 13px;
    font-weight: 700;
}

.menu-card-content p {
    margin-top: 8px;

    color: var(--gray);

    font-size: 11px;

    line-height: 1.9;
}

/* =========================
   GALLERY
========================= */

.gallery {
    padding: 110px 7%;

    background: var(--cream-dark);
}

.gallery .section-heading {
    max-width: 1400px;

    margin: 0 auto 45px;
}

.gallery-grid {
    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    grid-auto-rows: 260px;

    gap: 12px;
}

.gallery-grid img {
    height: 100%;

    transition: 0.5s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);

    filter: brightness(0.85);
}

.gallery-grid img:first-child {
    grid-row: span 2;
}

/* =========================
   FEATURES
========================= */

.features {
    max-width: 1200px;

    margin: auto;

    padding: 100px 7%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.feature {
    text-align: center;

    padding: 35px 25px;

    border: 1px solid var(--border);

    background: var(--white);

    transition: 0.3s ease;
}

.feature:hover {
    border-color: var(--gold);

    transform: translateY(-5px);
}

.feature > span {
    display: block;

    margin-bottom: 12px;

    color: var(--gold);

    font-size: 24px;
}

.feature h3 {
    font-size: 17px;

    margin-bottom: 7px;
}

.feature p {
    color: var(--gray);

    font-size: 12px;
}

/* =========================
   CONTACT
========================= */

.contact {
    padding: 110px 9%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    background: var(--dark);

    color: var(--white);
}

.contact-content h2 {
    font-size: 58px;
}

.contact-content h2 span {
    color: var(--gold-light);
}

.contact-content > p {
    max-width: 520px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;
}

.contact-info {
    display: flex;

    flex-direction: column;

    gap: 22px;
}

.contact-info > div {
    padding: 18px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info strong {
    display: block;

    margin-bottom: 5px;

    color: var(--gold-light);

    font-size: 13px;
}

.contact-info span {
    color: rgba(255, 255, 255, 0.65);

    font-size: 12px;
}

.contact .primary-button {
    margin-top: 15px;
}

/* =========================
   FOOTER
========================= */

.footer {
    padding: 45px 7%;

    background: #11100e;

    color: rgba(255, 255, 255, 0.45);

    text-align: center;
}

.footer-logo {
    margin-bottom: 8px;

    color: var(--gold-light);

    font-family: Georgia, serif;

    font-size: 20px;

    letter-spacing: 5px;
}

.footer p {
    font-size: 11px;

    margin-bottom: 18px;
}

.footer-bottom {
    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    font-size: 10px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .navbar {
        padding: 0 5%;
    }

    .nav-links {
        gap: 18px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        gap: 45px;
    }

    .contact {
        gap: 40px;
    }
}

@media (max-width: 750px) {

    .navbar {
        height: 75px;
    }

    .nav-links,
    .nav-button {
        display: none;
    }

    .hero-content {
        padding: 140px 7%;
    }

    .hero h1 {
        font-size: 50px;
    }

    .about,
    .special,
    .contact {
        grid-template-columns: 1fr;
    }

    .about {
        padding: 80px 7%;
    }

    .about-image img {
        height: 400px;
    }

    .special-image {
        min-height: 350px;

        order: -1;
    }

    .special-content {
        padding: 75px 7%;
    }

    .contact {
        padding: 80px 7%;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;

        grid-auto-rows: 210px;
    }

    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {

    .hero h1 {
        font-size: 43px;

        letter-spacing: -1px;
    }

    .hero-content > p:not(.hero-label) {
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .about-content h2,
    .section-heading h2 {
        font-size: 34px;
    }

    .special-content h2 {
        font-size: 38px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-section,
    .gallery {
        padding: 80px 6%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;

        grid-auto-rows: 250px;
    }

    .gallery-grid img:first-child {
        grid-row: auto;
    }

    .contact-content h2 {
        font-size: 45px;
    }

    .logo-text strong {
        font-size: 15px;
    }
}

/* =========================
   JAVASCRIPT EFFECTS
========================= */

.navbar.scrolled {
    position: fixed;

    background: rgba(23, 23, 23, 0.94);

    backdrop-filter: blur(15px);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.show {
    opacity: 1;

    transform: translateY(0);
}

.nav-links a.active {
    color: #e4c96b;
}

.primary-button,
.secondary-button,
.nav-button {
    position: relative;

    overflow: hidden;
}

.ripple {
    position: absolute;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.35);

    transform: scale(0);

    animation: ripple-animation 0.6s linear;

    pointer-events: none;
}

@keyframes ripple-animation {

    to {
        transform: scale(2.5);

        opacity: 0;
    }

}

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    background: transparent;

    border: 1px solid #c9a227;

    color: #e4c96b;

    font-size: 20px;

    cursor: pointer;
}

@media (max-width: 750px) {

    .mobile-menu-button {
        display: flex;

        align-items: center;

        justify-content: center;
    }

    .nav-links {
        position: absolute;

        top: 75px;

        right: 5%;
        left: 5%;

        display: flex;

        flex-direction: column;

        gap: 0;

        padding: 10px;

        background: rgba(23, 23, 23, 0.97);

        backdrop-filter: blur(15px);

        border: 1px solid rgba(201, 162, 39, 0.2);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition: 0.3s ease;
    }

    .nav-links.mobile-open {
        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }

    .nav-links a {
        width: 100%;

        padding: 13px 15px;

        border-bottom:
            1px solid rgba(255,255,255,0.07);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

}
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-button {
    padding: 9px 16px;

    background: transparent;

    border: 1px solid var(--gold);

    color: var(--gold-light);

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;
}

.language-button:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
}

.fa-text {
    display: inline;
}

.en-text {
    display: none;
}

html[dir="ltr"] .fa-text {
    display: none;
}

html[dir="ltr"] .en-text {
    display: inline;
}

@media (max-width: 750px) {

    .navbar-actions {
        gap: 8px;
    }

    .navbar-actions .nav-button {
        display: none;
    }

    .language-button {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;

        padding: 0;
    }
}