/**
 * Sweets Website
 * =============================================================
 * File: assets/css/sections/countdown-timer.css
 * Description: Premium styles for the Festival Countdown Timer
 * =============================================================
 */

.c-countdown {
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
}

.c-countdown__title {
    font-family: var(--ff-heading, 'Quando', serif);
    color: var(--color-maroon, #7b1d1d);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.c-countdown__timer {
    display: inline-flex;
    gap: 0.5rem;
    background: #FFF8E7; /* Light amber/cream background from screenshot */
    padding: 0.75rem 1.5rem;
    border-radius: 4px; /* Slightly rounded as per screenshot */
    border: 1px solid rgba(214, 122, 24, 0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.c-timer-block {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0 0.5rem;
}

.c-timer-block:not(:last-child) {
    border-right: 1px solid rgba(123, 29, 29, 0.1);
}

.c-timer-block__value {
    font-family: var(--ff-body, 'Inter', sans-serif);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--color-maroon, #7b1d1d);
}

.c-timer-block__label {
    font-family: var(--ff-body, 'Inter', sans-serif);
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-maroon, #7b1d1d);
    text-transform: uppercase;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .c-countdown__title {
        font-size: 1.75rem;
    }
    
    .c-countdown__timer {
        padding: 0.5rem 1rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .c-timer-block__value {
        font-size: 1.25rem;
    }
    
    .c-timer-block__label {
        font-size: 0.75rem;
    }
}

@media (max-width: 400px) {
    .c-countdown__timer {
        gap: 0.25rem;
        padding: 0.5rem;
    }
    
    .c-timer-block {
        padding: 0 0.25rem;
    }
    
    .c-timer-block__value {
        font-size: 1.1rem;
    }
}
