﻿/* =========================
   BASE STYLES
   ========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

/* Headings */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    margin: 0 0 0.6em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* Links */
a {
    color: var(--primary);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* Containers */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 1.5rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-cell {
    height: 100px;
    border-radius: 14px;
    background: #f8fafc;
    padding: 10px;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: transform .2s, box-shadow .2s;
}

    .calendar-cell:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0,0,0,.15);
    }

.has-event {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
}

.event-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.day-number {
    font-size: 1.4rem;
    font-weight: bold;
}

.month-nav {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all .2s ease;
}

    .month-nav:hover {
        background: #c7d2fe;
        transform: scale(1.05);
    }

/* Scroll animation base */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }



