/* ===================================
   MEDITERRANEAN WEDDING THEME
   =================================== */

:root {
    --blue-color: #1E88E5;
    --light-blue: #64B5F6;
    --white-bg: #FFFFFF;
    --cream-bg: #F5F5F5;
    --gold-color: #FFD700;
    --text-color: #2C3E50;
    --font-script: 'Playfair Display', serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, #E8F4F8 0%, #FFFFFF 50%, #E8F4F8 100%);
    color: var(--text-color);
    overflow-x: hidden;
}

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

.btn-music-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-color) 0%, var(--light-blue) 100%);
    border: 2px solid #fff;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.btn-music-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.5);
}

/* Typography */
.big-font {
    font-family: var(--font-script);
    font-size: 5rem;
    font-weight: 700;
    color: var(--blue-color);
    margin: 1rem 0;
}

.medium-font {
    font-family: var(--font-script);
    font-size: 3rem;
    color: var(--blue-color);
    margin-bottom: 1rem;
}

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

.wave-icon {
    font-size: 3rem;
    margin: 1rem 0;
    filter: drop-shadow(0 0 10px rgba(30, 136, 229, 0.3));
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(180deg, #E8F4F8 0%, #FFFFFF 100%);
}

.hero-image-container {
    width: 300px;
    height: 300px;
    margin: 2rem auto;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--blue-color);
    box-shadow: 0 15px 40px rgba(30, 136, 229, 0.3),
        0 0 0 10px rgba(255, 255, 255, 0.5),
        0 0 0 15px rgba(30, 136, 229, 0.2);
}

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

/* Sections */
.section-padding {
    padding: 5rem 1rem;
}

.mediterranean-quote {
    background: linear-gradient(135deg, #FFFFFF 0%, #E8F4F8 100%);
}

/* Mediterranean Divider */
.med-divider {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
    margin: 2rem auto;
}

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

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

.countdown-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 600;
    color: var(--blue-color);
    background: #fff;
    border-radius: 15px;
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.2);
    border: 3px solid var(--light-blue);
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1rem;
    color: var(--blue-color);
    font-weight: 600;
}

/* Mediterranean Card */
.med-card {
    background: #fff;
    border-radius: 15px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(30, 136, 229, 0.15);
    transition: all 0.3s ease;
    border-top: 4px solid var(--blue-color);
}

.med-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(30, 136, 229, 0.25);
}

.med-card h3 {
    font-family: var(--font-heading);
    color: var(--text-color);
    letter-spacing: 2px;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Mediterranean Border (for RSVP) */
.med-border {
    border: 3px solid var(--blue-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 10px 40px rgba(30, 136, 229, 0.15);
}

.med-rsvp-section {
    background: linear-gradient(135deg, #E8F4F8 0%, #FFFFFF 100%);
}

/* Buttons */
.btn-med {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--blue-color) 0%, var(--light-blue) 100%);
    border: none;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(30, 136, 229, 0.3);
    font-family: var(--font-heading);
}

.btn-med:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(30, 136, 229, 0.4);
    color: #fff;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.btn-music-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-color) 0%, var(--light-blue) 100%);
    border: 2px solid #fff;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.btn-music-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.5);
}

/* Typography */
.big-font {
    font-family: var(--font-script);
    font-size: 5rem;
    font-weight: 700;
    color: var(--blue-color);
    margin: 1rem 0;
}

.medium-font {
    font-family: var(--font-script);
    font-size: 3rem;
    color: var(--blue-color);
    margin-bottom: 1rem;
}

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

.wave-icon {
    font-size: 3rem;
    margin: 1rem 0;
    filter: drop-shadow(0 0 10px rgba(30, 136, 229, 0.3));
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(180deg, #E8F4F8 0%, #FFFFFF 100%);
}

.hero-image-container {
    width: 300px;
    height: 300px;
    margin: 2rem auto;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--blue-color);
    box-shadow: 0 15px 40px rgba(30, 136, 229, 0.3),
        0 0 0 10px rgba(255, 255, 255, 0.5),
        0 0 0 15px rgba(30, 136, 229, 0.2);
}

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

/* Sections */
.section-padding {
    padding: 5rem 1rem;
}

.mediterranean-quote {
    background: linear-gradient(135deg, #FFFFFF 0%, #E8F4F8 100%);
}

/* Mediterranean Divider */
.med-divider {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
    margin: 2rem auto;
}

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

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

.countdown-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 600;
    color: var(--blue-color);
    background: #fff;
    border-radius: 15px;
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.2);
    border: 3px solid var(--light-blue);
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1rem;
    color: var(--blue-color);
    font-weight: 600;
}

/* Mediterranean Card */
.med-card {
    background: #fff;
    border-radius: 15px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(30, 136, 229, 0.15);
    transition: all 0.3s ease;
    border-top: 4px solid var(--blue-color);
}

.med-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(30, 136, 229, 0.25);
}

.med-card h3 {
    font-family: var(--font-heading);
    color: var(--text-color);
    letter-spacing: 2px;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Mediterranean Border (for RSVP) */
.med-border {
    border: 3px solid var(--blue-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 10px 40px rgba(30, 136, 229, 0.15);
}

.med-rsvp-section {
    background: linear-gradient(135deg, #E8F4F8 0%, #FFFFFF 100%);
}

/* Buttons */
.btn-med {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--blue-color) 0%, var(--light-blue) 100%);
    border: none;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(30, 136, 229, 0.3);
    font-family: var(--font-heading);
}

.btn-med:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(30, 136, 229, 0.4);
    color: #fff;
    text-decoration: none;
}

.btn-med.btn-block {
    display: block;
    width: 100%;
}

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

.gallery-item-med {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
    background: #fff;
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.15);
    border: 3px solid var(--light-blue);
}

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

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

/* Timeline (Itinerary) */
.med-timeline {
    max-width: 800px;
    margin: 0 auto;
}

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

.med-timeline .time {
    width: 30%;
    text-align: right;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--blue-color);
    letter-spacing: 3px;
    padding-right: 2rem;
    font-weight: 600;
}

.med-timeline .content {
    width: 70%;
    background: #fff;
    border: 3px solid var(--light-blue);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 5px 20px rgba(30, 136, 229, 0.1);
}

.med-timeline .content::before {
    content: '🌊';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.med-timeline .content h3 {
    font-family: var(--font-heading);
    color: var(--blue-color);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.med-timeline .content p {
    color: var(--text-color);
    margin: 0;
}

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

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

    .hero-image-container {
        width: 250px;
        height: 250px;
    }

    .countdown-number {
        font-size: 3rem;
        padding: 1rem 1.5rem;
    }

    .countdown-container {
        gap: 1.5rem;
    }

    .section-padding {
        padding: 3rem 1rem;
    }

    .med-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .med-timeline .time {
        font-size: 1.5rem;
        width: 25%;
    }

    .med-timeline .content {
        width: 75%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .big-font {
        font-size: 2.5rem;
    }

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

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

    .med-card {
        padding: 2rem 1.5rem;
    }

    .med-gallery {
        grid-template-columns: 1fr;
    }

    .med-timeline .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .med-timeline .time {
        width: 100%;
        text-align: left;
        padding-right: 0;
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }

    .med-timeline .content {
        width: 100%;
    }

    .med-timeline .content::before {
        left: 50%;
        top: -20px;
        transform: translateX(-50%);
    }
}