/* style.min.css - US Flag Inspired Theme & Modern Timer */

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    color: #333; /* Dark gray for text */
    background-color: #f8f9fa; /* Very light gray background */
}

a {
    text-decoration: none;
    color: #002868; /* Dark Blue link */
}

a:hover {
    text-decoration: underline;
    color: #bf0a30; /* Red on hover */
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
.site-header {
    /* US Flag inspired gradient */
    background: linear-gradient(to right, #bf0a30 0%, #bf0a30 30%, #ffffff 30%, #ffffff 70%, #002868 70%, #002868 100%);
    color: #333; /* Dark text for contrast on white part */
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    /* Add padding to text area to avoid red/blue */
    padding-left: 30%;
    padding-right: 30%;
}

.site-header-inner {
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background for text */
    padding: 1rem;
    border-radius: 8px;
    display: inline-block;
    width: auto;
    max-width: 100%;
}

.site-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    color: #bf0a30; /* Red for main title */
}

.site-header p {
    font-size: 0.95rem;
    opacity: 0.9;
    color: #002868; /* Dark Blue for subtitle */
}

.breadcrumb {
    background-color: #e9ecef; /* Light gray */
    padding: 0.75rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    /* Use container for padding */
}

.breadcrumb li:not(:last-child)::after {
    content: " > ";
    margin: 0 0.5rem;
    color: #6c757d;
}

.breadcrumb a {
    color: #002868; /* Dark Blue link */
}

.breadcrumb a:hover {
    color: #bf0a30; /* Red on hover */
}

/* Main Content */
main {
    padding: 2rem 0;
}

section {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef; /* Light border */
}

h1, h2, h3 {
    margin-bottom: 0.75rem;
    color: #002868; /* Dark Blue headings */
}

h1 {
    font-size: 1.8rem;
}

h2 {
    font-size: 1.4rem;
    border-bottom: 2px solid #e9ecef; /* Light border under h2 */
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.15rem;
    margin-top: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* Holiday List (Homepage) */
.holiday-list {
    list-style: none;
    padding: 0;
}

.holiday-list li {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.holiday-list li:last-child {
    border-bottom: none;
}

.holiday-list li:hover {
    background-color: #f1f3f4; /* Light gray hover */
}

.holiday-list h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    border: none;
    padding: 0;
    color: #002868; /* Dark Blue */
}

.holiday-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #6c757d; /* Gray text */
}

.countdown {
    font-weight: 600;
    color: #002868; /* Dark Blue for countdown */
}

/* --- Modern Countdown Timer Styles --- */
.countdown-display {
    display: flex;
    justify-content: center;
    gap: 20px; /* Increased gap for better separation */
    margin: 2rem auto; /* Centered with vertical margin */
    max-width: 800px; /* Constrain width on large screens */
    padding: 0 10px; /* Add some padding */
}

.time-unit {
    /* Modern card-like appearance */
    background-color: #ffffff; /* White background */
    color: #002868; /* Dark Blue text */
    border: 2px solid #002868; /* Dark Blue border */
    border-radius: 12px; /* More rounded corners */
    min-width: 100px; /* Increased minimum width */
    padding: 20px 10px; /* More padding */
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Softer, more pronounced shadow */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Optional hover effect */
.time-unit:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Larger shadow on hover */
    border-color: #bf0a30; /* Red border on hover */
}

.time-unit span {
    display: block;
    font-size: 2.5rem; /* Larger number size */
    font-weight: 800; /* Bolder numbers */
    line-height: 1; /* Tighter line height */
    margin-bottom: 8px; /* Space between number and label */
}

.time-unit .label {
    display: block;
    font-size: 0.9rem; /* Slightly larger label */
    font-weight: 600; /* Semi-bold label */
    text-transform: uppercase;
    letter-spacing: 1px; /* Increased letter spacing */
    color: #6c757d; /* Gray color for labels */
    margin: 0; /* Remove default margin */
}

/* Sections (Holiday Info, FAQ, Related) */
.holiday-info p,
.faq-section article {
    margin-bottom: 1rem;
}

.faq-section article h3 {
    margin-top: 0;
    color: #212529; /* Darker gray for FAQ headings */
}

.related-holidays ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    list-style: none;
    padding: 0;
}

.related-holidays li a {
    display: block;
    padding: 0.75rem;
    background-color: #f8f9fa; /* Very light gray */
    border-radius: 6px;
    transition: all 0.2s ease;
    color: #002868; /* Dark Blue link */
    border: 1px solid #dee2e6; /* Light border */
}

.related-holidays li a:hover {
    background-color: #e9ecef; /* Light gray hover */
    border-color: #002868; /* Dark Blue border on hover */
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Adsense Placeholder */
.adsense {
    background-color: #fff3cd; /* Light yellow background */
    padding: 1rem;
    margin: 1.5rem 0;
    border: 1px dashed #ffc107; /* Yellow dashed border */
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    color: #856404; /* Dark yellow text */
}

/* SEO Keywords */
.seo-keywords {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #e9ecef; /* Light gray background */
    border-left: 3px solid #002868; /* Dark Blue left border */
    font-size: 0.8rem;
    color: #6c757d; /* Gray text */
}

/* Footer */
footer {
    background-color: #002868; /* Dark Blue footer */
    color: white; /* White text */
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    font-size: 0.9rem;
    border-top: 5px solid #bf0a30; /* Red top border */
}

footer a {
    color: #d1e0f0; /* Light blue link in footer */
}

footer a:hover {
    color: white; /* White on hover */
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header {
        padding-left: 20%;
        padding-right: 20%;
    }

    .site-header h1 {
        font-size: 1.5rem;
    }

    .breadcrumb,
    main {
        padding: 1rem 0;
    }

    section {
        padding: 1.25rem;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.25rem; }

    .holiday-meta {
        flex-direction: column;
        gap: 0.25rem;
    }

    /* --- Responsive Timer --- */
    .countdown-display {
        gap: 15px; /* Reduce gap */
        flex-wrap: wrap; /* Allow wrapping if needed */
    }

    .time-unit {
        min-width: 80px; /* Adjust minimum width */
        padding: 15px 8px; /* Adjust padding */
        border-radius: 10px; /* Slightly less rounded */
    }

    .time-unit span {
        font-size: 2rem; /* Adjust number size */
    }

    .time-unit .label {
        font-size: 0.8rem; /* Adjust label size */
    }

    .related-holidays ul {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.5rem;
    }

    .related-holidays li a {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .site-header {
        padding: 0.75rem 0;
        padding-left: 10%;
        padding-right: 10%;
    }

    .site-header-inner {
        padding: 0.75rem;
    }

    .site-header h1 {
        font-size: 1.3rem;
    }

    .site-header p {
        font-size: 0.85rem;
    }

    main {
        padding: 1rem 0;
    }

    section {
        padding: 1rem;
    }

    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.15rem; }

    /* --- Responsive Timer --- */
    .countdown-display {
        gap: 10px; /* Further reduce gap */
    }

    .time-unit {
        min-width: 70px; /* Further adjust minimum width */
        padding: 12px 6px; /* Further adjust padding */
    }

    .time-unit span {
        font-size: 1.75rem; /* Further adjust number size */
    }

    .time-unit .label {
        font-size: 0.75rem; /* Further adjust label size */
        letter-spacing: 0.5px; /* Reduce letter spacing */
    }

    .related-holidays ul {
        grid-template-columns: 1fr 1fr; /* Two columns on small screens */
    }
}
