/* Hunk of the Month - Custom Styles */

:root {
    --primary-color: #0066cc;
    --secondary-color: #28a745;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --light-gray: #f8f9fa;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
}

.min-vh-75 {
    min-height: 75vh;
}

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

.hero-section .btn-primary {
    background: white;
    color: #667eea;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.hero-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Calendar Mockup */
.calendar-mockup {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.calendar-preview-box {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #667eea;
    transition: transform 0.2s;
}

.calendar-preview-box:hover {
    transform: scale(1.05);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: #dee2e6;
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #444444;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
}

.step.active .step-number {
    background: linear-gradient(180deg, #F48D41 0%, #F827A8 100%);
    color: white;
    box-shadow: 0 0 0 4px rgba(248, 39, 168, 0.2);
}

.step.completed .step-number {
    background: #444444;
    color: white;
}

.step-label {
    font-size: 14px;
    color: #444444;
}

.step.active .step-label {
    background: linear-gradient(180deg, #F48D41 0%, #F827A8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Upload Page */
.upload-thumbnail-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.upload-thumbnail-card:hover {
    transform: scale(1.05);
}

.upload-thumbnail-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.upload-thumbnail-card .delete-image-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.upload-thumbnail-card:hover .delete-image-btn {
    opacity: 1;
}

/* Calendar Month Cards */
.calendar-month-card {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.calendar-month-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.month-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    text-align: center;
}

.month-image-container {
    padding: 15px;
    background: white;
}

.month-image-container img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.month-prompt {
    padding: 15px;
    background: #f8f9fa;
    min-height: 60px;
}

/* Generation Animation */
.generating-animation {
    animation: pulse 2s ease-in-out infinite;
}

.rotating {
    animation: rotate 2s linear infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Month Status Badges */
.month-status-badge {
    padding: 10px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    text-align: center;
}

/* Timeline */
.timeline {
    max-width: 500px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-left: 30px;
}

.timeline-item i {
    font-size: 24px;
    margin-right: 15px;
    margin-left: -30px;
}

/* How It Works Section */
.how-it-works-section .step-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Features Section */
.features-section {
    background: linear-gradient(to bottom, white, #f8f9fa);
}

/* Cards */
.card {
    border: none;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 18px;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

textarea.form-control {
    resize: vertical;
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
}

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

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

    .progress-steps {
        flex-wrap: wrap;
    }

    .step {
        flex-basis: 50%;
        margin-bottom: 20px;
    }

    .progress-steps::before {
        display: none;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Icon */
.success-icon {
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Loading Spinner */
.spinner-border-lg {
    width: 3rem;
    height: 3rem;
}
