/* christmas-theme.css - Fully Updated Red & White Christmas Theme */

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(#fff0f0, #ffe6e6);
    color: #330000; /* dark red for readability */
}

header {
    padding: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #ff0000;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #ff0000;
}

.nav a {
    color: #ff0000;
    margin: 0 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.nav a:hover, .nav a.active {
    text-decoration: underline;
    color: #990000;
}

.section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: auto;
}

h1, h2, h3 {
    color: #ff0000;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px #fff;
}

p, ul, li {
    color: #330000; /* dark red text for readability */
    line-height: 1.6;
}

ul {
    list-style: none;
    padding-left: 0;
}

.grid {
    display: grid;
    gap: 20px;
}

.gifts-grid .grid {
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
}
.wallpapers-grid .grid {
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
}
.gift-box, .wall-box {
    background: #ffeded;
    color: #990000;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}
.gift-box:hover, .wall-box:hover {
    transform: scale(1.05);
}
.wall-box img {
    width: 100%;
    border-radius: 10px;
}

.adsense-top, .adsense-middle, .adsense-bottom {
    margin: 25px auto;
    max-width: 90%;
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
    font-weight: 600;
}

footer {
    text-align: center;
    padding: 25px;
    background: #ff0000;
    color: #ffffff;
    font-weight: 600;
    margin-top: 30px;
}

@media (max-width: 600px) {
    .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .section {
        padding: 25px 15px;
    }
}

/* Countdown Section */
.countdown-section {
    text-align: center;
    padding: 50px 20px;
    background: #ffffff;
    border: 3px solid #ff0000;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(255,0,0,0.3);
    margin-bottom: 40px;
}
.countdown-section h2 {
    font-size: 3rem;
    color: #ff0000;
    margin-bottom: 30px;
    font-weight: 800;
    text-shadow: 1px 1px 2px #fff;
}
.countdown-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.time-box {
    background: #ff0000;
    color: #ffffff;
    padding: 25px 20px;
    border-radius: 15px;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.time-box span {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #ffe6e6;
}

.btn-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #ff0000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-link:hover {
    background: #cc0000;
}

/* Advent Calendar Boxes */
.grid {
    width: 95%;
    max-width: 900px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding: 20px 0;
}

.box {
    background: #ffeded;      /* light red for Christmas theme */
    color: #b30000;           /* dark red text */
    padding: 0;               /* remove top/bottom padding */
    border-radius: 12px;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    user-select: none;

    display: flex;            /* use flexbox to center content */
    align-items: center;      /* vertical center */
    justify-content: center;  /* horizontal center */
    height: 80px;             /* fixed height for uniform size */
}


.box:hover {
    background: #ffcccc;
    transform: scale(1.06);
}

.modal-bg {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-box {
    background: #ffffff;       /* white modal background */
    color: #b30000;            /* dark red text inside modal */
    padding: 25px;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.close-btn {
    margin-top: 15px;
    background: #ff0000;      /* bright red button */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .box {
        padding: 22px 0;
        font-size: 22px;
    }
}
