:root {
    --primary: #d3ad93;
    --secondary: #aa7652;
    --text-light: #f6f4f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background-color: var(--primary);
}

/* HEADER */
.header {
    background-color: var(--secondary);
    width: 95%;
    margin: 1.5cm auto 0 auto;
    border-radius: 60px;
    padding: 18px 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 70px;
}

.site-title {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    flex: 1;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    width: 35px;
    height: 30px;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* CONTENT CARD */
.content {
    width: 90%;
    margin: 60px auto;
}

.card {
    background: var(--secondary);
    padding: 50px 40px;
    border-radius: 30px;
    color: white;
    font-size: 1.2rem;
    line-height: 1.8;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card h2 {
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.card p {
    margin-bottom: 25px;
}

/* FORM */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

form input,
form textarea {
    width: 100%;
    padding: 16px;
    border-radius: 15px;
    border: none;
    font-size: 1rem;
    text-align: left;
}

form textarea {
    height: 150px;
    resize: none;
}

form button {
    padding: 15px 40px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    background: var(--text-light);
    color: var(--secondary);
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    opacity: 0.85;
}

/* Popup */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #4CAF50;
    color: white;
    padding: 25px 40px;
    border-radius: 20px;
    font-size: 1.2rem;
    display: none;
    z-index: 999;
}

/* MOBILE */
@media (max-width: 700px) {
    .nav-links {
        position: absolute;
        top: 90px;
        right: 20px;
        background: var(--secondary);
        flex-direction: column;
        width: 220px;
        padding: 25px;
        border-radius: 20px;
        display: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .site-title {
        font-size: 1.3rem;
    }

    .card {
        padding: 35px;
        font-size: 1.05rem;
    }
}
/* Elérhetőségek styling */
.contact-info {
    text-align: center;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 15px 0;
}

.contact-info .contact-item img {
    width: 30px;
    height: 30px;
}

.contact-info .contact-item a {
    color: white; /* no blue */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
}

.contact-info .contact-item a:hover {
    opacity: 0.8;
}/* Elérhetőségek styling */
.contact-info {
    text-align: center;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 15px 0;
}

.contact-info .contact-item img {
    width: 30px;
    height: 30px;
}

.contact-info .contact-item a {
    color: white; /* no blue */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
}

.contact-info .contact-item a:hover {
    opacity: 0.8;
}
/* VARIABLES */
:root {
    --primary: #d3ad93;
    --secondary: #aa7652;
    --text-light: #f6f4f0;
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Georgia', serif; background-color: var(--primary); }

/* HEADER */
.header {
    background-color: var(--secondary);
    width: 95%;
    margin: 1.5cm auto 0 auto;
    border-radius: 60px;
    padding: 18px 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 70px; }
.site-title { color: var(--text-light); font-size: 2rem; font-weight: 500; text-align: center; flex: 1; }

/* NAVIGATION */
.nav { display: flex; align-items: center; }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { color: var(--text-light); text-decoration: none; font-size: 1.1rem; transition: 0.3s; }
.nav-links a:hover { opacity: 0.7; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer; width: 35px; height: 30px; }
.hamburger span { width: 100%; height: 3px; background: white; border-radius: 5px; transition: all 0.3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* CONTENT */
.content { width: 90%; margin: 60px auto; opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s forwards; }
.card {
    background: var(--secondary); padding: 50px; border-radius: 30px; color: white; font-size: 1.2rem; line-height: 1.8;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }
.card h2 { margin-bottom: 25px; font-size: 1.8rem; }
.card p { margin-bottom: 25px; }
form { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
form input, form textarea { width: 100%; padding: 16px; border-radius: 15px; border: none; font-size: 1rem; text-align: left; }
form textarea { height: 150px; resize: none; }
form button { padding: 15px 40px; border-radius: 30px; border: none; font-size: 1rem; background: var(--text-light); color: var(--secondary); cursor: pointer; transition: 0.3s; }
form button:hover { transform: scale(1.05); }

/* POPUP */
.popup { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #4CAF50; color: white; padding: 25px 40px; border-radius: 20px; font-size: 1.2rem; display: none; z-index: 999; }

/* ELÉRHETŐSÉGEK */
.contact-info { text-align: center; }
.contact-info .contact-item { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 15px 0; font-size: 1.2rem; }
.contact-info .contact-item i { color: white; font-size: 1.5rem; transition: transform 0.3s; }
.contact-info .contact-item a { color: white; text-decoration: none; font-weight: bold; transition: 0.3s; }
.contact-info .contact-item a:hover, .contact-info .contact-item i:hover { opacity: 0.8; transform: scale(1.1); }

/* MEDIA QUERIES */
@media (max-width: 700px) {
    .nav-links { position: absolute; top: 90px; right: 20px; background: var(--secondary); flex-direction: column; width: 220px; padding: 25px; border-radius: 20px; display: none; box-shadow: 0 10px 25px rgba(0,0,0,0.2); gap: 20px; }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .site-title { font-size: 1.3rem; }
    .card { padding: 35px; font-size: 1.05rem; }
}

/* ANIMATIONS */
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }/* VARIABLES */
:root {
    --primary: #d3ad93;
    --secondary: #aa7652;
    --text-light: #f6f4f0;
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Georgia', serif; background-color: var(--primary); }

/* HEADER */
.header {
    background-color: var(--secondary);
    width: 95%;
    margin: 1.5cm auto 0 auto;
    border-radius: 60px;
    padding: 18px 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 70px; }
.site-title { color: var(--text-light); font-size: 2rem; font-weight: 500; text-align: center; flex: 1; }

/* NAVIGATION */
.nav { display: flex; align-items: center; }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { color: var(--text-light); text-decoration: none; font-size: 1.1rem; transition: 0.3s; }
.nav-links a:hover { opacity: 0.7; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer; width: 35px; height: 30px; }
.hamburger span { width: 100%; height: 3px; background: white; border-radius: 5px; transition: all 0.3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* CONTENT */
.content { width: 90%; margin: 60px auto; opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s forwards; }
.card {
    background: var(--secondary); padding: 50px; border-radius: 30px; color: white; font-size: 1.2rem; line-height: 1.8;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }
.card h2 { margin-bottom: 25px; font-size: 1.8rem; }
.card p { margin-bottom: 25px; }
form { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
form input, form textarea { width: 100%; padding: 16px; border-radius: 15px; border: none; font-size: 1rem; text-align: left; }
form textarea { height: 150px; resize: none; }
form button { padding: 15px 40px; border-radius: 30px; border: none; font-size: 1rem; background: var(--text-light); color: var(--secondary); cursor: pointer; transition: 0.3s; }
form button:hover { transform: scale(1.05); }

/* POPUP */
.popup { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #4CAF50; color: white; padding: 25px 40px; border-radius: 20px; font-size: 1.2rem; display: none; z-index: 999; }

/* ELÉRHETŐSÉGEK */
.contact-info { text-align: center; }
.contact-info .contact-item { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 15px 0; font-size: 1.2rem; }
.contact-info .contact-item i { color: white; font-size: 1.5rem; transition: transform 0.3s; }
.contact-info .contact-item a { color: white; text-decoration: none; font-weight: bold; transition: 0.3s; }
.contact-info .contact-item a:hover, .contact-info .contact-item i:hover { opacity: 0.8; transform: scale(1.1); }

/* MEDIA QUERIES */
@media (max-width: 700px) {
    .nav-links { position: absolute; top: 90px; right: 20px; background: var(--secondary); flex-direction: column; width: 220px; padding: 25px; border-radius: 20px; display: none; box-shadow: 0 10px 25px rgba(0,0,0,0.2); gap: 20px; }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .site-title { font-size: 1.3rem; }
    .card { padding: 35px; font-size: 1.05rem; }
}

/* ANIMATIONS */
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

#scrollTopBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    background-color: var(--secondary);
    color: var(--text-light);
    border: none;
    outline: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0;           /* start hidden */
    pointer-events: none;  /* ignore clicks when hidden */
    transition: opacity 0.5s ease, transform 0.3s ease, background-color 0.3s ease;
}

#scrollTopBtn.show {
    opacity: 1;            /* fade in */
    pointer-events: all;    /* enable clicks */
}

#scrollTopBtn:hover {
    background-color: var(--primary);
    transform: scale(1.1);
}
/* Update this in homepage.css and kapcs.css */
.header {
    position: relative;
    z-index: 9999; /* This keeps the header/hamburger on top */
}

@media (max-width: 700px) { /* or your chosen breakpoint */
    .nav-links {
        z-index: 10000; /* This ensures the dropdown menu is above the cards */
    }
}