* {
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.1rem;
    margin: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.5;
    }
h1, h2, h3{
    font-family: "Roboto", sans-serif;
}

header {
    background: url('../kepek/panorama.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
    }

header h1 {
    font-size: 3rem;
    margin-bottom: 50px;
    font-weight: 700;
    color: #004d80;
    }

header h2 {
    font-size: 1.3rem;
    color: #aad8f0;
    }

/* Teljes szélességű menü */
nav {
    width: 100%;
    background-color: #006994;
    text-align: center;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 999;
    }

nav a {
    color: white;
    text-decoration: none;
    margin: 0 25px;
    font-weight: bold;
    }

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
    }

section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: auto;
    background-color: white;
    }

h3{
    font-size: 1.6rem;
    color: #004d80;
    
}

p {
    margin-bottom: 20px;
}
/* Stat oldal */
div.stat{
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 1.15rem;
    color: #004d80; 
}
span.statdata{
    color: darkred;
}


/* Galéria */
.galeria {
    overflow-x: auto;
    display: flex;
    gap: 20px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.galeria img {
    flex: 0 0 auto;
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
}

.features{
    width: 50%;
    font-size: 120%;
    float: left;
}
div.clear{clear: both;}

/* Apartmanok */
.apartmanok {
    margin-bottom: 50px;
}

.apartman {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 30px;
}

.apartman:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.main-gallery{
    flex: 1 1 280px;
    border-radius: 12px;
    max-width: 100%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}


.apartman img {
    flex: 1 1 280px;
    border-radius: 12px;
    max-width: 100%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}

.apartman .leiras {
    flex: 2 1 400px;
}

.apartman .ar {
    font-weight: 700;
    color: #0077b6;
    font-size: 1.1rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

input, select, textarea {
    padding: 10px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #0077b6;
    box-shadow: 0 0 5px rgba(0, 119, 182, 0.5);
}

button {
    background-color: #0077b6;
    border: none;
    padding: 15px;
    color: white;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #005f86;
}

.kapcsolat {
    text-align: center;
    font-size: 1rem;
    color: #004d80;
    margin-bottom: 40px;
}
.kapcsolat strong {
    color: #0077b6;
}

iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
    margin-bottom: 40px;
}

.siker{
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 20px;
    color: #004d80;
}

.beszart{
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 20px;
    color: red
}

footer {
    text-align: center;
    background-color: #006994;
    color: white;
    padding: 20px;
}

@media (max-width: 720px) {

    .apartman {
        flex-direction: column;
    }
    
    .galeria img {
        width: 80vw;
        height: 50vw;
    }
}