/* Wedding Website CSS */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-brand {
    color: #1f2937;
}

.nav-brand i {
    color: #f43f5e;
    font-size: 1.5rem;
}

.navbar.scrolled .nav-brand i {
    color: #f43f5e;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.navbar.scrolled .nav-menu a {
    color: #4b5563;
}

.nav-menu a:hover {
    color: #f43f5e;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

.navbar.scrolled .nav-toggle {
    color: #1f2937;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('https://images.unsplash.com/photo-1519741497674-611481863552?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2340&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-heart {
    font-size: 3.75rem;
    color: #fda4af;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 300;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.hero-title span {
    color: #fda4af;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    color: #fda4af;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.hero-date {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: 3rem;
    font-weight: 300;
}

.countdown-section {
    animation: fadeInUp 2s ease-out;
}

.countdown-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 2rem;
    color: #fda4af;
    font-family: 'Playfair Display', serif;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 1.5rem;
    border-radius: 0.75rem;
    min-width: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.countdown-number {
    font-size: clamp(1.875rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #f43f5e;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 600;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 12px;
    background: white;
    border-radius: 2px;
    animation: pulse 2s infinite;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header i {
    font-size: 3rem;
    color: #f43f5e;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 6vw, 3rem);
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.section-divider {
    width: 96px;
    height: 4px;
    background: #f43f5e;
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-header p {
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* Our Story Section */
.story-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.story-card p {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
    font-weight: 300;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.timeline-item {
    text-align: center;
}

.timeline-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #f43f5e, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.3);
}

.timeline-icon i {
    color: white;
    font-size: 1.5rem;
}

.timeline-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: #6b7280;
    font-size: 0.875rem;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.7s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

.story-image::before,
.story-image::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    animation: pulse 3s infinite;
}

.story-image::before {
    width: 6rem;
    height: 6rem;
    background: linear-gradient(135deg, #f43f5e, #ec4899);
    bottom: -1.5rem;
    right: -1.5rem;
}

.story-image::after {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #fda4af, #f9a8d4);
    top: -1.5rem;
    left: -1.5rem;
}

/* Event Section */
.event-section {
    padding: 5rem 0;
    background: white;
}

.event-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-card {
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.event-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #f43f5e, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.event-icon i {
    color: white;
    font-size: 1.25rem;
}

.event-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.event-info p {
    color: #6b7280;
}

.address {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.btn-map {
    background: linear-gradient(135deg, #f43f5e, #ec4899);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.3);
}

.btn-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(244, 63, 94, 0.4);
}

.btn-map i {
    margin-right: 0.5rem;
}

.event-visual {
    background: linear-gradient(135deg, #fef2f2, #fce7f3);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.event-location {
    text-align: center;
}

.location-icon {
    width: 8rem;
    height: 8rem;
    background: linear-gradient(135deg, #f43f5e, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 20px 40px rgba(244, 63, 94, 0.3);
}

.location-icon i {
    color: white;
    font-size: 3rem;
}

.event-location h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.venue-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f43f5e;
    margin-bottom: 0.5rem;
}

.venue-city {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.btn-directions {
    background: none;
    border: 2px solid #f43f5e;
    color: #f43f5e;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-directions:hover {
    background: #f43f5e;
    color: white;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f9fafb, #fdf2f8);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    opacity: 1;
}

/* Gift Section */
.gifts-section {
    padding: 5rem 0;
    background: white;
}

.gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.gift-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gift-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gift-card.selected {
    border: 2px solid #f43f5e;
    background: #fdf2f8;
}

.gift-image {
    position: relative;
    overflow: hidden;
}

.gift-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.selected-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f43f5e;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.selected-overlay {
    position: absolute;
    inset: 0;
    background: rgba(244, 63, 94, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-overlay i {
    background: #f43f5e;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    font-size: 1.5rem;
}

.gift-content {
    padding: 1.5rem;
}

.gift-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.gift-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f43f5e;
    margin-bottom: 1rem;
}

.gift-btn {
    width: 100%;
    background: linear-gradient(135deg, #f43f5e, #ec4899);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.3);
}

.gift-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(244, 63, 94, 0.4);
}

.gift-btn.selected {
    background: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}

.gift-btn.selected:hover {
    transform: none;
}

.gift-btn i {
    margin-right: 0.5rem;
}

.pix-section {
    text-align: center;
}

.pix-card {
    display: inline-block;
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pix-card i {
    font-size: 2.5rem;
    color: #f43f5e;
    margin-bottom: 1rem;
}

.pix-card h3 {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.pix-card > p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.pix-info {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pix-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.pix-key {
    font-family: 'Courier New', monospace;
    color: #1f2937;
    font-weight: 500;
    word-break: break-all;
}

/* RSVP Section */
.rsvp-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
}

.rsvp-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.rsvp-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    color: #374151;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group label i {
    margin-right: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f43f5e;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.radio-option:hover {
    border-color: #fda4af;
}

.radio-option input[type="radio"] {
    width: auto;
    margin-right: 0.75rem;
    accent-color: #f43f5e;
}

.radio-option input[type="radio"]:checked + label {
    color: #f43f5e;
}

.radio-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.radio-option label i {
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

.conditional-fields {
    animation: fadeInUp 0.3s ease-out;
}

.form-submit {
    text-align: center;
    padding-top: 1.5rem;
}

.submit-btn {
    background: linear-gradient(135deg, #f43f5e, #ec4899);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(244, 63, 94, 0.4);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.submit-btn i {
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937, #111827);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-brand:hover {
    color: #fda4af;
}

.footer-brand i {
    color: #f43f5e;
    font-size: 1.75rem;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-love {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.love-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #f43f5e, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.couple-names {
    color: #fda4af !important;
    font-weight: 500;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-section h3 i {
    color: #f43f5e;
}

.footer-details,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-detail,
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-detail i,
.contact-item i {
    color: #f43f5e;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-detail small,
.contact-item small {
    color: #9ca3af;
    font-size: 0.875rem;
}

.rsvp-deadline {
    margin-top: 2rem;
}

.rsvp-deadline p {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.deadline-box {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), rgba(236, 72, 153, 0.2));
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.deadline-box p {
    color: #fda4af !important;
    font-weight: 600;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.copyright-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copyright-left i {
    color: #f43f5e;
}

.footer-copyright p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

.back-to-top-btn {
    background: linear-gradient(135deg, #f43f5e, #ec4899);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-to-top-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(244, 63, 94, 0.4);
}

.back-to-top-btn i {
    animation: pulse 2s infinite;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close,
.modal-nav {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover,
.modal-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.modal-close {
    top: 1rem;
    right: 1rem;
}

.modal-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.modal-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.modal-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

/* Toast */
.toast {
    position: fixed;
    top: 2rem;
    right: 0rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 3000;
    max-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast-icon {
    font-size: 1.25rem;
}

.toast.success .toast-icon::before {
    content: '✓';
    color: #10b981;
}

.toast.error .toast-icon::before {
    content: '✕';
    color: #ef4444;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40%, 43% {
        transform: translate(-50%, -10px);
    }
    70% {
        transform: translate(-50%, -5px);
    }
    90% {
        transform: translate(-50%, -2px);
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-radius: 0 0 1rem 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        color: #4b5563;
        padding: 0.75rem;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background: #fdf2f8;
    }

    .nav-toggle {
        display: block;
    }

    .story-content,
    .event-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .countdown {
        gap: 0.5rem;
    }

    .countdown-item {
        min-width: 80px;
        padding: 1rem 0.5rem;
    }

    .modal-prev {
        margin-left: -30px;
    }
    .modal-next {
               margin-right: -40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .rsvp-form {
        padding: 2rem 1.5rem;
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gifts-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}