/* Treatway Coffee Shop & NKM Grand Hotel Lounge - Tous Les Jours Inspired Design System */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary-espresso: #2b1810;
    --primary-gold: #c69214;
    --primary-gold-hover: #a8790c;
    --cream-bg: #faf6f0;
    --card-bg: #ffffff;
    --forest-green: #1b4332;
    --text-dark: #1f1c1a;
    --text-muted: #6c757d;
    --border-color: #e8e2d9;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 4px 12px rgba(43, 24, 16, 0.05);
    --shadow-md: 0 8px 24px rgba(43, 24, 16, 0.1);
    --shadow-lg: 0 16px 36px rgba(43, 24, 16, 0.15);
}

body {
    font-family: var(--font-body);
    background-color: var(--cream-bg);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: var(--font-heading);
}

/* Top Announcement Bar */
.top-bar {
    background-color: var(--primary-espresso);
    color: #f1e6d4;
    font-size: 0.85rem;
    padding: 6px 0;
    letter-spacing: 0.5px;
}

.top-bar a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
}

/* Navigation Bar */
.navbar-treatway {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-espresso) !important;
}

.navbar-brand span {
    color: var(--primary-gold);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-gold) !important;
}

/* Hero Carousel */
.hero-swiper {
    width: 100%;
    height: 520px;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(43,24,16,0.85) 0%, rgba(43,24,16,0.4) 60%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 650px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    color: #f1e6d4;
    margin-bottom: 1.8rem;
}

/* Buttons */
.btn-treatway {
    background-color: var(--primary-gold);
    color: #ffffff;
    font-weight: 600;
    padding: 0.65rem 1.8rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(198, 146, 20, 0.3);
}

.btn-treatway:hover {
    background-color: var(--primary-gold-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 146, 20, 0.4);
}

.btn-outline-treatway {
    border: 2px solid var(--primary-espresso);
    color: var(--primary-espresso);
    font-weight: 600;
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-treatway:hover {
    background-color: var(--primary-espresso);
    color: #ffffff;
}

/* Category Filter Tabs */
.category-scroll-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-gold) transparent;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    margin-right: 10px;
    border-radius: 50px;
    background-color: #ffffff;
    border: 1.5px solid var(--border-color);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.category-pill i {
    color: var(--primary-gold);
}

.category-pill:hover, .category-pill.active {
    background-color: var(--primary-espresso);
    color: #ffffff;
    border-color: var(--primary-espresso);
    transform: translateY(-2px);
}

.category-pill.active i {
    color: var(--primary-gold);
}

/* Product Cards */
.product-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-img-wrapper {
    position: relative;
    height: 210px;
    overflow: hidden;
    background-color: #f5f0eb;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(43, 24, 16, 0.85);
    backdrop-filter: blur(4px);
    color: var(--primary-gold);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(198, 146, 20, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-espresso);
}

.product-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-espresso);
}

.btn-add-cart {
    background-color: var(--cream-bg);
    color: var(--primary-espresso);
    border: 1.5px solid var(--primary-espresso);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-add-cart:hover {
    background-color: var(--primary-espresso);
    color: #ffffff;
}

/* Feature Spotlight Sections */
.feature-section {
    padding: 70px 0;
}

.bg-warm-light {
    background-color: #f5eee6;
}

.feature-box {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--cream-bg);
    color: var(--primary-gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

/* Floating Cart Trigger */
.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: var(--primary-espresso);
    color: #ffffff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    border: 2px solid var(--primary-gold);
    transition: transform 0.3s ease;
}

.floating-cart-btn:hover {
    transform: scale(1.1);
}

.cart-badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--primary-gold);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-espresso);
}

/* Offcanvas Cart */
.offcanvas-cart {
    width: 400px !important;
    background-color: var(--cream-bg);
}

.cart-item-row {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
}

/* Leaflet Map */
#map {
    height: 380px;
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

/* Footer */
footer {
    background-color: var(--primary-espresso);
    color: #d1c5b4;
    padding: 70px 0 30px 0;
}

footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 20px;
}

footer a {
    color: #d1c5b4;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    margin-top: 50px;
    font-size: 0.85rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-swiper {
        height: 420px;
    }
    .offcanvas-cart {
        width: 100% !important;
    }
}
