/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #fafafa;
}

html {
    scroll-behavior: smooth;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.hearts-loader {
    position: relative;
    width: 100px;
    height: 100px;
}

.heart {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #87CEEB; /* Sky blue hearts */
    transform: rotate(-45deg);
    animation: heartbeat 1.2s ease-in-out infinite;
}

.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: #87CEEB;
    border-radius: 50%;
}

.heart::before {
    top: -15px;
    left: 0;
}

.heart::after {
    left: 15px;
    top: 0;
}

.heart:nth-child(1) {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.heart:nth-child(2) {
    top: 40px;
    left: 40px;
    animation-delay: 0.3s;
    opacity: 0.7;
}

.heart:nth-child(3) {
    top: 30px;
    left: 60px;
    animation-delay: 0.6s;
    opacity: 0.5;
}

@keyframes heartbeat {
    0%, 100% {
        transform: rotate(-45deg) scale(1);
    }
    50% {
        transform: rotate(-45deg) scale(1.2);
    }
}

/* Enhanced Header Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e3a8a 0%, #87CEEB 50%, #c8b2db 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    animation: colorShimmer 3s linear infinite;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

@keyframes colorShimmer {
    to {
        background-position: 200% center;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #1e3a8a; /* Navy blue */
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    color: #87CEEB; /* Sky blue on hover */
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #87CEEB, transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    width: 30px;
    height: 30px;
}

.burger-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #1e3a8a;
    transition: all 0.3s ease;
    left: 0;
}

.burger-line:nth-child(1) {
    top: 8px;
}

.burger-line:nth-child(2) {
    top: 14px;
}

.burger-line:nth-child(3) {
    bottom: 8px;
}

.mobile-menu-btn.active .burger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active .burger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .burger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu-list {
    list-style: none;
    padding: 1.5rem;
}

.mobile-menu-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu-list a {
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    transition: all 0.3s ease;
}

.mobile-menu-list a:hover {
    color: #87CEEB;
    padding-left: 10px;
}

/* Enhanced Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, 
                #1e3a8a 0%, 
                #3b82f6 25%, 
                #87CEEB 50%, 
                #c8b2db 75%, 
                #dda0dd 100%);
    padding: 10rem 2rem 5rem 2rem;
    gap: 1.2rem;
}

/* Circular image container */
.hero-image-circle {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 0 10px rgba(255, 255, 255, 0.1),
                0 0 0 20px rgba(255, 255, 255, 0.05);
    transition: all 1s ease;
    z-index: 2;
    animation: circleFloat 6s ease-in-out infinite;
    flex-shrink: 0;
    cursor: pointer;
    background: linear-gradient(135deg, #87CEEB, #c8b2db);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4),
                0 0 0 15px rgba(255, 255, 255, 0.15),
                0 0 0 25px rgba(255, 255, 255, 0.08);
}

@keyframes circleFloat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.hero-image-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
                rgba(0, 0, 0, 0.3) 0%, 
                rgba(0, 0, 0, 0.1) 50%, 
                rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    border-radius: 50%;
}

.hero-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
}

.hero-image-fallback {
    color: white;
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
    position: relative;
}

/* Decorative rings around the circle */
.hero-image-circle::after {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.1;
    }
}

/* Animated gradient overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(30, 58, 138, 0.3) 0%, transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(135, 206, 235, 0.3) 0%, transparent 60%),
                radial-gradient(circle at 40% 40%, rgba(200, 178, 219, 0.2) 0%, transparent 60%),
                radial-gradient(circle at 60% 80%, rgba(221, 160, 221, 0.2) 0%, transparent 60%);
    animation: gradientMove 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes gradientMove {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    33% {
        transform: scale(1.1) rotate(120deg);
    }
    66% {
        transform: scale(0.9) rotate(240deg);
    }
}

/* Floating particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: floatUp 15s linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Header Text Section - Above Image */
.hero-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 3;
    animation: fadeInUp 1s ease-out 0.3s both;
    margin-top: 4rem;
}

.hero-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 0.8rem;
    opacity: 0.9;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.hero-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 0;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.7);
    line-height: 1;
    color: #fff;
}

/* Footer Content Section - Below Image */
.hero-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 3;
    animation: fadeInUp 1s ease-out 0.9s both;
    gap: 0.8rem;
    margin-bottom: 3rem;
}

.hero-date {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0;
    opacity: 0.95;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

/* Enhanced Countdown Timer */
.countdown-container {
    margin: 0;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    padding: 0.8rem 0.6rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 70px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.countdown-item:hover::before {
    opacity: 1;
}

.countdown-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(135, 206, 235, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.countdown-number {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    display: block;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 0.2rem;
    color: #fff;
}

.countdown-label {
    font-size: 0.6rem;
    opacity: 0.9;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Enhanced Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.8;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* About Section */
.about-section {
    padding: 100px 2rem;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #87CEEB; /* Sky blue */
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: #1e3a8a; /* Navy blue */
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Our Stories Section */
.our-stories {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.story-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    background: #fafafa;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.story-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.story-card.groom {
    background: linear-gradient(135deg, #f8f9fa 0%, rgba(200, 178, 219, 0.1) 100%);
}

.story-card.groom .story-content {
    order: 2;
}

.story-card.groom .story-image {
    order: 1;
}

.story-image {
    position: relative;
}

.story-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    object-position: center center;
    cursor: pointer;
}

.story-card.groom .story-photo {
    object-position: center 30%;
}

.story-photo:hover {
    transform: scale(1.02);
}

.story-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid #87CEEB;
    border-radius: 20px;
    z-index: -1;
}

.story-content h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #c8b2db; /* Lilac */
    margin-bottom: 1rem;
    text-align: center;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.story-text::first-letter {
    font-size: 3rem;
    font-family: 'Dancing Script', cursive;
    color: #87CEEB;
    float: left;
    line-height: 1;
    margin: 0.1em 0.1em 0 0;
}

.photo-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #87CEEB 0%, #c8b2db 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

/* Timeline Section */
.timeline-section {
    padding: 100px 2rem;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1) 0%, rgba(200, 178, 219, 0.1) 100%);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #87CEEB;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding: 2rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 45%;
    position: relative;
    border: 1px solid rgba(135, 206, 235, 0.2);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #87CEEB;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #fafafa;
    z-index: 1;
}

.timeline-date {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-title {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #c8b2db;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: #666;
    line-height: 1.6;
}

/* Wedding Details Section */
.details-section {
    padding: 100px 2rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.detail-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.detail-card h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #87CEEB;
}

.detail-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.map-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.map-link:hover {
    background: rgba(135, 206, 235, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(135, 206, 235, 0.6);
}

/* RSVP Section */
.rsvp-section {
    padding: 100px 2rem;
    background: #fff;
    text-align: center;
}

.rsvp-form {
    max-width: 600px;
    margin: 3rem auto 0;
    background: #fafafa;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(135, 206, 235, 0.2);
}

.form-group {
    margin-bottom: 2rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e3a8a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #87CEEB;
}

.submit-btn {
    background: linear-gradient(135deg, #87CEEB 0%, #c8b2db 100%);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(135, 206, 235, 0.4);
}

/* Gallery Section - Updated Responsive */
.gallery-section {
    padding: 100px 2rem;
    background: linear-gradient(135deg, rgba(200, 178, 219, 0.1) 0%, rgba(135, 206, 235, 0.1) 100%);
}

.gallery-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.gallery-category {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(135, 206, 235, 0.3);
    height: 300px;
    width: 100%;
}

.gallery-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(135, 206, 235, 0.6);
}

.category-preview {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.category-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-category:hover .category-preview img {
    transform: scale(1.05);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #87CEEB 0%, #c8b2db 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-category:hover .category-overlay {
    transform: translateY(0);
}

.category-overlay h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #87CEEB;
}

.category-overlay p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.photo-count {
    font-size: 0.8rem;
    opacity: 0.7;
    font-style: italic;
}

/* Gallery Slideshow Modal - True Fullscreen */
.slideshow-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.slideshow-modal.active {
    display: flex;
}

.slideshow-content {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    border: none;
}

.slideshow-header {
    display: none; /* Hide header completely */
}

.slideshow-counter {
    display: none; /* Hide counter */
}

.slideshow-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* Remove all padding for true fullscreen */
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow-image {
    max-width: 100vw;
    max-height: 100vh;
    width: auto;
    height: auto;
    object-fit: contain; /* Changed back to contain for proper sizing */
    border-radius: 0;
    box-shadow: none;
}

.slideshow-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #87CEEB, #c8b2db);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    font-size: 1.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    min-height: 100px;
    text-align: center;
}

.slideshow-caption {
    display: none; /* Hide the caption completely */
}

.slideshow-thumbnails {
    display: none; /* Hide thumbnails completely */
}

.slideshow-close-btn {
    position: fixed; /* Changed to fixed for true fullscreen */
    top: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
    z-index: 10001;
}

.slideshow-close-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.slideshow-nav-btn {
    position: fixed; /* Changed to fixed for true fullscreen */
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.3s ease;
    z-index: 10001;
}

.slideshow-nav-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 2rem;
}

.next-btn {
    right: 2rem;
}

/* Enhanced Responsive Gallery */
@media (max-width: 1024px) {
    .gallery-categories {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-category {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 80px 1rem;
    }
    
    .gallery-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .gallery-category {
        height: 250px;
        border-radius: 15px;
    }
    
    .category-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .category-overlay h3 {
        font-size: 1.5rem;
    }
    
    .category-overlay p {
        font-size: 0.8rem;
    }
    
    .photo-count {
        font-size: 0.7rem;
    }
    
    .gallery-placeholder {
        font-size: 1rem;
        padding: 0.5rem;
    }
    
    /* Mobile Slideshow */
    .slideshow-close-btn {
        top: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .slideshow-nav-btn {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .prev-btn {
        left: 1rem;
    }
    
    .next-btn {
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-section {
        padding: 60px 1rem;
    }
    
    .gallery-category {
        height: 220px;
    }
    
    .category-overlay {
        padding: 1rem 0.8rem 0.8rem;
    }
    
    .category-overlay h3 {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }
    
    .category-overlay p {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }
    
    .slideshow-close-btn {
        top: 0.5rem;
        right: 0.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .slideshow-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    
    .prev-btn {
        left: 0.5rem;
    }
    
    .next-btn {
        right: 0.5rem;
    }
}

/* Gifts Section */
.gifts-section {
    padding: 100px 2rem;
    background: #fff;
    text-align: center;
}

.gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.gift-card {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1) 0%, rgba(200, 178, 219, 0.1) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(135, 206, 235, 0.3);
    transition: all 0.3s ease;
}

.gift-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(135, 206, 235, 0.6);
}

.gift-card h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

.bank-details {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    text-align: left;
    border: 1px solid rgba(135, 206, 235, 0.2);
}

.bank-details p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    color: #333;
}

.bank-details strong {
    color: #1e3a8a;
    font-weight: 600;
}

.copy-btn {
    background: linear-gradient(135deg, #87CEEB 0%, #c8b2db 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.3);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.4);
}

.amazon-card {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.1) 0%, rgba(135, 206, 235, 0.1) 100%);
    border-color: rgba(255, 153, 51, 0.3);
}

.amazon-card:hover {
    border-color: rgba(255, 153, 51, 0.6);
}

.amazon-btn {
    display: inline-block;
    background: linear-gradient(135deg, #FF9900, #FF7700);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
    margin-top: 1rem;
}

.amazon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.4);
}

.amazon-link {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.amazon-link small {
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
}

.gifts-note {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(200, 178, 219, 0.2) 0%, rgba(135, 206, 235, 0.2) 100%);
    border-radius: 20px;
    border: 2px solid rgba(200, 178, 219, 0.3);
}

.gifts-note p {
    font-size: 1.1rem;
    color: #1e3a8a;
    font-weight: 500;
    margin: 0;
    font-style: italic;
}

/* Responsive Gifts */
@media (max-width: 768px) {
    .gifts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gift-card {
        padding: 2rem;
    }
    
    .gift-card h3 {
        font-size: 1.5rem;
    }
    
    .bank-details {
        padding: 1rem;
    }
    
    .gifts-note {
        padding: 1.5rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 100px 2rem;
    background: #1e3a8a;
    color: white;
    text-align: center;
}

.contact-section .section-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9); /* Changed from #666 to white with opacity */
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(135, 206, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(200, 178, 219, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-text h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #87CEEB 0%, #c8b2db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.footer-date {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem !important;
    color: #87CEEB !important;
    font-weight: 600;
    margin-top: 1rem !important;
}

.footer-social h4 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #c8b2db;
    margin-bottom: 1.5rem;
}

.footer-designer h4 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #87CEEB;
    margin-bottom: 0.5rem;
}

.footer-designer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-icon.email:hover {
    background: rgba(234, 67, 53, 0.3);
    border-color: rgba(234, 67, 53, 0.6);
    color: #ea4335;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, rgba(225, 48, 108, 0.3), rgba(255, 220, 128, 0.3));
    border-color: rgba(225, 48, 108, 0.6);
    color: #e1306c;
}

.social-icon.whatsapp:hover {
    background: rgba(37, 211, 102, 0.3);
    border-color: rgba(37, 211, 102, 0.6);
    color: #25d366;
}

.social-icon.linktree:hover {
    background: rgba(67, 190, 126, 0.3);
    border-color: rgba(67, 190, 126, 0.6);
    color: #43be7e;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-text h3 {
        font-size: 2rem;
    }
    
    .footer-social h4 {
        font-size: 1.5rem;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(135, 206, 235, 0.3);
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.contact-card h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #87CEEB;
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.image-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    border: 3px solid rgba(135, 206, 235, 0.5);
}

.modal-caption {
    color: white;
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    margin-top: 1rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.close-btn {
    position: absolute;
    top: -60px;
    right: -10px;
    background: rgba(135, 206, 235, 0.3);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(135, 206, 235, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: normal;
    transition: all 0.3s ease;
    z-index: 10001;
    font-family: Arial, sans-serif;
}

.close-btn:hover {
    background: rgba(135, 206, 235, 0.5);
    border-color: rgba(135, 206, 235, 0.8);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.5);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 8rem 1rem 4rem 1rem;
        gap: 1rem;
    }

    .hero-header {
        margin-top: 3rem;
    }

    .hero-footer {
        margin-bottom: 2rem;
        gap: 0.6rem;
    }

    .hero-image-circle {
        width: 220px;
        height: 220px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }

    .hero-date {
        font-size: 1rem;
    }

    .countdown {
        gap: 0.8rem;
    }

    .countdown-item {
        min-width: 65px;
        padding: 0.7rem 0.5rem;
    }

    .countdown-number {
        font-size: 1.2rem;
    }

    .countdown-label {
        font-size: 0.55rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .story-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .story-card.groom .story-content {
        order: 1;
    }

    .story-card.groom .story-image {
        order: 2;
    }

    .story-photo,
    .photo-placeholder {
        height: 300px;
    }

    .story-content h3 {
        font-size: 2rem;
    }

    .story-text {
        font-size: 1rem;
    }

    .timeline-content {
        width: 100%;
        margin-left: 0 !important;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
    }

    .details-grid,
    .gallery-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .close-btn {
        top: -40px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 7rem 1rem 2rem 1rem;
        gap: 1rem;
    }

    .hero-header {
        margin-top: 2rem;
    }

    .hero-footer {
        margin-bottom: 1rem;
    }

    .hero-image-circle {
        width: 200px;
        height: 200px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .hero-date {
        font-size: 0.9rem;
    }

    .countdown-item {
        min-width: 55px;
        padding: 0.6rem 0.4rem;
    }

    .countdown-number {
        font-size: 1rem;
    }

    .countdown-label {
        font-size: 0.5rem;
    }
}

.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-out 0.1s forwards;
}

/* Wishes Section - Similar to Our Story */
.wishes-section {
    padding: 100px 2rem;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.wishes-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 178, 219, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.wishes-stories {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.wish-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    background: #fafafa;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    position: relative;
    overflow: hidden;
}

.wish-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #87CEEB 0%, #c8b2db 100%);
}

.wish-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.wish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.wish-card.friend {
    background: linear-gradient(135deg, #f8f9fa 0%, rgba(135, 206, 235, 0.1) 100%);
}

.wish-card.family {
    background: linear-gradient(135deg, #f8f9fa 0%, rgba(200, 178, 219, 0.1) 100%);
}

.wish-card.friend .wish-content {
    order: 2;
}

.wish-card.friend .wish-image {
    order: 1;
}

.wish-image {
    position: relative;
}

.wish-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    object-position: center center;
    cursor: pointer;
}

.wish-card.friend .wish-photo {
    object-position: center 20%;
}

.wish-photo:hover {
    transform: scale(1.02);
}

.wish-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid #87CEEB;
    border-radius: 20px;
    z-index: -1;
}

.wish-card.family .wish-image::before {
    border-color: #c8b2db;
}

.wish-content h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    text-align: center;
}

.wish-relation {
    font-size: 0.9rem;
    color: #87CEEB;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.wish-card.family .wish-relation {
    color: #c8b2db;
}

.wish-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.wish-text::first-letter {
    font-size: 3rem;
    font-family: 'Dancing Script', cursive;
    color: #87CEEB;
    float: left;
    line-height: 1;
    margin: 0.1em 0.1em 0 0;
}

.wish-card.family .wish-text::first-letter {
    color: #c8b2db;
}

.wish-photo-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #87CEEB 0%, #c8b2db 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-family: 'Dancing Script', cursive;
}

.wish-card.family .wish-photo-placeholder {
    background: linear-gradient(135deg, #c8b2db 0%, #dda0dd 100%);
}

@media (max-width: 768px) {
    .wish-card {
        grid-template-columns: 1fr; /* Stack image and text */
        padding: 2rem;
    }

    .wish-image,
    .wish-content {
        order: unset; /* Reset any reordering */
    }
}
