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

html, body {
    width: 100%;
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    height: auto;
}

/* ---------- Hero ---------- */

.hero {
    height: 100vh;
    padding: 20px;
    background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
                url(../img/Armen\ +\ Tatev\ _\ Beach-42.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial;
}

.date-top {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    letter-spacing: 5px;
    font-size: 60px;
    font-family: 'Gill Sans', 'Gill Sans MT';
}

.hero-content h1 {
    font-family: "Playwrite ID", cursive;
    color: #fff;
    font-size: 72px;
    font-weight: 300;
    text-align: center;
}

.audio-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #000000, #ffffff);
    color: white;
    font-size: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: 0.3s ease;
}

.audio-btn:hover {
    transform: scale(1.1);
}

.audio-btn:active {
    transform: scale(0.95);
}

/* ---------- Countdown ---------- */

.countdown-section {
    background: #f7f7f7;
    padding: 120px 20px;
    text-align: center;
}

.section-title {
    position: relative;
    margin-bottom: 60px;
}

.bg-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 90px;
    color: rgba(0,0,0,0.03);
    white-space: nowrap;
    pointer-events: none;
}

.section-title h2 {
    position: relative;
    z-index: 2;
    font-size: 48px;
    font-weight: 300;
    font-family: serif;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 120px;
}

.time-box span {
    display: block;
    font-size: 110px;
    font-family: serif;
    font-weight: 300;
}

.time-box p {
    margin-top: 15px;
    font-size: 32px;
    font-family: serif;
}

.separator {
    font-size: 90px;
    margin-top: -20px;
}

.invite-text p {
    max-width: 900px;
    margin: auto;
    font-size: 30px;
    line-height: 1.7;
    color: #666;
    font-family: serif;
}

/* ---------- Wedding timeline ---------- */

.wedding-timeline {
    background: #f8f8f8;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.timeline-header {
    text-align: center;
    margin-bottom: 80px;
}

.days {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    margin-bottom: 20px;
}

.days span {
    color: #999;
    font-size: 24px;
}

.heart-day {
    width: 60px;
    height: 60px;
    background: #000;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-size: 22px;
}

.heart-day small {
    position: absolute;
    color: white;
    font-size: 20px;
}

.timeline-container {
    position: relative;
    width: 1000px;
    margin: auto;
    min-height: 1200px;
}

.road {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 1200px;
}

.road path {
    fill: none;
    stroke: #b9b9b9;
    stroke-width: 2;
    stroke-dasharray: 8;
}

.event {
    position: absolute;
    width: 280px;
}

.event h3 {
    font-size: 52px;
    margin-bottom: 10px;
}

.event h4 {
    font-size: 30px;
    margin-bottom: 10px;
}

.event p {
    color: #666;
    line-height: 1.5;
}

.left {
    text-align: right;
    left: 120px;
}

.right {
    text-align: left;
    right: 30px;
}

.e1 { top: 120px; }
.e2 { top: 620px; }
.e3 { top: 900px; left: 50px; }

.point {
    position: absolute;
    left: 49%;
    transform: translateX(-50%);
    width: 55px;
    height: 55px;
    background: black;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.p1 { top: 200px; }
.p2 { top: 700px; left: 600px; }
.p3 { top: 980px; left: 400px; }

/* ---------- Responsive ---------- */

@media (max-width: 768px) {

    .date-top {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .countdown-section {
        padding: 80px 16px;
    }

    .countdown {
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 80px;
    }

    .time-box span {
        font-size: 60px;
    }

    .time-box p {
        font-size: 22px;
    }

    .separator {
        display: none;
    }

    .bg-text {
        font-size: 40px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .invite-text p {
        font-size: 18px;
        line-height: 1.6;
    }

    /* ----- Wedding timeline: switch from absolute desktop layout to a simple stacked column ----- */

    .wedding-timeline {
        padding: 60px 0;
    }

    .timeline-header {
        margin-bottom: 50px;
    }

    .timeline-header h2 {
        font-size: 26px;
    }

    .days {
        gap: 12px;
        flex-wrap: wrap;
        padding: 0 10px;
    }

    .days span {
        font-size: 16px;
    }

    .heart-day {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .heart-day small {
        font-size: 14px;
    }

    .timeline-container {
        width: 100%;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 20px;
    }

    .road {
        display: none;
    }

    .event {
        position: static;
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .event.left,
    .event.right {
        text-align: center;
        left: auto;
        right: auto;
    }

    .e1, .e2, .e3 {
        top: auto;
        left: auto;
    }

    .event h3 {
        font-size: 36px;
    }

    .event h4 {
        font-size: 22px;
    }

    .event p {
        font-size: 16px;
    }

    .point {
        position: static;
        left: auto;
        transform: none;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .p1, .p2, .p3 {
        top: auto;
        left: auto;
    }
}

@media (max-width: 420px) {

    .hero-content h1 {
        font-size: 34px;
    }

    .date-top {
        font-size: 16px;
    }

    .time-box span {
        font-size: 46px;
    }

    .days {
        gap: 8px;
    }

    .days span {
        font-size: 14px;
    }
}
