/* ========================================
   Calendar Page Specific Styles
   ======================================== */

/* ========================================
   Calendar Hero
   ======================================== */
.calendar-hero {
    background: var(--gradient-primary);
    padding: 3rem 1rem;
    color: var(--warm-white);
    position: relative;
    overflow: hidden;
}

.calendar-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

/* ========================================
   Current Week Section
   ======================================== */
.current-week-section {
    padding: 3rem 1rem;
    background: var(--warm-white);
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.current-week-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(139, 21, 56, 0.15);
    border: 3px solid var(--primary-color);
    text-align: center;
}

.week-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.current-week-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.current-week-desc {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.week-tips {
    margin-bottom: 2rem;
}

.tip-card {
    background: var(--soft-cream);
    padding: 1.5rem;
    border-radius: 12px;
    height: 100%;
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.tip-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.tip-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin: 0;
}

.btn-week-view {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(139, 21, 56, 0.3);
}

.btn-week-view:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 21, 56, 0.4);
    color: white;
}

/* ========================================
   Monthly Overview
   ======================================== */
.monthly-overview {
    padding: 4rem 1rem;
    background: linear-gradient(to bottom, var(--warm-white), var(--soft-cream));
}

.month-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.month-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px var(--shadow-sm);
}

.month-icon {
    font-size: 4rem;
    line-height: 1;
}

.month-info {
    flex: 1;
}

.month-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.month-tagline {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin: 0;
}

/* ========================================
   Weeks Grid
   ======================================== */
.weeks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.week-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.week-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px var(--shadow-md);
}

.week-card.featured {
    border-left-color: var(--accent-gold);
    background: linear-gradient(135deg, #FFF8E1 0%, white 100%);
    border: 2px solid var(--accent-gold);
}

.week-card.urgent {
    border-left-color: var(--primary-red);
    background: linear-gradient(135deg, #FFF0F0 0%, white 100%);
    border: 2px solid var(--primary-red);
}

.week-number {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.week-card.featured .week-number {
    background: var(--accent-gold);
    color: var(--text-dark);
}

.week-card.urgent .week-number {
    background: var(--primary-red);
    animation: urgent-pulse 2s ease-in-out infinite;
}

@keyframes urgent-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.week-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.week-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.week-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    color: var(--text-medium);
    position: relative;
    line-height: 1.5;
}

.week-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.week-card.featured .week-list li::before {
    content: '⚡';
}

.week-card.urgent .week-list li::before {
    content: '⏰';
}

/* ========================================
   Category Tags
   ======================================== */
.week-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: var(--soft-cream);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category-tag.hot {
    background: var(--accent-gold);
    color: white;
    animation: shimmer 2s ease-in-out infinite;
}

.category-tag.urgent {
    background: var(--primary-red);
    color: white;
    animation: urgent-pulse 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* ========================================
   Quick Tips Section
   ======================================== */
.quick-tips-section {
    padding: 4rem 1rem;
    background: var(--warm-white);
}

.tip-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px var(--shadow-sm);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.tip-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px var(--shadow-md);
}

.tip-box-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tip-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.tip-box p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .current-week-title {
        font-size: 2.5rem;
    }

    .month-name {
        font-size: 2.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .calendar-hero {
        padding: 4rem 1rem;
    }

    .current-week-card {
        padding: 4rem 3rem;
    }

    .weeks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .calendar-hero {
        padding: 5rem 1rem;
    }

    .current-week-title {
        font-size: 3rem;
    }

    .month-header {
        padding: 2.5rem 3rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .weeks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
