@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;700&family=Sacramento&family=Montserrat:wght@300;400;500&display=swap');

:root {
    --primary-color: #5c6f5a;
    --secondary-color: #a4c3a2;
    --bg-light: #fefdfb;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* 1. JAVÍTÁS: Dupla görgetősáv megszüntetése */
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    width: 100%;
    /* Eltüntetjük a vízszintes csúszkát, de hagyjuk, hogy csak egy függőleges legyen */
    overflow-x: hidden; 
    overflow-y: auto;
}

/* 2. JAVÍTÁS: vw helyett % használata a kilógás ellen */
#nyito {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('mi-kollazs.png') no-repeat center 20%;
    background-size: cover;
    height: 100vh;
    width: 100%; /* 100vw-ről 100%-ra módosítva */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#nyito h1 {
    color: white !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    font-family: var(--font-heading);
    padding: 0 15px;
    font-size: calc(1.8rem + 2vw);
}

section {
    padding: 80px 15px;
    text-align: center;
}

section h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

/* LISTÁK IGAZÍTÁSA */
section ul {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    display: inline-block;
    text-align: left;
}

section ul li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-size: 1.1em;
}

section ul li::before {
    content: '🌿';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* RSVP FORM JAVÍTÁSA */
.google-form-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

/* 3. JAVÍTÁS: Az iframe ne akadjon be görgetésnél */
.google-form-container iframe {
    width: 100%;
    height: 800px;
    border: none;
    pointer-events: auto; /* Biztosítjuk, hogy az űrlap kitölthető legyen */
}

/* SPOTIFY GOMB */
.spotify-btn {
    display: inline-block;
    background-color: #1DB954;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.spotify-btn:hover {
    background-color: #1ed760;
    transform: scale(1.05);
}
