/* ========================================
   Broiling Coffee - Custom Brand Styles
======================================== */

/* ---- Brand Typography ---- */
.bc-brand-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.bc-brand-ko {
    font-family: 'Pretendard', -apple-system, sans-serif;
}

/* ---- Header Overrides ---- */
.fc-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 52, 40, 0.08);
}

/* Navigation list (horizontal menu) */
.fc-nav .fc-nav-list,
.fc-nav .menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--fc-spacing-xs, 8px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.fc-nav .fc-nav-list li,
.fc-nav .menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fc-nav .fc-nav-list li a,
.fc-nav .menu li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    font-weight: 500;
    color: var(--fc-primary, #4A3428);
    position: relative;
    white-space: nowrap;
}

.fc-nav .fc-nav-list li a::after,
.fc-nav .menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--fc-accent, #D4A574);
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.fc-nav .fc-nav-list li a:hover,
.fc-nav .menu li a:hover {
    color: var(--fc-accent-dark, #C49564);
}

.fc-nav .fc-nav-list li a:hover::after,
.fc-nav .menu li a:hover::after {
    width: 100%;
}

.fc-header.scrolled {
    box-shadow: 0 2px 20px rgba(74, 52, 40, 0.1);
}

.bc-logo-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--fc-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
}

.bc-logo-text small {
    display: block;
    font-size: 0.55rem;
    letter-spacing: 3px;
    color: var(--fc-gray);
    font-weight: 400;
    margin-top: 2px;
}

/* ---- Hero Section ---- */
.bc-hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--fc-primary-dark);
}

/* Slider slides */
.bc-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease, transform 8s ease;
    z-index: 0;
}

.bc-hero-slide.active {
    opacity: 0.6;
    z-index: 1;
}

.bc-hero:hover .bc-hero-slide.active {
    transform: scale(1.03);
}

/* Slider dots */
.bc-hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 5;
}

.bc-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.bc-hero-dot:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.3);
}

.bc-hero-dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

.bc-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        135deg,
        rgba(45, 31, 23, 0.85) 0%,
        rgba(74, 52, 40, 0.5) 50%,
        rgba(45, 31, 23, 0.7) 100%
    );
}

.bc-hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    color: #fff;
}

.bc-hero-label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--bc-gold);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.bc-hero-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.bc-hero-title em {
    font-style: normal;
    color: var(--bc-gold);
}

.bc-hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

.bc-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.bc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: var(--fc-radius-sm);
    text-decoration: none;
    transition: var(--fc-transition);
    cursor: pointer;
    border: none;
}

.bc-btn-primary {
    background: var(--bc-flame);
    color: #fff;
}

.bc-btn-primary:hover {
    background: var(--bc-flame-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(232, 93, 38, 0.3);
}

.bc-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.bc-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ---- Category Portal ---- */
.bc-portal-section {
    padding: var(--fc-spacing-xxl) 0;
    background: var(--fc-cream);
}

.bc-section-header {
    text-align: center;
    margin-bottom: var(--fc-spacing-xl);
}

.bc-section-label {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--bc-flame);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bc-section-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--fc-primary);
}

.bc-section-desc {
    margin-top: 0.75rem;
    font-size: 1rem;
    color: var(--fc-gray, #888);
    font-weight: 400;
}

.bc-portal-count {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--bc-flame, #E85D26);
    font-weight: 600;
}

.bc-portal-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.bc-portal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1.5rem;
    background: #fff;
    border-radius: var(--fc-radius-lg);
    text-decoration: none;
    color: var(--fc-primary);
    transition: var(--fc-transition);
    border: 1px solid transparent;
}

.bc-portal-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--fc-shadow-lg);
    border-color: var(--bc-gold);
}

.bc-portal-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--fc-radius-full);
    background: var(--fc-cream);
    margin-bottom: 1.2rem;
    transition: var(--fc-transition);
}

.bc-portal-item:hover .bc-portal-icon {
    background: var(--bc-flame);
    color: #fff;
}

.bc-portal-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.bc-portal-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.bc-portal-desc {
    font-size: 0.8rem;
    color: var(--fc-gray);
}

/* ---- Featured Vendors ---- */
.bc-vendors-section {
    padding: var(--fc-spacing-xxl) 0;
    background: #fff;
}

.bc-vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.bc-vendor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    background: var(--fc-cream);
    border-radius: var(--fc-radius-md);
    text-decoration: none;
    color: var(--fc-primary);
    transition: var(--fc-transition);
    text-align: center;
}

.bc-vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fc-shadow-md);
}

.bc-vendor-avatar {
    width: 64px;
    height: 64px;
    border-radius: var(--fc-radius-full);
    background: var(--fc-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bc-vendor-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.bc-vendor-desc {
    font-size: 0.8rem;
    color: var(--fc-gray);
}

/* ---- Featured Products ---- */
.bc-products-section {
    padding: var(--fc-spacing-xxl) 0;
    background: var(--fc-cream);
}

.bc-products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--fc-spacing-xl);
    flex-wrap: wrap;
    gap: 1rem;
}

.bc-tab-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bc-tab-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--fc-gray-light);
    background: #fff;
    color: var(--fc-gray-dark);
    border-radius: 100px;
    cursor: pointer;
    transition: var(--fc-transition-fast);
}

.bc-tab-btn:hover,
.bc-tab-btn.active {
    background: var(--fc-primary);
    color: #fff;
    border-color: var(--fc-primary);
}

/* ---- Brand Story Banner ---- */
.bc-story-section {
    padding: var(--fc-spacing-xxl) 0;
    background: var(--fc-primary-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.bc-story-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bc-story-label {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--bc-flame);
    font-weight: 600;
    margin-bottom: 1rem;
}

.bc-story-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.bc-story-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
}

.bc-story-image {
    border-radius: var(--fc-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.bc-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Service Bar ---- */
.bc-service-bar {
    padding: var(--fc-spacing-xl) 0;
    background: #fff;
    border-top: 1px solid var(--fc-gray-light);
}

.bc-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.bc-service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bc-service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--fc-radius-full);
    background: var(--fc-cream);
    color: var(--bc-flame);
    flex-shrink: 0;
}

.bc-service-icon svg {
    width: 22px;
    height: 22px;
}

.bc-service-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fc-primary);
    margin-bottom: 0.15rem;
}

.bc-service-desc {
    font-size: 0.78rem;
    color: var(--fc-gray);
}

/* ---- Footer Overrides ---- */
.bc-footer {
    background: var(--fc-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 4rem;
}

.bc-footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.bc-footer-brand-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.bc-footer-info {
    font-size: 0.85rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.5);
}

.bc-footer-links-group {
    display: flex;
    gap: 4rem;
    justify-content: flex-end;
}

.bc-footer-col h4 {
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.bc-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bc-footer-col li {
    margin-bottom: 0.6rem;
}

.bc-footer-col a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.bc-footer-col a:hover {
    color: var(--bc-gold);
}

.bc-footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.bc-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
    .bc-portal-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .bc-hero-title { font-size: 2.5rem; }
    .bc-story-inner { grid-template-columns: 1fr; gap: 2rem; }
    .bc-service-grid { grid-template-columns: repeat(2, 1fr); }
    .bc-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .bc-footer-links-group { justify-content: flex-start; }
}

@media (max-width: 768px) {
    .bc-hero { height: 70vh; min-height: 500px; }
    .bc-hero-title { font-size: 2rem; }
    .bc-hero-desc { font-size: 0.95rem; }
    .bc-portal-grid { grid-template-columns: repeat(2, 1fr); }
    .bc-products-header { flex-direction: column; align-items: flex-start; }
    .bc-footer-links-group { flex-wrap: wrap; gap: 2rem; }

    .fc-nav .fc-nav-list,
    .fc-nav .menu {
        flex-direction: column;
        gap: 0;
    }

    .fc-nav .fc-nav-list li a,
    .fc-nav .menu li a {
        padding: 12px 20px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .bc-hero { height: 60vh; min-height: 400px; }
    .bc-hero-title { font-size: 1.75rem; }
    .bc-portal-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .bc-portal-item { padding: 1.5rem 1rem; }
    .bc-service-grid { grid-template-columns: 1fr; }
    .bc-hero-buttons { flex-direction: column; }
    .bc-btn { width: 100%; justify-content: center; }
    .bc-hero-dots { bottom: 1rem; }
    .bc-hero-dot { width: 10px; height: 10px; }
}
