/* =========================================================
   ALI'S ARABIAN FAMILY RESTAURANT
   Professional Restaurant Website
   ========================================================= */

:root {
    --primary: #c99a4a;
    --primary-light: #e5bf73;
    --dark: #10100f;
    --dark-2: #171614;
    --dark-3: #211f1b;
    --cream: #f8f3e8;
    --white: #ffffff;
    --text: #25231f;
    --muted: #77736b;
    --border: rgba(201, 154, 74, 0.25);

    --container: 1180px;

    --shadow:
        0 20px 60px rgba(0, 0, 0, 0.15);

    --transition:
        0.3s ease;
}


/* ================= RESET ================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(92%, var(--container));
    margin: auto;
}


/* ================= HEADER ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(16, 16, 15, 0.92);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255,255,255,0.08);

    transition: var(--transition);
}

.header.scrolled {
    background: rgba(16, 16, 15, 0.98);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.nav-container {
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    color: white;
}

.logo-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid var(--primary);
    border-radius: 50%;

    color: var(--primary);
}

.logo strong {
    display: block;

    font-family: "Cormorant Garamond", serif;
    font-size: 25px;
    line-height: 1;
    letter-spacing: 2px;
}

.logo small {
    display: block;

    margin-top: 4px;

    color: #cfc9bd;

    font-size: 8px;
    letter-spacing: 1.6px;
}


/* NAV */

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

.nav a {
    position: relative;

    color: #e9e5dc;

    font-size: 14px;
    font-weight: 500;

    transition: var(--transition);
}

.nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--primary);

    transition: var(--transition);
}

.nav a:hover {
    color: var(--primary-light);
}

.nav a:hover::after {
    width: 100%;
}


/* HEADER BUTTON */

.nav-button {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 11px 18px;

    background: var(--primary);
    color: var(--dark);

    font-size: 13px;
    font-weight: 700;

    border-radius: 5px;

    transition: var(--transition);
}

.nav-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}


/* MOBILE BUTTON */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);

    border-radius: 5px;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 21px;
    height: 2px;

    margin: 4px auto;

    background: white;

    transition: var(--transition);
}


/* ================= HERO ================= */

.hero {
    position: relative;

    min-height: 800px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(10, 9, 7, 0.97),
            rgba(10, 9, 7, 0.72),
            rgba(10, 9, 7, 0.45)
        ),
        url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=2000&q=85")
        center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(201,154,74,0.18),
            transparent 35%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 80px;

    max-width: 900px;

    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 13px;

    margin-bottom: 20px;

    border: 1px solid rgba(201,154,74,0.5);

    color: var(--primary-light);

    background: rgba(0,0,0,0.25);

    border-radius: 50px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero h1 {
    max-width: 800px;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(55px, 7vw, 92px);

    line-height: 0.95;

    font-weight: 600;

    margin-bottom: 28px;
}

.hero h1 span {
    color: var(--primary-light);
}

.hero p {
    max-width: 610px;

    color: #dedad1;

    font-size: 17px;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 50px;

    padding: 0 22px;

    border-radius: 5px;

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(201,154,74,0.25);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.45);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
}

.btn-dark {
    background: var(--dark);
    color: white;
}

.btn-dark:hover {
    background: var(--dark-3);
    transform: translateY(-2px);
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;

    margin-top: 48px;
}

.hero-info div {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #d5d0c6;

    font-size: 13px;
}

.hero-info i {
    color: var(--primary);
}


/* ================= GENERAL SECTION ================= */

.section {
    padding: 110px 0;
}

.section-label {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2.5px;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 55px;

    text-align: center;
}

.section-heading h2,
.about-content h2,
.location-content h2,
.contact-card h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(42px, 5vw, 65px);

    line-height: 1;

    font-weight: 600;
}

.section-heading h2 span,
.about-content h2 span,
.location-content h2 span,
.contact-card h2 span {
    color: var(--primary);
}

.section-heading p {
    margin-top: 18px;

    color: var(--muted);

    font-size: 15px;
}


/* ================= ABOUT ================= */

.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: center;
}

.about-images {
    position: relative;

    min-height: 550px;
}

.about-main-image {
    width: 85%;
    height: 510px;

    overflow: hidden;

    border-radius: 4px;

    box-shadow: var(--shadow);
}

.image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;

    background:
        linear-gradient(
            145deg,
            #2c261d,
            #11100e
        );

    color: var(--primary-light);

    text-align: center;
}

.image-placeholder i {
    font-size: 60px;
}

.image-placeholder span {
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    line-height: 1.1;
}

.experience-card {
    position: absolute;

    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 25px 28px;

    background: var(--dark);

    color: white;

    box-shadow: var(--shadow);
}

.experience-card > strong {
    color: var(--primary);

    font-family: "Cormorant Garamond", serif;

    font-size: 52px;
    line-height: 1;
}

.stars {
    color: var(--primary);
    letter-spacing: 2px;
}

.experience-card span {
    color: #aaa49a;

    font-size: 11px;
}

.about-content > p {
    color: var(--muted);

    margin-bottom: 17px;

    font-size: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 22px;

    margin: 35px 0;
}

.feature {
    display: flex;
    gap: 13px;
}

.feature > i {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);

    color: var(--primary);

    border-radius: 50%;
}

.feature h3 {
    margin-bottom: 2px;

    font-size: 14px;
}

.feature p {
    color: var(--muted);

    font-size: 12px;
}

.text-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 800;
}

.text-button:hover {
    gap: 15px;
}


/* ================= HIGHLIGHTS ================= */

.highlights {
    padding: 35px 0;

    background: var(--dark);

    color: white;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.highlight {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    padding: 10px;

    border-right: 1px solid rgba(255,255,255,0.1);
}

.highlight:last-child {
    border-right: none;
}

.highlight > i {
    color: var(--primary);

    font-size: 25px;
}

.highlight strong {
    display: block;

    font-family: "Cormorant Garamond", serif;

    font-size: 23px;

    line-height: 1.1;
}

.highlight span {
    color: #aaa59b;

    font-size: 11px;
}


/* ================= MENU ================= */

.menu-section {
    background: #fffdf8;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 42px;
}

.menu-tab {
    padding: 11px 19px;

    border: 1px solid #ddd5c5;

    background: transparent;

    color: var(--muted);

    border-radius: 4px;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition: var(--transition);
}

.menu-tab:hover,
.menu-tab.active {
    border-color: var(--primary);

    background: var(--primary);

    color: var(--dark);
}

.menu-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.menu-card {
    display: flex;
    gap: 18px;

    padding: 27px;

    background: white;

    border: 1px solid #eee7d9;

    border-radius: 5px;

    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-5px);

    border-color: var(--border);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.07);
}

.menu-card.hide {
    display: none;
}

.menu-card-icon {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: grid;
    place-items: center;

    background: #f7f0e3;

    color: var(--primary);

    border-radius: 50%;
}

.menu-category {
    display: block;

    margin-bottom: 5px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.menu-card h3 {
    margin-bottom: 5px;

    font-family: "Cormorant Garamond", serif;

    font-size: 24px;

    line-height: 1.1;
}

.menu-card p {
    color: var(--muted);

    font-size: 12px;

    line-height: 1.6;
}


/* ================= GALLERY ================= */

.gallery-section {
    background: var(--dark);

    color: white;
}

.gallery-section .section-heading p {
    color: #aaa59b;
}

.gallery-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    grid-template-rows: 220px 220px;

    gap: 14px;
}

.gallery-item {
    overflow: hidden;

    border-radius: 4px;
}

.gallery-large {
    grid-row: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 10px;

    background:
        linear-gradient(
            135deg,
            #2d271e,
            #12110f
        );

    color: var(--primary);

    transition: var(--transition);
}

.gallery-placeholder:hover {
    transform: scale(1.04);
}

.gallery-placeholder i {
    font-size: 35px;
}

.gallery-placeholder span {
    font-size: 11px;
    color: #c9c1b4;
}


/* ================= REVIEWS ================= */

.reviews-section {
    background: var(--cream);
}

.rating-box {
    width: fit-content;

    margin: 0 auto 35px;

    display: flex;
    align-items: center;
    gap: 25px;

    padding: 30px 45px;

    background: white;

    border: 1px solid #eee5d5;

    box-shadow: var(--shadow);
}

.rating-number {
    font-family: "Cormorant Garamond", serif;

    font-size: 65px;
    line-height: 1;

    color: var(--primary);
}

.big-stars {
    margin-bottom: 5px;

    color: var(--primary);

    letter-spacing: 3px;
}

.rating-box strong {
    display: block;

    font-size: 13px;
}

.rating-box p {
    color: var(--muted);

    font-size: 11px;
}

.review-note {
    max-width: 720px;

    margin: auto;

    padding: 30px;

    text-align: center;

    border-top: 1px solid #ded5c4;
    border-bottom: 1px solid #ded5c4;
}

.review-note i {
    margin-bottom: 12px;

    color: var(--primary);

    font-size: 25px;
}

.review-note p {
    color: var(--muted);

    font-size: 14px;
}


/* ================= LOCATION ================= */

.location-section {
    padding: 100px 0;

    background: #f1ebde;
}

.location-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 65px;

    align-items: stretch;
}

.location-content p {
    margin: 20px 0 28px;

    color: var(--muted);

    font-size: 14px;
}

.location-details {
    display: flex;
    flex-direction: column;

    gap: 20px;

    margin-bottom: 30px;
}

.location-detail {
    display: flex;
    gap: 15px;
}

.location-detail > i {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: grid;
    place-items: center;

    background: var(--dark);

    color: var(--primary);

    border-radius: 50%;
}

.location-detail strong {
    display: block;

    margin-bottom: 2px;

    font-size: 13px;
}

.location-detail span,
.location-detail a {
    display: block;

    color: var(--muted);

    font-size: 12px;
}

.location-detail a:hover {
    color: var(--primary);
}

.location-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.map-wrapper {
    min-height: 500px;

    overflow: hidden;

    border: 8px solid white;

    box-shadow: var(--shadow);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;

    min-height: 485px;

    border: 0;
}


/* ================= CONTACT ================= */

.contact-section {
    padding: 80px 0;

    background: var(--dark);
}

.contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 60px;

    border: 1px solid rgba(201,154,74,0.25);
}

.contact-card h2 {
    color: white;
}

.contact-card p {
    margin-top: 15px;

    color: #aaa59b;

    max-width: 500px;

    font-size: 14px;
}


/* ================= FOOTER ================= */

.footer {
    background: #0b0b0a;

    color: white;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.6fr 0.8fr 1fr 0.8fr;

    gap: 55px;

    padding: 70px 0;
}

.footer-brand p {
    max-width: 320px;

    margin-top: 20px;

    color: #8f8a80;

    font-size: 12px;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.footer-column h3 {
    margin-bottom: 10px;

    color: var(--primary);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}

.footer-column a,
.footer-column span {
    color: #918c83;

    font-size: 12px;
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding: 18px 0;

    border-top: 1px solid rgba(255,255,255,0.08);

    color: #706c64;

    font-size: 10px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;

    gap: 20px;
}


/* ================= FLOATING CALL ================= */

.floating-call {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 900;

    width: 53px;
    height: 53px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--primary);

    color: var(--dark);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.25);

    transition: var(--transition);
}

.floating-call:hover {
    transform: translateY(-4px) scale(1.05);

    background: var(--primary-light);
}


/* ================= BACK TO TOP ================= */

.back-to-top {
    position: fixed;

    right: 22px;
    bottom: 88px;

    z-index: 900;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);

    background: var(--dark);

    color: var(--primary);

    border-radius: 4px;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1050px) {

    .nav {
        gap: 18px;
    }

    .nav a {
        font-size: 12px;
    }

    .about-grid {
        gap: 50px;
    }

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

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


@media (max-width: 800px) {

    .nav-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;

        top: 82px;
        left: 0;

        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 10px 5% 20px;

        background: rgba(16,16,15,0.98);

        border-top: 1px solid rgba(255,255,255,0.08);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition: var(--transition);
    }

    .nav.active {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .nav a {
        padding: 13px 0;

        border-bottom: 1px solid rgba(255,255,255,0.06);

        font-size: 14px;
    }

    .nav a::after {
        display: none;
    }

    .hero {
        min-height: 720px;
    }

    .about-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .about-images {
        max-width: 600px;
        width: 100%;

        margin: auto;
    }

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

    .highlight {
        border-right: none;
    }

    .location-grid {
        gap: 45px;
    }

    .map-wrapper {
        min-height: 400px;
    }

    .map-wrapper iframe {
        min-height: 390px;
    }

    .contact-card {
        padding: 40px;

        flex-direction: column;

        align-items: flex-start;
    }
}


@media (max-width: 600px) {

    .nav-container {
        height: 72px;
    }

    .nav {
        top: 72px;
    }

    .logo strong {
        font-size: 21px;
    }

    .logo small {
        font-size: 7px;
    }

    .logo-icon {
        width: 37px;
        height: 37px;
    }

    .hero {
        min-height: 690px;
    }

    .hero-content {
        padding-top: 70px;
    }

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

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

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;

        max-width: 310px;
    }

    .hero-info {
        flex-direction: column;

        gap: 10px;

        margin-top: 30px;
    }

    .section {
        padding: 75px 0;
    }

    .about-images {
        min-height: 430px;
    }

    .about-main-image {
        width: 90%;
        height: 400px;
    }

    .experience-card {
        padding: 18px;

        right: 0;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }

    .highlight {
        justify-content: flex-start;
    }

    .highlight > i {
        font-size: 19px;
    }

    .highlight strong {
        font-size: 18px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        display: grid;

        grid-template-columns: 1fr 1fr;

        grid-template-rows: 180px 180px;
    }

    .gallery-large {
        grid-row: span 2;
    }

    .rating-box {
        width: 100%;

        padding: 25px;

        justify-content: center;
    }

    .rating-number {
        font-size: 52px;
    }

    .location-buttons {
        flex-direction: column;
    }

    .location-buttons .btn {
        width: 100%;
    }

    .contact-card {
        padding: 30px 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 55px 0;
    }

    .footer-bottom .container {
        flex-direction: column;
    }

    .floating-call {
        right: 15px;
        bottom: 15px;
    }

    .back-to-top {
        right: 15px;
        bottom: 80px;
    }
}