/* Alapbeállítások és Elegáns betűtípus */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f5efe6 0%, #e8dcd0 100%);
    color: #4a4a4a;
    text-align: center;
    padding: 20px;
}

.container {
    max-width: 600px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    backdrop-filter: blur(5px);
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #2c2c2c;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #7a7a7a;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.time-box {
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 10px;
    min-width: 80px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.number {
    font-size: 2.2rem;
    font-weight: 600;
    color: #8d7b68;
    display: block;
}

.label {
    font-size: 0.8rem;
    color: #a1a1a1;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    #countdown {
        gap: 10px;
    }
    .time-box {
        padding: 10px;
        min-width: 65px;
    }
    .number {
        font-size: 1.6rem;
    }
    h1 {
        font-size: 2rem;
    }
}

/* Nyelvválasztó gomb stílusa */
.lang-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 400;
    color: #a1a1a1;
}

.lang-switcher a {
    color: #8d7b68;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.lang-switcher a:hover {
    color: #4a4a4a;
}

.lang-switcher .active {
    color: #4a4a4a;
    font-weight: 600;
}

/*Ezt külön fájlba majd ki kell szervezni*/
/* --- GALÉRIA OLDAL STÍLUSAI --- */

.gallery-container {
    max-width: 1200px; /* A galéria szélesebb lehet, mint a visszaszámláló */
    width: 100%;
    margin: 60px auto;
    padding: 20px;
    text-align: center;
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #2c2c2c;
    margin-bottom: 15px;
}

.gallery-subtitle {
    font-size: 1.1rem;
    color: #6a6a6a;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Feltöltő gomb és szekció */
.upload-section {
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.4);
    padding: 30px;
    border-radius: 15px;
    display: inline-block;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.custom-upload-btn {
    display: inline-block;
    background-color: #8d7b68;
    color: white;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(141, 123, 104, 0.3);
}

.custom-upload-btn:hover {
    background-color: #756554;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(141, 123, 104, 0.4);
}

.upload-icon {
    margin-right: 8px;
}

.upload-info {
    font-size: 0.85rem;
    color: #a1a1a1;
    margin-top: 10px;
}

/* Képrács elrendezés (Responsive Grid) */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Körülvágja a képet, hogy kitöltse a dobozt torzulás nélkül */
    display: block;
}

.image-item:hover {
    transform: scale(1.02);
}

/* Ideiglenes szürke dobozok a valódi képek helyett */
.img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e2d7cd;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #8d7b68;
    font-weight: 600;
}

/* Kisebb kijelzőkre igazítás */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 2.2rem;
    }
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); /* Mobilon kisebb képek, hogy több férjen ki */
        gap: 10px;
    }
}