/* ===== PARALLAX CARDS STACKING EFFECT ===== */
/* Based on Olivier Larose's implementation with Canvas Template integration */

/* Container */
.parallax-cards-container {
    position: relative;
    min-height: 100vh;
    padding: 100px 0;
    perspective: 1000px;
}

/* Individual Parallax Cards - Core Stacking Setup */
.parallax-card {
    position: sticky;
    top: 10vh;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform-origin: center center;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Background colors - keeping your beautiful design */
.parallax-card[data-bg-color="#f8f4f0"] { background-color: #f8f4f0; }
.parallax-card[data-bg-color="#f0f8ff"] { background-color: #f0f8ff; }
.parallax-card[data-bg-color="#fff5f5"] { background-color: #fff5f5; }
.parallax-card[data-bg-color="#f5f8f0"] { background-color: #f5f8f0; }
.parallax-card[data-bg-color="#faf0f8"] { background-color: #faf0f8; }
.parallax-card[data-bg-color="#f8f0f8"] { background-color: #f8f0f8; }
.parallax-card[data-bg-color="#f0f8f0"] { background-color: #f0f8f0; }
.parallax-card[data-bg-color="#f8f8f0"] { background-color: #f8f8f0; }
.parallax-card[data-bg-color="#f0f0f8"] { background-color: #f0f0f8; }
.parallax-card[data-bg-color="#fff8f0"] { background-color: #fff8f0; }

/* Card Content - keeping your beautiful design exactly */
.card-content {
    max-width: 900px;
    width: 90%;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 8px 25px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateZ(0);
    will-change: transform;
}

/* Profile Section - keeping your beautiful design */
.profile-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.profile-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.15),
        0 0 0 12px rgba(255, 182, 193, 0.1);
    transition: all 0.6s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.2),
        0 0 0 16px rgba(255, 182, 193, 0.15);
}

.profile-info h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.role-badge {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.9) 0%, 
        rgba(173, 216, 230, 0.9) 100%);
    color: #2c3e50;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Section Headers - keeping your beautiful design */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.header-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(255, 182, 193, 0.8) 0%, 
        rgba(173, 216, 230, 0.8) 100%);
    border-radius: 2px;
    margin: 0 auto;
    position: relative;
}

.header-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 1) 0%, 
        rgba(173, 216, 230, 1) 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8);
}

/* Story Text - keeping your beautiful design */
.story-text {
    line-height: 1.8;
    color: #4a5568;
    font-size: 1.1rem;
}

.intro-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: #2d3748;
    text-align: center;
    margin-bottom: 0;
    line-height: 1.6;
}

.story-text p {
    margin-bottom: 24px;
    text-align: justify;
    text-justify: inter-word;
}

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

/* Love Quotes - keeping your beautiful design */
.love-quote {
    background: linear-gradient(135deg, 
        rgba(255, 240, 245, 0.9) 0%, 
        rgba(240, 248, 255, 0.9) 100%);
    border-left: 6px solid rgba(255, 182, 193, 0.8);
    padding: 40px;
    border-radius: 20px;
    margin: 30px 0;
    position: relative;
    font-style: italic;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.love-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: rgba(255, 182, 193, 0.6);
    font-family: serif;
    line-height: 1;
}

.love-quote p {
    font-size: 1.3rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.love-quote footer {
    text-align: right;
    font-weight: 700;
    color: #4a5568;
    font-style: normal;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* Mobile Responsive Design - keeping your beautiful design */
@media (max-width: 768px) {
    .parallax-cards-container {
        padding: 50px 0;
    }
    
    .card-content {
        padding: 40px 20px;
    }
    
    .profile-section {
        gap: 20px;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .profile-info h2 {
        font-size: 2.2rem;
    }
    
    .section-header h3 {
        font-size: 2rem;
    }
    
    .story-text {
        font-size: 1rem;
    }
    
    .intro-text {
        font-size: 1.1rem;
    }
    
    .love-quote {
        padding: 30px 24px;
        margin: 24px 0;
    }
    
    .love-quote p {
        font-size: 1.1rem;
    }
    
    .love-quote::before {
        font-size: 3rem;
        top: -5px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .card-content {
        padding: 30px 20px;
        margin: 16px;
        width: calc(100% - 32px);
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .profile-info h2 {
        font-size: 1.8rem;
    }
    
    .section-header h3 {
        font-size: 1.6rem;
    }
    
    .story-text {
        font-size: 0.95rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .love-quote {
        padding: 24px 20px;
    }
    
    .love-quote p {
        font-size: 1rem;
    }
}

/* Tablet Responsive - keeping your beautiful design */
@media (min-width: 769px) and (max-width: 1024px) {
    .card-content {
        max-width: 800px;
        padding: 50px 35px;
    }
    
    .profile-info h2 {
        font-size: 2.5rem;
    }
    
    .section-header h3 {
        font-size: 2.2rem;
    }
    
    .profile-section {
        gap: 30px;
    }
}

/* Large screens - keeping your beautiful design */
@media (min-width: 1400px) {
    .card-content {
        max-width: 1000px;
        padding: 70px 50px;
    }
    
    .profile-info h2 {
        font-size: 3.5rem;
    }
    
    .section-header h3 {
        font-size: 2.8rem;
    }
    
    .story-text {
        font-size: 1.2rem;
    }
    
    .intro-text {
        font-size: 1.4rem;
    }
}

/* Smooth scrolling enhancement */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.card-content:focus {
    outline: 3px solid rgba(255, 182, 193, 0.8);
    outline-offset: 6px;
}

/* Print styles */
@media print {
    .parallax-card {
        position: relative;
        height: auto;
        page-break-inside: avoid;
        background: white !important;
        margin-bottom: 20px;
    }
    
    .card-content {
        background: white;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .love-quote {
        background: #f9f9f9;
        box-shadow: none;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .parallax-card {
        transition: none !important;
        transform: none !important;
    }
    
    .card-content {
        transition: none !important;
    }
} 