/* === CSS VÁLTOZÓK ÉS ALAP BEÁLLÍTÁSOK === */
:root {
    --primary-green: #6A9F39;
    --light-green: #A5C943;
    --dark-text: #333;
    --light-text: #f4f4f4;
    --background-color: #ffffff;
    --section-padding: 6rem 0;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-primary); background-color: var(--background-color); color: var(--dark-text); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
h1, h2 { font-family: var(--font-secondary); font-weight: 700; margin-bottom: 1rem; }
h2 { text-align: center; margin-bottom: 1rem; font-size: 2.5rem; }
.content-section { padding: var(--section-padding); background-color: var(--background-color); position: relative; z-index: 2; }
p { text-align: justify; }
/* === END OF ALAP BEÁLLÍTÁSOK === */

/* === HEADER ÉS NAVIGÁCIÓ === */
header { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid #eee; position: fixed; width: 100%; top: 0; z-index: 1000; }
header nav { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { display: flex; align-items: center; text-decoration: none; color: var(--dark-text); font-family: var(--font-secondary); font-size: 1.5rem; }
.logo img { height: 40px; margin-right: 10px; }
.nav-menu { list-style: none; display: flex; align-items: center; }
.nav-menu li { margin-left: 2rem; }
.nav-menu a { text-decoration: none; color: var(--dark-text); font-weight: 500; transition: color 0.3s ease; }
.nav-menu a:not(.btn-custom):hover { color: var(--primary-green); }
/* === END OF HEADER === */

/* === EGYEDI GOMB STÍLUS === */
.btn-custom {
  align-items: center; appearance: none; background-color: var(--light-green); border-radius: 24px;
  border-style: none; box-shadow: rgba(0, 0, 0, .15) 0px 5px 15px 0px; box-sizing: border-box;
  color: var(--dark-text) !important; cursor: pointer; display: inline-flex; fill: currentcolor; font-family: var(--font-primary);
  font-size: 15px; font-weight: 500; height: 48px; justify-content: center; letter-spacing: .25px;
  line-height: normal; max-width: 100%; overflow: visible; padding: 2px 24px; position: relative;
  text-align: center; text-transform: none; transition: all 0.2s cubic-bezier(.4, 0, .2, 1);
  user-select: none; -webkit-user-select: none; touch-action: manipulation; width: auto; will-change: transform, box-shadow;
  z-index: 0; text-decoration: none;
}
.btn-custom:hover { background: #ffffff; color: var(--primary-green) !important; transform: translateY(2px); box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.15); }
.btn-custom:active { transform: translateY(3px); box-shadow: inset 0 3px 6px 0 rgb(0 0 0 / 0.2); }
.btn-custom.btn-large { padding: 10px 40px; height: 56px; font-size: 18px; margin-top: 40px;}
/* === END OF GOMB STÍLUS === */

/* === MODAL GOMB STÍLUS === */
#modal-body .btn-custom {
    width: auto; display: table; margin-left: auto; margin-right: auto;
    text-align: center; margin-top: 2rem; padding: 12px;
}
/* === END OF MODAL GOMB STÍLUS === */

/* === SZEKCIÓ IKONOK STÍLUSA === */
.section-icon { text-align: center; margin-bottom: 2rem; }
.section-icon i { font-size: 3rem; color: var(--primary-green); }
/* === END OF SZEKCIÓ IKONOK === */

/* === HERO SZEKCIÓ === */
#hero { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background-color: var(--background-color); position: relative; z-index: 2; }
#hero-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--dark-text); }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.hero-content p { font-size: 1.2rem; text-align: center; }
/* === END OF HERO SZEKCIÓ === */

/* === RÓLAM / MIÉRT MI SZEKCIÓ === */
.about-me-intro { text-align: center; max-width: 800px; margin: 0 auto 5rem auto; }
.about-me-intro p { text-align: center; }
.why-us-list { width: 100%; list-style: none; padding-left: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; margin-bottom: 3rem; }
.why-us-list li { display: flex; align-items: flex-start; }
.why-us-list li i { font-size: 1.8rem; color: var(--primary-green); margin-right: 20px; margin-top: 5px; }
.why-us-list li p { margin-top: 5px; }
.about-me-image-container { margin-top: 2rem; width: 100%; max-width: 500px; margin-left: auto; margin-right: auto; }
.about-me-image-container img { max-width: 100%; height: auto; }
@media (max-width: 768px) { .why-us-list { grid-template-columns: 1fr; gap: 2rem; } }
/* === END OF RÓLAM SZEKCIÓ === */

/* === PARALLAX VIDEÓ LOGIKA === */
.parallax-video-wrapper { position: sticky; top: 0; height: 100vh; width: 100%; z-index: 1; }
.parallax-video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.parallax-video-wrapper::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(44, 44, 44, 0.349); }
.video-overlay-text { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; color: rgb(255, 255, 255); text-align: center; padding: 2rem; z-index: 2; }
.video-overlay-text h2 { font-size: 3rem; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); }
.video-overlay-text p { font-size: 1.2rem; max-width: 600px; text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7); text-align: center;}
#rolam.content-section { padding-bottom: 25vh; }
/* === END OF PARALLAX VIDEÓ LOGIKA === */

/* === MUNKÁIM (SLIDESHOW) SZEKCIÓ === */
#munkak { background-color: #f9f9f9; }
.portfolio-swiper { width: 100%; padding-top: 20px; padding-bottom: 50px; overflow: hidden; }
.swiper-slide { display: flex; justify-content: center; align-items: center; align-self: stretch; }
.portfolio-item { width: 100%; max-width: 450px; margin: 0 auto; background: #fff; border-radius: 8px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; height: 100%; }
.portfolio-item:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); }
.portfolio-image-container { height: 200px; overflow: hidden; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.portfolio-content h3 { font-family: var(--font-secondary); margin-bottom: 0.5rem; }
.portfolio-content p { font-size: 0.95rem; margin-bottom: 1.5rem; }
.portfolio-buttons { display: flex; justify-content: center; gap: 1rem; margin-top: auto; }
.portfolio-buttons .btn-custom { height: 40px; font-size: 14px; padding: 2px 18px; }
.swiper-button-next, .swiper-button-prev { background-color: rgba(255, 255, 255, 0.7); border-radius: 50%; width: 50px; height: 50px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: background-color 0.3s, box-shadow 0.3s; }
.swiper-button-next:hover, .swiper-button-prev:hover { background-color: rgba(255, 255, 255, 1); box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 20px; font-weight: 900; color: var(--primary-green); }
/* === END OF MUNKÁIM SZEKCIÓ === */

/* === BLOG SZEKCIÓ === */
#blog-posts { display: flex; flex-direction: column; gap: 2rem; max-width: 800px; margin: 0 auto; }
.blog-post { background: #fff; padding: 2rem; border-left: 5px solid var(--light-green); transition: box-shadow 0.3s ease; }
.blog-post:hover { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); }
.post-meta { font-size: 0.8rem; color: #777; margin-bottom: 0.5rem; }
.read-more { text-decoration: none; color: var(--primary-green); font-weight: 500; }
.read-more:hover { text-decoration: underline; }
/* === END OF BLOG SZEKCIÓ === */

/* === ÁRAJÁNLATKÉRŐ ŰRLAP (JAVÍTOTT, GOMBOS STÍLUSSAL) === */
#arajanlat .container > p { text-align: center; }
#arajanlat .container { max-width: 800px; }
#quote-form { margin: 2rem auto; display: flex; flex-direction: column; }
#quote-form label { margin-top: 1.5rem; margin-bottom: 0.5rem; font-weight: 500; }
#quote-form input, #quote-form select, #quote-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #f9f9f9;
}
#quote-form input:focus, #quote-form select:focus, #quote-form textarea:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(106, 159, 57, 0.2);
    outline: none;
    background-color: #fff;
}

/* EZ A RÉSZ HIÁNYZOTT: Az interaktív gombok stílusa */
#quote-form .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.checkbox-tag input[type="checkbox"] {
    /* Elrejtjük az eredeti, csúnya jelölőnégyzetet */
    display: none; 
}

.checkbox-tag label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 18px;
    border: 1px solid #ccc;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
    background-color: #f9f9f9;
    margin: 0; /* Nullázzuk az alap label margót */
}

.checkbox-tag label i {
    transition: transform 0.2s ease-in-out;
}

.checkbox-tag label:hover {
    border-color: var(--primary-green);
    background-color: #fff;
}

/* Amikor a (rejtett) checkbox be van pipálva, a mellette lévő label stílusa megváltozik */
.checkbox-tag input[type="checkbox"]:checked + label {
    background-color: var(--light-green);
    border-color: var(--primary-green);
    color: var(--dark-text);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.checkbox-tag input[type="checkbox"]:checked + label i {
    transform: scale(1.1);
}
/* A gomb stílusát nem kell bántani, az már középen van */
#quote-form button { margin-top: 2rem; align-self: center; }

/* Visszajelző üzenet stílusa */
.form-feedback-message {
    display: none; /* Alapból rejtett */
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--primary-green);
    background-color: #f8fdf4;
}

.form-feedback-message h3 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}
/* === END OF ÁRAJÁNLATKÉRŐ ŰRLAP === */

/* === KAPCSOLAT SZEKCIÓ === */
#kapcsolat .container { max-width: 1200px; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.contact-info { text-align: center; }
.profile-pic { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 1.5rem; border: 5px solid var(--light-green); }
.contact-info h3 { font-family: var(--font-secondary); font-size: 1.8rem; }
.job-title { text-align: center; margin-bottom: 2rem; font-weight: 500; color: #777; }
.contact-info ul { list-style: none; padding-left: 0; text-align: left; display: inline-block; margin-bottom: 2rem; }
.contact-info li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: 1.2rem; }
.contact-info a { text-decoration: none; color: var(--dark-text); transition: color 0.3s; }
.contact-info a:hover { color: var(--primary-green); }
.contact-info li i { color: var(--primary-green); font-size: 1.3rem; }
.social-icons { display: flex; justify-content: center; gap: 1.5rem; }
.social-icons a { display: flex; justify-content: center; align-items: center; width: 45px; height: 45px; border-radius: 50%; background-color: var(--light-green); color: var(--dark-text); font-size: 1.7rem; transition: all 0.3s; }
.social-icons a:hover { background-color: var(--primary-green); color: #fff; transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.759); }
.contact-form-container { background-color: #f9f9f9; padding: 2.5rem; border-radius: 8px; }
.form-group { margin-bottom: 1.5rem; }
.contact-form-container label { font-weight: 500; margin-bottom: 0.5rem; display: block; }
.contact-form-container input, .contact-form-container textarea { width: 100%; padding: 14px; font-size: 1rem; border: 1px solid #ccc; border-radius: 8px; }
.contact-form-container button { width: 100%; }
@media (max-width: 992px) { .contact-wrapper { grid-template-columns: 1fr; } }
/* === END OF KAPCSOLAT SZEKCIÓ === */

/* === LÁBLÉC === */
footer { background: var(--dark-text); color: var(--light-text); padding: 4rem 0 0 0; position: relative; z-index: 2; }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-about .logo { color: var(--light-text); margin-bottom: 1rem; }
.footer-about p { color: #ccc; text-align: left; }
.footer-links h4, .footer-contact h4 { font-family: var(--font-secondary); margin-bottom: 1.5rem; color: #fff; }
.footer-links ul, .footer-contact ul { list-style: none; padding-left: 0; }
.footer-links a, .footer-contact a { text-decoration: none; color: #ccc; transition: color 0.3s, padding-left 0.3s; display: block; margin-bottom: 0.8rem; }
.footer-links a:hover { color: var(--light-green); padding-left: 5px; }
.footer-contact li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.footer-contact li i { color: var(--primary-green); }
.footer-contact .social-icons { justify-content: flex-start; margin-top: 1.5rem; color: white; }
footer .social-icons a { color: #fff;}
.footer-bottom { background-color: #222; text-align: center; padding: 1.5rem 0; }
.footer-bottom p { text-align: center; color: #aaa; font-size: 0.9rem; }
@media (max-width: 992px) { .footer-container { grid-template-columns: 1fr; } .footer-about p { text-align: center; } }
/* === END OF LÁBLÉC === */

/* === MODAL (FELUGRÓ ABLAK) STÍLUSOK === */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 2000; display: flex; justify-content: center; align-items: center; visibility: hidden; opacity: 0; transition: opacity 0.3s ease, visibility 0.3s ease; }
.modal-overlay.active { visibility: visible; opacity: 1; }
.modal-content { background-color: #fff; padding: 2rem 3rem; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); width: 90%; max-width: 800px; max-height: 90vh; overflow-y: auto; position: relative; transform: scale(0.9); transition: transform 0.3s ease; }
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-close { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 2.5rem; color: #aaa; cursor: pointer; line-height: 1; transition: color 0.3s ease; }
.modal-close:hover { color: var(--dark-text); }
#modal-title { margin-bottom: 2rem; text-align: center; }
#modal-body video, #modal-body img { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 1rem; }
/* === END OF MODAL STÍLUSOK === */

/* === MOBILNAVIGÁCIÓ ÉS HAMBURGER IKON === */
.hamburger-trigger { display: none; z-index: 1001; }
.hamburger-bars { width: 50px; cursor: pointer; }
.hamburger-bars .line { fill: none; stroke: var(--dark-text); stroke-width: 5; stroke-linecap: round; transition: stroke-dasharray 400ms,  stroke-dashoffset 400ms; }
.hamburger-bars .line.top { stroke-dasharray: 40 172; }
.hamburger-bars .line.middle { stroke-dasharray: 40 111; }
.hamburger-bars .line.bottom { stroke-dasharray: 40 172; }
.hamburger-bars.active .top { stroke-dashoffset: -132px; }
.hamburger-bars.active .middle { stroke-dashoffset: -71px; }
.hamburger-bars.active .bottom { stroke-dashoffset: -132px; }
@media (max-width: 992px) {
    .hamburger-trigger { display: block; }
    .nav-menu { position: fixed; top: 80px; left: 0; width: 100%; height: calc(100vh - 80px); background-color: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1); }
    .nav-menu.active { transform: translateX(0); }
    .nav-menu li { margin: 0; }
    .nav-menu a { font-size: 1.5rem; }
}
/* === END OF MOBILNAVIGÁCIÓ === */