/*
 * Bean Buddies - Domain-Specific Custom Styles
 * Styles with no Bootstrap equivalent
 */

/* ============== Hero Section ============== */
.hero-gradient {
    background: linear-gradient(135deg, #6F4E37 0%, #8B6F47 100%);
}

/* ============== Brew Method Badges ============== */
.brew-method {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.brew-method-espresso { background-color: #4A2C2A; color: #fff; }
.brew-method-pour_over { background-color: #8B6F47; color: #fff; }
.brew-method-french_press { background-color: #5D4E37; color: #fff; }
.brew-method-aeropress { background-color: #6B5B4F; color: #fff; }
.brew-method-moka_pot { background-color: #3E2723; color: #fff; }
.brew-method-cold_brew { background-color: #37474F; color: #fff; }

/* ============== Roast Level Badges ============== */
.roast-light { background-color: #E8D4A8 !important; color: #2C2C2C !important; }
.roast-medium_light { background-color: #D4B896 !important; color: #2C2C2C !important; }
.roast-medium { background-color: #B8956D !important; color: #fff !important; }
.roast-medium_dark { background-color: #8B6914 !important; color: #fff !important; }
.roast-dark { background-color: #4A2C2A !important; color: #fff !important; }

/* ============== Difficulty Badges ============== */
.difficulty-easy { background-color: #E8F5E9; color: #4CAF50; }
.difficulty-medium { background-color: #FFF3E0; color: #FF9800; }
.difficulty-hard { background-color: #FFEBEE; color: #F44336; }

/* ============== Equipment Type Badges ============== */
.badge-manual { background-color: #E8F5E9; color: #2E7D32; }
.badge-electric_conical { background-color: #E3F2FD; color: #1565C0; }
.badge-electric_flat { background-color: #F3E5F5; color: #7B1FA2; }
.badge-machine-espresso { background-color: #4A2C2A; color: #fff; }
.badge-machine-drip { background-color: #8B6F47; color: #fff; }
.badge-machine-manual { background-color: #5D4E37; color: #fff; }
.badge-machine-pod { background-color: #37474F; color: #fff; }

/* Bean roast level as equipment badge */
.badge-light { background-color: #E8D4A8; color: #2C2C2C; }
.badge-medium_light { background-color: #D4B896; color: #2C2C2C; }
.badge-medium { background-color: #B8956D; color: #fff; }
.badge-medium_dark { background-color: #8B6914; color: #fff; }
.badge-dark { background-color: #4A2C2A; color: #fff; }

/* ============== Price Range Badges ============== */
.price-budget { background-color: #E8F5E9; color: #2E7D32; }
.price-mid_range { background-color: #FFF3E0; color: #E65100; }
.price-premium { background-color: #F3E5F5; color: #7B1FA2; }

/* ============== Card Hover Effects ============== */
.recipe-card-hover,
.equipment-card-hover {
    transition: transform 0.2s, box-shadow 0.2s;
}

.recipe-card-hover:hover,
.equipment-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

/* ============== Parameter Cards ============== */
.param-card {
    background-color: #F8F8F8;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.param-card .param-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 0.25rem;
}

.param-card .param-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: #6F4E37;
}

/* ============== Bean Section Accent ============== */
.recipe-section.bean-accent {
    background-color: #FDF5E6;
    border-left: 4px solid #D4A574;
}

/* ============== Tips Section Accent ============== */
.recipe-section.tips-accent {
    background-color: #FFF9E6;
    border-left: 4px solid #FF9800;
}

/* ============== Spec Items ============== */
.spec-item {
    background: #F8F8F8;
    border-radius: 0.5rem;
    padding: 1rem;
}

.spec-item .spec-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 0.25rem;
}

.spec-item .spec-value {
    font-size: 1rem;
    font-weight: 500;
    color: #2C2C2C;
}

/* ============== Google OAuth Button ============== */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: #fff;
    color: #2C2C2C;
    border: 1px solid #E5D5C5;
    padding: 0.875rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.btn-google:hover {
    background-color: #F8F8F8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #2C2C2C;
}

.google-icon {
    flex-shrink: 0;
}

/* ============== Filter Buttons ============== */
.filter-btn.active {
    background-color: #6F4E37 !important;
    border-color: #6F4E37 !important;
    color: #fff !important;
}

/* ============== Custom Equipment Fields Toggle ============== */
.custom-equipment-fields {
    padding: 1rem;
    margin-top: 0.5rem;
    background: #F8F8F8;
    border-radius: 0.5rem;
    border: 1px solid #E5D5C5;
}

/* ============== Other Equipment Tags ============== */
.other-equipment-tags {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
}

.other-equipment-tags li {
    background-color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    border: 1px solid #E5D5C5;
}

/* ============== Recipe Sections ============== */
.recipe-section {
    background-color: #fff;
    border: 1px solid var(--coffee-border);
    border-radius: 0.625rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.recipe-section-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--coffee-primary);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--coffee-border);
}

/* ============== Recipe Card Image ============== */
.recipe-card-img {
    height: 200px;
    object-fit: cover;
    background-color: var(--coffee-border);
}

/* ============== Footer ============== */
footer {
    border-top: 1px solid #E5D5C5;
}

/* ============== Card Link (no underline) ============== */
.equipment-card-link {
    text-decoration: none;
    color: inherit;
}

.equipment-card-link:hover {
    color: inherit;
}
