:root {
    --primary: #FF90BC;
    --secondary: #FFC0D9;
    --tertiary: #F9F9E0;
    --accent: #8ACDD7;
    --dark: #2D2D2D;
    --light: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, var(--tertiary) 0%, var(--light) 50%, var(--secondary) 100%);
    color: var(--dark);
    overflow-x: hidden;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Navigation Menu */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 3rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

.nav-logo {
    font-family: 'Cormorant', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 2px 2px 0 var(--accent);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.1) rotate(-5deg);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Particle Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    left: 50%;
    animation-delay: 1s;
    animation-duration: 14s;
}

.particle:nth-child(5) {
    left: 60%;
    animation-delay: 3s;
    animation-duration: 16s;
}

.particle:nth-child(6) {
    left: 75%;
    animation-delay: 5s;
    animation-duration: 13s;
}

.particle:nth-child(7) {
    left: 85%;
    animation-delay: 2.5s;
    animation-duration: 17s;
}

.particle:nth-child(8) {
    left: 95%;
    animation-delay: 4.5s;
    animation-duration: 11s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Custom Cursor */
body {
    cursor: none;
}

#cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.2s ease, border-color 0.2s ease;
    mix-blend-mode: difference;
}

#cursor.hover {
    transform: scale(2);
    border-color: var(--accent);
}

/* Floating Butterflies - Custom CSS */
.butterfly {
    position: fixed;
    width: 40px;
    height: 40px;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.butterfly::before,
.butterfly::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 25px;
    background: var(--primary);
    border-radius: 50% 50% 0 50%;
    opacity: 0.7;
    animation: flutter 0.5s ease-in-out infinite alternate;
}

.butterfly::before {
    left: 0;
    transform-origin: right center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.butterfly::after {
    right: 0;
    transform: scaleX(-1);
    transform-origin: left center;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.butterfly .body {
    position: absolute;
    width: 4px;
    height: 30px;
    background: var(--dark);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(-20px, -60px) rotate(-5deg); }
    75% { transform: translate(40px, -40px) rotate(3deg); }
}

@keyframes flutter {
    from { transform: scaleX(1); }
    to { transform: scaleX(0.8); }
}

/* Floating Flowers - Custom CSS */
.flower {
    position: fixed;
    width: 50px;
    height: 50px;
    pointer-events: none;
    animation: floatFlower 8s ease-in-out infinite;
    z-index: 1;
}

.flower .petal {
    position: absolute;
    width: 20px;
    height: 30px;
    background: var(--secondary);
    border-radius: 50% 50% 50% 0;
    opacity: 0.8;
}

.flower .petal:nth-child(1) { transform: rotate(0deg) translateY(-15px); background: var(--primary); }
.flower .petal:nth-child(2) { transform: rotate(72deg) translateY(-15px); background: var(--secondary); }
.flower .petal:nth-child(3) { transform: rotate(144deg) translateY(-15px); background: var(--primary); }
.flower .petal:nth-child(4) { transform: rotate(216deg) translateY(-15px); background: var(--secondary); }
.flower .petal:nth-child(5) { transform: rotate(288deg) translateY(-15px); background: var(--primary); }

.flower .center {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--accent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes floatFlower {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-40px) rotate(180deg); }
}

/* Header Section */
header {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 144, 188, 0.15), transparent);
    border-radius: 50%;
    top: 10%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

header::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138, 205, 215, 0.15), transparent);
    border-radius: 50%;
    bottom: 10%;
    left: 10%;
    animation: float 10s ease-in-out infinite;
    animation-delay: 2s;
}

.hero-content {
    text-align: center;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

.profile-image-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 2rem;
    animation: fadeInScale 1.2s ease-out;
    transition: transform 0.3s ease;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--primary);
    box-shadow: 0 20px 60px rgba(255, 144, 188, 0.4);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05) rotate(3deg);
}

.profile-image-container::before,
.profile-image-container::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--accent);
    top: 0;
    left: 0;
    animation: pulse 3s ease-in-out infinite;
}

.profile-image-container::after {
    animation-delay: 1.5s;
}

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

h1 {
    font-family: 'Cormorant', serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0 var(--accent);
    letter-spacing: -2px;
    position: relative;
}

.tagline {
    font-size: 1.5rem;
    color: var(--dark);
    font-weight: 300;
    margin-bottom: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid var(--primary);
    margin: 0 auto;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(15px); }
}

/* Content Sections */
section {
    padding: 5rem 2rem;
    position: relative;
    scroll-margin-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Cormorant', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

/* Info Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 144, 188, 0.3);
    border-color: var(--primary);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Custom CSS Icons */
.icon-heart {
    width: 50px;
    height: 50px;
    position: relative;
}

.icon-heart::before,
.icon-heart::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 45px;
    background: var(--primary);
    border-radius: 30px 30px 0 0;
}

.icon-heart::before {
    left: 10px;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
}

.icon-heart::after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

.icon-book {
    width: 40px;
    height: 50px;
    background: var(--accent);
    border-radius: 5px;
    position: relative;
    box-shadow: inset 0 0 0 3px var(--light);
}

.icon-book::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--primary);
    top: 20px;
    left: 5px;
}

.icon-book::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--primary);
    top: 28px;
    left: 5px;
}

.icon-sparkle {
    width: 50px;
    height: 50px;
    position: relative;
}

.icon-sparkle::before,
.icon-sparkle::after {
    content: '';
    position: absolute;
    background: var(--primary);
}

.icon-sparkle::before {
    width: 6px;
    height: 50px;
    left: 22px;
    border-radius: 3px;
}

.icon-sparkle::after {
    width: 50px;
    height: 6px;
    top: 22px;
    border-radius: 3px;
}

.icon-star {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 40px solid var(--accent);
    position: relative;
}

.icon-star::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 40px solid var(--accent);
    top: 12px;
    left: -25px;
}

.icon-home {
    width: 50px;
    height: 40px;
    background: var(--secondary);
    position: relative;
    border-radius: 5px;
}

.icon-home::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 25px solid var(--primary);
    bottom: 40px;
    left: -5px;
}

.icon-home::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 20px;
    background: var(--tertiary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.icon-gift {
    width: 40px;
    height: 40px;
    background: var(--primary);
    position: relative;
    border-radius: 5px;
}

.icon-gift::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 10px;
    background: var(--accent);
    top: -10px;
    left: -5px;
    border-radius: 3px;
}

.icon-gift::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 50px;
    background: var(--accent);
    top: -10px;
    left: 17px;
    border-radius: 3px;
}

.card-label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-value {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.6;
}

/* Timeline Section */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--accent);
    z-index: 10;
}

/* Family Section */
.family-photo-container {
    text-align: center;
    margin: 3rem auto;
    max-width: 800px;
}

.photo-frame {
    position: relative;
    display: inline-block;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(255, 144, 188, 0.4);
    transition: transform 0.3s ease;
}

.photo-frame:hover {
    transform: scale(1.02) rotate(-1deg);
}

.family-photo {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    border: 5px solid white;
}

.photo-corners {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 4px solid var(--accent);
}

.corner.top-left {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
    border-radius: 5px 0 0 0;
}

.corner.top-right {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 5px 0 0;
}

.corner.bottom-left {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 5px;
}

.corner.bottom-right {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 5px 0;
}

.photo-caption {
    font-family: 'Cormorant', serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-top: 1.5rem;
    font-weight: 600;
}

.family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.family-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.family-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 20px 60px rgba(255, 144, 188, 0.3);
    border-color: var(--primary);
}

.family-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.family-card h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.family-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.family-role {
    color: var(--accent);
    font-size: 0.9rem;
    font-style: italic;
}

/* Map Section */
#map {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

/* Weather Widget */
.weather-widget {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    text-align: center;
}

.weather-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.temp {
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary);
}

/* Interests Section */
.interests-section {
    background: linear-gradient(135deg, var(--tertiary) 0%, rgba(255, 192, 217, 0.2) 100%);
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.interest-item {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.interest-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 144, 188, 0.2), transparent);
    transition: left 0.6s ease;
}

.interest-item:hover::before {
    left: 100%;
}

.interest-item:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 25px 70px rgba(255, 144, 188, 0.4);
}

.interest-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    position: relative;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.interest-item h3 {
    font-family: 'Cormorant', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.interest-item p {
    color: var(--dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Additional Custom Icons */
.icon-book-open {
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    position: relative;
    transform: perspective(200px) rotateY(-10deg);
}

.icon-book-open::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 60px;
    background: var(--light);
    left: 50%;
    transform: translateX(-50%);
}

.icon-book-open::after {
    content: '';
    position: absolute;
    width: 35px;
    height: 3px;
    background: var(--light);
    top: 20px;
    left: 8px;
    box-shadow: 0 10px 0 var(--light), 0 20px 0 var(--light);
}

.icon-journal {
    width: 70px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 8px;
    position: relative;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.icon-journal::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: var(--accent);
    top: 25px;
    left: 10px;
    box-shadow: 0 8px 0 var(--accent), 0 16px 0 var(--accent), 0 24px 0 var(--accent);
}

.icon-journal::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 80px;
    background: var(--accent);
    left: 0;
    top: 0;
    border-radius: 8px 0 0 8px;
}

.icon-craft {
    width: 70px;
    height: 70px;
    position: relative;
}

.icon-craft::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 60px solid var(--primary);
    top: 0;
}

.icon-craft::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Gallery Section - Flip Cards */
.gallery-section {
    background: linear-gradient(135deg, rgba(138, 205, 215, 0.2) 0%, var(--tertiary) 100%);
}

.inspiration-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    perspective: 1000px;
}

.inspiration-card {
    height: 300px;
    position: relative;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.inspiration-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.card-front {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.card-back {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    transform: rotateY(180deg);
}

.inspiration-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

.card-front h3 {
    font-family: 'Cormorant', serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.card-back p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* More Custom Icons for Flip Cards */
.icon-graduation {
    width: 70px;
    height: 70px;
    position: relative;
}

.icon-graduation::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 40px solid white;
    top: 0;
}

.icon-graduation::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 8px;
    background: white;
    bottom: 20px;
    border-radius: 4px;
}

.icon-family {
    width: 80px;
    height: 60px;
    position: relative;
}

.icon-family::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: white;
    border-radius: 50%;
    top: 0;
    left: 10px;
}

.icon-family::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.icon-dream {
    width: 60px;
    height: 60px;
    position: relative;
}

.icon-dream::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid white;
}

.icon-dream::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 50px solid white;
    top: 15px;
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Interactive Quote */
.quote-section {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.quote-text {
    font-family: 'Cormorant', serif;
    font-size: 2.5rem;
    color: var(--light);
    font-weight: 300;
    font-style: italic;
    position: relative;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--light);
    text-align: center;
    padding: 3rem 2rem;
}

.footer-butterfly {
    display: inline-block;
    margin: 0 1rem;
}

.footer-link {
    color: var(--light);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
    color: var(--primary);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 144, 188, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 144, 188, 0.6);
}

.back-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.arrow-up {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 16px solid white;
}

/* Fun Facts Section */
.fun-facts-section {
    background: linear-gradient(135deg, rgba(255, 144, 188, 0.1) 0%, rgba(138, 205, 215, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.fun-facts-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 144, 188, 0.2), transparent);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    animation: pulse 4s ease-in-out infinite;
}

.fun-facts-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138, 205, 215, 0.2), transparent);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
    animation: pulse 5s ease-in-out infinite;
    animation-delay: 1s;
}

.facts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 10;
}

.fact-bubble {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem 1.5rem;
    border-radius: 50%;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
}

.fact-bubble::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fact-bubble:hover::before {
    opacity: 1;
}

.fact-bubble:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 60px rgba(255, 144, 188, 0.4);
}

.bubble-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceIcon 2s ease-in-out infinite;
}

@keyframes bounceIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fact-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
}

/* Custom CSS Icons for Fact Bubbles */
.icon-cake {
    width: 50px;
    height: 50px;
    position: relative;
}

.icon-cake::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 30px;
    background: var(--primary);
    border-radius: 5px;
    bottom: 0;
    left: 5px;
}

.icon-cake::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 15px;
    background: var(--accent);
    top: 0;
    left: 23px;
    border-radius: 2px 2px 0 0;
}

.icon-star-burst {
    width: 50px;
    height: 50px;
    position: relative;
}

.icon-star-burst::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 50px;
    background: var(--primary);
    left: 21px;
    border-radius: 4px;
    transform: rotate(45deg);
}

.icon-star-burst::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 50px;
    background: var(--accent);
    left: 21px;
    border-radius: 4px;
    transform: rotate(-45deg);
}

.icon-books {
    width: 50px;
    height: 50px;
    position: relative;
}

.icon-books::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 40px;
    background: var(--primary);
    border-radius: 3px;
    left: 5px;
    bottom: 5px;
    transform: rotate(-10deg);
}

.icon-books::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 40px;
    background: var(--accent);
    border-radius: 3px;
    right: 5px;
    bottom: 5px;
    transform: rotate(10deg);
}

.icon-magic {
    width: 50px;
    height: 50px;
    position: relative;
}

.icon-magic::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 35px;
    background: var(--primary);
    left: 22px;
    top: 5px;
    border-radius: 3px;
    transform: rotate(20deg);
}

.icon-magic::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid var(--accent);
    top: 0;
    left: 17px;
    transform: rotate(20deg);
}

.icon-heart-full {
    width: 50px;
    height: 50px;
    position: relative;
}

.icon-heart-full::before,
.icon-heart-full::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 40px;
    background: var(--primary);
    border-radius: 25px 25px 0 0;
}

.icon-heart-full::before {
    left: 12px;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
}

.icon-heart-full::after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

.icon-target {
    width: 50px;
    height: 50px;
    position: relative;
}

.icon-target::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 5px solid var(--primary);
    border-radius: 50%;
    left: 5px;
    top: 5px;
}

.icon-target::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    left: 15px;
    top: 15px;
}

/* Responsive */
@media (max-width: 1024px) {
    .navbar {
        padding: 1.5rem 2rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .inspiration-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        transition: left 0.3s ease;
        gap: 3rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .profile-image-container {
        width: 200px;
        height: 200px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 60px;
    }

    .timeline-marker {
        left: 30px;
    }

    .quote-text {
        font-size: 1.8rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .family-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .interests-grid {
        grid-template-columns: 1fr;
    }

    .inspiration-cards {
        grid-template-columns: 1fr;
    }

    .facts-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .fact-bubble {
        padding: 2rem 1rem;
    }

    .bubble-icon {
        font-size: 2.5rem;
    }

    .fact-text {
        font-size: 0.9rem;
    }

    .photo-frame {
        padding: 15px;
    }

    #map {
        height: 400px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

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

    .profile-image-container {
        width: 180px;
        height: 180px;
    }

    .navbar {
        padding: 1rem;
    }

    .nav-logo {
        font-size: 1.5rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .info-card,
    .family-card {
        padding: 1.5rem;
    }

    .quote-text {
        font-size: 1.5rem;
    }

    .card-front h3,
    .interest-item h3 {
        font-size: 1.8rem;
    }

    .facts-container {
        grid-template-columns: 1fr 1fr;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .arrow-up {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 14px solid white;
    }
}