/* ===================================
   Tribute Website - Monisola Adeola Alli
   Modern Clean Design with Floral Theme
   Purple Primary Color | Pink Accent Color
   =================================== */

/* ===================================
   CSS Reset and Variables
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Clean White Background with Purple Primary */
    --color-bg-white: #ffffff;
    --color-bg-light: #F8F4FB;
    --color-bg-card: #ffffff;
    --color-text-primary: #2d3d3d;
    --color-text-secondary: #5a6c7d;
    --color-text-dim: #8a9ba8;
    
    /* Primary and Accent Colors */
    --color-primary-teal: #5D3A6F;
    --color-accent-gold: #E5A4C3;
    --color-teal-light: #7A5A8D;
    
    /* Typography */
    --font-serif: 'Crimson Text', Georgia, serif;
    --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 40px;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 17px;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-text-primary);
    background-color: var(--color-bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
}

h2 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-weight: 600;
}

h3 {
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.9;
}

em {
    color: var(--color-text-secondary);
    font-style: italic;
}

/* White text for em in dark sections */
.biography em,
.support-section em {
    color: rgba(255, 255, 255, 0.8);
}

a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-teal);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 40px 0 40px;
    background: 
        linear-gradient(to bottom, 
            rgba(200, 220, 240, 0.5) 0%, 
            rgba(220, 235, 250, 0.7) 25%,
            rgba(235, 245, 255, 0.8) 50%,
            rgba(250, 252, 255, 0.9) 75%, 
            #ffffff 100%),
        radial-gradient(ellipse at 15% 25%, rgba(200, 225, 245, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 35%, rgba(210, 230, 250, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 45% 50%, rgba(220, 235, 255, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 60%, rgba(215, 232, 248, 0.25) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

/* Flying Doves - Using External SVG */
.dove {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.75;
    filter: brightness(0) invert(1);
}

/* Dove 1 - Small, slow, top */
.dove-1 {
    top: 8%;
    left: -70px;
    width: 45px;
    height: 45px;
    animation: flyDove1 35s linear infinite;
    animation-delay: 0s;
}

/* Dove 2 - Medium, fast, upper-mid (flipped) */
.dove-2 {
    top: 18%;
    right: -70px;
    width: 55px;
    height: 55px;
    animation: flyDove2 20s linear infinite;
    animation-delay: 7s;
}

/* Dove 3 - Large, medium, middle */
.dove-3 {
    top: 32%;
    left: -70px;
    width: 68px;
    height: 68px;
    animation: flyDove3 28s linear infinite;
    animation-delay: 3s;
}

/* Dove 4 - Small, very slow, upper (flipped) */
.dove-4 {
    top: 12%;
    right: -70px;
    width: 42px;
    height: 42px;
    animation: flyDove4 40s linear infinite;
    animation-delay: 15s;
}

/* Dove 5 - Medium, fast, lower */
.dove-5 {
    top: 58%;
    left: -70px;
    width: 52px;
    height: 52px;
    animation: flyDove5 22s linear infinite;
    animation-delay: 11s;
}

/* Dove 6 - Large, slow, mid (flipped) */
.dove-6 {
    top: 42%;
    right: -70px;
    width: 65px;
    height: 65px;
    animation: flyDove6 32s linear infinite;
    animation-delay: 5s;
}

/* Dove 7 - Small, medium, lower-mid */
.dove-7 {
    top: 48%;
    left: -70px;
    width: 48px;
    height: 48px;
    animation: flyDove7 26s linear infinite;
    animation-delay: 18s;
}

/* Dove 8 - Medium, very fast, top (flipped) */
.dove-8 {
    top: 22%;
    right: -70px;
    width: 50px;
    height: 50px;
    animation: flyDove8 18s linear infinite;
    animation-delay: 9s;
}

/* Dove 9 - Large, slow, lower */
.dove-9 {
    top: 65%;
    left: -70px;
    width: 62px;
    height: 62px;
    animation: flyDove9 38s linear infinite;
    animation-delay: 13s;
}

/* Dove 10 - Small, fast, middle */
.dove-10 {
    top: 38%;
    left: -70px;
    width: 46px;
    height: 46px;
    animation: flyDove10 24s linear infinite;
    animation-delay: 1s;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    padding-right: 60px;
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 25px;
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 25px;
    line-height: 1;
    color: var(--color-primary-teal);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-dates {
    font-size: 1.5rem;
    letter-spacing: 4px;
    color: var(--color-text-secondary);
    margin-bottom: 45px;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.4s forwards;
}

.hero-quote {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--color-text-primary);
    margin-bottom: 50px;
    padding-left: 25px;
    border-left: 3px solid var(--color-accent-gold);
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 2s forwards;
}

.hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 2.6s forwards;
}

.btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--color-primary-teal);
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

.btn-secondary:hover {
    background-color: var(--color-accent-gold);
    color: #ffffff;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0;
    object-fit: cover;
    transform: scale(0.95);
    animation: portraitReveal 2s ease-out 0.5s forwards;
}

/* ===================================
   Biography Section
   =================================== */
.biography {
    padding: var(--section-padding);
    background-color: var(--color-primary-teal);
    color: #ffffff;
}

.bio-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.bio-column h2 {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.bio-column p {
    color: #ffffff;
    margin-bottom: 25px;
}

.life-journey {
    max-width: 900px;
    margin: 80px auto 0;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.life-journey h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
}

.life-journey p {
    color: #ffffff;
}

/* ===================================
   Memorable Moments Section
   =================================== */
.memorable-moments {
    padding: var(--section-padding);
    background-color: var(--color-bg-white);
}

.memorable-moments h2 {
    text-align: center;
    margin-bottom: 60px;
}

.moments-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.moment-item {
    padding: 30px;
    background-color: var(--color-bg-white);
    border: 1px solid #e8eaed;
    border-left: 3px solid var(--color-accent-gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.moment-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: #2d3d3d;
    font-style: italic;
    margin: 0;
}

/* ===================================
   Funeral Service Section
   =================================== */
.funeral-service {
    padding: var(--section-padding);
    background-color: var(--color-bg-light);
}

.funeral-service h2 {
    text-align: center;
    margin-bottom: 60px;
}

.service-columns {
    max-width: 800px;
    margin: 0 auto;
}

.service-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.service-item h3 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

.service-value {
    font-size: 1.1rem;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.service-address {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.service-note {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 8px;
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--color-primary-teal);
    font-size: 1rem;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.service-link:hover {
    opacity: 0.7;
}

/* ===================================
   Support Section
   =================================== */
.support-section {
    padding: var(--section-padding);
    background-color: #D4C4E3;
    color: var(--color-primary-teal);
}

.support-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-primary-teal);
}

/* Thank You Card */
.thank-you-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 40px 50px;
    max-width: 800px;
    margin: 40px auto 50px;
    text-align: center;
    border: 2px solid var(--color-accent-gold);
    position: relative;
    overflow: hidden;
}

.thank-you-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary-teal), var(--color-accent-gold), var(--color-primary-teal));
}

.thank-you-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.thank-you-card h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary-teal);
    margin-bottom: 20px;
    font-family: 'Crimson Text', serif;
}

.thank-you-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(93, 58, 111, 0.9);
    margin-bottom: 15px;
}

.thank-you-blessing {
    font-size: 1.2rem;
    color: var(--color-primary-teal);
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 25px;
}

.thank-you-link {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--color-primary-teal) 0%, #3D2952 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 58, 111, 0.3);
}

.thank-you-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 58, 111, 0.4);
}

.support-intro {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.05rem;
    color: rgba(93, 58, 111, 0.85);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.support-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.support-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
    background: linear-gradient(135deg, var(--color-primary-teal) 0%, #3D2952 100%);
    padding: 30px;
    text-align: center;
    border-bottom: 3px solid var(--color-accent-gold);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.card-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.card-body {
    padding: 35px 30px;
    background: #ffffff;
}

.bank-info-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8eaed;
}

.bank-info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-label {
    font-size: 0.9rem;
    color: #6a5f55;
    font-weight: 400;
    min-width: 140px;
}

.info-value {
    font-size: 0.95rem;
    color: #2d3d3d;
    font-weight: 600;
    text-align: right;
    word-break: break-all;
}

.account-section {
    margin-bottom: 25px;
}

.account-section:last-child {
    margin-bottom: 0;
}

.account-section h4 {
    font-size: 1rem;
    color: var(--color-primary-teal);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-accent-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.account-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #e8eaed, transparent);
    margin: 25px 0;
}

.card-footer {
    background: #f8f9fa;
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #e8eaed;
}

.reference-text {
    margin: 0;
    font-size: 0.95rem;
    color: #6a5f55;
    font-style: italic;
}

.reference-text strong {
    color: var(--color-primary-teal);
    font-style: normal;
}

.text-center {
    text-align: center;
    margin-bottom: 40px;
}

/* ===================================
   Photo Gallery Section
   =================================== */
.photo-gallery {
    padding: var(--section-padding);
    background-color: var(--color-bg-light);
}

.photo-gallery h2 {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.gallery-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-container::-webkit-scrollbar {
    display: none;
}

.gallery-card {
    flex: 0 0 400px;
    background-color: var(--color-bg-white);
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e8eaed;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gallery-photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-card:hover .gallery-photo {
    opacity: 0.9;
    transform: scale(1.02);
}

.gallery-caption {
    padding: 25px;
    background-color: var(--color-bg-white);
}

.gallery-caption h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: #2d3d3d;
}

.gallery-caption p {
    font-size: 0.95rem;
    color: #6a5f55;
    line-height: 1.6;
    margin: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-primary-teal);
    color: #ffffff;
    border: none;
    padding: 20px 15px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background-color: var(--color-accent-gold);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.gallery-note {
    text-align: center;
    margin-top: 60px;
}

.gallery-note p {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

/* ===================================
   Tribute Section
   =================================== */
.tribute {
    padding: 60px 40px;
    background-color: #ffffff;
}

.tribute h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-primary-teal);
}

/* Special Tribute Styles */
.special-tribute {
    max-width: 900px;
    margin: 50px auto 0;
    background: linear-gradient(135deg, rgba(212, 196, 227, 0.3) 0%, rgba(229, 164, 195, 0.2) 100%);
    border: 2px solid var(--color-accent-gold);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(93, 58, 111, 0.15);
}

.special-tribute-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-accent-gold);
}

.tribute-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.special-tribute-header h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-primary-teal);
    font-weight: 600;
    margin: 0;
}

.special-tribute-content {
    line-height: 1.8;
}

.tribute-message {
    font-size: 1.05rem;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    text-align: justify;
}

.tribute-signature {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(93, 58, 111, 0.3);
}

.tribute-signature p {
    margin-bottom: 10px;
    color: var(--color-primary-teal);
}

.tribute-signature strong {
    font-size: 1.1rem;
    font-weight: 600;
}

.tribute-verse {
    font-style: italic;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.tribute-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    gap: 60px;
    background: var(--color-primary-teal);
    padding: 40px 50px;
    border-radius: 12px;
}

.tribute-info {
    flex: 1;
}

.tribute-info p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    line-height: 1.6;
}

.tribute-btn {
    display: inline-block;
    background: var(--color-accent-gold);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tribute-btn:hover {
    background: #D89BB8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.tribute-qr {
    text-align: center;
}

.tribute-qr img {
    width: 150px;
    height: 150px;
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tribute-qr p {
    margin-top: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 60px 40px 40px;
    background-color: var(--color-primary-teal);
    text-align: center;
}

.footer-cross {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 30px;
    opacity: 0.9;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.footer-name {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.footer-dates {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.footer-divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-accent-gold);
    margin: 0 auto 30px;
}

.footer-credit {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #ffffff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
}

.modal-close:hover {
    color: var(--color-accent-gold);
}

.modal-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 1.1rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    border-radius: 5px;
    max-width: 80%;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-left {
        padding-right: 0;
    }
    
    .hero-right {
        order: -1;
    }
    
    .bio-columns,
    .service-details {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .support-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .special-tribute {
        padding: 30px;
    }
    
    .special-tribute-header h3 {
        font-size: 1.5rem;
    }
    
    .tribute-content {
        gap: 40px;
        padding: 35px 40px;
    }
    
    .moments-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .hero-caption {
        font-size: 1.2rem;
        font-style: italic;
        margin-top: -10px;
    }
    
    .hero-dates {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .card-header {
        padding: 25px 20px;
    }
    
    .card-body {
        padding: 25px 20px;
    }
    
    .bank-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-label {
        min-width: auto;
        font-size: 0.85rem;
    }
    
    .info-value {
        text-align: left;
        font-size: 0.9rem;
    }
    
    .special-tribute {
        padding: 25px 20px;
        margin-top: 40px;
    }
    
    .tribute-icon {
        font-size: 2rem;
    }
    
    .special-tribute-header h3 {
        font-size: 1.3rem;
    }
    
    .tribute-message {
        font-size: 1rem;
        text-align: left;
    }
    
    .tribute-content {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }
    
    .tribute-info {
        text-align: center;
    }
    
    .gallery-card {
        flex: 0 0 300px;
    }
    
    .gallery-photo {
        height: 400px;
    }
    
    .thank-you-card {
        padding: 30px 25px;
        margin: 30px auto 40px;
    }
    
    .thank-you-card h3 {
        font-size: 1.6rem;
    }
    
    .thank-you-card p {
        font-size: 1rem;
    }
    
    .thank-you-blessing {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        grid-template-columns: 1fr;
    }
    
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .special-tribute {
        padding: 20px 15px;
    }
    
    .special-tribute-header h3 {
        font-size: 1.2rem;
    }
    
    .tribute-message {
        font-size: 0.95rem;
    }
    
    .tribute-content {
        padding: 25px 20px;
    }
    
    .tribute-qr img {
        width: 120px;
        height: 120px;
    }
    
    .gallery-card {
        flex: 0 0 250px;
    }
    
    .gallery-photo {
        height: 350px;
    }
    
    .thank-you-card {
        padding: 25px 20px;
        margin: 25px auto 35px;
    }
    
    .thank-you-icon {
        font-size: 2.5rem;
    }
    
    .thank-you-card h3 {
        font-size: 1.4rem;
    }
    
    .thank-you-card p {
        font-size: 0.95rem;
    }
}

/* ===================================
   Accessibility
   =================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Ensure hero elements are visible without animation */
    .hero-subtitle,
    .hero-title,
    .hero-dates,
    .hero-quote,
    .hero-buttons {
        opacity: 1 !important;
    }
    
    .hero-image {
        opacity: 0.85 !important;
        transform: scale(1) !important;
    }
    
    /* Hide decorative flying doves */
    .hero::before,
    .hero::after {
        display: none !important;
    }
}

button:focus,
a:focus {
    outline: 2px solid var(--color-primary-teal);
    outline-offset: 4px;
}

/* ===================================
   Hero Animations
   =================================== */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes portraitReveal {
    0% {
        opacity: 0;
        filter: grayscale(100%) brightness(0.5);
        transform: scale(0.95);
    }
    100% {
        opacity: 0.85;
        filter: grayscale(0%) brightness(1);
        transform: scale(1);
    }
}

@keyframes flyDove1 {
    0% {
        left: -70px;
        transform: translateY(0);
    }
    35% {
        transform: translateY(-18px);
    }
    70% {
        transform: translateY(-12px);
    }
    100% {
        left: calc(100% + 70px);
        transform: translateY(-5px);
    }
}

@keyframes flyDove2 {
    0% {
        right: -70px;
        transform: translateY(0) scaleX(-1);
    }
    25% {
        transform: translateY(-35px) scaleX(-1);
    }
    60% {
        transform: translateY(-22px) scaleX(-1);
    }
    100% {
        right: calc(100% + 70px);
        transform: translateY(-8px) scaleX(-1);
    }
}

@keyframes flyDove3 {
    0% {
        left: -70px;
        transform: translateY(0);
    }
    40% {
        transform: translateY(-28px);
    }
    75% {
        transform: translateY(-40px);
    }
    100% {
        left: calc(100% + 70px);
        transform: translateY(-15px);
    }
}

@keyframes flyDove4 {
    0% {
        right: -70px;
        transform: translateY(0) scaleX(-1);
    }
    30% {
        transform: translateY(-15px) scaleX(-1);
    }
    65% {
        transform: translateY(-25px) scaleX(-1);
    }
    100% {
        right: calc(100% + 70px);
        transform: translateY(-10px) scaleX(-1);
    }
}

@keyframes flyDove5 {
    0% {
        left: -70px;
        transform: translateY(0);
    }
    45% {
        transform: translateY(-32px);
    }
    80% {
        transform: translateY(-18px);
    }
    100% {
        left: calc(100% + 70px);
        transform: translateY(-6px);
    }
}

@keyframes flyDove6 {
    0% {
        right: -70px;
        transform: translateY(0) scaleX(-1);
    }
    38% {
        transform: translateY(-20px) scaleX(-1);
    }
    72% {
        transform: translateY(-38px) scaleX(-1);
    }
    100% {
        right: calc(100% + 70px);
        transform: translateY(-12px) scaleX(-1);
    }
}

@keyframes flyDove7 {
    0% {
        left: -70px;
        transform: translateY(0);
    }
    42% {
        transform: translateY(-25px);
    }
    78% {
        transform: translateY(-30px);
    }
    100% {
        left: calc(100% + 70px);
        transform: translateY(-8px);
    }
}

@keyframes flyDove8 {
    0% {
        right: -70px;
        transform: translateY(0) scaleX(-1);
    }
    28% {
        transform: translateY(-42px) scaleX(-1);
    }
    68% {
        transform: translateY(-28px) scaleX(-1);
    }
    100% {
        right: calc(100% + 70px);
        transform: translateY(-14px) scaleX(-1);
    }
}

@keyframes flyDove9 {
    0% {
        left: -70px;
        transform: translateY(0);
    }
    33% {
        transform: translateY(-16px);
    }
    66% {
        transform: translateY(-22px);
    }
    100% {
        left: calc(100% + 70px);
        transform: translateY(-9px);
    }
}

@keyframes flyDove10 {
    0% {
        left: -70px;
        transform: translateY(0);
    }
    48% {
        transform: translateY(-36px);
    }
    82% {
        transform: translateY(-20px);
    }
    100% {
        left: calc(100% + 70px);
        transform: translateY(-4px);
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .hero,
    .biography,
    .funeral-service {
        page-break-inside: avoid;
    }
    
    .carousel-btn,
    .hero-buttons {
        display: none;
    }
}
