:root {
    --brown: #2D1513;         /* Deep luxury warm cocoa */
    --gold: #C59B51;          /* Royal satin gold */
    --cream: #FDFBF8;         /* Luxury soft cream silk */
    --cream-dark: #F5EEE2;    /* Slightly darker cream for transitions/tables */
    --maroon: #631C1A;        /* Rich heritage maroon */
    --ink: #1F0D0C;           /* Deep ink black with a hint of warm red */
    --green: #326C4D;         /* Traditional emerald veg/pure green */
    --muted: #8C7A77;         /* Soft warm grey-brown */
    --paper: #FFFDFC;         /* Premium textured white paper */
    --white: #ffffff;
    --shadow: 0 16px 48px rgba(45, 21, 19, 0.05);
    --shadow-hover: 0 28px 70px rgba(45, 21, 19, 0.12);
    --border-gold: 1px solid rgba(197, 155, 81, 0.22);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Custom Scrollbar for Luxury Vibe */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--paper);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brown);
}

.bg-cream {
    background: rgba(253, 251, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.section-pad {
    padding: 96px 0;
}

.section-title {
    margin-bottom: 48px;
}

.section-title span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--maroon);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title h2,
.display-title {
    font-family: "Marcellus", serif;
    color: var(--brown);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.15;
}

.section-title h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    margin-top: 14px;
    margin-bottom: 18px;
}

.section-title p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 720px;
    line-height: 1.7;
}

.announcement-bar {
    background: var(--brown);
    color: var(--cream);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 10px 0;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(197, 155, 81, 0.25);
}

.announcement-bar a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.announcement-bar a:hover {
    color: var(--white);
}

.navbar {
    border-bottom: 1px solid rgba(45, 21, 19, 0.04);
    transition: all 0.3s ease;
}

.navbar-brand strong {
    display: block;
    font-family: "Marcellus", serif;
    color: var(--brown);
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.navbar-brand small {
    display: block;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-link {
    color: var(--brown) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.btn-brand,
.btn-gold,
.btn-outline-brand {
    border-radius: 0px; /* Elegant clean luxury square look with micro-borders */
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
    padding: 0.95rem 1.8rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(45, 21, 19, 0.03);
}

.btn-brand {
    background: var(--brown);
    color: var(--cream);
    border: 1px solid var(--brown);
}

.btn-brand:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--brown);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 155, 81, 0.2);
}

.btn-gold {
    background: var(--gold);
    color: var(--brown);
    border: 1px solid var(--gold);
}

.btn-gold:hover {
    background: var(--brown);
    border-color: var(--brown);
    color: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 21, 19, 0.2);
}

.btn-outline-brand {
    border: 1px solid rgba(45, 21, 19, 0.18);
    color: var(--brown);
    background: transparent;
}

.btn-outline-brand:hover {
    background: var(--brown);
    border-color: var(--brown);
    color: var(--cream);
    transform: translateY(-2px);
}

.cart-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 6px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--brown);
    font-size: 0.7rem;
    font-weight: 800;
}

/* Premium Hero Section */
.hero {
    min-height: calc(85vh - 92px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--cream);
    background: url("../img/hero-food.svg") center/cover no-repeat;
    padding: 100px 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 13, 12, 0.92), rgba(45, 21, 19, 0.72) 48%, rgba(28, 13, 12, 0.25));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: "Marcellus", serif;
    font-size: clamp(2.8rem, 7.5vw, 5.2rem);
    line-height: 1.1;
    font-weight: 400;
    max-width: 840px;
    letter-spacing: -0.01em;
}

.hero p {
    max-width: 620px;
    color: rgba(253, 251, 248, 0.85);
    font-size: 1.15rem;
    line-height: 1.75;
}

.offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 0px;
    background: rgba(197, 155, 81, 0.1);
    color: var(--gold);
    border: var(--border-gold);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-stat {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 680px;
    margin-top: 48px;
    border-top: 1px solid rgba(253, 251, 248, 0.12);
    padding-top: 32px;
}

.hero-stat div {
    border-left: 1px solid var(--gold);
    padding-left: 20px;
}

.hero-stat strong {
    display: block;
    color: var(--gold);
    font-family: "Marcellus", serif;
    font-size: 1.6rem;
    font-weight: 400;
}

.hero-stat span {
    color: rgba(253, 251, 248, 0.78);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

/* Premium Card Designs */
.product-card,
.story-card,
.review-card,
.soft-card,
.contact-card,
.admin-card {
    background: var(--white);
    border: 1px solid rgba(45, 21, 19, 0.05);
    border-radius: 0px; /* Luxury sharp look */
    box-shadow: var(--shadow);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card {
    position: relative;
    overflow: hidden;
    border: var(--border-gold);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.product-image {
    display: block;
    aspect-ratio: 1.15;
    background: var(--cream);
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

.product-body {
    padding: 26px;
    background: var(--white);
}

.product-category {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-body h5 {
    font-family: "Marcellus", serif;
    font-size: 1.35rem;
    margin: 10px 0;
    font-weight: 400;
    color: var(--brown);
}

.product-body p {
    min-height: 48px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.price-row strong {
    color: var(--maroon);
    font-family: "Marcellus", serif;
    font-size: 1.4rem;
    font-weight: 400;
}

.price-row del {
    color: var(--muted);
    font-size: 0.95rem;
}

.discount-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--maroon);
    color: var(--cream);
    border: 1px solid var(--gold);
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(197, 155, 81, 0.08);
    color: var(--maroon);
    font-size: 1.7rem;
    margin-bottom: 22px;
    border: var(--border-gold);
}

.story-band {
    background: var(--brown);
    color: var(--cream);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(197, 155, 81, 0.22);
    border-bottom: 1px solid rgba(197, 155, 81, 0.22);
}

.story-band h2 {
    color: var(--cream);
}

.story-band p {
    color: rgba(253, 251, 248, 0.8);
}

.story-card {
    padding: 34px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(253, 251, 248, 0.08);
    color: var(--cream);
}

.story-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(197, 155, 81, 0.3);
}

.story-card h4 {
    font-family: "Marcellus", serif;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 12px;
}

.soft-card h4 {
    font-family: "Marcellus", serif;
    font-weight: 400;
    color: var(--brown);
    margin-bottom: 12px;
}

.ingredient-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ingredient-list div {
    background: var(--white);
    border: var(--border-gold);
    padding: 24px;
    font-family: "Marcellus", serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--brown);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.ingredient-list div:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.festival-banner {
    background: linear-gradient(135deg, var(--maroon), var(--brown));
    color: var(--cream);
    padding: 64px;
    border: var(--border-gold);
    position: relative;
    overflow: hidden;
}

.festival-banner::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border: 40px solid rgba(197, 155, 81, 0.12);
    border-radius: 50%;
    right: -60px;
    bottom: -80px;
}

.festival-banner h2 {
    font-family: "Marcellus", serif;
    font-size: 2.5rem;
    font-weight: 400;
}

.review-card,
.soft-card,
.contact-card {
    padding: 38px;
}

.review-card {
    border: var(--border-gold);
}

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

.review-card p {
    font-family: "Marcellus", serif;
    font-style: italic;
    color: var(--brown);
    line-height: 1.6;
}

.accordion-item {
    border-radius: 0 !important;
    border: 1px solid rgba(45, 21, 19, 0.08) !important;
    margin-bottom: 12px;
}

.accordion-button {
    font-weight: 600;
    color: var(--brown);
    background: var(--white);
    padding: 20px;
    border-radius: 0 !important;
    font-family: "Marcellus", serif;
    font-size: 1.1rem;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(197, 155, 81, 0.3);
}

.accordion-button:not(.collapsed) {
    color: var(--maroon);
    background: var(--cream);
    box-shadow: none;
}

.page-hero {
    padding: 96px 0;
    background: linear-gradient(180deg, rgba(253, 251, 248, 0.95), rgba(245, 238, 226, 0.4));
    border-bottom: 1px solid rgba(45, 21, 19, 0.05);
}

.page-hero h1 {
    font-family: "Marcellus", serif;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    color: var(--brown);
    font-weight: 400;
    margin-top: 8px;
}

.form-control,
.form-select {
    border-radius: 0px;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(45, 21, 19, 0.15);
    background-color: var(--white);
    color: var(--ink);
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 155, 81, 0.1);
    outline: none;
}

.cart-table {
    border: var(--border-gold);
}

.cart-table th {
    background: var(--cream);
    color: var(--brown);
    font-family: "Marcellus", serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    padding: 18px !important;
}

.cart-table td {
    padding: 20px !important;
}

.cart-table img {
    width: 80px;
    height: 70px;
    object-fit: cover;
    border-radius: 0px;
    border: var(--border-gold);
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(45, 21, 19, 0.18);
    background: var(--white);
}

.qty-control button,
.qty-control input {
    border: 0;
    background: transparent;
    width: 44px;
    height: 44px;
    text-align: center;
    font-weight: 700;
}

.qty-control button:hover {
    background: var(--cream);
    color: var(--gold);
}

.qty-control input {
    border-left: 1px solid rgba(45, 21, 19, 0.1);
    border-right: 1px solid rgba(45, 21, 19, 0.1);
    font-weight: 600;
}

/* Footer styling */
.site-footer {
    background: #1C0F0E;
    color: rgba(253, 251, 248, 0.7);
    padding: 80px 0 32px;
    border-top: 2px solid var(--gold);
}

.site-footer h4 {
    font-family: "Marcellus", serif;
    font-size: 1.6rem;
    color: var(--cream);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.site-footer h6 {
    font-family: "Marcellus", serif;
    color: var(--gold);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.site-footer a,
.site-footer span {
    display: block;
    color: rgba(253, 251, 248, 0.65);
    margin-bottom: 12px;
    font-size: 0.92rem;
}

.site-footer a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(253, 251, 248, 0.08);
    margin-top: 48px;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(253, 251, 248, 0.45);
}

/* Admin Styling Updates */
.admin-body {
    background: var(--cream);
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
}

.admin-sidebar {
    background: #180908;
    color: var(--cream);
    padding: 32px 24px;
    border-right: 1px solid rgba(197, 155, 81, 0.15);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cream);
    font-family: "Marcellus", serif;
    font-weight: 400;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(253, 251, 248, 0.08);
    padding-bottom: 24px;
}

.admin-brand img {
    width: 50px;
    height: 50px;
}

.admin-brand span {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    line-height: 1.3;
}

.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 0px;
    color: rgba(253, 251, 248, 0.7);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    border-left: 3px solid transparent;
    transition: all 0.25s ease;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
    background: rgba(197, 155, 81, 0.08);
    color: var(--gold);
    border-left-color: var(--gold);
}

.admin-main {
    padding: 40px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 36px;
    border-bottom: 1px solid rgba(45, 21, 19, 0.05);
    padding-bottom: 24px;
}

.admin-topbar span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.admin-topbar h1 {
    font-family: "Marcellus", serif;
    color: var(--brown);
    font-weight: 400;
    font-size: 2.2rem;
    margin: 4px 0 0 0;
}

.admin-card {
    padding: 32px;
    border: var(--border-gold);
}

.admin-card i {
    font-size: 2.2rem;
    color: var(--maroon);
}

.admin-card span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-top: 12px;
}

.admin-card strong {
    display: block;
    font-size: 2.4rem;
    color: var(--brown);
    font-family: "Marcellus", serif;
    font-weight: 400;
    margin-top: 4px;
}

.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at top right, rgba(197, 155, 81, 0.15), transparent 38%), var(--cream);
    padding: 24px;
}

.login-card {
    width: min(440px, 100%);
    background: var(--white);
    border-radius: 0px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(45, 21, 19, 0.08);
    border: var(--border-gold);
}

/* Image preview styling for Admin */
.admin-img-preview {
    width: 120px;
    height: 100px;
    object-fit: cover;
    border: var(--border-gold);
    background: var(--cream);
    margin-top: 10px;
}

/* Responsive fixes */
@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding: 120px 0;
    }

    .hero-stat,
    .ingredient-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        border-right: none;
        border-bottom: var(--border-gold);
    }

    .admin-sidebar nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    
    .admin-sidebar nav a {
        padding: 10px;
        font-size: 0.82rem;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .admin-sidebar nav a:hover,
    .admin-sidebar nav a.active {
        border-bottom-color: var(--gold);
    }
}

@media (max-width: 575px) {
    .section-pad {
        padding: 64px 0;
    }

    .navbar-brand img {
        width: 44px;
        height: 44px;
    }

    .navbar-brand strong {
        font-size: 1.15rem;
    }

    .festival-banner {
        padding: 40px 24px;
    }

    .admin-main {
        padding: 24px 16px;
    }

    .admin-topbar,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
    
    .admin-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
