/* ============================================
   AniyahLove.com - Homepage Styles
   Dainty, girly, soft aesthetic for a 5-year-old
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Soft, dainty color palette */
    --bg-primary: #FFF9F5;
    /* Soft cream/blush */
    --bg-secondary: #FFF0F5;
    /* Lavender blush */
    --bg-accent: #FFEEF8;
    /* Soft pink tint */

    --text-primary: #4A3F4A;
    /* Soft dark purple */
    --text-secondary: #7A6B7A;
    /* Muted lavender */
    --text-accent: #D4A5C9;
    /* Soft pink */

    --accent-primary: #F8BBD9;
    /* Pink */
    --accent-secondary: #E1BEE7;
    /* Light purple */
    --accent-tertiary: #B2EBF2;
    /* Soft aqua */

    --border-soft: rgba(244, 143, 177, 0.3);
    --shadow-soft: rgba(0, 0, 0, 0.05);
    --shadow-pink: rgba(244, 143, 177, 0.15);

    /* Typography */
    --font-cursive: 'Great Vibes', cursive;
    --font-body: 'Quicksand', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- Page Wrapper --- */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Header --- */
.site-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-link {
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.site-logo {
    height: 6rem;
    /* Large logo as requested */
    width: auto;
    filter: drop-shadow(0 2px 8px var(--shadow-pink));
}

/* --- Main Content --- */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    width: 100%;
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out;
}

.hero-image-wrapper {
    position: relative;
    max-width: 450px;
    width: 100%;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow:
        0 10px 40px var(--shadow-pink),
        0 0 0 5px white,
        0 0 0 8px var(--accent-primary);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02) rotate(-1deg);
}

.image-frame {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 3px dashed var(--accent-secondary);
    border-radius: 30px;
    pointer-events: none;
    opacity: 0.5;
}

/* --- About Section --- */
.about {
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.intro-text {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    border: 2px solid var(--border-soft);
    box-shadow: 0 4px 20px var(--shadow-soft);
}

.intro-text strong {
    color: #D4689A;
    font-weight: 700;
}

.favorites {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-accent) 0%, #FFF5FA 100%);
    border-radius: 20px;
    border: 2px solid var(--border-soft);
}

.favorites-intro {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.favorites-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.favorites-list li {
    font-size: 1.15rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow-soft);
    transition: transform 0.2s ease;
}

.favorites-list li:hover {
    transform: translateX(5px);
}

.dream {
    font-size: 1.15rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-primary);
}

.dream strong {
    color: #7B68B6;
    font-weight: 700;
    font-style: normal;
}

.links-inline {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

/* --- Links Section --- */
.links {
    width: 100%;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.links-title {
    font-family: var(--font-cursive);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px var(--shadow-soft);
}

.link-cards {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, white 0%, var(--bg-accent) 100%);
    border: 3px solid var(--accent-primary);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: 0 6px 20px var(--shadow-pink);
    transition: all 0.3s ease;
    min-width: 200px;
}

.link-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px var(--shadow-pink);
    border-color: var(--accent-secondary);
}

.card-emoji {
    font-size: 2.5rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #D4689A;
}

.card-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- Footer --- */
.site-footer {
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    border-top: 1px solid var(--border-soft);
}

.site-footer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Design --- */
@media (max-width: 600px) {
    .site-header {
        padding: 1rem;
    }

    .site-logo {
        height: 4.5rem;
    }

    .main-content {
        padding: 1.5rem 1rem;
        gap: 2rem;
    }

    .hero-image-wrapper {
        max-width: 100%;
    }

    .intro-text {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .favorites-list li {
        font-size: 1rem;
    }

    .links-title {
        font-size: 2rem;
    }

    .link-card {
        width: 100%;
        max-width: 280px;
    }
}

/* --- Decorative Elements --- */
.page-wrapper::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(244, 143, 177, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(179, 229, 252, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(225, 190, 231, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}