/* ALAP STÍLUSOK ÉS BETŰTÍPUSOK */
:root {
--dark-blue: #0A1931;
--gold: #C8A253;
--light-gray: #F4F4F4;
--font-heading: 'Cinzel', serif;
--font-body: 'Montserrat', sans-serif;
}

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

body {
font-family: var(--font-body);
line-height: 1.6;
color: #333;
background-color: white;
}

.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 40px 0;
}

h1, h2, h3 {
font-family: var(--font-heading);
color: var(--dark-blue);
margin-bottom: 20px;
text-align: center;
}

a {
text-decoration: none;
color: var(--dark-blue);
transition: color 0.3s;
}

a:hover {
color: var(--gold);
}

/* HEADER ÉS MENÜ */
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 5%;
border-bottom: 2px solid var(--gold);
background-color: white;
position: relative;
}

.header-left {
display: flex;
align-items: center;
}

.header-logo {
height: 80px; /* ALAPÉRTELMEZETT ASZTALI MÉRET */
width: auto;
margin-right: 20px;
}

.header-right {
display: flex;
align-items: center;
}

.nav a {
margin-left: 20px;
font-weight: 400;
color: var(--dark-blue);
padding: 5px 10px;
border-bottom: 2px solid transparent;
}

.nav a.active, .nav a:hover {
color: var(--gold);
border-bottom: 2px solid var(--gold);
}

.language-switcher {
margin-left: 20px;
font-weight: 700;
color: var(--dark-blue);
cursor: pointer;
}

.language-switcher .lang-option {
padding: 5px;
transition: color 0.3s;
}

.language-switcher .lang-option:hover {
color: var(--gold);
}

.language-switcher .lang-option.active-lang {
color: var(--gold);
border-bottom: 2px solid var(--gold);
}

/* HAMBURGER IKON (Csak mobilon látszik) */
.menu-toggle {
display: none;
font-size: 30px;
color: var(--dark-blue);
cursor: pointer;
z-index: 1000;
}

/* FŐ CÍMSOR / BANNER */
.hero-banner {
background: url('IMG_2043.jpeg') center/cover no-repeat;
height: 60vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
position: relative;
box-shadow: inset 0 0 0 1000px rgba(10, 25, 49, 0.4);
}

.hero-content h1 {
color: white;
font-size: 3em;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
margin-bottom: 30px;
}

.btn {
display: inline-block;
padding: 10px 25px;
background-color: var(--gold);
color: var(--dark-blue);
font-weight: 700;
border: 2px solid var(--gold);
border-radius: 5px;
text-transform: uppercase;
transition: background-color 0.3s, color 0.3s;
}

.btn:hover {
background-color: transparent;
color: var(--gold);
}

/* BEMUTATKOZÁS SZÖVEG */
.about {
background-color: var(--light-gray);
text-align: center;
padding: 60px 0;
}

.about p {
max-width: 800px;
margin: 15px auto;
}

/* KÉP GALÉRIA (Főoldal 4 kiemelt kép) */
.gallery {
padding: 60px 0;
text-align: center;
}

.image-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
margin-top: 30px;
}

.image-grid img {
width: 100%;
height: 200px;
object-fit: cover;
display: block;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
border: 2px solid transparent;
}

.image-grid img:hover {
transform: translateY(-5px);
border-color: var(--gold);
cursor: pointer;
}

.view-all {
margin-top: 40px;
font-size: 1.1em;
font-family: var(--font-heading);
}


/* LÁBLÉC ÉS KAPCSOLAT */
.footer {
background-color: var(--dark-blue);
color: var(--light-gray);
padding: 40px 0 10px 0;
}

.footer .container {
display: flex;
justify-content: space-between;
align-items: flex-start;
padding-bottom: 30px;
}

.footer h3 {
color: var(--gold);
text-align: left;
}

.footer p, .footer a {
color: var(--light-gray);
margin-bottom: 5px;
}

.footer a:hover {
color: var(--gold);
}

.map-placeholder {
width: 45%;
height: 200px;
background-color: #333;
display: flex;
justify-content: center;
align-items: center;
border: 1px solid var(--gold);
}

.copyright {
text-align: center;
padding-top: 10px;
border-top: 1px solid rgba(200, 162, 83, 0.3);
font-size: 0.8em;
}

/* ======================================================= */
/* GALÉRIA OLDAL (references.html) STÍLUSAI */
/* ======================================================= */

.gallery-page {
padding: 40px 0;
text-align: center;
}

.category-filter {
margin-bottom: 40px;
border-bottom: 2px solid var(--light-gray);
padding-bottom: 10px;
}

.category-filter h2 {
font-size: 1.3em;
color: var(--dark-blue);
margin: 0;
}

.large-image-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
margin-top: 30px;
}

.large-image-grid img {
width: 100%;
height: 250px;
object-fit: cover;
display: block;
transition: transform 0.3s, box-shadow 0.3s;
border: 1px solid var(--light-gray);
}

.large-image-grid a:hover img {
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
border-color: var(--gold);
cursor: pointer;
}

.back-link {
margin-top: 40px;
font-size: 1.1em;
}


/* ======================================================= */
/* MOBIL OPTIMALIZÁCIÓ (RESZPONZÍV DESIGN ÉS LOGÓ NÖVELÉS) */
/* ======================================================= */

.hidden {
display: none;
}

@media (max-width: 768px) {

.container {
padding: 20px 0;
}

/* FEJLÉC ÉS LOGÓ (GARANTÁLT NÖVELÉS) */
.header {
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 10px 5%;
}

.header-left {
/* A rendelkezésre álló hely 85%-át kapja */
width: 85%;
}

/* A LEGERŐSEBB SZABÁLY, AMI GARANTÁLJA A LOGÓ MÉRETÉT MOBILON: */
.header-logo {
height: auto !important;
width: 100% !important; /* Kitölti a header-left 85%-át */
max-width: 100% !important;
margin-right: 0;
padding-top: 5px; /* Kicsi térköz a felső széléhez */
padding-bottom: 5px; /* Kicsi térköz az alsó széléhez */
}

/* HAMBURGER MENÜ BEKAPCSOLÁSA */
.menu-toggle {
display: block;
}

.header-right {
display: none;
flex-direction: column;
position: absolute;
top: 100px; /* A megnövelt logóhoz igazított magasság */
right: 0;
width: 100%;
background-color: var(--dark-blue);
border-top: 1px solid var(--gold);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
z-index: 990;
}

.header-right.active {
display: flex;
}

.nav {
margin-bottom: 0;
width: 100%;
}

.nav a {
display: block;
margin: 0;
padding: 15px 20px;
color: white;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav a.active, .nav a:hover {
color: var(--gold);
background-color: rgba(200, 162, 83, 0.1);
border-bottom: 1px solid var(--gold);
}

.language-switcher {
margin: 20px auto;
padding-bottom: 10px;
color: white;
}

/* KÉP GALÉRIA (Főoldali rács) */
.image-grid {
grid-template-columns: 1fr;
}

/* GALÉRIA OLDAL */
.large-image-grid {
grid-template-columns: 1fr;
}

/* LÁBLÉC ÉS KAPCSOLAT */
.footer .container {
flex-direction: column;
align-items: center;
}

.contact-info, .map-placeholder {
width: 100%;
margin-bottom: 20px;
}

.map-placeholder {
height: 150px;
}
}

/* Asztali nézet korrekciója: biztosítja, hogy a hamburger ne jelenjen meg */
@media (min-width: 769px) {
.menu-toggle {
display: none !important;
}
.header-right {
display: flex !important;
position: static !important;
transform: none !important;
}
}
