/* Color Palette */
:root {
    --beige: #F5F1E8;
    --light-blue: #C8D8E4;
    --darker-blue: #8BA5B8;
    --sage: #A8B5A0;
    --olive: #8B9456;
    --text-dark: #3E4C4A;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--beige);
}

/* Navigation */
.navbar {
    background-color: rgba(245, 241, 232, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.nav-link {
    color: var(--text-dark);
    margin: 0 15px;
    transition: color 0.3s;
}

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

/* Welcome Section */
.section-welcome {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('media/photos/20251224_175108(0).jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px);
    transform: scale(1.1);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 241, 232, 0.3);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    z-index: 3;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    padding-top: 120px;
    padding-bottom: 0;
}

.couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
    font-weight: 400;
}

.marriage-announcement {
    border-top: 3px solid white;
    border-bottom: 3px solid white;
    padding: 25px 40px;
    margin: 0 auto;
    display: inline-block;
}

.marriage-announcement h2 {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    letter-spacing: 8px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    margin: 0;
    font-weight: 400;
}

.save-date-badge {
    background: linear-gradient(135deg, var(--sage), var(--olive));
    padding: 30px 60px;
    border-radius: 100px 100px 0 0;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    max-width: 350px;
    align-self: center;
}

.save-date-text {
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    color: white;
    margin: 0 0 10px 0;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.wedding-date {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: white;
    margin: 0;
    font-weight: 400;
}

/* Countdown Section */
.section-countdown {
    background: linear-gradient(135deg, var(--beige) 0%, var(--light-blue) 100%);
}

.countdown-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: var(--darker-blue);
    margin-bottom: 30px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.countdown-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 120px;
    text-align: center;
    border-left: 5px solid var(--sage);
}

.countdown-number {
    font-family: 'Georgia', serif;
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--darker-blue);
    line-height: 1;
    margin-bottom: 10px;
}

.countdown-label {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--olive);
}

.countdown-separator {
    font-size: 3rem;
    color: var(--darker-blue);
    font-weight: bold;
}

/* Bride and Groom Section */
.section-couple {
    background-color: var(--beige);
}

.couple-photo {
    padding: 20px;
}

.couple-photo img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    height: auto;
    border: 5px solid white;
}

.couple-text {
    padding: 30px;
}

.couple-text h3 {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--olive);
    margin-bottom: 10px;
}

.couple-text h4 {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: var(--darker-blue);
    margin-bottom: 20px;
}

.couple-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Our Story Section */
.section-story {
    background-color: white;
}

.story-timeline {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px 0;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--light-blue), var(--sage), var(--olive));
    transform: translateX(-50%);
}

.story-event {
    position: relative;
    margin-bottom: 80px;
    display: flex;
    align-items: center;
}

.story-event.left {
    flex-direction: row;
}

.story-event.right {
    flex-direction: row-reverse;
}

.story-content {
    width: 45%;
    background: var(--beige);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.story-event.left .story-content {
    margin-right: 5%;
    text-align: right;
}

.story-event.right .story-content {
    margin-left: 5%;
    text-align: left;
}

.story-content h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: var(--darker-blue);
    margin-bottom: 10px;
}

.story-content h4 {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    color: var(--olive);
    margin-bottom: 15px;
}

.story-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.story-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.heart-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sage), var(--olive));
    border: 4px solid white;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

/* Slideshow */
.story-slideshow {
    margin-top: 20px;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.slide.active {
    display: block;
    position: relative;
    animation: slideInFromRight 0.6s ease-in-out;
}

.slide.slide-out {
    display: block;
    animation: slideOutToLeft 0.6s ease-in-out;
}

.slide-placeholder {
    background: linear-gradient(135deg, var(--light-blue), var(--sage));
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Slide animations */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

/* Program Section */
.section-program {
    background-color: white;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 300;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--sage), var(--olive));
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--light-blue), var(--sage));
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item .time {
    width: 80px;
    font-weight: 600;
    color: var(--darker-blue);
    font-size: 1.1rem;
}

.timeline-item .content {
    flex: 1;
    padding-left: 40px;
    position: relative;
}

.timeline-item .content::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--sage);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--sage);
}

.timeline-item h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.timeline-item p {
    color: #666;
}

/* Venues Section */
.section-venues {
    background-color: var(--beige);
}

.venue-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.venue-card:hover {
    transform: translateY(-5px);
}

.venue-photo-placeholder {
    background: linear-gradient(135deg, var(--darker-blue), var(--olive));
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    overflow: hidden;
}

.venue-photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.venue-content {
    padding: 30px;
}

.venue-content h3 {
    color: var(--olive);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.venue-content h4 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.venue-content p {
    color: #666;
    line-height: 1.8;
}

.btn-custom {
    background-color: var(--sage);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-custom:hover {
    background-color: var(--olive);
    color: white;
}

/* RSVP Form Section */
.section-rsvp {
    background-color: white;
}

.rsvp-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.wedding-form {
    background-color: var(--beige);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-row {
    margin-bottom: 25px;
}

.form-group {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(168, 181, 160, 0.2);
}

.form-control:required {
    border-left: 4px solid var(--olive);
}

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

select.form-control {
    cursor: pointer;
}

.btn-submit {
    background: linear-gradient(135deg, var(--sage), var(--olive));
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: 'Georgia', serif;
    font-weight: 500;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
}

.footer p {
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        padding-top: 100px;
        padding-bottom: 0;
        height: 100vh;
    }

    .couple-names {
        font-size: 3rem;
    }

    .marriage-announcement {
        padding: 20px 25px;
        border-top: 2px solid white;
        border-bottom: 2px solid white;
    }

    .marriage-announcement h2 {
        font-size: 1.5rem;
        letter-spacing: 4px;
    }

    .save-date-badge {
        padding: 25px 40px;
        max-width: 280px;
    }

    .save-date-text {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .wedding-date {
        font-size: 2.5rem;
    }

    .countdown-title {
        font-size: 2rem;
    }

    .countdown-timer {
        gap: 10px;
    }

    .countdown-item {
        padding: 20px;
        min-width: 80px;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

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

    .countdown-separator {
        font-size: 2rem;
        display: none;
    }

    .couple-text {
        padding: 20px;
        margin-top: 20px;
    }

    .couple-text h4 {
        font-size: 2.5rem;
    }

    .couple-photo {
        padding: 10px;
    }

    .couple-photo img {
        border: 3px solid white;
    }

    .story-timeline::before {
        left: 30px;
    }

    .story-event {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 60px;
        margin-bottom: 60px;
    }

    .story-event.left, .story-event.right {
        flex-direction: column !important;
    }

    .story-content {
        width: 100%;
        text-align: left !important;
        margin: 0 !important;
    }

    .story-marker {
        left: 30px;
        top: 0;
    }

    .heart-circle {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .story-content h3 {
        font-size: 1.5rem;
    }

    .story-content h4 {
        font-size: 1.2rem;
    }

    .slide-placeholder, .slide img {
        height: 200px;
    }

    .timeline::before {
        left: 60px;
    }

    .timeline-item .time {
        width: 60px;
        font-size: 1rem;
    }

    .timeline-item .content {
        padding-left: 30px;
    }

    .timeline-item .content::before {
        left: -20px;
    }
}
