/*
Theme Name: Addicted Coffee Bar
Description: A professional WordPress directory theme for coffee roasters, inspired by organic design principles
Version: 1.0.0
Author: Claude Code
*/

/* ============================================
   CUSTOM PROPERTIES - ORGANIC COLOR PALETTE
   ============================================ */

:root {
    /* Primary Colors - Rich, earthy tones */
    --charcoal-deep: #2C1810;
    --charcoal-medium: #3D2818;
    --cream-warm: #F7F3E9;
    --cream-soft: #F2EFE4;
    
    /* Accent Colors - Avoiding cliché coffee browns */
    --earth-amber: #D4A574;
    --earth-rust: #B85450;
    --earth-sage: #8A9A5B;
    --earth-clay: #C89B7B;
    
    /* Neutral Spectrum */
    --stone-light: #E8E2D5;
    --stone-medium: #D0C7B8;
    --stone-dark: #A39081;
    --paper-white: #FEFCF7;
    
    /* Interactive Colors */
    --interactive-primary: #B85450;
    --interactive-secondary: #8A9A5B;
    --interactive-accent: #D4A574;
    
    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Shadows - Organic, soft */
    --shadow-soft: 0 4px 20px rgba(44, 24, 16, 0.1);
    --shadow-medium: 0 8px 30px rgba(44, 24, 16, 0.15);
    --shadow-strong: 0 15px 40px rgba(44, 24, 16, 0.2);
    
    /* Border Radius - Organic curves */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--charcoal-deep);
    background: var(--paper-white);
    overflow-x: hidden;
    position: relative;
}

/* Add subtle paper texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"/></filter></defs><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.03"/></svg>');
    pointer-events: none;
    z-index: -1;
}

/* Typography - Handcrafted feel */
.title-handwritten {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    color: var(--earth-rust);
    display: block;
    font-size: var(--text-3xl);
    transform: rotate(-2deg);
    margin-bottom: -0.5rem;
}

.title-main {
    font-family: 'Crimson Pro', serif;
    font-weight: 600;
    color: var(--charcoal-deep);
    line-height: 1.2;
}

.title-accent {
    font-family: 'Caveat', cursive;
    color: var(--earth-amber);
    font-weight: 700;
    margin-right: var(--space-sm);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(247, 243, 233, 0.95);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--stone-light);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(247, 243, 233, 0.98);
    box-shadow: var(--shadow-soft);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Crimson Pro', serif;
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--charcoal-deep);
    line-height: 1;
}

.logo-sub {
    font-family: 'Caveat', cursive;
    font-size: var(--text-sm);
    color: var(--earth-rust);
    transform: rotate(-1deg);
    margin-top: -0.2rem;
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
}

.primary-menu a {
    text-decoration: none;
    color: var(--charcoal-medium);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--earth-rust);
    transition: width 0.3s ease;
}

.primary-menu a:hover {
    color: var(--earth-rust);
}

.primary-menu a:hover::after {
    width: 100%;
}

/* Submit Button Special Styling */
.submit-button-nav {
    margin-left: var(--space-md);
}

.submit-button {
    background: linear-gradient(135deg, var(--earth-rust) 0%, var(--earth-clay) 100%) !important;
    color: var(--paper-white) !important;
    padding: var(--space-sm) var(--space-lg) !important;
    border-radius: var(--radius-md);
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent;
    box-shadow: 0 2px 4px rgba(184, 84, 80, 0.2);
}

.submit-button::after {
    display: none !important;
}

.submit-button:hover {
    background: linear-gradient(135deg, var(--earth-clay) 0%, var(--earth-rust) 100%) !important;
    color: var(--paper-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(184, 84, 80, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--charcoal-deep);
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    height: 100vh;
    min-height: 800px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--stone-light) 0%, var(--cream-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(135deg, 
        rgba(44, 24, 16, 0.1) 0%, 
        rgba(139, 154, 91, 0.1) 50%,
        rgba(212, 165, 116, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    padding: 0 var(--space-xl);
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease-out forwards;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Crimson Pro', serif;
    font-size: var(--text-5xl);
    font-weight: 600;
    margin-bottom: var(--space-xl);
    line-height: 1.1;
    color: var(--charcoal-deep);
}

.hero-subtitle {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2xl);
    color: var(--charcoal-medium);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: var(--space-lg) var(--space-2xl);
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--earth-rust) 0%, var(--earth-clay) 100%);
    color: var(--paper-white);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: var(--paper-white);
    color: var(--charcoal-deep);
    border: 2px solid var(--earth-sage);
    box-shadow: var(--shadow-soft);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary:hover {
    box-shadow: 0 12px 35px rgba(184, 84, 80, 0.3);
}

.btn-secondary:hover {
    background: var(--earth-sage);
    color: var(--paper-white);
}

/* ============================================
   SEARCH SECTION
   ============================================ */

.search-section {
    padding: var(--space-3xl) 0;
    background: var(--cream-soft);
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    text-align: center;
}

.section-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-2xl);
    line-height: 1.2;
}

.search-form {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.search-dropdown {
    padding: var(--space-lg);
    border: 2px solid var(--stone-medium);
    border-radius: var(--radius-md);
    background: var(--paper-white);
    color: var(--charcoal-deep);
    font-size: var(--text-base);
    min-width: 200px;
}

.search-dropdown:focus {
    outline: none;
    border-color: var(--earth-rust);
}

/* ============================================
   CARD LAYOUTS
   ============================================ */

.cards-grid {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.cards-grid.four-cols {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cards-grid.three-cols {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.cards-grid.two-cols {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.roaster-card, .region-card {
    background: var(--paper-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.roaster-card.animate-in, .region-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.roaster-card:hover, .region-card:hover {
    transform: translateY(-8px) rotate(0.5deg);
    box-shadow: var(--shadow-strong);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.roaster-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(44, 24, 16, 0.3) 0%, 
        transparent 40%, 
        transparent 60%, 
        rgba(44, 24, 16, 0.7) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: var(--space-lg);
    color: var(--paper-white);
}

.card-location {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    font-weight: 500;
}

.card-rating {
    text-align: right;
}

.rating-stars {
    color: #FFD700;
    font-size: var(--text-sm);
    margin-bottom: var(--space-xs);
}

.rating-count {
    font-size: var(--text-xs);
    opacity: 0.9;
}

.card-content {
    padding: var(--space-xl);
}

.card-title {
    font-family: 'Crimson Pro', serif;
    font-size: var(--text-2xl);
    color: var(--charcoal-deep);
    margin-bottom: var(--space-sm);
    font-weight: 600;
    line-height: 1.2;
}

.card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--earth-rust);
}

.card-tagline {
    font-family: 'Caveat', cursive;
    font-size: var(--text-lg);
    color: var(--earth-rust);
    margin-bottom: var(--space-lg);
    transform: rotate(-1deg);
}

.card-excerpt {
    color: var(--charcoal-medium);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.feature-tag {
    background: var(--stone-light);
    color: var(--charcoal-deep);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-xl);
    font-size: var(--text-xs);
    font-weight: 500;
    border: 1px solid var(--stone-medium);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: var(--earth-amber);
    color: var(--paper-white);
    transform: scale(1.05);
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--charcoal-medium);
}

.detail-item i {
    color: var(--earth-rust);
    width: 16px;
}

.detail-item a {
    color: var(--earth-rust);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.detail-item a:hover {
    color: var(--earth-clay);
}

/* ============================================
   SINGLE POST LAYOUT
   ============================================ */

.single-roaster {
    padding: var(--space-3xl) 0;
    background: var(--paper-white);
    margin-top: var(--space-lg);
}

.single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.roaster-header {
    margin-bottom: var(--space-3xl);
}

.roaster-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-lg);
    color: var(--charcoal-deep);
}

.roaster-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-2xl);
}

.roaster-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.roaster-main {
    background: var(--cream-soft);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
}

.roaster-sidebar {
    background: var(--paper-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    height: fit-content;
}

.roaster-section {
    margin-bottom: var(--space-2xl);
}

.roaster-section:last-child {
    margin-bottom: 0;
}

.roaster-section h3 {
    font-family: 'Crimson Pro', serif;
    font-size: var(--text-xl);
    color: var(--charcoal-deep);
    margin-bottom: var(--space-lg);
    border-bottom: 2px solid var(--earth-rust);
    padding-bottom: var(--space-sm);
}

.attributes-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.attribute-tag {
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: 500;
}

.attribute-tag.available {
    background: var(--earth-sage);
    color: var(--paper-white);
}

.attribute-tag.unavailable {
    background: var(--stone-medium);
    color: var(--charcoal-medium);
}

.attributes-section {
    margin-bottom: var(--space-xl);
}

.attributes-heading {
    font-size: var(--text-lg);
    color: var(--charcoal-deep);
    margin-bottom: var(--space-md);
    font-weight: 600;
    border-bottom: 2px solid var(--stone-light);
    padding-bottom: var(--space-sm);
}

.attribute-category {
    margin-bottom: var(--space-lg);
}

.category-name {
    display: block;
    color: var(--earth-rust);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    font-size: var(--text-base);
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.topic-tag {
    display: inline-block;
    background: var(--earth-amber);
    color: var(--paper-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    margin: 0 var(--space-xs) var(--space-xs) 0;
}

/* ============================================
   ENHANCED BREADCRUMBS
   ============================================ */

.breadcrumbs-wrapper {
    background: linear-gradient(135deg, var(--cream-soft) 0%, var(--stone-light) 100%);
    border-bottom: 1px solid var(--stone-medium);
    margin-top: 0;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    z-index: 998;
}

.breadcrumbs-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><defs><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"/></filter></defs><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.02"/></svg>');
    pointer-events: none;
}

.breadcrumbs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    position: relative;
    z-index: 1;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: var(--space-lg) 0;
    font-size: var(--text-sm);
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    position: relative;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    color: var(--charcoal-medium);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
}

.breadcrumb-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--earth-rust) 0%, var(--earth-clay) 100%);
    border-radius: var(--radius-sm);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.breadcrumb-link:hover::before {
    opacity: 0.1;
    transform: scale(1);
}

.breadcrumb-link:hover {
    color: var(--earth-rust);
    transform: translateY(-1px);
}

.breadcrumb-link span {
    position: relative;
    z-index: 1;
}

.home-crumb .breadcrumb-link {
    background: var(--paper-white);
    border: 1px solid var(--stone-medium);
    box-shadow: var(--shadow-soft);
    color: var(--earth-rust);
    font-weight: 600;
}

.home-crumb .breadcrumb-link:hover {
    border-color: var(--earth-rust);
    box-shadow: 0 4px 15px rgba(184, 84, 80, 0.2);
    transform: translateY(-2px);
}

.home-crumb .breadcrumb-link i {
    font-size: var(--text-sm);
    color: var(--earth-rust);
}

.breadcrumb-separator {
    color: var(--stone-dark);
    font-size: var(--text-xs);
    margin: 0 var(--space-sm);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.breadcrumb-item:hover + .breadcrumb-item .breadcrumb-separator,
.breadcrumb-item:hover .breadcrumb-separator {
    color: var(--earth-rust);
    opacity: 1;
    transform: scale(1.1);
}

.breadcrumb-item.current {
    color: var(--charcoal-deep);
    font-weight: 600;
    background: var(--paper-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    border: 2px solid var(--earth-amber);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.breadcrumb-item.current::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--earth-amber) 0%, var(--earth-rust) 100%);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.1;
}

.breadcrumb-item.current span {
    color: var(--charcoal-deep);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .breadcrumbs-container {
        padding: 0 var(--space-lg);
    }
    
    .breadcrumbs {
        padding: var(--space-md) 0;
        font-size: var(--text-xs);
        gap: var(--space-xs);
    }
    
    .breadcrumb-link {
        padding: var(--space-xs);
        gap: 2px;
    }
    
    .breadcrumb-link span {
        display: none;
    }
    
    .home-crumb .breadcrumb-link span {
        display: inline;
    }
    
    .breadcrumb-separator {
        margin: 0 var(--space-xs);
    }
    
    .breadcrumb-item.current {
        padding: var(--space-xs) var(--space-sm);
        font-size: var(--text-xs);
    }
}

@media (max-width: 480px) {
    .breadcrumbs {
        padding: var(--space-sm) 0;
    }
    
    .breadcrumb-item.current span {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--charcoal-deep);
    color: var(--cream-warm);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--charcoal-medium);
}

.footer-section h4 {
    font-family: 'Crimson Pro', serif;
    font-size: var(--text-lg);
    color: var(--earth-amber);
    margin-bottom: var(--space-lg);
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: var(--stone-medium);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: var(--text-sm);
    font-weight: 400;
}

.footer-section a:hover {
    color: var(--earth-amber);
}

.footer-info p {
    color: var(--stone-medium);
    line-height: 1.6;
    font-size: var(--text-sm);
    margin: 0;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--stone-medium);
    font-size: var(--text-sm);
    margin: 0;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--earth-rust);
    color: var(--paper-white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: var(--earth-clay);
    transform: translateY(-2px);
}

/* ============================================
   MAP STYLES
   ============================================ */

.coffee-marker {
    position: relative;
}

.marker-bean {
    width: 20px;
    height: 14px;
    border-radius: 50%;
    position: relative;
    border: 2px solid white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.marker-bean .bean-split {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 10px;
    background: white;
    transform: translate(-50%, -50%);
    border-radius: 1px;
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
    opacity: 0.6;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.leaflet-popup-content-wrapper {
    background: var(--paper-white) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-medium) !important;
    border: 1px solid var(--stone-light) !important;
}

.popup-content {
    padding: var(--space-md);
    font-family: 'Inter', sans-serif;
}

.popup-title {
    font-family: 'Crimson Pro', serif;
    font-size: var(--text-lg);
    color: var(--charcoal-deep);
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.popup-location {
    color: var(--earth-rust);
    font-size: var(--text-sm);
    margin-bottom: var(--space-sm);
}

.popup-rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.popup-stars {
    color: #FFD700;
    font-size: var(--text-sm);
}

.popup-reviews {
    color: var(--stone-dark);
    font-size: var(--text-xs);
}

.popup-description {
    color: var(--charcoal-medium);
    font-size: var(--text-sm);
    line-height: 1.4;
    margin-bottom: var(--space-md);
}

.popup-btn {
    background: linear-gradient(135deg, var(--earth-rust) 0%, var(--earth-clay) 100%);
    color: var(--paper-white);
    border: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.popup-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 84, 80, 0.3);
    color: var(--paper-white);
}

.interactive-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-legend {
    position: absolute;
    bottom: var(--space-xl);
    left: var(--space-xl);
    background: rgba(247, 243, 233, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    z-index: 3;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--charcoal-medium);
}

.legend-item:last-child {
    margin-bottom: 0;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.artisan {
    background: var(--earth-rust);
}

.legend-dot.specialty {
    background: var(--earth-sage);
}

.legend-dot.farm {
    background: var(--earth-amber);
}

/* ============================================
   CTA SECTIONS - SUBMIT ROASTER BUTTONS
   ============================================ */

.end-content-cta,
.post-visit-cta {
    background: linear-gradient(135deg, var(--earth-rust) 0%, var(--earth-clay) 100%);
    padding: var(--space-3xl) 0;
    margin: var(--space-3xl) 0 0;
    position: relative;
    overflow: hidden;
}

.end-content-cta::before,
.post-visit-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"/></filter></defs><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.1"/></svg>');
    pointer-events: none;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
    color: var(--paper-white);
}

.cta-content i {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-lg);
    display: block;
    opacity: 0.9;
}

.cta-content h3 {
    font-family: 'Crimson Pro', serif;
    font-size: var(--text-3xl);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.cta-content p {
    font-size: var(--text-lg);
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content .btn {
    font-size: var(--text-lg);
    padding: var(--space-xl) var(--space-3xl);
    background: var(--paper-white);
    color: var(--earth-rust);
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-content .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-content .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: var(--earth-rust);
}

.cta-content .btn:hover::before {
    left: 100%;
}

.cta-content .btn i {
    font-size: var(--text-xl);
    margin: 0;
}

.empty-state-cta {
    margin-top: var(--space-xl);
    padding: var(--space-xl);
    background: rgba(184, 84, 80, 0.1);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--earth-rust);
}

.empty-state-cta p {
    color: var(--charcoal-deep);
    font-size: var(--text-base);
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.empty-state-cta .btn {
    background: linear-gradient(135deg, var(--earth-rust) 0%, var(--earth-clay) 100%);
    color: var(--paper-white);
}

.no-results-cta {
    margin-top: var(--space-xl);
    padding: var(--space-xl);
    background: var(--stone-light);
    border-radius: var(--radius-md);
    border: 2px solid var(--stone-medium);
}

.no-results-cta p {
    color: var(--charcoal-deep);
    font-size: var(--text-base);
    margin-bottom: var(--space-lg);
    font-weight: 600;
}

.no-results-cta .btn {
    background: linear-gradient(135deg, var(--earth-rust) 0%, var(--earth-clay) 100%);
    color: var(--paper-white);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all 0.3s ease;
}

.no-results-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 84, 80, 0.4);
}

@media (max-width: 768px) {
    .cta-content h3 {
        font-size: var(--text-2xl);
    }
    
    .cta-content p {
        font-size: var(--text-base);
    }
    
    .cta-content .btn {
        font-size: var(--text-base);
        padding: var(--space-lg) var(--space-2xl);
    }
    
    .end-content-cta,
    .post-visit-cta {
        padding: var(--space-2xl) 0;
    }
}

@media (max-width: 480px) {
    .cta-content h3 {
        font-size: var(--text-xl);
    }
    
    .cta-content .btn {
        padding: var(--space-md) var(--space-xl);
        gap: var(--space-sm);
    }
    
    .cta-content .btn i {
        font-size: var(--text-lg);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .roaster-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-info {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .primary-menu {
        gap: var(--space-lg);
        display: none;
    }
    
    .primary-menu.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper-white);
        padding: var(--space-lg);
        box-shadow: var(--shadow-medium);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-lg);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .search-form {
        flex-direction: column;
        align-items: center;
    }
    
    .cards-grid.four-cols,
    .cards-grid.three-cols {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .footer-info {
        grid-column: auto;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .card-content {
        padding: var(--space-lg);
    }
    
    .roaster-main,
    .roaster-sidebar {
        padding: var(--space-lg);
    }
}