/* ==============================================
   Base Styles - Reset & Typography
   Family Planner Application
   ============================================== */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-cream);
    height: 100vh;
    width: 100vw;
    color: var(--text-dark);
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
}

/* Links */
a {
    color: var(--accent-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Buttons - Base */
button {
    font-family: inherit;
    cursor: pointer;
}

/* Inputs - Base */
input, select, textarea {
    font-family: inherit;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animations - Shared Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes holidayBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes celebrateReward {
    0% { transform: scale(1); }
    25% { transform: scale(1.3) rotate(-5deg); }
    50% { transform: scale(1.5) rotate(5deg); }
    75% { transform: scale(1.3) rotate(-5deg); }
    100% { transform: scale(1); }
}
