:root {
    --primary-color: #FFB7C5;
    /* Pastel Pink */
    --secondary-color: #E6E6FA;
    /* Lavender */
    --accent-color: #D4AF37;
    /* Gold */
    --bg-color: #FFF0F5;
    /* Lavender Blush */
    --text-color: #5A5A5A;
    --white: #ffffff;
    --font-heading: 'Great Vibes', cursive;
    --font-body: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--accent-color);
}

.big-font {
    font-size: 4rem;
    line-height: 1.2;
}

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

.text-uppercase-spaced {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fff0f5 0%, #e6e6fa 100%);
    overflow: hidden;
}

.hero-image-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    position: relative;
    z-index: 2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Butterfly Animation */
.butterfly {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFB7C5'%3E%3Cpath d='M12 2C12 2 11 3 11 5C11 7 12 9 12 9C12 9 13 7 13 5C13 3 12 2 12 2ZM8 6C6 5 3 6 2 8C1 10 2 12 4 13C6 14 8 13 8 13C8 13 7 11 8 6ZM16 6C17 11 16 13 16 13C16 13 18 14 20 13C22 12 23 10 22 8C21 6 18 5 16 6ZM6 14C4 15 3 17 3 19C3 21 5 22 7 21C9 20 10 18 10 18C10 18 8 16 6 14ZM18 14C16 16 14 18 14 18C14 18 15 20 17 21C19 22 21 21 21 19C21 17 20 15 18 14Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    animation: fly 10s linear infinite;
    z-index: 1;
}

@keyframes fly {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(100px, -50px) rotate(10deg);
    }

    50% {
        transform: translate(200px, 0) rotate(0deg);
    }

    75% {
        transform: translate(100px, 50px) rotate(-10deg);
    }

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

/* Buttons */
.btn-mariposa {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 183, 197, 0.4);
    display: inline-block;
    text-decoration: none;
}

.btn-mariposa:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    color: var(--white);
    text-decoration: none;
}

/* Cards */
.mariposa-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 183, 197, 0.2);
    transition: transform 0.3s ease;
    height: 100%;
}

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

/* Section Padding */
.section-padding {
    padding: 5rem 0;
}

/* Countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--font-heading);
}

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

/* Music Control */
.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.btn-music-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    outline: none;
}

.btn-music-circle:hover {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-music-circle.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 183, 197, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 183, 197, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 183, 197, 0);
    }
}

/* Gallery */
.mariposa-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item-mariposa {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--white);
    transition: transform 0.3s ease;
}

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

.gallery-item-mariposa img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

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

.mariposa-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-step {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.step-time {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    top: 0;
    z-index: 2;
}

.step-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    width: 45%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-top: 1.5rem;
}

.timeline-step:nth-child(odd) .step-content {
    margin-right: auto;
    margin-left: 0;
}

.timeline-step:nth-child(even) .step-content {
    margin-left: auto;
    margin-right: 0;
}

.step-icon {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

    .timeline-step {
        justify-content: flex-start;
        padding-left: 50px;
    }

    .step-time {
        left: 20px;
        top: 20px;
        transform: translateX(-50%);
    }

    .step-content {
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .timeline-step:nth-child(odd) .step-content,
    .timeline-step:nth-child(even) .step-content {
        margin: 0;
    }

    .step-icon {
        margin-bottom: 0;
        font-size: 1.5rem;
    }
}

/* Dress Code */
.dress-code-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.dress-code-icon:hover {
    transform: rotate(10deg);
}

/* Footer */
footer a:hover {
    color: var(--secondary-color) !important;
}