/* =========================================================
   AMORE CAFÉ — PREMIUM WEBSITE
   Designed by BrosCode Tech Solutions
========================================================= */

/* =========================
   GOOGLE FONT
========================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');


/* =========================
   VARIABLES
========================= */

:root {
    --bg: #100c09;
    --bg-light: #17110d;
    --card: #1d1510;

    --cream: #f5eee4;
    --muted: #b9aa9b;

    --accent: #c99b62;
    --accent-light: #e0bd8c;

    --border: rgba(245, 238, 228, 0.12);

    --container: 1180px;

    --radius: 18px;

    --transition: 0.3s ease;
}


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

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


html {
    scroll-behavior: smooth;
}


body {
    font-family: 'DM Sans', sans-serif;

    background: var(--bg);

    color: var(--cream);

    line-height: 1.6;

    overflow-x: hidden;
}


a {
    color: inherit;

    text-decoration: none;
}


ul {
    list-style: none;
}


img {
    display: block;

    width: 100%;

    object-fit: cover;
}


/* =========================
   COMMON
========================= */

.container {
    width: min(90%, var(--container));

    margin: auto;
}


.section {
    padding: 130px 0;
}


.section-label {
    color: var(--accent);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 18px;
}


.section-heading {
    max-width: 700px;
}


.section-heading.center {
    text-align: center;

    margin-left: auto;

    margin-right: auto;
}


.section-heading h2 {
    font-family: 'Playfair Display', serif;

    font-size: clamp(2.5rem, 5vw, 4.5rem);

    line-height: 1.05;

    font-weight: 600;

    letter-spacing: -2px;

    margin-bottom: 20px;
}


.section-heading h2 span {
    color: var(--accent);
}


.section-heading>p:not(.section-label) {
    color: var(--muted);

    font-size: 1rem;
}


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

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(16, 12, 9, 0.82);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

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


.navbar {
    width: min(90%, var(--container));

    min-height: 78px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.logo {
    font-family: 'Playfair Display', serif;

    font-size: 1.45rem;

    font-weight: 700;

    white-space: nowrap;
}


.logo span {
    color: var(--accent);
}


.nav-links {
    display: flex;

    align-items: center;

    gap: 30px;
}


.nav-links a {
    color: var(--muted);

    font-size: 0.84rem;

    font-weight: 500;

    transition: var(--transition);
}


.nav-links a:hover {
    color: var(--cream);
}


.nav-button {
    padding: 10px 20px;

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

    border-radius: 999px;

    color: var(--cream);

    font-size: 0.82rem;

    transition: var(--transition);
}


.nav-button:hover {
    background: var(--accent);

    color: #160f0a;

    border-color: var(--accent);
}


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

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    background-image:
        linear-gradient(90deg,
            rgba(16, 12, 9, 0.98) 0%,
            rgba(16, 12, 9, 0.88) 35%,
            rgba(16, 12, 9, 0.48) 65%,
            rgba(16, 12, 9, 0.25) 100%),
        url("../assets/images/hero-cafe.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    overflow: hidden;
}


.hero::after {
    content: '';

    position: absolute;

    inset: 0;

    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.10),
            rgba(0, 0, 0, 0.35));

    pointer-events: none;
}


.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(16, 12, 9, 0.30),
            transparent 70%);

    pointer-events: none;
}


.hero-content {
    width: min(90%, var(--container));

    margin: auto;

    position: relative;

    z-index: 2;

    padding-top: 80px;
}


.hero-label {
    color: var(--accent);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 24px;
}


.hero h1 {
    max-width: 850px;

    font-family: 'Playfair Display', serif;

    font-size: clamp(3.5rem, 8vw, 7rem);

    line-height: 0.95;

    letter-spacing: -4px;

    font-weight: 600;

    margin-bottom: 30px;
}


.hero-description {
    max-width: 600px;

    color: var(--muted);

    font-size: 1.05rem;

    line-height: 1.8;

    margin-bottom: 38px;
}


/* =========================
   BUTTONS
========================= */

.hero-buttons,
.contact-buttons {
    display: flex;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;
}


.btn {
    min-height: 52px;

    padding: 0 26px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 999px;

    font-size: 0.85rem;

    font-weight: 700;

    transition: var(--transition);
}


.primary-btn {
    background: var(--accent);

    color: #170f09;
}


.primary-btn:hover {
    background: var(--accent-light);

    transform: translateY(-3px);
}


.secondary-btn {
    border: 1px solid var(--border);

    color: var(--cream);

    background: rgba(255, 255, 255, 0.025);
}


.secondary-btn:hover {
    background: rgba(201, 155, 98, 0.1);

    border-color: var(--accent);

    transform: translateY(-3px);
}


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

.about {
    background: var(--bg-light);

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


.about-content {
    margin-top: 55px;

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 80px;

    align-items: start;
}


.about-text {
    max-width: 680px;
}


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

    font-size: 1.05rem;

    line-height: 1.9;

    margin-bottom: 20px;
}


.text-link {
    display: inline-block;

    margin-top: 15px;

    color: var(--accent);

    font-weight: 600;

    transition: var(--transition);
}


.text-link:hover {
    transform: translateX(5px);
}


.about-highlight {
    display: grid;

    gap: 12px;
}


.highlight-box {
    padding: 24px 26px;

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

    border-radius: var(--radius);

    background: var(--card);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    transition: var(--transition);
}


.highlight-box:hover {
    border-color: rgba(201, 155, 98, 0.35);

    transform: translateX(5px);
}


.highlight-box strong {
    font-family: 'Playfair Display', serif;

    font-size: 1.25rem;
}


.highlight-box span {
    color: var(--muted);

    font-size: 0.85rem;
}


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

.menu {
    background: var(--bg);

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


.menu-grid {
    margin-top: 60px;

    display: grid;

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

    gap: 16px;
}


.menu-card {
    padding: 28px;

    display: grid;

    grid-template-columns: 75px 1fr auto;

    align-items: center;

    gap: 20px;

    background: var(--card);

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

    border-radius: var(--radius);

    transition: var(--transition);
}


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

    border-color: rgba(201, 155, 98, 0.35);

    background: #211811;
}


.menu-icon {
    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(201, 155, 98, 0.1);

    font-size: 1.5rem;
}


.menu-info h3 {
    font-family: 'Playfair Display', serif;

    font-size: 1.15rem;

    margin-bottom: 5px;
}


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

    font-size: 0.82rem;
}


.price {
    color: var(--accent);

    font-size: 0.95rem;

    white-space: nowrap;
}


/* =========================
   FEATURES
========================= */

.features {
    background: var(--bg-light);

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


.features-grid {
    margin-top: 60px;

    display: grid;

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

    gap: 25px;
}


.feature {
    padding-top: 25px;

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


.feature-number {
    color: var(--accent);

    font-size: 0.75rem;

    font-weight: 700;

    margin-bottom: 35px;
}


.feature h3 {
    font-family: 'Playfair Display', serif;

    font-size: 1.25rem;

    margin-bottom: 12px;
}


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

    font-size: 0.86rem;

    line-height: 1.75;
}


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

.gallery {
    background: var(--bg);

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


.gallery-grid {
    margin-top: 60px;

    display: grid;

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

    grid-template-rows: 240px 240px;

    gap: 12px;
}


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

.gallery-grid {
    margin-top: 60px;

    display: grid;

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

    grid-template-rows: 260px 260px;

    gap: 14px;
}


.gallery-item {
    position: relative;

    overflow: hidden;

    border-radius: var(--radius);

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

    background: var(--card);

    cursor: pointer;
}


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


.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.7s ease,
        filter 0.5s ease;
}


.gallery-item::after {
    content: '';

    position: absolute;

    inset: 0;

    background:
        linear-gradient(180deg,
            transparent 40%,
            rgba(0, 0, 0, 0.82) 100%);

    pointer-events: none;
}


.gallery-item:hover img {
    transform: scale(1.06);

    filter: brightness(0.82);
}


.gallery-caption {
    position: absolute;

    left: 24px;
    right: 24px;
    bottom: 20px;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.gallery-caption span {
    color: var(--accent);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 2px;
}


.gallery-caption strong {
    color: var(--cream);

    font-family: 'Playfair Display', serif;

    font-size: 1rem;

    font-weight: 600;
}


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

.reviews {
    background: var(--bg-light);

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


.reviews-grid {
    margin-top: 60px;

    display: grid;

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

    gap: 18px;
}


.review-card {
    padding: 32px;

    background: var(--card);

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

    border-radius: var(--radius);

    transition: var(--transition);
}


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

    border-color: rgba(201, 155, 98, 0.35);
}


.stars {
    color: var(--accent);

    letter-spacing: 3px;

    margin-bottom: 22px;
}


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

    font-family: 'Playfair Display', serif;

    font-size: 1.05rem;

    line-height: 1.8;

    margin-bottom: 25px;
}


.review-card h3 {
    font-size: 0.85rem;
}


/* =========================
   CTA
========================= */

.cta {
    background:
        radial-gradient(circle at center,
            rgba(201, 155, 98, 0.18),
            transparent 45%),
        var(--bg);

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

    text-align: center;
}


.cta-content {
    max-width: 800px;

    margin: auto;
}


.cta h2 {
    font-family: 'Playfair Display', serif;

    font-size: clamp(3rem, 6vw, 5.5rem);

    line-height: 1;

    letter-spacing: -3px;

    margin-bottom: 25px;
}


.cta h2 span {
    display: block;

    color: var(--accent);
}


.cta-content>p:not(.section-label) {
    max-width: 550px;

    margin: 0 auto 32px;

    color: var(--muted);
}


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

.contact {
    background: var(--bg-light);

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


.contact-grid {
    margin-top: 60px;

    display: grid;

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

    gap: 18px;
}


.contact-card {
    padding: 32px;

    text-align: center;

    background: var(--card);

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

    border-radius: var(--radius);
}


.contact-card>span {
    display: block;

    font-size: 1.5rem;

    margin-bottom: 18px;
}


.contact-card h3 {
    font-family: 'Playfair Display', serif;

    font-size: 1.2rem;

    margin-bottom: 10px;
}


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

    font-size: 0.85rem;

    line-height: 1.8;
}


.contact-buttons {
    justify-content: center;

    margin-top: 40px;
}


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

.footer {
    padding: 45px 0;

    background: #0b0806;

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


.footer-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.footer-content .logo {
    display: inline-block;

    margin-bottom: 5px;
}


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

    font-size: 0.78rem;
}


.footer-content strong {
    color: var(--accent);
}


/* =========================
   SELECTION
========================= */

::selection {
    background: var(--accent);

    color: #160f0a;
}


/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {
    width: 8px;
}


::-webkit-scrollbar-track {
    background: var(--bg);
}


::-webkit-scrollbar-thumb {
    background: #4a392c;

    border-radius: 10px;
}


::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}


/* =========================
   TABLET
========================= */

@media (max-width: 950px) {

    .nav-links {
        gap: 18px;
    }


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


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

        gap: 50px;
    }


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


    .reviews-grid,
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

    .section {
        padding: 95px 0;
    }


    .navbar {
        min-height: 70px;
    }


    .nav-links {
        display: none;
    }


    .nav-button {
        padding: 9px 16px;
    }


    .hero {
        min-height: 92vh;
    }


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


    .hero h1 {
        font-size: clamp(3.2rem, 16vw, 5rem);

        letter-spacing: -2px;
    }


    .hero-description {
        font-size: 0.92rem;
    }


    .hero-buttons,
    .contact-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .btn {
        width: 100%;
    }


    .section-heading h2 {
        font-size: 2.7rem;

        letter-spacing: -1.5px;
    }


    .features-grid,
    .reviews-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }


    .menu-card {
        grid-template-columns: 50px 1fr;

        padding: 22px;
    }


    .menu-icon {
        width: 50px;
        height: 50px;
    }


    .price {
        grid-column: 2;

        margin-top: -12px;
    }


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

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

        gap: 10px;
    }


    .gallery-item.large {
        grid-column: span 2;

        grid-row: auto;
    }


    .gallery-caption {
        left: 16px;
        right: 16px;
        bottom: 15px;
    }


    .gallery-caption strong {
        font-size: 0.9rem;
    }

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

    .menu-image {
        width: 75px;
        height: 75px;

        border-radius: 14px;

        overflow: hidden;

        flex-shrink: 0;

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


    .menu-image img {
        width: 100%;
        height: 100%;

        object-fit: cover;

        transition: transform 0.4s ease;
    }


    .menu-card:hover .menu-image img {
        transform: scale(1.08);
    }

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

    .menu-toggle {
        display: none;

        width: 44px;
        height: 44px;

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

        border-radius: 50%;

        background: transparent;

        cursor: pointer;

        padding: 10px;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 5px;
    }


    .menu-toggle span {
        display: block;

        width: 20px;
        height: 2px;

        background: var(--cream);

        border-radius: 10px;

        transition: 0.3s ease;
    }


    /* =========================
   NAVBAR SCROLLED
========================= */

    .header.scrolled {
        background: rgba(10, 7, 5, 0.94);

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


    /* =========================
   SCROLL REVEAL
========================= */

    .reveal {
        opacity: 0;

        transform: translateY(25px);

        transition:
            opacity 0.7s ease,
            transform 0.7s ease;
    }


    .reveal.show {
        opacity: 1;

        transform: translateY(0);
    }


    /* =========================
   MOBILE
========================= */

    @media (max-width: 650px) {

        .menu-toggle {
            display: flex;
        }


        .navbar {
            position: relative;
        }


        .nav-links {
            position: absolute;

            top: calc(100% + 10px);

            left: 0;
            right: 0;

            padding: 18px;

            flex-direction: column;

            align-items: stretch;

            gap: 5px;

            background: rgba(23, 17, 13, 0.98);

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

            border-radius: 18px;

            backdrop-filter: blur(20px);

            -webkit-backdrop-filter: blur(20px);

            opacity: 0;

            visibility: hidden;

            transform: translateY(-10px);

            transition:
                opacity 0.3s ease,
                transform 0.3s ease,
                visibility 0.3s ease;
        }


        .nav-links.active {
            opacity: 1;

            visibility: visible;

            transform: translateY(0);
        }


        .nav-links li a {
            display: block;

            padding: 13px 14px;

            border-radius: 10px;
        }


        .nav-links li a:hover {
            background: rgba(201, 155, 98, 0.1);
        }


        .nav-button {
            display: none;
        }


        /* Hamburger → X */

        .menu-toggle.active span:nth-child(1) {
            transform:
                translateY(7px) rotate(45deg);
        }


        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }


        .menu-toggle.active span:nth-child(3) {
            transform:
                translateY(-7px) rotate(-45deg);
        }

    }

    /* =========================================================
   WHATSAPP FLOATING BUTTON
========================================================= */

    .whatsapp-float {
        position: fixed;

        right: 25px;
        bottom: 25px;

        width: 58px;
        height: 58px;

        display: flex;

        align-items: center;
        justify-content: center;

        border-radius: 50%;

        background: #25D366;

        color: white;

        font-size: 1.5rem;

        z-index: 999;

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

        transition: transform 0.3s ease;
    }


    .whatsapp-float:hover {
        transform: translateY(-5px) scale(1.05);
    }


    @media (max-width: 650px) {

        .whatsapp-float {
            width: 52px;
            height: 52px;

            right: 18px;
            bottom: 18px;

            font-size: 1.3rem;
        }

    }

    /* =========================
   MOBILE MENU CARD FIX
========================= */

    @media (max-width: 650px) {

        .menu-card {
            grid-template-columns: 68px minmax(0, 1fr);
            column-gap: 16px;
            align-items: center;
        }

        .menu-image {
            width: 68px;
            height: 68px;
        }

        .menu-info {
            min-width: 0;
        }

        .menu-info h3 {
            font-size: 1.05rem;
            line-height: 1.25;
        }

        .menu-info p {
            font-size: 0.78rem;
            line-height: 1.5;
        }

        .price {
            grid-column: 2;
            margin-top: 0;
        }

    }

    /* =========================================================
   FINAL MOBILE MENU
========================================================= */

    @media (max-width: 650px) {

        .header {
            position: relative;
            z-index: 1000;
        }

        .navbar {
            position: relative;
        }

        .menu-toggle {
            display: flex !important;

            position: relative;

            width: 44px;
            height: 44px;

            margin-left: auto;

            align-items: center;
            justify-content: center;

            flex-direction: column;

            gap: 5px;

            background: transparent;

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

            border-radius: 50%;

            cursor: pointer;

            z-index: 1005;
        }

        .menu-toggle span {
            display: block;

            width: 20px;
            height: 2px;

            background: var(--cream);

            border-radius: 10px;

            transition: all 0.25s ease;
        }


        /* MENU */

        .nav-links {
            display: none !important;

            position: absolute;

            top: calc(100% + 12px);

            left: 0;
            right: 0;

            width: 100%;

            padding: 12px;

            flex-direction: column;

            gap: 4px;

            background: #17110d;

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

            border-radius: 16px;

            box-shadow:
                0 20px 50px rgba(0, 0, 0, 0.45);

            z-index: 1004;
        }


        .nav-links.active {
            display: flex !important;
        }


        .nav-links li {
            width: 100%;
        }


        .nav-links li a {
            display: block;

            width: 100%;

            padding: 14px 16px;

            color: var(--cream);

            text-decoration: none;

            border-radius: 10px;
        }


        .nav-links li a:hover {
            background: rgba(201, 155, 98, 0.12);

            color: var(--accent);
        }


        .nav-button {
            display: none !important;
        }


        /* HAMBURGER → X */

        .menu-toggle.active span:nth-child(1) {
            transform:
                translateY(7px) rotate(45deg);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform:
                translateY(-7px) rotate(-45deg);
        }

    }

}