/* Hero Section */
.hero-section {
    min-height: calc(100vh - 56px - 60px);
    background: linear-gradient(290deg, #198754 0%, #20c997 10%, #0d6efd 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: heroGlow 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-section p {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Wizard Card */
.wizard-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.wizard-card .card-header {
    border-radius: 0;
    padding: 1.25rem 1.5rem;
}

/* Meal Result Cards */
.meal-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.meal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.meal-image {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
}

.meal-image-placeholder {
    min-height: 250px;
    height: 100%;
}

/* Plan Cards */
.plan-card {
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid #dee2e6;
}

.plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.plan-card.selected {
    border-color: #198754 !important;
    box-shadow: 0 0 0 3px rgba(25,135,84,0.25);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Progress Bar */
.progress {
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.4s ease;
}

/* Form Controls */
.form-control-lg, .form-select-lg {
    border-radius: 10px;
}

.form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

/* Language Switcher */
.dropdown-menu {
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-item .fi {
    width: 20px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .meal-image {
        min-height: 200px;
    }

    .meal-image-placeholder {
        min-height: 150px;
    }
}

/* Footer */
footer {
    margin-top: auto;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    background-color: #2f4f4f;
}
