@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root {
    --white-color: #fff;
    --dark-color: #252525;
    --primary-color: #3b141c;
    --secondary-color: #f3961c;
    --light-pink-color: #f1f4f5;
    --medium-gray-color: #ccc;

    --font-size-s: 0.9rem;
    --font-size-n: 1rem;
    --font-size-m: 1.12rem;
    --font-size-l: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-xxl: 2.5rem;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --border-redius-s: 8px;
    --border-redius-m: 30px;
    --border-redius-circle: 50%;
    --site-max-width: 1300px;
}

html{
    scroll-behavior: smooth;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
}

.section-title {
    text-align: center;
    padding: 60px 0 100px;
    text-transform: uppercase;
    font-size: var(--font-size-xl);
}

.section-title::after {
    content: "";
    width: 80px;
    height: 5px;
    display: block;
    margin: 10px auto 0;
    border-radius: var(--border-redius-s);
    background: var(--secondary-color);
}

/* ---------- HEADER / NAVBAR (CAFÉ MATCHED) ---------- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;

    /* match hero gradient */
    background: linear-gradient(
        135deg,
        #2a1a12 0%,
        #3a2418 50%,
        #1d120c 100%
    );

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 18px 40px;
}

/* ===== LOGO TEXT (COFFEE NAME) ===== */
.navbar .nav-logo .logo-text {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);

    color: #f4c27a; /* warm coffee gold */
    letter-spacing: 2px;

    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

.navbar .nav-logo:hover .logo-text {
    color: #ffffff;
}

/* ===== NAV MENU ===== */
.navbar .nav-menu {
    display: flex;
    gap: 12px;
}

/* ===== NAV LINKS ===== */
.navbar .nav-menu .nav-link {
    padding: 10px 20px;
    font-size: var(--font-size-m);
    font-weight: 500;

    color: #f6efe8;
    border-radius: 30px;

    transition: all 0.35s ease;
}

/* hover effect */
.navbar .nav-menu .nav-link:hover {
    background: rgba(244, 194, 122, 0.15);
    color: #f4c27a;
    box-shadow: 0 0 10px rgba(244, 194, 122, 0.4);
}

/* mobile buttons (unchanged logic) */
.navbar :where(#menu-close-button, #menu-open-button) {
    display: none;
}


/* ---------- HERO SECTION (CAFÉ PREMIUM) ---------- */
.hero-section {
    min-height: 100vh;
    padding-top: 90px;
    background: linear-gradient(
        135deg,
        #2a1a12 0%,
        #3a2418 50%,
        #1d120c 100%
    );
    position: relative;
    overflow: hidden;
}

/* soft light overlay */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top right,
        rgba(255, 255, 255, 0.06),
        transparent 60%
    );
}

/* CONTENT */
.hero-section .section-conten {
    position: relative;
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 90px);
    color: #f6efe8;
}

/* TITLE */
.hero-section .hero-details .title {
    font-size: 3.2rem;
    font-family: "Miniver", cursive;
    color: #f4c27a;
    letter-spacing: 2px;
}

/* SUBTITLE */
.hero-section .hero-details .subtitle {
    margin-top: 14px;
    max-width: 80%;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
}

/* DESCRIPTION */
.hero-section .hero-details .discription {
    max-width: 80%;
    margin: 26px 0 44px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e7d6c6;
}

/* BUTTON GROUP */
.hero-section .hero-details .button {
    display: flex;
    gap: 18px;
}

/* COMMON BUTTON */
.hero-section .hero-details .button a {
    padding: 12px 34px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.6px;
    transition: all 0.35s ease;
}

/* ORDER NOW */
.hero-section .hero-details .button .oder-now {
    background: #f4c27a;
    color: #2a1a12;
}

.hero-section .hero-details .button .oder-now:hover {
    background: transparent;
    color: #f4c27a;
    border: 2px solid #f4c27a;
}

/* CONTACT */
.hero-section .hero-details .button .contact-us {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-section .hero-details .button .contact-us:hover {
    background: #ffffff;
    color: #2a1a12;
}

/* IMAGE WRAPPER */
.hero-section .hero-image-wrapper {
    max-width: 460px;
    width: 100%;
    margin-right: 20px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

/* IMAGE FIX (IMPORTANT) */
.hero-section .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* NO stretch */
    aspect-ratio: 3 / 4;     /* perfect hero ratio */
    display: block;
}

/* ===== HERO IMAGE HOVER EFFECT ===== */
.hero-section .hero-image-wrapper {
    overflow: hidden; /* important for zoom */
}

.hero-section .hero-image {
    transition: transform 0.6s ease; /* smooth zoom */
}

.hero-section .hero-image-wrapper:hover .hero-image {
    transform: scale(1.08); /* slight zoom */
}


/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 900px) {
    .hero-section .section-conten {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 20px;
        gap: 40px;
    }

    .hero-section .hero-details .subtitle,
    .hero-section .hero-details .discription {
        max-width: 100%;
    }

    .hero-section .hero-details .button {
        justify-content: center;
    }

    .hero-section .hero-image-wrapper {
        max-width: 320px;
        margin-right: 0;
    }
}


/* ---------- ABOUT SECTION (PREMIUM CAFÉ COLOR) ---------- */
.about-section {
    padding: 120px 0;
    background: linear-gradient(
        180deg,
        #fff8f2 0%,
        #f1e1d2 50%,
        #e7d3c1 100%
    );
}

/* layout */
.about-section .section-content {
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: center;
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 50px;
}

/* image wrapper */
.about-section .about-image-wrapper {
    position: relative;
}

/* image */
.about-section .about-image-wrapper .about-image {
    width: 380px;
    height: 380px;
    object-fit: cover;
    border-radius: 50%;

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.25),
        0 0 0 8px rgba(243, 150, 28, 0.15);

    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

/* image hover */
.about-section .about-image-wrapper:hover .about-image {
    transform: scale(1.07);
    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.35),
        0 0 0 10px rgba(243, 150, 28, 0.3);
}

/* text container */
.about-section .about-detail {
    max-width: 50%;
}

/* title */
.about-section .about-detail .section-title {
    padding: 0;
    margin-bottom: 28px;
    text-align: center;
    color: #2b1b12;
}

/* description text */
.about-section .about-detail .text {
    font-size: 1.08rem;
    line-height: 2;
    color: #4a2f22;
    margin-bottom: 40px;
}

/* social icons */
.about-section .social-link-list {
    display: flex;
    gap: 22px;
}

/* icon style */
.about-section .social-link-list .social-link {
    height: 44px;
    width: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.2rem;
    color: #4a2f22;

    background: #ffffff;
    border-radius: 50%;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    transition: all 0.35s ease;
}

/* hover */
.about-section .social-link-list .social-link:hover {
    background: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-6px);
}

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 900px) {
    .about-section .section-content {
        flex-direction: column;
        text-align: center;
        gap: 55px;
        padding: 0 20px;
    }

    .about-section .about-detail {
        max-width: 100%;
    }

    .about-section .about-detail .section-title {
        text-align: center;
    }

    .about-section .social-link-list {
        justify-content: center;
    }

    .about-section .about-image-wrapper .about-image {
        width: 260px;
        height: 260px;
    }
}

/* Menu Section Styling */
.menu-section {
    color: var(--white-color);
    background-color: var(--dark-color);
    padding: 50px 50px 100px;
}

.menu-section .menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 110px;
    align-items: center;
    justify-content: space-between;
}

.menu-section .menu-list .menu-item {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    justify-content: space-between;
    width: calc(100% / 3 - 100px);
}

.menu-section .menu-list .menu-item .menu-image {
    max-width: 83%;
    aspect-ratio: 1;
    margin: 15px;
    object-fit: contain;
}

.menu-section .menu-list .menu-item .name {
    margin: 12px 0;
    font-size: var(--font-size-l);
    font-weight: var(--font-weight-semibold);

}

.menu-section .menu-list .menu-item .text {
    font-size: var(--font-size-m);
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    padding: 80px 0 120px;
    background: linear-gradient(
        180deg,
        #fff8f2 0%,
        #f1e1d2 100%
    );
}


.testimonials-section .slider-wrapper {
    overflow: hidden;
    margin: 0 60px 60px;
}


.testimonials-section .testimonials {
    user-select: none;
    display: flex;
    padding: 40px 30px;
    text-align: center;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}


.testimonials-section .testimonials:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}


.testimonials-section .testimonials .user-image {
    height: 160px;
    width: 160px;
    object-fit: cover;
    margin-bottom: 30px;
    border-radius: 50%;
    border: 5px solid rgba(243, 150, 28, 0.25);
}


.testimonials-section .testimonials .name {
    margin-bottom: 14px;
    font-size: 1.15rem;
    font-weight: var(--font-weight-semibold);
    color: #2b1b12;
}


.testimonials-section .testimonials .feedback {
    line-height: 1.7;
    font-size: 1rem;
    color: #4a2f22;
    font-style: italic;
    max-width: 100%;
}


.testimonials-section .swiper-pagination-bullet {
    height: 14px;
    width: 14px;
    opacity: 1;
    background-color: rgba(243, 150, 28, 0.4);
}

.testimonials-section .swiper-pagination-bullet-active {
    background-color: var(--secondary-color);
}


.testimonials-section .swiper-slide-button {
    margin-top: 40px;
    color: var(--secondary-color);
    transition: 0.3s ease;
}

.testimonials-section .swiper-slide-button:hover {
    color: #2b1b12;
}

/* ===== FIX SWIPER ARROW COLOR ===== */
.testimonials-section .swiper-button-next,
.testimonials-section .swiper-button-prev {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.testimonials-section .swiper-button-next:hover,
.testimonials-section .swiper-button-prev:hover {
    color: #2b1b12;
} 

.testimonials-section .swiper {
    padding-bottom: 60px; 
}

.testimonials-section .swiper-pagination {
    bottom: 0 !important;
}



/* GALLERY SECTION  */
.gallery-section {
    padding: 100px 60px 130px;
    background: linear-gradient(
        180deg,
        #2b1a12 0%,
        #3a2418 100%
    );
}


.gallery-section .section-title {
    color: #f5e6d8;
}


.gallery-section .section-title::after {
    background: var(--secondary-color);
}


.gallery-section .section-content {
    max-width: var(--site-max-width);
    margin: 0 auto;
}


.gallery-section .gallery-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}


.gallery-section .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;

    background: #1c120c;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);

    transition: transform 0.4s ease, box-shadow 0.4s ease;
}


.gallery-section .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;

    transition: transform 0.7s ease, filter 0.4s ease;
}


.gallery-section .gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.6)
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}


.gallery-section .gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.6);
}

.gallery-section .gallery-item:hover .gallery-image {
    transform: scale(1.12);
    filter: brightness(1.08);
}

.gallery-section .gallery-item:hover::after {
    opacity: 1;
}


#menu-close-button {
    display: none;
}


body.show-mobile-menu #menu-open-button {
    display: none;
}

body.show-mobile-menu #menu-close-button {
    display: block;
}

@media screen and (max-width: 1024px) {
    .gallery-section {
        padding: 80px 40px 110px;
    }

    .gallery-section .gallery-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .gallery-section {
        padding: 60px 20px 90px;
    }

    .gallery-section .gallery-list {
        grid-template-columns: 1fr;
    }
}


/* CONTACT SECTION  */
.contact-section {
    padding: 100px 8% 120px;
    background: linear-gradient(
        180deg,
        #f6eee8 0%,
        #efe3d8 100%
    );
}


.contact-section .section-title {
    color: #3b2418;
}

.contact-section .section-title::after {
    background: var(--secondary-color);
}


.contact-section .section-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 60px;
    align-items: stretch;
    justify-content: space-between;
}

.contact-section .contact-info-list {
    flex: 1;
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.contact-section .contact-info-list .contact-info {
    display: flex;
    gap: 18px;
    margin: 22px 0;
    align-items: center;
    color: #3b2418;
}

/* icons */
.contact-section .contact-info-list .contact-info i {
    font-size: 1.3rem;
    color: var(--secondary-color);
    min-width: 28px;
}

.contact-section .contact-form {
    flex: 1;
    max-width: 50%;
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.contact-section .contact-form .form-input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    outline: none;
    margin-bottom: 18px;
    background: #faf7f4;
    border-radius: 14px;
    border: 1px solid #d6c8bb;
    font-size: var(--font-size-n);
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-section .contact-form textarea.form-input {
    height: 120px;
    padding: 14px 16px;
    resize: vertical;
}

.contact-section .contact-form .form-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(243, 150, 28, 0.2);
}

.contact-section .contact-form .submit-button {
    padding: 12px 30px;
    margin-top: 12px;
    color: var(--white-color);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-m);
    background: linear-gradient(
        135deg,
        var(--primary-color),
        #5a2e1b
    );
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-section .contact-form .submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 20, 28, 0.35);
}

@media screen and (max-width: 900px) {
    .contact-section .section-content {
        flex-direction: column;
        gap: 40px;
    }

    .contact-section .contact-form {
        max-width: 100%;
    }
}


/* FOOTER SECTION   */
.footer-section {
    padding: 35px 8% 30px;
    background: linear-gradient(
        180deg,
        #2b1a12 0%,
        #24140d 100%
    );
    border-top: 1px solid rgba(243, 150, 28, 0.25);
}

.footer-section .section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
    max-width: var(--site-max-width);
    margin: auto;
}

.footer-section .footer-brand {
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
    color: #cbb3a3;
    letter-spacing: 0.5px;
}

.footer-section :where(.copyright-text, .policy-link) {
    color: #f4e7dc;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.footer-section .social-link-list {
    display: flex;
    gap: 26px;
}

.footer-section .social-link {
    font-size: 1.3rem;
    color: #f4e7dc;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-section .social-link:hover {
    color: #f3961c;
    transform: translateY(-3px);
}

.footer-section .policy-link:hover {
    color: #f3961c;
}

.footer-section .policy-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section .separater {
    color: #cbb3a3;
}

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 640px) {
    .footer-section .section-content {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    .footer-section .policy-text {
        justify-content: center;
    }
}


@media screen and (max-width: 1024px) {
    .menu-section .menu-list {
        gap: 60px;

    }

    .menu-section .menu-list .menu-item {
        width: calc(100% / 3 - 60px);
    }

}

@media screen and (max-width: 900px) {
    :root {
        --font-size-m: 1rem;
        --font-size-l: 1.3rem;
        --font-size-xl: 1.5rem;
        --font-size-xxl: 1.8rem;
    }

    body.show-mobile-menu header::before {
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(5px);
        background: rgba(0, 0, 0, 0.2);
    }

    .navbar :where(#menu-close-button, #menu-open-button) {
        display: block;
        font-size: var(--font-size-l);
    }

    .navbar #menu-close-button {
        position: absolute;
        right: 30px;
        top: 30px;
    }

    .navbar #menu-open-button {
        color: var(--dark-color);
    }

    .navbar .nav-menu {
        display: block;
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100%;
        padding-top: 100px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background: var(--white-color);
        transition: left 0.3s ease;
        z-index: 10;
    }

    body.show-mobile-menu .navbar .nav-menu {
        left: 0;
    }

    .navbar .nav-menu .nav-link {
        color: var(--dark-color);
        margin-top: 17px;
        font-size: var(--font-size-l);
    }

    .hero-section .section-conten {
        gap: 50px;
        text-align: center;
        padding: 30px 20px 20px;
        flex-direction: column-reverse;
        justify-content: center;
    }

    .hero-section .hero-details :is(.subtitle, .discription, ),
    .about-section .about-detail,
    .contact-section .contact-form {
        max-width: 100%;
    }

    .hero-section .hero-details .button {
        justify-content: center;
    }

    .hero-section .hero-image-wrapper {
        max-width: 270px;
        margin-right: 0;
    }

    .about-section .about-image-wrapper .about-image {
        width: 100%;
        height: 100%;
        max-width: 250px;
        aspect-ratio: 1;
    }

    .about-section .section-content {
        gap: 70px;
        flex-direction: column;
    }

    .menu-section .menu-list {
        gap: 30px;
    }

    .menu-section .menu-list .menu-item {
        width: calc(100% / 2 - 30px);
    }

    .menu-section .menu-list .menu-item .menu-item {
        max-width: 200px;
    }

    .gallery-section .gallery-list {
        gap: 30px;
    }

    .gallery-section .gallery-list .gallery-item {
        width: calc((100% - 31px) / 2);
    }

    .contact-section .section-content {
        align-items: center;
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 640px) {
    .menu-section .menu-list {
        gap: 60px;
    }

    .menu-section .menu-list .menu-item,
    .gallery-section .gallery-list .gallery-item {
        width: 100%;
    }

    .testimonials-section .slider-wrapper {
        margin: 0 0 30px;
    }

    .testimonials-section .swiper-slide-button {
        display: none;
    }

       .footer-section .section-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

.menu-category {
    width: 100%;
    text-align: center;
    margin: 35px 0 25px;
}

.menu-sub-title {
    font-size: 1.7rem;             
    font-weight: var(--font-weight-semibold);
    color: var(--secondary-color);
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.menu-sub-title::after {
    display: block;
    width: 70px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    opacity: 0.8;
}

/* ===== MENU PRICE ===== */
.menu-price {
    display: block;
    margin: 6px 0;
    font-size: 1.05rem;
    font-weight: var(--font-weight-bold);
    color: var(--secondary-color);
}

