:root {
    --wine-red: #800000;
    --vine-green: #556B2F;
    --cork-beige: #F5F5DC;
    --dark-wood: #3E2723;
    --white: #FFFFFF;
}

body {
    font-family: 'Playfair Display', serif;
    color: var(--dark-wood);
    background-color: var(--white);
    overflow-x: hidden;
}

.script-font {
    font-family: 'Great Vibes', cursive;
}

.names-font {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--cork-beige);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.serif-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--wine-red);
    letter-spacing: 1px;
}

.section-padding {
    padding: 5rem 0;
}

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

.btn-music-vino {
    background-color: rgba(128, 0, 0, 0.8);
    color: var(--cork-beige);
    border: 1px solid var(--cork-beige);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-music-vino:hover {
    background-color: var(--vine-green);
    transform: scale(1.1);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1516594915697-87eb3b1c14ea?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.hero-image-frame {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 5px solid var(--cork-beige);
    padding: 5px;
    overflow: hidden;
    margin: 2rem auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    background-color: rgba(128, 0, 0, 0.3);
}

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

.date-font {
    font-size: 1.5rem;
    color: var(--cork-beige);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.location-font {
    font-size: 1.2rem;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.countdown-grape {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--cork-beige);
    border-radius: 50%;
    padding: 1.5rem;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.countdown-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cork-beige);
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    margin-top: 0.2rem;
    color: var(--cork-beige);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--wine-red);
    position: relative;
}

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

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

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

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--wine-red);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '🍇';
    position: absolute;
    width: 30px;
    height: 30px;
    right: -15px;
    background-color: var(--cork-beige);
    border: 2px solid var(--wine-red);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--wine-red);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--wine-red);
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--wine-red);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--wine-red) transparent transparent;
}

.right::after {
    left: -15px;
}

.content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--wine-red);
}

.content h3 {
    color: var(--wine-red);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 5px;
}

.content p {
    color: var(--dark-wood);
}

/* Cards */
.vino-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid var(--cork-beige);
    position: relative;
}

.vino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.1);
    border-color: var(--wine-red);
}

.icon-vine {
    width: 60px;
    height: 60px;
    background-color: var(--cork-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--wine-red);
    font-size: 1.5rem;
}

.time-text {
    font-weight: 700;
    color: var(--wine-red);
    font-size: 1.2rem;
}

/* Buttons */
.btn-vino {
    display: inline-block;
    padding: 10px 30px;
    background-color: var(--wine-red);
    color: var(--cork-beige);
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

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

.btn-vino-outline {
    display: inline-block;
    padding: 10px 30px;
    background-color: transparent;
    color: var(--wine-red);
    border: 1px solid var(--wine-red);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-vino-outline:hover {
    background-color: var(--wine-red);
    color: var(--cork-beige);
    text-decoration: none;
}

.btn-vino-light {
    display: inline-block;
    padding: 12px 40px;
    background-color: var(--cork-beige);
    color: var(--wine-red);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-vino-light:hover {
    background-color: white;
    color: var(--wine-red);
    text-decoration: none;
    transform: scale(1.05);
}

/* Footer Section */
.footer-section {
    background: linear-gradient(rgba(128, 0, 0, 0.9), rgba(128, 0, 0, 0.9)), url('https://images.unsplash.com/photo-1506377247377-2a5b3b417ebb?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

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

    .countdown-container {
        gap: 1rem;
    }

    .countdown-grape {
        width: 100px;
        height: 100px;
        padding: 1rem;
    }

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

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        border: medium solid var(--wine-red);
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--wine-red) transparent transparent;
    }

    .left::after,
    .right::after {
        left: 15px;
    }

    .right {
        left: 0%;
    }
}