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



/* c6fced */
/* e2eee6 */
/* ebfdf8 */

:root{
    --primary: #008e78;
    --secondary: #e2eee6;
    --text-dark: #1a1a1a;
    --text-light: #ccc;
    --border-light: rgba(0, 0, 0, 0.04);
    --gap: clamp(1rem, 3vw, 3rem);
    --link-size: clamp(1rem, 1.6vw, 1.6rem);
    --shadow: rgba(0, 0, 0, 0.8);
}

/* Dark theme */
:root[data-theme="dark"] {
    --primary: #005044;
    --secondary: #1a1a1a;
    --text-dark: #f0f0f0;
    --text-light: #999;
    --border-light: rgba(255, 255, 255, 0.1);
    --shadow: var(--primary)
}

html {
    max-width: 100vw;
    font-size: clamp(14px, 2vw, 16px);
    background-color: var(--secondary);
    min-height: 100vh;
    scroll-behavior: smooth;
    transition: background-color 300ms ease, color 300ms ease;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: var(--link-size);
    padding: 0.4rem 0.6rem;
    display: inline-block;
    transition: color 200ms ease;
}

.contact-line
{
    display: flex;
    color: var(--text-dark);
    background-color: var(--secondary);
    font-size: clamp(0.8rem, 1.3vw, 1.3rem);
    justify-content: center;
    gap: clamp(2rem, 5vw, 6rem);
    padding: 5px 0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-dark);
    height: fit-content;
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background-color: var(--primary);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid var(--border-light);
    padding: clamp(0.5rem, 1vw, 1rem);
    flex-wrap: wrap;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.35rem;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease;
}

.hamburger .line {
    width: 24px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
    transition: all 300ms ease;
    transform-origin: center;
}

.hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* Smooth transitions for navbar shrinking */
nav {
    transition: padding 240ms ease, background-color 240ms ease;
}

/* Shrinked navbar state when user scrolls down */
nav.shrink {
    padding: 0.35rem 1rem;
}

/* Hide the logo image smoothly when navbar is shrinked */
nav .logo img {
    transition: height 220ms ease, opacity 220ms ease, transform 220ms ease, margin 220ms ease;
}

nav.shrink .logo img {
    /* Make the logo disappear without any scaling. Using display:none
       ensures the image is removed from layout (so the navbar can shrink)
       and we avoid transforms/scale on the image itself. */
    opacity: 0;
    visibility: hidden;
    display: none;
    margin-left: 0;
    pointer-events: none;
}

nav .logo {
    display: flex;
    align-items: center;
}

nav .logo img {
    height: clamp(40px, 10vw, 120px);
    width: auto;
    margin-left: 2rem;
    aspect-ratio: 16/9;
    border-radius: 15px;
}

nav .links {
    display: flex;
    position: relative;
    align-items: center;
    gap: 13px;
    margin-right: 2rem;
    margin-top: 0;
    flex-wrap: wrap;
}

nav .links a {
    font-size: var(--link-size);
    padding: 15px;
    position: relative;
}

nav .links a::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    bottom: 6px;
    width: 60%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    opacity: 0;
    transition: transform 220ms ease-out, opacity 180ms ease-out;
    pointer-events: none;
}

nav .links a:hover::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}




.hero {
    background-color: inherit;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-content {
    background-image: url('vendeghaz.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    max-width: 1200px;
    max-height: 400px;
    margin: 0;
    width: 100%;
    padding-top:100px;
}

@media (max-width: 480px) {
    .hero-content {
        background-image: url();
    }
}

.hero h1 {
    font-size: clamp(1.5rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}
.hero p {
    font-size: clamp(0.95rem, 3vw, 1.25rem);
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.6;
}
.hero .btn {
    display: inline-block;
    padding: clamp(0.6rem, 2vw, 0.9rem) clamp(1rem, 3vw, 1.8rem);
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: var(--text-dark);
    background-color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 6px;
    transition: all 300ms ease;
    cursor: pointer;
    font-weight: 600;
    touch-action: manipulation;
}
.hero .btn:hover {

    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(107, 142, 35, 0.3);
}
.hero .btn:active {
    transform: translateY(0);
}


.info-section {
    /* Card-like surface */
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.7));
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 30px rgba(26, 26, 26, 0.06);
    backdrop-filter: blur(6px);
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
    text-align: center;
    margin: clamp(1.5rem, 3vw, 3rem) auto;
    width: 80%;
    max-width: 1200px;
    border-radius: 8px;
    transition: background-color 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
    overflow: hidden;
}

/* Dark theme variant for the card */
:root[data-theme="dark"] .info-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.info-section h2 {
    font-size: clamp(1.3rem, 5vw, 2.2rem);
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}
.info-section p {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-dark);
    line-height: 1.7;
}

.features {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    row-gap: clamp(2rem, 5vw, 3rem);
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 90%;
    margin: 2rem auto;

}



.motto
{
    text-align: center;
    color: var(--text-dark);
    font-size: clamp(1.2rem, 4vw, 2.5rem);
}

.gr-sor {
    flex: 1 1 220px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 70px;
    margin-bottom: 1.25rem;
}

.gr-szoveg {
    flex: 0 0 auto;
    padding: 70px 20px 24px;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    background: var(--secondary);
    width: 100%;
    background-color: var(--primary);
    color: var(--text-dark);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    min-height: 280px;
}

.gr-cim {
    position: relative;
    top: 75px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    z-index: 2;
    color: var(--text-dark);
    font-size: clamp(1.3rem, 1.6vw, 2.5rem);
}

.gr-kor {
    width: 130px;
    height: 130px;
    background-color: #f0f0f0;
    border-radius: 50%;
    position: absolute;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 38px;
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.25);
    z-index: 1;
    border: 5px solid var(--primary);
}


section .vid-sec
{
    max-width: 860px;
    margin: 18px auto 0;
    padding: 0 12px;
    color: #0e415a;
}

.vid-box
{
    background-color: inherit;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.vid-cim
{
    padding: 12px 14px;
    margin: 0;
    text-align: center;
    font:800 18px/1.25rem Arial, Helvetica, sans-serif;
    color: #118c8a;
    border-bottom: 1px solid rgba(17, 76, 106, .12);
}

.vid-pad
{
    padding: 16px;
    background-color: inherit;
}

.vid
{
    display: block;
    width: 800px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    background-color: #000;
    text-align: center;
}

.vid video
{
    aspect-ratio: 16/9;
    max-width:100%;
    border-radius: inherit;
    margin: auto auto;
    height: auto;
}





@media (max-width: 900px) {
    .hero-content
    {
        padding-top: 50px;
    }
}

@media (max-width: 600px) {
    .features {
        gap: 1rem;
        row-gap: 1.5rem;
        width: 95%;
    }

    .gr-sor {
        flex: 1 1 100%;
        max-width: 100%;
        margin-top: 60px;
    }

    .gr-kor {
        width: 110px;
        height: 110px;
        top: -55px;
        font-size: 32px;
    }

    .gr-szoveg {
        padding: 60px 16px 18px;
        min-height: 150px;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    nav .links a {
        padding: 0.6rem 1rem;
    }
    
    .info-section {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1040px)
{
    .footer-line
    {
        display: flex;
        flex-direction: column;
    }
}

/* Medium screens (tablets) */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        padding: clamp(0.4rem, 1.5vw, 0.8rem);
    }

    nav .logo img {
        height: clamp(36px, 10vw, 80px);
        margin-left: 0.8rem;
    }

    nav .links {
        position: fixed;
        top: 55px;
        left: 0;
        width: 100%;
        background-color: var(--secondary);
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 300ms ease, opacity 300ms ease;
        border-bottom: 1px solid var(--border-light);
    }
    
    nav .links.active {
        max-height: 100vh;
        opacity: 1;
        overflow-y: auto;
    }
    
    nav .links a {
        width: 100%;
        padding: 1rem 1.5rem;
        text-align: left;
        border-bottom: 1px solid var(--border-light);
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        display: block;
    }
    
    nav .links a::after {
        display: none;
    }
    
    nav .links {
        gap: clamp(0.5rem, 3vw, 1rem);
        margin-right: 0.8rem;
    }
    
    nav .links a {
        padding: 0.5rem 0.7rem;
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }
}

@media (max-width: 850px)
{
    .contact-line
    {
        display: block;
        text-align: center;
    }
}

/* Small screens (mobile) */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .hamburger {
        display: flex;
        margin-right: 0.5rem;
    }
    
    nav {
        padding: 0.4rem 0.5rem;
    }
    
    nav .logo img {
        height: clamp(32px, 8vw, 60px);
        margin-left: 0.5rem;
    }
    
    nav .links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--secondary);
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 300ms ease, opacity 300ms ease;
        border-bottom: 1px solid var(--border-light);
    }
    
    nav .links.active {
        max-height: 100vh;
        opacity: 1;
        overflow-y: auto;
    }
    
    nav .links a {
        width: 100%;
        padding: 1rem 1.5rem;
        text-align: left;
        border-bottom: 1px solid var(--border-light);
        font-size: clamp(0.95rem, 2.5vw, 1rem);
        min-height: auto;
        display: block;
    }
    
    nav .links a::after {
        display: none;
    }
    
    .hero {
        min-height: 50vh;
    }
}

/* Extra small screens (small phones) */
@media (max-width: 480px) {
    nav {
        flex-direction: row;
        padding: 0.35rem 0.3rem;
    }
    
    nav .logo {
        flex: 0 0 auto;
    }
    
    nav .logo img {
        height: clamp(28px, 6vw, 45px);
        margin-left: 0.3rem;
        aspect-ratio: auto;
    }
    
    nav .links {
        flex: 1;
        gap: 0.2rem;
        margin-right: 0.3rem;
        margin-left: auto;
        justify-content: flex-end;
    }
    
    nav .links a {
        padding: 0.4rem 0.4rem;
        font-size: 0.75rem;
    }
    
    .hero {
        min-height: 45vh;
        padding: clamp(1.5rem, 3vw, 2rem) 0.75rem;
    }
    
    .hero h1 {
        font-size: clamp(1.2rem, 5vw, 2rem);
    }
    
    .hero p {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
        margin-bottom: 1.5rem;
    }
    
    .info-section {
        padding: 1rem 0.75rem;
        border-radius: 6px;
    }
    
    .info-section h2 {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }
    
    .info-section p {
        font-size: clamp(0.8rem, 2vw, 0.95rem);
    }
    
    footer .inside {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
}



footer {
    background-color: var(--primary);
    position: relative;
    width: 100%;
    padding-top: 1rem;
    font-size: large;;
}

footer .inside {
    width: min(90%, 1200px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin: auto;
    color: var(--text-dark);
}

footer .inside div {
    text-align: center;

}

footer .inside div img
{
    max-width: 200px;
    border-radius: 8px;
    max-height: 100%;
}

footer .inside ul {
    list-style: none;
    line-height: 40px;
}

footer .inside .fa-brands
{
    font-size: 25px;
    margin-right: 10px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;

    &:hover
    {
        color: #fff;
        scale: 1.2;
        transform: scale(1.2);
    }
}

footer .inside a
{
    color: var(--text-dark);
    font-size: inherit;
    font-weight: inherit;
    margin: inherit;
    padding: inherit;
}



























/*----------------------------kapcsolat--------------------------------  */

#kapcsolat {
    .contact-form {
        text-align: center;
    }

    .contact-form h3 {
        margin-bottom: 1rem;
        color: var(--primary);
    }

    .contact-form ul {
        list-style: none;
        line-height: clamp(1.6rem, 2.5vw, 2rem);
        color: var(--text-dark);
        margin-bottom: clamp(1.5rem, 3vw, 2rem);
    }


    .contact-section {
        padding: var(--gap);
        background-color: var(--secondary);
    }

    .contact-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--gap);
        max-width: 1200px;
        margin: 0 auto;
        align-items: center;
    }

    .contact-image {
        width: 100%;
        height: auto;
    }

    .contact-image img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        object-fit: cover;
    }

    .contact-form-wrapper {
        padding: 2rem;
        text-align: center;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .contact-form-wrapper h2 {
        color: var(--primary);
        margin-bottom: 1.5rem;
        font-size: 1.8rem;
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .form-group label {
        color: #323232;
        font-weight: 600;
        font-size: 1rem;
        text-align: left;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        border: 2px solid rgb(143, 143, 143);
        border-radius: 4px;
        font-family: inherit;
        font-size: 1rem;
        transition: border-color 200ms ease, box-shadow 200ms ease;
        background-color: #fff;
        color: black;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.4);
    }

    .form-group textarea {
        resize: vertical;
        min-height: 150px;
    }

    .send-button {
        padding: 1rem 2rem;
        background-color: var(--primary);
        color: #fff;
        border: none;
        border-radius: 4px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 200ms ease, transform 200ms ease;
        align-self: flex-start;
        margin: auto auto;
    }

    .send-button:hover {
        background-color: #228b42;
        transform: translateY(-2px);
    }

    .send-button:active {
        transform: translateY(0);
    }


    @media (max-width: 768px) {
        .contact-container {
            grid-template-columns: 1fr;
        }

        .contact-form-wrapper {
            padding: 1.5rem;
        }

        .contact-form-wrapper h2 {
            font-size: 1.5rem;
        }

        .send-button {
            width: 100%;
            text-align: center;
            align-self: stretch;
        }
    }
}
































/*---------------------------- galeria ------------------------------*/
#galeria 
{
    .gal 
    {
        background-color: var(--secondary) !important;
        padding: 10px 16px;
        margin-top: 0;
    }

    .gal-doboz
    {
        max-width: 1200px;
        margin: 0 auto;
    }

    .gal h1
    {
        font-size: 34px;
        color: var(--text-dark);
        text-align: center;
        margin-bottom: 50px;
    }

    .gal-racs 
    {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 120px;
        grid-gap: 10px;
    }

    .gal-kis,
    .gal-nagy 
    {
        border: 1px solid #e5e7eb;
        background: #f8f9fa;
        overflow: hidden;
        cursor: pointer;
        border-radius: 8px;
        transition: all 0.3s ease;
        border-radius: 8px;
    }

    .gal-kis:hover,
    .gal-nagy:hover 
    {
        transform: scale(1.3);
        z-index: 10;
        position: relative;
        box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.2);
        border-color: #114c6a;
    }

    .gal-kis img,
    .gal-nagy img 
    {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gal-nagy 
    {
        grid-column: 2 / span 2;
        grid-row: 2 / span 2;
    }

    .ajanlat 
    {
        background-color: #fff;
        margin: 40px auto;
        max-width: 840px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 0px 100px var(--shadow);
        display: flex;
    }

    .ajanlat-kep 
    {
        max-width: 450px;
        height: auto;
        object-fit: cover;
        display: block;
    }

    @media (max-width: 860px) {
        .ajanlat
        {
            flex-direction: column;
            margin: 40px;
        }
        
        .ajanlat-kep {
            max-width: 100%;
            height: auto;
        }
    }

    .ajanlat-info 
    {
        display: grid;
        padding: 30px;
        background-color: var(--secondary);
        color: inherit;
    }

    .ajanlat-info h2 
    {
        font-size: 28px;
        margin-bottom: 20px;
        color: var(--text-dark);
    }

    .ajanlat-info p 
    {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 10px;
        color: var(--text-dark);
    }

    .mennyiseg 
    {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
    }

    .mennyiseg button 
    {
        width: 45px;
        height: 45px;
        border: none;
        background-color: var(--primary);
        color: #fff;
        border-radius: 8px;
        cursor: pointer;
        font-size: 18px;
    }

    .mennyiseg input 
    {
        width: 70px;
        height: 45px;
        text-align: center;
        border: none;
        background-color: var(--primary);
        color: #fff;
        border-radius: 8px;
        font-size: 16px;
    }

    .foglalas 
    {
        width: 100%;
        padding: 16px 24px;
        background-color: #ff6d35;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
    }

    .mennyiseg input::-webkit-outer-spin-button,
    .mennyiseg input::-webkit-inner-spin-button 
    {
        -webkit-appearance: none;
        margin: 0;
    }
}






































/*----------------------------rolunk--------------------------------  */
#rolunk
{
    .about-container
    {
        text-align: center;
        padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
        max-width: 900px;
        margin: 0 auto;
    }

    .about-image img
    {
        max-width: 700px;
        aspect-ratio: 16/9;
    }
    .about-text
    {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        color: var(--text-dark);
        line-height: 1.7;
    }

    .about-text h2
    {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        color: var(--primary);
        font-size: clamp(1.3rem, 5vw, 2.6rem);
    }

    .about-text p
    {
        margin-bottom: 1rem;
    }

    .vel-szakasz
    {
        background-color: var(--primary);
        margin: 10px auto;
        max-width: 900px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-bottom: 50px;
    }

    .vel-container
    {
        max-width: 840px;
        margin: 0 auto;
        background-color: var(--primary);
        padding: 20px 30px;
        border-radius: 12px;
    }

    .vel-cim
    {
        text-align: center;
        font-size: 28px;
        font-weight: bold;
        color: #fff;
        margin-bottom: 10px;
        letter-spacing: 2px;
    }

    .vel-lista
    {
        display: flex;
        flex-direction: column;
        gap:30px;
    }

    .vel-item
    {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        padding: 25px;
        background-color: #f8f9fa;
        border-left: 4px solid black;
        border-radius: 0 8px 8px 0;;
    }

    .vel-profil
    {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .vel-tartalom
    {
        flex: 1;
    }

    .vel-szoveg
    {
        font-style: italic;
        color: #555;
        margin-bottom: 12px;
        line-height: 1.6;
        font-size: 16px;
    }

    .vel-nev
    {
        font-weight: bold;
        color: #114c6a;
        font-size: 16px;
        background-color: #e6f1f6;
        padding: 6px 12px;
        border-radius: 20px;
        display: inline-block;
    }

    /* Mobile responsive for about section */
    @media (max-width: 768px) {
        .about-container {
            padding: clamp(1.5rem, 4vw, 2rem) clamp(0.75rem, 3vw, 1.5rem);
        }

        .about-image img {
            max-width: 100%;
            height: auto !important;
            aspect-ratio: 16/9;
        }

        .about-text {
            font-size: clamp(0.9rem, 2vw, 1rem);
        }

        .about-text h2 {
            margin-top: 1rem;
            margin-bottom: 0.75rem;
        }
    }
}








































/*---------------------foglalas----------------------*/
#foglalas
{
    .rent-section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.rent-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}


.houses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.house-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    position: relative;
}

.house-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.house-card.selected {
    border: 3px solid #27ae60;
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.15), 0 18px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.house-card::after {
    content: "Kiválasztva";
    position: absolute;
    top: 12px;
    right: 12px;
    background: #27ae60;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.house-card.selected::after {
    opacity: 1;
}

.house-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.house-card h3 {
    font-size: 1.3rem;
    margin: 15px 15px 5px;
    color: #1f2d3d;
}

.house-card p {
    margin: 5px 15px;
    color: #555;
    font-size: 0.95rem;
}

.house-card .price {
    margin: 12px 15px 18px;
    font-weight: bold;
    color: #27ae60;
    font-size: 1.05rem;
}


.rent-form {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 18px;
    }

    .form-group label {
        color: #323232;
        font-weight: 600;
        font-size: 1rem;
        text-align: left;
    }

    /* match contact form input/select/textarea styling */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        border: 2px solid rgb(143, 143, 143);
        border-radius: 4px;
        font-family: inherit;
        font-size: 1rem;
        transition: border-color 200ms ease, box-shadow 200ms ease;
        background-color: #fff;
        color: black;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.4);
    }

    .form-group textarea {
        resize: vertical;
    resize: vertical;
}


/* use same button style as contact page */
    .rent-btn {
    width: 100%;
    margin-top: 10px;
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 200ms ease, transform 200ms ease;
    align-self: flex-start;
    margin: auto auto;
}

.rent-btn:hover {
    background-color: #228b42;
    transform: translateY(-2px);
}

.rent-btn:active {
    transform: translateY(0);
}

.rent-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .rent-section {
        margin: 40px auto;
    }

    .rent-form {
        padding: 22px;
    }

    .house-card img {
        height: 160px;
    }
}

}




























/* Theme Toggler Button */
.theme-toggler {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 2px solid var(--primary);
    color: var(--secondary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    transition: all 300ms ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
}

.theme-toggler:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.theme-toggler:active {
    transform: scale(0.95);
}

.theme-toggler .sun-icon,
.theme-toggler .moon-icon {
    position: absolute;
    transition: all 300ms ease;
    display: inline-block;
}

.theme-toggler .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggler .moon-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

:root[data-theme="dark"] .theme-toggler .sun-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

:root[data-theme="dark"] .theme-toggler .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .theme-toggler {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

.transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 2000;
    pointer-events: none;
}


.transition-row {
    display: flex;
    flex: 1;
}

.transition-row .row-1 .block {
    transform-origin: top;
}

.transition-row .row-2 .block {
    transform-origin: bottom;
}


.block {
    flex: 1;
    background-color: var(--primary);
    transform: scaleY(1);
    will-change: transform;
}



.hidden
{
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
    transition: all 1s;
}

.show
{
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}


















































/* ----------------------------GYIK---------------------------- */

#gyik
{
    .ker-szakasz
    {
        background-color: #fff;
        margin: 40px auto;
        max-width: 900px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .ker-doboz
    {
        padding: 30px;
    }

    .ker-doboz h2
    {
        font-size: 28px;
        color: var(--text-dark);
        text-align: center;
        margin-bottom: 20px;
    }

    .ker-bevezeto
    {
        text-align: center;
        margin: 0 0 30px 0;
        color: var(--text-dark);
        font-size: 18px;
        line-height: 1.5;
    }

    .ker-elemek
    {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .ker-elem
    {
        border: 1px solid #e5e7eb;
        background-color: #f8f9fa;
        border-radius: 8px;
        overflow: hidden;
    }

    .ker-kerdes
    {
        width: 100%;
        padding: 18px 24px;
        display: flex;
        align-items: center;
        gap: 12px;
        background-color: var(--border-light);
        color: #111;
        border: none;
        font-size: 16px;
        font-weight: bold;
        text-align: left;
        transition: all 0.3s ease;
    }

    .ker-valtojel
    {
        margin-left: auto;
        font-size: 18px;
        color: #ff6d35;
        transition: transform 0.3s ease;
        font-size: 40px;
        cursor: pointer;
    }

    .ker-elem.aktiv .ker-valtojel
    {
        transform: rotate(45deg);
    }

    .ker-valasz
    {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        padding: 0 24px;
        background: var(--primary);
        color: var(--text-dark);
        font-size: 15px;
        line-height: 1.5;
    }

    .ker-elem.aktiv .ker-valasz
    {
        max-height: 200px;
        opacity: 1;
        padding: 20px 24px;
    }
}