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

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

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

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3)),
                url('/images/herobg.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    max-width: 800px;
}

.couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: 4.5rem;
    color: #1a365d;
    margin-bottom: 10px;
}

.ampersand {
    color: #d4af37;
    font-size: 5rem;
    margin: 0 20px;
}

.wedding-date {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2d3748;
    margin: 20px 0;
}

.invitation-text {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 30px;
}

.colors-display {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.color-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    color: #1a365d;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #d4af37;
}

/* Couple Section */
.couple-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.couple-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.person-card {
    text-align: center;
    flex: 1;
    min-width: 300px;
}

.person-image {
    width: 250px;
    height: 300px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: #e2e8f0;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.groom-img {
    background-image: url('/images/groom.jpg');
}

.bride-img {
    background-image: url('/images/bride.jpg');
}

.person-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 10px;
}

.heart-divider {
    font-size: 3rem;
    color: #e53e3e;
    animation: heartbeat 1.5s infinite;
}

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

/* Events Section */
.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.event-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.event-card h3 {
    color: #1a365d;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.event-details p {
    margin: 15px 0;
    color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Gallery Section */
.gallery-section {
    background: #f8f9fa;
}

.section-subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 50px;
    font-size: 1.2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    cursor: pointer;
}


.gallery-item-y {
    height: 250px;
    border-radius: 15px;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
}

.quote-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 30px;
}

.quote-text {
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}

.quote-author {
    color: #cbd5e0;
    font-size: 1.1rem;
}

/* Support Section */
.support-section {
    background: linear-gradient(135deg, #fffaf0 0%, #fff5eb 100%);
}

.support-message {
    text-align: center;
    font-size: 1.3rem;
    color: #2d3748;
    max-width: 800px;
    margin: 0 auto 20px;
}

.support-subtext {
    text-align: center;
    color: #718096;
    margin-bottom: 50px;
}

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

.support-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.support-icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.support-card h3 {
    color: #1a365d;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.support-card p {
    color: #718096;
    margin-bottom: 25px;
    min-height: 60px;
}

.support-btn, .prayer-btn, .rsvp-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.support-btn {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: white;
}

.prayer-btn {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
}

.rsvp-btn {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: white;
}

.support-btn:hover, .prayer-btn:hover, .rsvp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #718096;
}

.close:hover {
    color: #1a365d;
}

.modal-content h2 {
    color: #1a365d;
    margin-bottom: 20px;
    text-align: center;
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.amount-option {
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.amount-option:hover {
    border-color: #d4af37;
}

.amount-option.selected {
    background: #d4af37;
    color: white;
    border-color: #d4af37;
}

.custom-amount {
    margin: 30px 0;
}

.custom-amount label {
    display: block;
    margin-bottom: 10px;
    color: #4a5568;
}

.custom-amount input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
}

.pay-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.privacy-note {
    text-align: center;
    font-size: 0.9rem;
    color: #a0aec0;
    margin-top: 20px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    color: #d4af37;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.contact-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-color {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #d4af37;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e0;
}

.hashtag {
    color: #d4af37;
    font-weight: 600;
    margin-top: 10px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .couple-names {
        font-size: 3rem;
    }
    
    .ampersand {
        font-size: 3.5rem;
    }
    
    .hero-overlay {
        padding: 20px;
        margin: 0 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .couple-container {
        gap: 30px;
    }
    
    .person-card {
        min-width: 250px;
    }
    
    .heart-divider {
        order: -1;
        width: 100%;
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .couple-names {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .support-options {
        grid-template-columns: 1fr;
    }
    
    .events-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Countdown Section */
.countdown-section {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23d4af37' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.countdown-section .section-title {
    color: white;
    position: relative;
    z-index: 1;
}

.countdown-section .section-title::after {
    background: #d4af37;
}

.countdown-subtitle {
    font-size: 1.3rem;
    color: #cbd5e0;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px auto;
    flex-wrap: wrap;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px 20px;
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.5);
}

.countdown-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 1rem;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.countdown-separator {
    font-size: 2.5rem;
    color: #d4af37;
    font-weight: bold;
    margin: 0 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.countdown-message {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    padding: 15px 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    font-size: 1.2rem;
    color: white;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.countdown-message i {
    color: #d4af37;
    animation: heartbeat 1.5s infinite;
}

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

/* Progress Bar */
.countdown-progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin: 50px auto;
    max-width: 800px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #cbd5e0;
    font-size: 1.1rem;
}

#progressPercentage {
    color: #d4af37;
    font-weight: 600;
}

.progress-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #ffd700);
    border-radius: 6px;
    width: 0%;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-time {
    display: flex;
    justify-content: space-between;
    color: #a0aec0;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Milestones */
.milestones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.milestone {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.milestone:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

.milestone-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #d4af37;
    flex-shrink: 0;
}

.milestone-content h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.milestone-date, .milestone-time, .milestone-status, .milestone-duration {
    color: #cbd5e0;
    margin: 5px 0;
    font-size: 0.95rem;
}

.milestone-duration {
    color: #d4af37;
    font-weight: 600;
}

/* Wedding Day Celebration Styles */
.wedding-day-celebration {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    display: none;
}

.wedding-day-celebration h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    margin-bottom: 20px;
}

.wedding-day-celebration p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.celebration-animation {
    font-size: 5rem;
    margin: 30px 0;
    animation: celebrate 2s infinite;
}

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

/* Responsive Design for Countdown */
@media (max-width: 768px) {
    .countdown-container {
        gap: 10px;
    }
    
    .countdown-box {
        min-width: 80px;
        padding: 20px 10px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .countdown-separator {
        font-size: 1.8rem;
        margin: 0 2px;
    }
    
    .countdown-label {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .milestones {
        grid-template-columns: 1fr;
    }
    
    .milestone {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .countdown-box {
        min-width: 70px;
        padding: 15px 8px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-separator {
        display: none;
    }
    
    .countdown-message {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

/* Share Countdown Section */
.share-countdown {
    margin-top: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.share-btn {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.3);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.4);
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
}

.share-btn:active {
    transform: translateY(-1px);
}

.share-hint {
    color: #cbd5e0;
    font-size: 0.9rem;
    margin-top: 10px;
    font-style: italic;
}