body {
    background-image: url('../img/bg-eucalipto.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: "Montserrat", sans-serif;
    color: #2F3E35;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Floating Eucalyptus Leaves */
.eucalyptus-leaf {
    position: fixed;
    font-size: 2.5rem;
    opacity: 0.4;
    animation: float-breeze 20s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.eucalyptus-leaf:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.eucalyptus-leaf:nth-child(2) {
    top: 25%;
    right: 8%;
    animation-delay: 3s;
}

.eucalyptus-leaf:nth-child(3) {
    top: 50%;
    left: 10%;
    animation-delay: 6s;
}

.eucalyptus-leaf:nth-child(4) {
    top: 70%;
    right: 15%;
    animation-delay: 9s;
}

@keyframes float-breeze {

    0%,
    100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) translateX(10px) rotate(5deg);
    }

    50% {
        transform: translateY(-25px) translateX(-5px) rotate(-3deg);
    }

    75% {
        transform: translateY(-10px) translateX(15px) rotate(7deg);
    }
}

/* Light Particles (Pollen Effect) */
.light-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(139, 163, 153, 0.8), transparent);
    border-radius: 50%;
    animation: particle-float 15s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.light-particle:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.light-particle:nth-child(2) {
    left: 40%;
    animation-delay: 5s;
}

.light-particle:nth-child(3) {
    left: 60%;
    animation-delay: 10s;
}

.light-particle:nth-child(4) {
    left: 80%;
    animation-delay: 7s;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* --- Typography --- */
.pinyon-script {
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    /* Halo for readability */
}

.cormorant-regular {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}

.cormorant-bold {
    font-family: "Playfair Display", serif;
    font-weight: 700;
}

.cormorant-italic {
    font-family: "Playfair Display", serif;
    font-style: italic;
}

.big-font {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #4A5D53;
}

.medium-font {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #4A5D53;
}

.text-gold {
    color: #6B8E23;
    animation: leaf-glow 4s ease-in-out infinite;
}

@keyframes leaf-glow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(107, 142, 35, 0.3);
    }

    50% {
        text-shadow: 0 0 20px rgba(107, 142, 35, 0.5), 0 0 30px rgba(107, 142, 35, 0.3);
    }
}

.text-dark {
    color: #2F3E35;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.letter-spacing-3 {
    letter-spacing: 3px;
}

/* --- Layout (Open Design) --- */
.main-container {
    padding-top: 2rem;
    padding-bottom: 4rem;
    max-width: 100%;
    /* Full width feel */
    overflow-x: hidden;
}

/* Replaced .wedding-card with .content-section style */
.wedding-card {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 3rem 2rem;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    z-index: 1;
    /* Removed breathe animation to prevent conflict with Animate.css */
}

/* 
   If we want a subtle pulse, we should apply it to an inner container 
   or use a different approach that doesn't conflict with entrance animations.
   For now, we'll keep it static on load and only animate on hover for stability.
*/

.wedding-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(74, 93, 83, 0.15);
    border-color: rgba(107, 142, 35, 0.4);
}

/* Make some sections completely transparent if desired */
.transparent-section {
    background-color: transparent;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
}

.divider-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, #8DA399, transparent);
    width: 0;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    opacity: 0.7;
    animation: grow-organic 2s ease-out forwards;
    box-shadow: 0 0 10px rgba(141, 163, 153, 0.5);
}

@keyframes grow-organic {
    to {
        width: 60px;
    }
}

/* --- Countdown Timer --- */
.countdown-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.countdown-timer-ul {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.date-item {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90px;
    animation: emerald-pulse 3s ease-in-out infinite;
}

@keyframes emerald-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(74, 93, 83, 0.2));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(107, 142, 35, 0.4));
    }
}

.date-item span {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    font-family: "Playfair Display", serif;
    color: #4A5D53;
}

.date-item .label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-family: "Montserrat", sans-serif;
    color: #555;
    margin-top: 5px;
    text-transform: uppercase;
    font-weight: 600;
}

/* --- Buttons & Links --- */
.btn-wedding {
    background-color: #4A5D53;
    color: white;
    border: none;
    padding: 15px 45px;
    border-radius: 50px;
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(74, 93, 83, 0.2);
}

.btn-wedding:hover {
    background-color: #2F3E35;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(74, 93, 83, 0.3);
    color: white;
    text-decoration: none;
}

.btn-wedding-outline {
    background-color: transparent;
    color: #4A5D53;
    border: 2px solid #4A5D53;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-wedding-outline:hover {
    background-color: #4A5D53;
    color: white;
    text-decoration: none;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .big-font {
        font-size: 3.5rem;
    }

    .medium-font {
        font-size: 2.5rem;
    }

    .wedding-card {
        padding: 2rem 1.5rem;
        margin-left: 15px;
        margin-right: 15px;
    }

    .countdown-timer-ul {
        gap: 1.5rem;
    }
}

/* --- Music Button --- */
.btn-music {
    background-color: rgba(255, 255, 255, 0.9);
    color: #4A5D53;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-music:hover {
    background-color: #4A5D53;
    color: white;
}

.btn-music:focus {
    outline: none;
}

/* --- Couple Photo --- */
.couple-photo-container {
    position: relative;
    padding: 10px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    /* Softer corners */
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    /* Playful rotation */
}

.couple-photo {
    max-width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

/* --- RSVP Buttons --- */
.rsvp-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .rsvp-buttons {
        flex-direction: row;
        gap: 2rem;
    }
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 2rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

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

/* --- Timeline --- */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #8DA399;
    transform: translateX(-50%);
}

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

.timeline-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px solid #8DA399;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #4A5D53;
    z-index: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-content {
    width: 40%;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 5%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 5%;
}

.time-badge {
    background: #4A5D53;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-icon {
        left: 30px;
    }

    .timeline-content {
        width: 75%;
        margin-left: 80px !important;
        text-align: left;
        margin-right: 0 !important;
    }
}

/* --- Accommodation --- */
.accommodation-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
    height: 100%;
}

.accommodation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}