* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #eef2f7;
    font-family: 'Montserrat', sans-serif;
    color: #1f2c38;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero section */
.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 560px;
    background-image: url("images/hands1.jpg");
    background-size: cover;
    background-position: center 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0 0 48px 48px;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.15);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,45,60,0.4) 0%, rgba(45,65,85,0.2) 100%);
    border-radius: 0 0 48px 48px;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(240, 246, 252, 0.60);
    backdrop-filter: blur(4px);
    padding: 2rem 2.5rem;
    border-radius: 64px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.hero-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    letter-spacing: 2px;
    font-weight: 500;
    color: #3a6b8c;
}

.hero-content .names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.2rem;
    font-weight: 700;
    color: #1e3a4d;
    margin: 0.5rem 0;
    line-height: 1.2;
}

.hero-content .wedding-date {
    font-size: 1.6rem;
    font-weight: 400;
    border-top: 1px solid #bcd0df;
    padding-top: 1rem;
    margin-top: 0.5rem;
    color: #2c5778;
}

/* Countdown block */
.countdown-section {
    background: rgba(255,255,255,0.70);
    margin-top: 20px;
    margin-bottom: 1.6rem;
    position: relative;
    z-index: 5;
    border-radius: 60px;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.08);
    padding: 2rem 1.5rem;
    text-align: center;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.countdown-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    color: #5a7d9c;
    margin-bottom: 1.5rem;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.time-block {
    background: #eef3f9;
    border-radius: 32px;
    padding: 0.8rem 1.2rem;
    min-width: 90px;
    text-align: center;
    transition: 0.2s;
}

.time-number {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #3a6c8c;
    line-height: 1;
}

.time-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: #6f8eaa;
}

/* General sections */
section {
    margin: 0rem 0;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
    /*margin-bottom: 2rem; */
    color: #2c4c6c;
    position: relative;
}

/*.section-title:after {
    content: '';
    text-align: center;

    display: block;
    width: 80px;
    height: 2px;
    background: #bdd4e3;
    margin: 0.7rem auto 0;
}*/

.two-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
}

.text-content {
    flex: 1;
    min-width: 260px;
}

.image-content {
    flex: 1;
    min-width: 260px;
    text-align: center;
}

.image-content img {
    width: 100%;
    max-width: 380px;
    border-radius: 32px;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
    object-fit: cover;
    height: auto;
    margin-bottom: 1.6rem;
}

.invite-text {
    text-align: center;
    background: #ffffff;
    padding: 1.6rem;
    padding-bottom: 1rem;
    margin-bottom: 1.6rem;
    border-radius: 32px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}

.invite-text-plus-form{
    text-align: center;
    background: #ffffff;
    padding: 1.6rem;
   
    margin-bottom: 1rem;
    border-radius: 32px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}

.invite-text p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #2c3e4e;
}

.highlight {
    font-weight: 600;
    color: #4a7c9e;
}

.wishes-note {
    background: #f0f6fc;
    padding: 1rem 1.4rem;
    border-radius: 28px;
    margin: 1.2rem 0;
    border-left: 4px solid #9bbfd8;
}

/* RSVP button */
.rsvp-button-wrapper {
    text-align: center;
    margin: 1.5rem 0;
}

.btn-rsvp {
    background: #4a7c9e;
    color: white;
    border: none;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: 0 8px 18px rgba(74, 124, 158, 0.3);
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    text-decoration: none;
}

.btn-rsvp:hover {
    background: #2f5f7e;
    transform: scale(1.02);
    box-shadow: 0 12px 22px rgba(0,0,0,0.12);
}

.deadline-note {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #6f8eaa;
}

/* Schedule + Map grid */
.schedule-map-grid {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 2rem;
    background: #ffffffdb;
    border-radius: 48px;
    margin-bottom: 2em;
    padding: 2rem;
    box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}

.schedule-box {
    flex: 1.2;
    min-width: 240px;
}

.map-box {
    flex: 1.5;
    min-width: 260px;
}

.schedule-list {
    list-style: none;
    
}

.schedule-list li {
    display: flex;
    border-bottom: 1px dashed #cbdde9;
    padding: 0.9rem 0;
    align-items: baseline;
    gap: 1rem;
}

.schedule-time {
    font-weight: 700;
    color: #4a7c9e;
    min-width: 85px;
    font-size: 1rem;
}

.schedule-event {
    font-weight: 500;
    color: #2c3e4e;
}

.venue-address {
    margin-top: 1rem;
    background: #f0f6fc;
    padding: 1rem;
    border-radius: 24px;
    font-size: 0.9rem;
}

.map-wrapper {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    height: 320px;
}

iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-link {
    color: #4a7c9e;
    text-decoration: none;
    font-weight: 500;
}
.map-link:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    border-top: 1px solid #cbdde9;
    font-size: 0.8rem;
    color: #6f8eaa;
}

/* Responsive */
@media (max-width: 760px) {
    .hero-content .names {
        font-size: 2.8rem;
    }
    .hero-content h2 {
        font-size: 1.4rem;
    }
    .hero-content .wedding-date {
        font-size: 1.2rem;
    }
    .time-number {
        font-size: 2rem;
    }
    .time-block {
        min-width: 70px;
        padding: 0.5rem 0.8rem;
    }
    .section-title {
        font-size: 2rem;
        
    }
    .btn-rsvp {
        font-size: 1.1rem;
        padding: 0.8rem 1.8rem;
    }
    .schedule-map-grid {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .timer {
        gap: 0.6rem;
    }
    .time-block {
        min-width: 60px;
    }
    .time-number {
        font-size: 1.5rem;
    }
}

/* ========== DESKTOP ADAPTATION (no changes on mobile) ========== */
@media (min-width: 1024px) {
    .container {
        max-width: 1440px;
        padding: 0 40px;
    }

    body {
        font-size: 1.05rem;
    }

    .hero {
        height: 90vh;
        min-height: 640px;
        border-radius: 0 0 64px 64px;
    }

    .hero::before {
        border-radius: 0 0 64px 64px;
    }

    .hero-content {
        padding: 2.5rem 3.5rem;
        border-radius: 80px;
    }

    .hero-content h2 {
        font-size: 2.4rem;
        letter-spacing: 3px;
    }

    .hero-content .names {
        font-size: 5.2rem;
        margin: 0.75rem 0;
    }

    .hero-content .wedding-date {
        font-size: 1.8rem;
        padding-top: 1.2rem;
        margin-top: 0.75rem;
    }

    .countdown-section {
        max-width: 1000px;
        padding: 2.2rem 2rem;
        margin-top: 32px;
        margin-bottom: 2rem;
    }

    .countdown-title {
        font-size: 1.4rem;
        letter-spacing: 4px;
        margin-bottom: 1.8rem;
    }

    .timer {
        gap: 2rem;
    }

    .time-block {
        min-width: 110px;
        padding: 1rem 1.4rem;
        border-radius: 40px;
    }

    .time-number {
        font-size: 3.6rem;
    }

    .time-label {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .section-title {
        font-size: 3rem;
    }

    .two-columns {
        gap: 4rem;
    }

    .text-content {
        min-width: 320px;
    }

    .image-content img {
        max-width: 520px;
        border-radius: 48px;
        transition: transform 0.3s ease;
    }

    .image-content img:hover {
        transform: scale(1.01);
    }

    .invite-text {
        padding: 2rem 2.2rem;
        margin-bottom: 2rem;
        border-radius: 48px;
    }

    .invite-text p {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .invite-text-plus-form {
        padding: 2rem 2.5rem;
        border-radius: 48px;
        margin-bottom: 1.5rem;
    }

    .wishes-note {
        padding: 1.5rem 2rem;
        border-radius: 36px;
        margin: 1.5rem 0;
        font-size: 1rem;
    }

    .btn-rsvp {
        font-size: 1.5rem;
        padding: 1.2rem 3rem;
        border-radius: 80px;
        letter-spacing: 1px;
    }

    .btn-rsvp:hover {
        transform: scale(1.03);
    }

    .deadline-note {
        font-size: 1rem;
        margin-top: 1rem;
    }

    .schedule-map-grid {
        gap: 3rem;
        padding: 2.5rem 3rem;
        border-radius: 64px;
        margin-bottom: 2.5rem;
    }

    .schedule-box {
        min-width: 280px;
    }

    .schedule-list li {
        padding: 1rem 0;
        gap: 1.5rem;
    }

    .schedule-time {
        min-width: 100px;
        font-size: 1.1rem;
    }

    .schedule-event {
        font-size: 1.1rem;
    }

    .venue-address {
        margin-top: 1.5rem;
        padding: 1.2rem;
        font-size: 1rem;
        border-radius: 32px;
    }

    .map-wrapper {
        height: 400px;
        border-radius: 40px;
    }

    .map-link {
        font-size: 0.9rem;
    }
}

/* Extra large screens (>= 1600px) */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
        padding: 0 60px;
    }

    .hero {
        min-height: 760px;
    }

    .hero-content .names {
        font-size: 6rem;
    }

    .hero-content h2 {
        font-size: 2.8rem;
    }

    .hero-content .wedding-date {
        font-size: 2rem;
    }

    .countdown-section {
        max-width: 1100px;
    }

    .time-number {
        font-size: 4rem;
    }

    .time-block {
        min-width: 130px;
        padding: 1.2rem 1.6rem;
    }

    .image-content img {
        max-width: 600px;
    }

    .schedule-map-grid {
        gap: 4rem;
        padding: 3rem 4rem;
    }

    .map-wrapper {
        height: 460px;
    }
}