/* ==============================================================================
   SIDEWAY BREW 82 - CORE DESIGN SYSTEM & PUBLIC WEBSITE STYLES
   Artisanal Specialty Coffee Aesthetic
   ============================================================================== */

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

:root {
    /* Color Palette */
    --color-cream-light: #FDFBF7;
    --color-cream: #F6F1EA;
    --color-cream-dark: #EADFD3;
    
    --color-espresso-dark: #201610;
    --color-espresso: #38261C;
    --color-espresso-medium: #543B2B;
    --color-roast-caramel: #8C5E3C;
    --color-roast-amber: #B87B4E;
    
    --color-sage-accent: #65775B;
    --color-sage-light: #EBF0E8;
    --color-sage-dark: #47543F;

    --color-text-main: #211B17;
    --color-text-muted: #695F57;
    --color-text-light: #948B83;
    --color-border: #E5DACF;

    /* Typography */
    --font-serif: 'Fraunces', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Transitions & Shadows */
    --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-subtle: 0 4px 20px rgba(56, 38, 28, 0.05);
    --shadow-card: 0 10px 30px rgba(56, 38, 28, 0.08);
    --shadow-hover: 0 16px 40px rgba(56, 38, 28, 0.12);
}

/* Base resets & typography */
body {
    background-color: var(--color-cream-light);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-espresso-dark);
}

a {
    color: var(--color-roast-caramel);
    text-decoration: none;
    transition: var(--transition-smooth);
}
a:hover {
    color: var(--color-espresso);
}

/* ==============================================================================
   NAVIGATION BAR
   ============================================================================== */
.navbar-coffee {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    padding: 1.1rem 0;
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: var(--transition-smooth);
}

.brand-mark {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.45rem;
    color: var(--color-espresso-dark) !important;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    letter-spacing: -0.01em;
}

.brand-badge {
    background: var(--color-roast-caramel);
    color: #fff;
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.nav-link-coffee {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-muted) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.nav-link-coffee:hover, .nav-link-coffee.active {
    color: var(--color-espresso-dark) !important;
    background-color: var(--color-cream);
}

.btn-coffee-primary {
    background-color: var(--color-espresso);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.65rem 1.4rem;
    border-radius: 30px;
    border: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-coffee-primary:hover {
    background-color: var(--color-espresso-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(32, 22, 16, 0.2);
}

.btn-coffee-outline {
    background-color: transparent;
    color: var(--color-espresso) !important;
    border: 1.5px solid var(--color-espresso);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.6rem 1.3rem;
    border-radius: 30px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-coffee-outline:hover {
    background-color: var(--color-espresso);
    color: #fff !important;
    transform: translateY(-2px);
}

/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.hero-coffee {
    padding: 5rem 0 4.5rem;
    background: linear-gradient(180deg, var(--color-cream-light) 0%, var(--color-cream) 100%);
    position: relative;
    overflow: hidden;
}

.hero-subtitle {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-sage-accent);
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 1.4rem;
    color: var(--color-espresso-dark);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 540px;
    margin-bottom: 2.2rem;
}

.hero-media-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.hero-media-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-media-card:hover img {
    transform: scale(1.03);
}

.hero-floating-pill {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(253, 251, 247, 0.94);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.3rem;
    border-radius: 16px;
    border: 1px solid rgba(229, 218, 207, 0.6);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* ==============================================================================
   FEATURE CARDS & HIGHLIGHTS
   ============================================================================== */
.coffee-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.coffee-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-roast-amber);
}

.coffee-card-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: var(--color-cream);
}

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

.coffee-card:hover .coffee-card-img-wrap img {
    transform: scale(1.05);
}

.coffee-card-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.coffee-card-category {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-sage-accent);
    margin-bottom: 0.4rem;
}

.coffee-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.coffee-card-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.coffee-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--color-cream);
    padding-top: 1rem;
    margin-top: auto;
}

.coffee-card-price {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-espresso-dark);
}

/* ==============================================================================
   HOURS & LOCATION BANNER
   ============================================================================== */
.hours-banner {
    background-color: var(--color-espresso);
    color: var(--color-cream);
    border-radius: 24px;
    padding: 3.5rem;
    margin: 4rem 0;
    box-shadow: var(--shadow-card);
}

.hours-banner h2 {
    color: #fff;
}

.hours-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.2rem 1.6rem;
    text-align: center;
}

/* ==============================================================================
   FOOTER
   ============================================================================== */
.footer-coffee {
    background-color: var(--color-espresso-dark);
    color: var(--color-cream-dark);
    padding: 4.5rem 0 2rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-coffee h5 {
    color: #fff;
    font-family: var(--font-serif);
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
}

.footer-coffee a {
    color: var(--color-cream-dark);
    opacity: 0.8;
}

.footer-coffee a:hover {
    color: #fff;
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.8rem;
    margin-top: 3.5rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-media-card img {
        height: 360px;
    }
    .hours-banner {
        padding: 2rem 1.5rem;
    }
}
