:root {
    --text-color: #4a4a4a;
    --text-light: #7a7a7a;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-script: 'Alex Brush', cursive;
    --font-dancing: 'Dancing Script', cursive;
    --font-lora: 'Lora', serif;
    --primary-color: #d4a373; /* Gold/Bronze accent for hero */
}

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

body {
    background-color: #f7f7f7;
    font-family: var(--font-serif);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow: hidden;
    touch-action: none; /* Disable native scroll gestures */
}

/* FULLPAGE WRAPPER */
.sections-wrapper {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

.section {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: #ffffff;
}

/* SECTION 1: HERO */
.hero {
    background: linear-gradient(to bottom, rgb(255 95 253 / 6%) 0%, rgb(255 86 206 / 53%) 100%), 
                url('../img/couple.png') center/contain no-repeat;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.welcome-container, .couple-names, .swipe-up-container {
    z-index: 2;
    color: #fff;
}

.welcome-container {
    margin-top: 8vh;
    animation: fadeInDown 1.5s ease;
}

.guest-name {
    font-family: var(--font-lora);
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    padding: 0 20px;
}

.couple-names {
    animation: fadeIn 2s ease 0.5s both;
}

.couple-names h2 {
    font-family: var(--font-dancing);
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-transform: none;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.couple-names p {
    font-family: var(--font-dancing);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.swipe-up-container, .bottom-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    animation: fadeInUp 1.5s ease 1s both;
    font-family: var(--font-sans);
}

.swipe-up-container {
    margin-bottom: 5vh;
}

.bottom-indicator {
    position: absolute;
    bottom: 2vh;
    left: 50%;
    transform: translateX(-50%);
    color: #666;
    z-index: 15;
}

.bottom-indicator p {
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.up-indicator {
    flex-direction: column-reverse;
}

.up-indicator p {
    margin-bottom: 0;
    margin-top: 5px;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
    margin-bottom: 10px;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: #fff;
    border-radius: 4px;
    animation: scrollWheel 2s infinite;
}

.touch-indicator {
    display: none;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
    animation: swipeGesture 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.arrow-animation {
    font-size: 1rem;
    animation: bounce 2s infinite;
}

/* SECTION CONTAINERS */
.invitation-container {
    background-color: #f0f4f8; 
    max-width: 550px;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    background: linear-gradient(to bottom, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.4) 40%, rgba(255,255,255,0) 70%), url('../img/couple-sea-watercolor.png') bottom center/cover no-repeat;
}

.kina-container {
    background: 
        radial-gradient(ellipse at center, rgba(255,255,255,0.95) 45%, rgba(255,255,255,0.6) 75%, rgba(255,255,255,0) 100%), 
        url('../img/flower_frame_bg.png') center/cover no-repeat;
}

.pearl-decoration {
    position: absolute;
    top: 5%;
    bottom: 30%;
    width: 15px;
    z-index: 5;
    background-image: radial-gradient(circle, #f9f5f0 3px, transparent 4px);
    background-size: 15px 30px;
    background-repeat: repeat-y;
    opacity: 0.8;
}

.pearl-decoration.left {
    left: 10px;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.1));
}

.pearl-decoration.right {
    right: 10px;
    filter: drop-shadow(-1px 1px 2px rgba(0,0,0,0.1));
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3vh 30px 10px 30px; 
    text-align: center;
    z-index: 10;
}

.names {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.names h1 {
    font-family: var(--font-dancing);
    font-size: 2.8rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: none;
    line-height: 1.2;
}

.ampersand {
    font-family: var(--font-script);
    font-size: 2.5rem;
    margin: -10px 0;
    color: #8c8c8c;
}

.invite-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: italic;
}

/* FANCY DATE */
.fancy-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px 0 20px 0;
    position: relative;
    background-color: rgba(255, 255, 255, 0.25);
    padding: 10px 25px;
    border-radius: 8px;
}

.fancy-date.small-date {
    margin: 2px 0 10px 0;
    padding: 5px 15px;
}

.fancy-date.small-date .fd-part.center {
    font-size: 1.6rem;
    letter-spacing: 2px;
}

.fancy-date.small-date .fd-part.side {
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.fancy-date-middle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    font-family: var(--font-lora);
}

.fd-part {
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
}

.fd-part.side {
    font-size: 1.4rem;
    color: #444;
    letter-spacing: 2px;
}

.fd-part.center {
    font-size: 2.2rem;
    color: var(--primary-color);
    letter-spacing: 3px;
    padding: 0 15px;
    margin: 0 15px;
    border-left: 1.5px solid rgba(212, 163, 115, 0.5);
    border-right: 1.5px solid rgba(212, 163, 115, 0.5);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    line-height: 1;
}

.fancy-date-day-name, .fancy-date-time {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: #666;
    text-transform: uppercase;
}

.parents-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 10px;
    padding: 0;
    gap: 10px;
}

.parents {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.parents:first-child {
    text-align: center;
}

.parents:last-child {
    text-align: center;
}

.parents h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.parents p {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: #666;
    font-weight: 400;
}

/* MAPS & EVENTS SECTION */
.maps-wrapper {
    padding-top: 5vh;
}

.event-title {
    font-family: var(--font-dancing);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.location-btn {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(212, 163, 115, 0.4);
    border-radius: 12px;
    padding: 10px 12px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.location-btn:active {
    transform: scale(0.98);
    background: rgba(212, 163, 115, 0.1);
}

.loc-icon {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-right: 12px;
}

.loc-text h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.loc-text p {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: #666;
    line-height: 1.3;
    margin-bottom: 3px;
}

.click-hint {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline {
    width: 100%;
    text-align: left;
    margin-top: 5px;
    position: relative;
}

.timeline-title {
    font-family: var(--font-dancing);
    font-size: 1.6rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
}

.timeline-item {
    display: flex;
    margin-bottom: 10px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 20px;
    bottom: -15px;
    width: 1.5px;
    background-color: rgba(212, 163, 115, 0.6);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline .time {
    font-family: var(--font-lora);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-color);
    width: 55px;
    padding-top: 2px;
    text-shadow: 0 0 10px rgba(255,255,255,0.9), 0 0 5px rgba(255,255,255,0.9);
}

.timeline .desc {
    padding-left: 10px;
    flex: 1;
}

.timeline .desc h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255,255,255,0.9), 0 0 5px rgba(255,255,255,0.9);
}

.timeline .desc p {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: #555;
    font-weight: 500;
    margin-top: 2px;
    text-shadow: 0 0 8px rgba(255,255,255,1), 0 0 4px rgba(255,255,255,1);
}

.timeline-map-link {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid rgba(212, 163, 115, 0.5);
    padding: 3px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    transition: all 0.2s ease;
    text-shadow: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.timeline-map-link i {
    margin-right: 5px;
    font-size: 0.8rem;
}

.timeline-map-link:active {
    background: var(--primary-color);
    color: #fff;
}

.map-container {
    display: none; /* Harita gizlendi, butona geçildi */
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

@keyframes swipeGesture {
    0% { transform: translateY(15px); opacity: 0; }
    20% { transform: translateY(10px); opacity: 1; }
    70% { transform: translateY(-15px); opacity: 0; }
    100% { transform: translateY(-15px); opacity: 0; }
}

@media (max-width: 768px), (pointer: coarse) {
    .mouse {
        display: none;
    }
    .touch-indicator {
        display: block;
    }
}

@media (max-width: 400px) {
    .names h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    .fd-part.side {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    .fd-part.center {
        font-size: 1.6rem;
        padding: 0 10px;
        margin: 0 10px;
        letter-spacing: 1.5px;
    }
    .fancy-date-day-name, .fancy-date-time {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
    .parents h3 {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
    .parents p {
        font-size: 0.75rem;
    }
    .pearl-decoration {
        width: 10px;
        background-size: 10px 20px;
        background-image: radial-gradient(circle, #f9f5f0 2px, transparent 3px);
    }
    .timeline .time {
        font-size: 1rem;
    }
    .timeline-item::before {
        left: 44px;
    }
}
