/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4af37;
    --secondary-color: #f8f4e6;
    --accent-color: #8b7355;
    --text-dark: #2c2c2c;
    --text-light: #ffffff;
    --text-muted: #666666;
    --gradient-primary: linear-gradient(135deg, #d4af37 0%, #f4e4bc 100%);
    --gradient-secondary: linear-gradient(135deg, #8b7355 0%, #d4af37 100%);
    --gradient-dark: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
    --border-radius: 15px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: white;
}

.heart-loader {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.loading-content p {
    font-size: 1.2rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-heavy);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand .couple-names {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

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

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

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.7) 0%,
        rgba(139, 115, 85, 0.6) 50%,
        rgba(44, 44, 44, 0.8) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
}

.couple-names-hero {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.bride-name, .groom-name {
    display: inline-block;
    animation: fadeInUp 1s ease-out;
}

.bride-name {
    animation-delay: 0.2s;
}

.ampersand {
    font-size: 0.8em;
    margin: 0 1rem;
    opacity: 0.8;
    animation-delay: 0.4s;
}

.groom-name {
    animation-delay: 0.6s;
}

.wedding-date {
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 300;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.wedding-tagline {
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 1s both;
}

/* Countdown */
.countdown-container {
    margin: 3rem 0;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 80px;
    transition: var(--transition);
}

.countdown-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.countdown-item span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.countdown-item label {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    animation: fadeInUp 1s ease-out 1.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

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

.scroll-arrow {
    font-size: 1.5rem;
    color: var(--text-light);
    opacity: 0.8;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Story Section */
.story-section {
    padding: 6rem 0;
    background: var(--secondary-color);
}

.story-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
}

.timeline-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.timeline-content.reverse {
    flex-direction: row-reverse;
}

.timeline-image {
    flex: 0 0 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-gold);
    position: relative;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.timeline-text {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    position: relative;
}

.timeline-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.timeline-text p {
    color: var(--text-dark);
    line-height: 1.8;
}

/* Details Section */
.details-section {
    padding: 6rem 0;
    background: white;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.detail-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.detail-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.detail-info p {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.venue-name {
    font-weight: 600;
    color: var(--text-dark) !important;
    font-size: 1.1rem;
}

.venue-time {
    font-weight: 600;
    color: var(--primary-color) !important;
}

.map-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.map-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Schedule */
.schedule-container {
    max-width: 600px;
    margin: 0 auto;
}

.schedule-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-family: 'Dancing Script', cursive;
}

.schedule-timeline {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.schedule-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    flex: 0 0 100px;
    font-weight: 600;
    color: var(--primary-color);
}

.schedule-event {
    flex: 1;
    color: var(--text-dark);
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background: var(--secondary-color);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.placeholder-gallery {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.placeholder-gallery span {
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 500;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
}

/* Music Section */
.music-section {
    padding: 6rem 0;
    background: white;
}

.music-player {
    max-width: 500px;
    margin: 0 auto 3rem;
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    text-align: center;
}

.music-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-primary);
    color: var(--text-dark);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-light);
}

.current-song h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.current-song p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.progress-container {
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 30%;
    transition: width 0.3s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.playlist {
    max-width: 600px;
    margin: 0 auto;
}

.playlist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-light);
    cursor: pointer;
    transition: var(--transition);
}

.playlist-item:hover,
.playlist-item.active {
    background: var(--secondary-color);
    transform: translateX(5px);
}

.song-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.song-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.song-duration {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Trailer Section */
.trailer-section {
    padding: 6rem 0;
    background: var(--secondary-color);
}

.video-container {
    position: relative;
    padding-top: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    text-align: center;
    z-index: 2;
    cursor: pointer;
    transition: var(--transition);
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
}

.play-button {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 1rem;
    border-radius: 50%;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-heavy);
}

.trailer-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: white;
}

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

.faq-item {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    background: white;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    padding: 1.5rem;
    display: none;
    color: var(--text-muted);
    background: white;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Dancing Script', cursive;
}

.footer-section h3 {
    font-size: 1.8rem;
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    animation: slideInUp 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    z-index: 1;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-placeholder {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.modal-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.modal-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.modal-nav button {
    background: var(--gradient-primary);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.modal-nav button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.cash-fund-info {
    text-align: center;
    max-width: 400px;
}

.cash-fund-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Dancing Script', cursive;
}

.cash-fund-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.payment-option:hover {
    background: var(--primary-color);
    color: white;
}

.payment-option i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.payment-option:hover i {
    color: white;
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-heavy);
        padding: 2rem 0;
        gap: 1rem;
    }

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

    .nav-toggle {
        display: flex;
    }

    .couple-names-hero {
        font-size: clamp(2rem, 12vw, 4rem);
    }

    .countdown {
        gap: 1rem;
    }

    .countdown-item {
        padding: 1rem;
        min-width: 70px;
    }

    .countdown-item span {
        font-size: 1.5rem;
    }

    .timeline-content {
        flex-direction: column;
        text-align: center;
    }

    .timeline-content.reverse {
        flex-direction: column;
    }

    .story-timeline::before {
        display: none;
    }

    .timeline-image {
        flex: 0 0 120px;
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    .timeline-text {
        margin-top: 1rem;
    }

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

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

    .gift-categories {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .payment-options {
        gap: 0.8rem;
    }

    .payment-option {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .music-controls {
        gap: 0.5rem;
    }

    .control-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .play-btn {
        width: 65px;
        height: 65px;
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-content {
        padding: 0 15px;
    }

    .countdown {
        gap: 0.8rem;
    }

    .countdown-item {
        padding: 0.8rem;
        min-width: 60px;
    }

    .countdown-item span {
        font-size: 1.2rem;
    }

    .countdown-item label {
        font-size: 0.8rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .detail-card {
        padding: 2rem;
    }

    .timeline-text {
        padding: 1.5rem;
    }

    .schedule-timeline {
        padding: 1.5rem;
    }

    .schedule-time {
        flex: 0 0 80px;
        font-size: 0.9rem;
    }

    .music-player {
        padding: 1.5rem;
    }

    .registry-card {
        padding: 2rem;
    }

    .gift-ideas {
        padding: 2rem;
    }

    .modal-content {
        padding: 1rem;
        margin: 0.5rem;
    }

    .cash-fund-info h3 {
        font-size: 1.5rem;
    }
}

/* High DPI Display Support */
@media screen and (-webkit-min-device-pixel-ratio: 2), 
       screen and (min-resolution: 192dpi) {
    .hero-background {
        background-size: cover;
        background-position: center;
    }
}

/* Dark Mode Support (if needed) */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #f5f5f5;
        --text-light: #2c2c2c;
        --secondary-color: #1a1a1a;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator {
        animation: none;
    }
    
    .heart-loader {
        animation: none;
    }
}

/* Focus States for Accessibility */
.nav-link:focus,
.cta-button:focus,
.map-btn:focus,
.filter-btn:focus,
.registry-btn:focus,
.control-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .hero,
    .music-section,
    .footer {
        display: none;
    }
    
    .section-title {
        color: black !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .detail-card,
    .timeline-text {
        box-shadow: none !important;
        border: 1px solid #ccc;
    }
}

@keyframes slideOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(50px);
    }
}

.modal-content.slide-out {
    animation: slideOutDown 0.3s ease forwards;
}

@media screen and (max-width: 768px) {
    .social-links {
      justify-content: center;
      flex-wrap: wrap;
    }
  }
  