
/* ========================= */
/* RESET */
/* ========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"Segoe UI", sans-serif;
    background:#f4f1e8;
    color:#2b2b2b;
    line-height:1.6;
}

/* ========================= */
/* HEADER */
/* ========================= */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    background:rgba(18,18,18,0.95);
    backdrop-filter:blur(10px);
}

.topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    color:white;
}

.language-switch button{
    background:#b08d57;
    border:none;
    color:white;
    padding:8px 12px;
    margin-left:5px;
    border-radius:6px;
    cursor:pointer;
    transition:0.3s;
}

.language-switch button:hover{
    background:#8c6d42;
}

/* ========================= */
/* NAV */
/* ========================= */

nav{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    border-top:1px solid rgba(255,255,255,0.08);
}

nav a{
    color:white;
    text-decoration:none;
    padding:14px 18px;
    transition:0.3s;
}

nav a:hover{
    color:#d6b27d;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero{
    height:100vh;
    background:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
        url("images/hero.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
}

.hero h1{
    font-size:4rem;
}

.hero p{
    font-size:1.3rem;
}

/* ========================= */
/* SECTIONS */
/* ========================= */

section{
    padding:110px 10%;
    padding-top:140px;
}

/* ========================= */
/* GRID RENDSZER */
/* ========================= */

.house-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
}

/* ========================= */
/* KÁRTYA (HÁZAK + ÉLMÉNYEK) */
/* ========================= */

.house-card{
    height:230px;
    border-radius:14px;
    overflow:hidden;
    position:relative;
    cursor:pointer;
    transition:0.3s;
    background:#b08d57;
}

.house-card:hover{
    transform:scale(1.04);
}

.house-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* felirat hover */
.house-name{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    padding:12px;

    background:rgba(0,0,0,0.65);
    color:white;
    text-align:center;

    opacity:0;
    transform:translateY(10px);
    transition:0.3s;
}

.house-card:hover .house-name{
    opacity:1;
    transform:translateY(0);
}

/* ========================= */
/* KÉPEK SZEKCIÓK */
/* ========================= */

.gallery-category{
    margin-bottom:50px;
}

.gallery-category h3{
    font-size:1.4rem;
    margin-bottom:12px;
    color:#8c6d42;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

/* KÉP HELYEK */
.img-box{
    height:160px;
    background:#e0e0e0;
    border-radius:10px;

    display:flex;
    justify-content:center;
    align-items:center;

    cursor:pointer;
    transition:0.3s;
    overflow:hidden;
}

.img-box:hover{
    transform:scale(1.03);
}

/* "+" placeholder */
.no-image{
    font-size:30px;
    font-weight:bold;
    color:#777;
}

/* ========================= */
/* INFO BOX (LÁTNIVALÓK + FÜRDŐK) */
/* ========================= */

.info-box{
    background:#fff8ee;
    padding:35px;
    border-radius:14px;
    margin-top:20px;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
}

.info-box h3{
    color:#8c6d42;
    margin-top:25px;
    font-size:1.35rem;
}

.info-box p{
    margin-top:8px;
    margin-bottom:15px;
    max-width:900px;
}

/* ========================= */
/* MODAL */
/* ========================= */

.modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.75);
    justify-content:center;
    align-items:center;
    z-index:2000;
}

.modal-box{
    background:white;
    width:90%;
    max-width:650px;
    padding:30px;
    border-radius:12px;
    position:relative;
}

.close{
    position:absolute;
    top:10px;
    right:15px;
    font-size:20px;
    cursor:pointer;
}

/* ========================= */
/* BUTTON */
/* ========================= */

.btn{
    display:inline-flex;
    align-items:center;
    gap:8px;

    margin-top:20px;
    padding:12px 18px;

    background:#b08d57;
    color:white;

    text-decoration:none;
    border-radius:10px;
}

.btn:hover{
    background:#8c6d42;
}

/* ========================= */
/* MAP */
/* ========================= */

#map{
    height:500px;
    border-radius:14px;
}

/* ========================= */
/* FOOTER */
/* ========================= */

footer{
    background:#1f1a15;
    color:white;
    text-align:center;
    padding:60px 20px;
}

footer a{
    color:#4da6ff;
}

/* ========================= */
/* MOBIL */
/* ========================= */

@media(max-width:900px){

    .hero h1{
        font-size:2.5rem;
    }

    .house-grid,
    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

    nav{
        flex-direction:column;
    }
}