/* KPE-108: Dishes Cards Design - Photo Support */
.dish-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 20, 147, 0.1);
}

.dish-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 20, 147, 0.2);
}

.dish-photo {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.dish-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dish-card:hover .dish-photo img {
    transform: scale(1.1);
}

.dish-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dish-card h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #FF1493;
    font-weight: 600;
}

.dish-korean-name {
    font-size: 0.85rem;
    color: #FFD700;
    font-family: 'Noto Sans KR', sans-serif;
}

.dish-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 20, 147, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #00BFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* KPE-109: Hero Slideshow Background */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #FF1493, #FFD700, #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% auto;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-tagline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* KPE-112: Category Card Photos */
.category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: scale(1.03);
}

.category-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.category-card:hover .category-photo {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
}

.category-content {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    color: white;
    width: 100%;
}

.category-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #FF1493;
}

.category-count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #FF1493;
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dish-photo {
        height: 140px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .category-card {
        min-height: 150px;
    }
}