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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(135deg, #fefefe 0%, #f8f6f0 100%);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('background_2.jpg') center/cover no-repeat,
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(122, 154, 118, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.15;
}

/* Custom Properties for Glamorous Theme */
:root {
    --gold-primary: #d4af37;
    --gold-secondary: #f4e4bc;
    --gold-accent: #b8860b;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    --cream: #fefefe;
    --green-watercolor: #7a9a76;
    --green-light: #a8c4a4;
}

/* Background Image Styling */
.background-image {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-accent));
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #34495e;
}

/* Hero Section */
.hero {
    min-height: auto;
    padding: 4rem 0 2rem 0;
    background: 
        linear-gradient(135deg, rgba(254, 254, 254, 0.92) 0%, rgba(248, 246, 240, 0.92) 100%),
        url('background.jpg') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    border: 3px solid var(--gold-primary);
    border-style: double;
    margin: 20px 20px 1rem 20px;
    border-radius: 15px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23d4af37" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23d4af37" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Watercolor Leaf Decorations */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 10% 15%, var(--green-watercolor) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 85%, var(--green-light) 0%, transparent 50%);
    opacity: 0.15;
    pointer-events: none;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gold-primary);
    text-shadow: 2px 2px 4px rgba(212, 175, 55, 0.2);
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-accent));
    border-radius: 2px;
}

.hero-decoration-line {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 2rem auto;
    position: relative;
}

.hero-decoration-line::before,
.hero-decoration-line::after {
    content: '';
    position: absolute;
    top: -3px;
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
}

.hero-decoration-line::before {
    left: 0;
}

.hero-decoration-line::after {
    right: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-date {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.date-day {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    font-family: 'Playfair Display', serif;
}

.date-month {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.date-year {
    font-size: 1.2rem;
    opacity: 0.8;
}

.hero-location {
    font-size: 1.1rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-location p {
    margin-bottom: 0.5rem;
}

.location-icon {
    color: var(--gold-primary);
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
    animation: pulse 2s ease-in-out infinite;
}

/* Hero Countdown Integration */
.hero-countdown {
    margin-top: 3rem;
    padding: 2rem 2rem 1rem;
    background: rgba(244, 228, 188, 0.9);
    border-radius: 20px;
    border: 2px solid var(--gold-primary);
    border-style: double;
}

.hero-countdown h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.hero-countdown h2::after {
    width: 60px;
    bottom: -8px;
}

.floating-hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-hearts span {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.8;
    color: var(--gold-primary);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.floating-hearts span:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-hearts span:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-hearts span:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

/* Countdown Section */
.countdown {
    padding: 3rem 0;
    background: 
        linear-gradient(135deg, rgba(244, 228, 188, 0.95) 0%, rgba(212, 175, 55, 0.95) 100%),
        url('background_2.jpg') center/cover no-repeat;
    color: var(--text-dark);
    text-align: center;
    border: 2px solid var(--gold-primary);
    border-style: double;
    margin: 10px 20px;
    border-radius: 15px;
}

.countdown h2 {
    color: var(--text-dark);
    margin-bottom: 3rem;
}

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

.countdown-item {
    text-align: center;
    min-width: 120px;
}

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--gold-accent);
    text-shadow: 1px 1px 2px rgba(184, 134, 11, 0.2);
}

.countdown-circle {
    width: 120px;
    height: 120px;
    border: 3px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    position: relative;
}

.countdown-circle::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px solid var(--gold-secondary);
    border-radius: 50%;
    opacity: 0.5;
}

.countdown-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Schedule Section */
.schedule {
    padding: 5rem 0;
    background: 
        linear-gradient(135deg, rgba(254, 254, 254, 0.95) 0%, rgba(248, 246, 240, 0.95) 100%),
        url('background_2.jpg') center/cover no-repeat;
    border: 2px solid var(--gold-secondary);
    border-style: double;
    margin: 0.5rem 20px 20px 20px;
    border-radius: 15px;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--gold-primary), var(--gold-accent));
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-time {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-accent));
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    border: 2px solid var(--gold-secondary);
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    margin: 0 2rem;
    flex: 1;
    position: relative;
    border: 1px solid var(--gold-secondary);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
    transform: translateY(-50%);
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin-bottom: 1rem;
    color: #666;
}

.location {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-accent));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

/* Venue Section */
.venue {
    padding: 5rem 0;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 254, 254, 0.95) 100%),
        url('background.jpg') center/cover no-repeat;
    border: 2px solid var(--gold-secondary);
    border-style: double;
    margin: 0 20px 20px 20px;
    border-radius: 15px;
}

.venue-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.location-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--gold-secondary);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.venue-info h3,
.location-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.venue-icon {
    font-size: 1.8rem;
    color: var(--gold-primary);
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.venue-info p,
.location-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.venue-details,
.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-item .icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.detail-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.detail-item p {
    color: var(--text-light);
    margin: 0;
}

.venue-map,
.location-map {
    background: var(--cream);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border: 2px solid var(--gold-secondary);
    box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.location-map h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.1rem;
}

.map-placeholder {
    text-align: center;
    color: #666;
}

.map-placeholder span {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

/* RSVP Section */
.rsvp {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gold-secondary) 0%, var(--gold-primary) 100%);
    color: var(--text-dark);
    border: 2px solid var(--gold-primary);
    border-style: double;
    margin: 20px;
    border-radius: 15px;
}

.rsvp h2 {
    color: var(--text-dark);
}

.rsvp-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.9);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid var(--gold-primary);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.9);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.rsvp-button {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-accent));
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.rsvp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Accommodation Section */
.accommodation {
    padding: 5rem 0;
    background: 
        linear-gradient(135deg, rgba(254, 254, 254, 0.95) 0%, rgba(248, 246, 240, 0.95) 100%),
        url('background.jpg') center/cover no-repeat;
    border: 2px solid var(--gold-secondary);
    border-radius: 15px;
    margin: 20px;
    border-style: double;
}

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

.hotel-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gold-secondary);
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.hotel-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.hotel-card p {
    color: #666;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.distance {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 1.5rem;
}

.book-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-accent));
    color: var(--white);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.book-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Registry Section */
.registry {
    padding: 5rem 0;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 254, 254, 0.95) 100%),
        url('background.jpg') center/cover no-repeat;
    text-align: center;
    border: 2px solid var(--gold-secondary);
    border-style: double;
    margin: 20px;
    border-radius: 15px;
}

.registry p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.registry-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.registry-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-accent));
    color: var(--white);
    text-decoration: none;
    border-radius: 15px;
    min-width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    border: 2px solid var(--gold-secondary);
}

.registry-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.registry-icon {
    font-size: 2.5rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: 
        linear-gradient(135deg, rgba(254, 254, 254, 0.95) 0%, rgba(248, 246, 240, 0.95) 100%),
        url('background.jpg') center/cover no-repeat;
    border: 2px solid var(--gold-secondary);
    border-style: double;
    margin: 20px;
    border-radius: 15px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease;
    border: 1px solid var(--gold-secondary);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-item p,
.contact-phone {
    color: #666;
    margin: 0;
}

.contact-phone {
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-phone:hover {
    color: var(--gold-primary);
    transform: translateY(-1px);
}

.contact-item:hover .contact-phone {
    color: var(--gold-primary);
}

.contact-call-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-accent));
    color: var(--white);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
    border: 1px solid var(--gold-secondary);
}

.contact-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-primary));
}

/* Footer */
.footer {
    background: var(--gold-accent);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    border: 2px solid var(--gold-primary);
    border-style: double;
    margin: 20px;
    border-radius: 15px;
}

.footer p {
    opacity: 0.8;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
        margin-bottom: 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .date-day {
        font-size: 2rem;
    }
    
    .countdown-timer {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .countdown-item {
        min-width: 80px;
        margin: 0.5rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .hero-countdown {
        margin-top: 2rem;
        padding: 1rem 1rem 0;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 20px;
    }
    
    .timeline-time {
        align-self: flex-start;
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        margin: 0;
        width: 100%;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .venue {
        margin-top: 0;
    }
    
    .venue-content {
        gap: 2rem;
    }
    
    .location-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hotels {
        grid-template-columns: 1fr;
    }
    
    .registry-links {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .rsvp-form {
        padding: 2rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .countdown-timer {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 70px;
        margin: 0.25rem;
    }
    
    .timeline-item {
        margin-left: 10px;
    }
    
    .timeline-time {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }
}
