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

:root {
    /* Colors from your cover image */
    --teal-accent: #5a9a8f;
    --forest-dark: #2a2f31;
    --mist-gray: #4a5356;
    --white: #ffffff;
    --off-white: #f8f8f8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--mist-gray);
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Subtle bokeh background */
.bokeh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.bokeh-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(90, 154, 143, 0.3) 0%, transparent 70%);
    filter: blur(40px);
}

.bokeh-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
    animation: float1 60s infinite ease-in-out;
}

.bokeh-2 {
    width: 400px;
    height: 400px;
    top: 60%;
    right: 15%;
    animation: float2 70s infinite ease-in-out;
}

.bokeh-3 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 50%;
    animation: float3 80s infinite ease-in-out;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -40px); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 30px); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, -20px); }
}

/* Hero Section with Cover Image */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    background-image: url('Dads.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 47, 49, 0.25);
    z-index: 1;
}

/* Hero Info Section Below Image */
.hero-info {
    background: var(--forest-dark);
    color: var(--white);
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.hero-info-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-description {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    margin-bottom: 2.5rem;
    line-height: 1.5;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 550px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.15rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Hero buttons on dark background */
.hero-info .btn-primary {
    background: var(--teal-accent);
    color: var(--white);
    border: 2px solid var(--teal-accent);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-info .btn-primary:hover {
    background: #4a8577;
    border-color: #4a8577;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-info .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-info .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Main Container */
.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* Sections */
.section {
    background: var(--white);
    padding: 2.5rem 2rem;
    margin-bottom: 1.5rem;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.section h2 {
    font-size: 1.9rem;
    margin-bottom: 1.5rem;
    color: var(--forest-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section p {
    margin-bottom: 1rem;
    font-size: 1.08rem;
    line-height: 1.75;
}

.section p:last-child {
    margin-bottom: 0;
}

.section .btn {
    margin-top: 1.25rem;
}

/* In-content buttons */
.section .btn {
    text-decoration: none;
}

.section .btn-primary {
    background: var(--teal-accent);
    color: var(--white);
    border: 2px solid var(--teal-accent);
}

.section .btn-primary:hover {
    background: #4a8577;
    border-color: #4a8577;
    color: var(--white);
}

.section .btn-secondary {
    background: transparent;
    color: var(--teal-accent);
    border: 2px solid var(--teal-accent);
}

.section .btn-secondary:hover {
    background: var(--teal-accent);
    color: var(--white);
}

.note {
    font-style: italic;
    color: var(--mist-gray);
    opacity: 0.85;
    font-size: 1.05rem;
}

.address {
    margin: 1.25rem 0;
    font-size: 1.08rem;
}

/* FAQs */
.faq {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e8e8e8;
}

.faq:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--forest-dark);
    font-weight: 600;
}

.faq p {
    margin-bottom: 0;
    font-size: 1.08rem;
}

/* Footer */
.footer {
    background: var(--forest-dark);
    color: var(--white);
    padding: 3rem 1.5rem 2.5rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.25s ease;
    font-size: 1rem;
    font-weight: 500;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--teal-accent);
}

.footer-text {
    opacity: 0.7;
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

/* Tablet and up */
@media (min-width: 768px) {
    .hero {
        height: 65vh;
    }

    .hero-buttons {
        flex-direction: row;
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-buttons .btn {
        flex: 0 1 auto;
        min-width: 220px;
    }

    .container {
        padding: 3.5rem 2rem;
    }

    .section {
        padding: 3rem 3rem;
        margin-bottom: 2rem;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
        gap: 2.5rem;
        max-width: none;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero {
        background-attachment: fixed;
        height: 75vh;
    }

    .hero-info {
        padding: 4rem 2rem;
    }

    .section {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .section:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }
}

/* Scroll-reveal animations */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Shimmer effect (one time only) */
.shimmer-once {
    position: relative;
    overflow: hidden;
}

.shimmer-once::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s ease-in-out 0.5s 1;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced button interactions */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Kid distraction trigger (mobile only) */
.kid-distraction-trigger {
    display: none;
    margin: 2rem auto 0;
    padding: 0.75rem 1.5rem;
    background: rgba(90, 154, 143, 0.1);
    border: 1px solid var(--teal-accent);
    color: var(--teal-accent);
    border-radius: 3px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kid-distraction-trigger:hover {
    background: var(--teal-accent);
    color: var(--white);
}

@media (max-width: 767px) {
    .kid-distraction-trigger {
        display: block;
    }
}

/* Kid mode overlay */
.kid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e8e8e8;
    z-index: 9999;
    display: none;
    flex-direction: column;
    padding: 1rem;
}

.kid-overlay.active {
    display: flex;
}

.kid-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: var(--mist-gray);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.kid-close:hover {
    color: var(--forest-dark);
}

.kid-instructions {
    text-align: center;
    padding: 1rem 0 0.5rem;
}

.kid-main-text {
    font-size: 1.3rem;
    color: var(--forest-dark);
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.kid-sub-text {
    font-size: 0.95rem;
    color: var(--mist-gray);
    margin: 0;
}

.build-area {
    flex: 1;
    background: #f5f5f5;
    border-radius: 8px;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.shape-tray {
    min-height: 140px;
    background: #d8d8d8;
    border-radius: 8px;
    display: flex;
    gap: 0.6rem;
    padding: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.shape {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: grab;
    touch-action: none;
}

.shape.dragging {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: grabbing;
}

.shape.rect-long {
    width: 80px;
    height: 35px;
    background: #8fa0a5;
    border-radius: 3px;
}

.shape.rect-short {
    width: 50px;
    height: 35px;
    background: #9ba890;
    border-radius: 3px;
}

.shape.square {
    width: 40px;
    height: 40px;
    background: #a59a8f;
    border-radius: 3px;
}

.shape.circle {
    width: 45px;
    height: 45px;
    background: #8f9aa5;
    border-radius: 50%;
}

.shape.triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid #9a8fa0;
    background: transparent;
}

.kid-end-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem 3rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.kid-end-message.show {
    opacity: 1;
}

.end-main {
    font-size: 1.5rem;
    color: var(--forest-dark);
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.end-sub {
    font-size: 1rem;
    color: var(--mist-gray);
    margin: 0;
}

/* Easter egg modal */
.easter-egg-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.easter-egg-modal.show {
    display: flex;
}

.easter-egg-content {
    background: var(--white);
    padding: 2.5rem 3rem;
    border-radius: 8px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}

.easter-egg-content p {
    font-size: 1.2rem;
    color: var(--forest-dark);
    margin-bottom: 1rem;
}

.easter-egg-content p:last-of-type {
    margin-bottom: 2rem;
}

.close-easter {
    padding: 0.75rem 2rem;
    background: var(--teal-accent);
    color: var(--white);
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-easter:hover {
    background: #4a8577;
}