/* =========================================================
   YAARI JUNCTION CAFE
   MAIN STYLE SHEET
   ========================================================= */


/* =========================================================
   1. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "DM Sans", Arial, sans-serif;
    background: #fbf6ef;
    color: #3b2923;
    line-height: 1.6;
}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================================
   2. COLOR VARIABLES
   ========================================================= */

:root {

    --dark-brown: #3b2923;

    --brown: #5f4535;

    --light-brown: #8a6a52;

    --cream: #fbf6ef;

    --beige: #f5eadc;

    --soft-beige: #eadcc9;

    --white: #fffaf3;

    --text: #3b2923;

    --muted: #76645b;

    --border: rgba(111, 78, 55, 0.14);

    --shadow:
        0 12px 35px rgba(59, 41, 35, 0.08);

    --shadow-hover:
        0 18px 45px rgba(59, 41, 35, 0.14);

    --radius: 18px;
}


/* =========================================================
   3. NAVBAR
   ========================================================= */

.navbar {

    width: 100%;

    min-height: 76px;

    padding: 14px 5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    background: rgba(255, 250, 243, 0.96);

    border-bottom: 1px solid var(--border);

    position: sticky;

    top: 0;

    z-index: 1000;

    backdrop-filter: blur(10px);
}


/* LOGO */

.logo {

    font-family: "Playfair Display", Georgia, serif;

    font-size: 22px;

    font-weight: 700;

    color: var(--dark-brown);

    line-height: 1.1;

    white-space: nowrap;
}


.logo span {

    display: block;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 3px;

    text-align: center;

    margin-top: 4px;

    color: var(--light-brown);
}


/* NAVIGATION */

.navbar nav {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;
}


.navbar nav a {

    position: relative;

    font-size: 13px;

    font-weight: 600;

    color: var(--brown);

    padding: 8px 2px;

    transition: 0.3s ease;
}


.navbar nav a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 1px;

    width: 0;

    height: 2px;

    background: var(--brown);

    transition: 0.3s ease;
}


.navbar nav a:hover::after,
.navbar nav a.active::after {

    width: 100%;
}


.navbar nav a:hover,
.navbar nav a.active {

    color: var(--dark-brown);
}


/* NAV ACTION */

.nav-actions {

    display: flex;

    align-items: center;
}


.reserve-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 10px 17px;

    border-radius: 30px;

    background: var(--dark-brown);

    color: white;

    font-size: 12px;

    font-weight: 600;

    transition: 0.3s ease;
}


.reserve-btn:hover {

    background: var(--brown);

    transform: translateY(-2px);
}


/* =========================================================
   4. COMMON SECTION
   ========================================================= */

section {

    width: 100%;
}


.section-heading {

    max-width: 700px;

    margin: 0 auto 45px;

    text-align: center;
}


.section-label {

    display: inline-block;

    margin-bottom: 9px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    color: var(--light-brown);

    text-transform: uppercase;
}


.section-heading h2 {

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(27px, 4vw, 39px);

    line-height: 1.2;

    font-weight: 600;

    color: var(--dark-brown);

    margin-bottom: 14px;
}


.section-heading p {

    color: var(--muted);

    font-size: 14px;

    max-width: 620px;

    margin: auto;
}


/* =========================================================
   5. BUTTONS
   ========================================================= */

.primary-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding: 12px 21px;

    border-radius: 30px;

    background: var(--dark-brown);

    color: white;

    font-size: 13px;

    font-weight: 600;

    transition: 0.3s ease;

    cursor: pointer;
}


.primary-btn:hover {

    background: var(--brown);

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(59, 41, 35, 0.16);
}


.secondary-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 10px 18px;

    border-radius: 30px;

    border: 1px solid var(--brown);

    color: var(--brown);

    background: transparent;

    font-size: 13px;

    font-weight: 600;

    transition: 0.3s ease;
}


.secondary-btn:hover {

    background: var(--brown);

    color: white;

    transform: translateY(-2px);
}


.cta-buttons {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;
}


/* =========================================================
   6. HERO
   ========================================================= */

.hero {

    min-height: 650px;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(45, 30, 24, 0.58),
            rgba(45, 30, 24, 0.74)
        ),
        url("../images/cafe-background.jpg")
        center/cover no-repeat;

    color: white;
}


.hero-content {

    width: min(760px, 90%);

    margin: auto;

    text-align: center;

    padding: 90px 0;
}


.hero-content .hero-label {

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

    color: #ead0b2;

    text-transform: uppercase;
}


.hero-content h1 {

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(42px, 7vw, 68px);

    line-height: 1.05;

    font-weight: 600;

    margin: 14px 0 18px;
}


.hero-content p {

    max-width: 650px;

    margin: 0 auto 28px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 15px;
}


/* =========================================================
   7. HERO BUTTONS
   ========================================================= */

.hero-buttons {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;
}


/* =========================================================
   8. CARDS
   ========================================================= */

.card-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


.card {

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: 0.3s ease;
}


.card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow-hover);
}


.card-image {

    width: 100%;

    height: 220px;

    object-fit: cover;
}


.card-content {

    padding: 22px;
}


.card-content h3 {

    font-family: "Playfair Display", Georgia, serif;

    font-size: 21px;

    margin-bottom: 8px;

    color: var(--dark-brown);
}


.card-content p {

    font-size: 13px;

    color: var(--muted);
}


/* =========================================================
   9. MENU CATEGORY
   ========================================================= */

.menu-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


.menu-card {

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 28px 24px;

    box-shadow: var(--shadow);

    transition: 0.3s ease;

    position: relative;

    overflow: hidden;
}


.menu-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow-hover);
}


.menu-icon {

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--beige);

    font-size: 25px;

    margin-bottom: 16px;
}


.menu-card h3 {

    font-family: "Playfair Display", Georgia, serif;

    font-size: 23px;

    margin-bottom: 15px;
}


.menu-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding: 11px 0;

    border-bottom: 1px dashed var(--border);

    font-size: 13px;
}


.menu-item:last-child {

    border-bottom: none;
}


.menu-item-name {

    color: var(--text);

    font-weight: 500;
}


.menu-price {

    color: var(--brown);

    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================
   10. PRICE HIGHLIGHT GRID
   ========================================================= */

.price-highlight-grid {

    width: min(1150px, 90%);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}


.price-highlight-card {

    padding: 26px 20px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: 0.3s ease;
}


.price-highlight-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow-hover);
}


.price-highlight-card > span {

    display: block;

    font-size: 30px;

    margin-bottom: 10px;
}


.price-highlight-card h3 {

    font-family: "Playfair Display", Georgia, serif;

    font-size: 21px;

    margin-bottom: 10px;
}


.price-highlight-card p {

    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;
}


.price-highlight-card strong {

    display: block;

    margin-top: 10px;

    color: var(--brown);

    font-size: 14px;
}


/* =========================================================
   11. ABOUT SECTION
   ========================================================= */

.about-intro-wrapper {

    width: min(1150px, 90%);

    margin: auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 55px;

    align-items: center;
}


.about-intro-content h2 {

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(29px, 4vw, 42px);

    line-height: 1.2;

    margin: 10px 0 18px;
}


.about-intro-content p {

    color: var(--muted);

    font-size: 14px;

    margin-bottom: 15px;
}


.about-intro-image {

    overflow: hidden;

    border-radius: 22px;

    box-shadow: var(--shadow);
}


.about-intro-image img {

    width: 100%;

    height: 430px;

    object-fit: cover;

    transition: transform 0.5s ease;
}


.about-intro-image:hover img {

    transform: scale(1.04);
}


/* =========================================================
   12. PHILOSOPHY GRID
   ========================================================= */

.philosophy-grid {

    width: min(1150px, 90%);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}


.philosophy-card {

    padding: 30px 22px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: 0.3s ease;
}


.philosophy-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow-hover);
}


.philosophy-icon {

    width: 58px;

    height: 58px;

    margin: 0 auto 15px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--beige);

    font-size: 25px;
}


.philosophy-card h3 {

    font-family: "Playfair Display", Georgia, serif;

    font-size: 20px;

    margin-bottom: 9px;
}


.philosophy-card p {

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   13. GALLERY
   ========================================================= */

.gallery-grid {

    width: min(1200px, 92%);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;
}


.gallery-item {

    height: 280px;

    overflow: hidden;

    border-radius: 15px;

    position: relative;

    background: var(--beige);
}


.gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}


.gallery-item:hover img {

    transform: scale(1.07);
}


.gallery-item::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 55%,
            rgba(30, 20, 15, 0.28)
        );

    pointer-events: none;
}


/* =========================================================
   14. OFFER CARDS
   ========================================================= */

.offer-grid {

    width: min(1100px, 90%);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


.offer-card {

    position: relative;

    padding: 30px 25px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    overflow: hidden;

    transition: 0.3s ease;
}


.offer-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow-hover);
}


.offer-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background: var(--brown);
}


.offer-badge {

    display: inline-block;

    padding: 5px 10px;

    margin-bottom: 15px;

    border-radius: 20px;

    background: var(--beige);

    color: var(--brown);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.offer-card h3 {

    font-family: "Playfair Display", Georgia, serif;

    font-size: 24px;

    margin-bottom: 10px;
}


.offer-card p {

    color: var(--muted);

    font-size: 13px;

    margin-bottom: 18px;
}


/* =========================================================
   15. EVENT CARDS
   ========================================================= */

.event-grid {

    width: min(1100px, 90%);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


.event-card {

    background: var(--white);

    border-radius: var(--radius);

    border: 1px solid var(--border);

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: 0.3s ease;
}


.event-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow-hover);
}


.event-card img {

    width: 100%;

    height: 220px;

    object-fit: cover;
}


.event-card-content {

    padding: 23px;
}


.event-card-content h3 {

    font-family: "Playfair Display", Georgia, serif;

    font-size: 22px;

    margin-bottom: 9px;
}


.event-card-content p {

    color: var(--muted);

    font-size: 13px;

    margin-bottom: 15px;
}


/* =========================================================
   16. FORMS
   ========================================================= */

.form-group {

    margin-bottom: 20px;
}


.form-group label {

    display: block;

    margin-bottom: 7px;

    color: var(--dark-brown);

    font-size: 13px;

    font-weight: 600;
}


.form-group input,
.form-group textarea,
.form-group select {

    width: 100%;

    padding: 12px 14px;

    border: 1px solid rgba(111, 78, 55, 0.20);

    border-radius: 10px;

    background: #fffdf9;

    color: var(--text);

    outline: none;

    font-size: 13px;

    transition: 0.3s ease;
}


.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {

    border-color: var(--brown);

    box-shadow:
        0 0 0 3px rgba(95, 69, 53, 0.08);
}


.form-group textarea {

    resize: vertical;

    min-height: 120px;
}


.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;
}


/* =========================================================
   17. CONTACT
   ========================================================= */

.contact-grid {

    width: min(1150px, 90%);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 40px;

    align-items: start;
}


.contact-info {

    display: flex;

    flex-direction: column;

    gap: 18px;
}


.contact-info-card {

    display: flex;

    gap: 16px;

    padding: 20px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 15px;

    box-shadow: var(--shadow);
}


.contact-info-icon {

    width: 48px;

    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--beige);

    font-size: 21px;
}


.contact-info-card h3 {

    font-family: "Playfair Display", Georgia, serif;

    font-size: 18px;

    margin-bottom: 4px;
}


.contact-info-card p {

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   18. RESERVATION
   ========================================================= */

.reservation-box {

    width: min(900px, 90%);

    margin: auto;

    padding: 40px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 20px;

    box-shadow: var(--shadow);
}


/* =========================================================
   19. QUOTE
   ========================================================= */

.quote-section {

    padding: 90px 5%;

    text-align: center;

    background: var(--beige);
}


.quote-section blockquote {

    max-width: 800px;

    margin: auto;

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(25px, 4vw, 38px);

    line-height: 1.35;

    color: var(--dark-brown);
}


.quote-section cite {

    display: block;

    margin-top: 18px;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 12px;

    color: var(--muted);

    font-style: normal;
}


/* =========================================================
   20. FOOTER
   ========================================================= */

footer {

    background: var(--dark-brown);

    color: white;

    padding: 65px 5% 25px;
}


.footer-content {

    width: min(1200px, 92%);

    margin: auto;

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1.2fr;

    gap: 40px;
}


.footer-about h2 {

    font-family: "Playfair Display", Georgia, serif;

    font-size: 24px;

    margin-bottom: 12px;
}


.footer-about p {

    max-width: 330px;

    color: rgba(255,255,255,0.68);

    font-size: 13px;
}


.footer-tagline {

    margin-top: 12px;

    font-style: italic;

    color: #e5c9aa !important;
}


.footer-content h3 {

    font-size: 14px;

    margin-bottom: 15px;

    color: #ead0b2;
}


.footer-links {

    display: flex;

    flex-direction: column;

    gap: 9px;
}


.footer-links a {

    width: fit-content;

    color: rgba(255,255,255,0.68);

    font-size: 12px;

    transition: 0.3s ease;
}


.footer-links a:hover {

    color: white;

    transform: translateX(3px);
}


.footer-bottom {

    width: min(1200px, 92%);

    margin: 45px auto 0;

    padding-top: 20px;

    border-top:
        1px solid rgba(255,255,255,0.12);

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: rgba(255,255,255,0.48);

    font-size: 11px;
}


/* =========================================================
   21. WHATSAPP FLOATING BUTTON
   ========================================================= */

.whatsapp-float {

    position: fixed;

    right: 22px;

    bottom: 22px;

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #3b2923;

    color: white;

    font-size: 23px;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.18);

    z-index: 999;

    transition: 0.3s ease;
}


.whatsapp-float:hover {

    transform: scale(1.08);

    background: #5f4535;
}


/* =========================================================
   22. INSTAGRAM BUTTON
   ========================================================= */

.instagram-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 11px 18px;

    border-radius: 30px;

    background: var(--beige);

    color: var(--brown);

    font-size: 13px;

    font-weight: 600;

    transition: 0.3s ease;
}


.instagram-btn:hover {

    background: var(--brown);

    color: white;
}


/* =========================================================
   23. LOCATION BOX
   ========================================================= */

.location-box {

    width: min(850px, 90%);

    margin: auto;

    padding: 35px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 20px;

    box-shadow: var(--shadow);
}


.location-icon {

    font-size: 30px;

    margin-bottom: 10px;
}


.location-box h3 {

    font-family: "Playfair Display", Georgia, serif;

    font-size: 24px;

    margin-bottom: 10px;
}


.location-box p {

    color: var(--muted);

    font-size: 14px;

    margin-bottom: 22px;
}


/* =========================================================
   24. RESPONSIVE IMAGE BACKGROUND HELPERS
   ========================================================= */

.page-hero {

    min-height: 420px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 80px 5%;

    color: white;

    background:
        linear-gradient(
            rgba(45, 30, 24, 0.62),
            rgba(45, 30, 24, 0.76)
        ),
        url("../images/cafe-background.jpg")
        center/cover no-repeat;
}


.page-hero-content {

    max-width: 700px;
}


.page-hero-content h1 {

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(36px, 6vw, 52px);

    font-weight: 600;

    margin: 12px 0;
}


.page-hero-content p {

    max-width: 620px;

    margin: auto;

    font-size: 15px;

    color: rgba(255,255,255,0.86);
}


/* =========================================================
   25. SPECIAL / EMPTY STATE
   ========================================================= */

.empty-state {

    width: min(800px, 90%);

    margin: auto;

    padding: 60px 30px;

    text-align: center;

    background: var(--white);

    border-radius: 18px;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);
}


.empty-state-icon {

    font-size: 42px;

    margin-bottom: 12px;
}


.empty-state h3 {

    font-family: "Playfair Display", Georgia, serif;

    font-size: 25px;

    margin-bottom: 8px;
}


.empty-state p {

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   26. SIMPLE ANIMATIONS
   ========================================================= */

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }
}


.fade-up {

    animation:
        fadeUp 0.8s ease forwards;
}


@keyframes slowZoom {

    from {

        transform: scale(1);

    }

    to {

        transform: scale(1.06);

    }
}


.hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        url("../images/cafe-background.jpg")
        center/cover no-repeat;

    z-index: -2;

    animation:
        slowZoom 10s ease-in-out infinite alternate;
}


/* =========================================================
   27. SELECTION
   ========================================================= */

::selection {

    background: var(--soft-beige);

    color: var(--dark-brown);
}


/* =========================================================
   28. SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {

    width: 8px;
}


::-webkit-scrollbar-track {

    background: var(--beige);
}


::-webkit-scrollbar-thumb {

    background: var(--brown);

    border-radius: 10px;
}


::-webkit-scrollbar-thumb:hover {

    background: var(--dark-brown);
}


.hero-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* =========================================================
   END OF STYLE.CSS
   ========================================================= */