html{
    scroll-behavior:smooth;
}

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

body{
    font-family:'Inter',sans-serif;
    background:#0d1117;
    color:white;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

/* ===== HEADER ===== */

header{
    position:sticky;
    top:0;
    z-index:9999;
    border-bottom:1px solid rgba(255,255,255,.08);
    background:rgba(11,15,20,.95);
    backdrop-filter:blur(10px);
}

.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo img{
    height:65px;
    width:auto;
    display:block;
}

nav{
    display:flex;
    gap:40px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:600;
    transition:.2s;
}

nav a:hover{
    color:#f5b400;
}

.btn{
    background:#f5b400;
    color:black;
    padding:14px 28px;
    text-decoration:none;
    font-weight:700;
    border:none;
    cursor:pointer;
    transition:.2s;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn-outline{
    border:1px solid rgba(255,255,255,.4);
    color:white;
    text-decoration:none;
    padding:14px 28px;
    font-weight:600;
}

.header-contact{
    display:flex;
    gap:20px;
    align-items:center;
}

.header-contact a{
    color:white;
    text-decoration:none;
    font-size:14px;
}

/* ===== HERO ===== */

.hero{
    position:relative;
    overflow:hidden;
    background:#0b0f14;
}

.hero-content{
    display:grid;
    grid-template-columns:42% 58%;
    align-items:center;
    min-height:650px;
}

.hero-text{
    z-index:2;
}

.hero h1{
    font-size:78px;
    line-height:.95;
    font-weight:800;
    margin-bottom:25px;
}

.hero h1 span{
    color:#f5b400;
}

.hero p{
    color:#c7c7c7;
    font-size:20px;
    line-height:1.6;
    margin-bottom:35px;
}

.buttons{
    display:flex;
    gap:15px;
}

.hero-photo{
    height:650px;
    overflow:hidden;
    position:relative;
}

.hero-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.hero-bg-mark{
    position:absolute;
    right:-70px;
    top:50%;
    transform:translateY(-50%);
    width:420px;
    opacity:.20;
    z-index:2;
    pointer-events:none;
}

.hero-bg-mark img{
    width:100%;
    height:auto;
    display:block;
}

/* ===== SERVICES ===== */

.services{
    background:#11151b;
    padding:90px 0;
}

.section-head{
    margin-bottom:40px;
}

.section-head span,
.section-tag{
    color:#f5b400;
    font-size:13px;
    font-weight:800;
    letter-spacing:1px;
}

.section-head h2{
    font-size:42px;
    margin-top:10px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
}

.card{
    background:#1a1f27;
    padding:30px;
    min-height:300px;
    border:1px solid rgba(255,255,255,.05);
    transition:.25s;
}

.card:hover{
    transform:translateY(-6px);
    border-color:#f5b400;
}

.icon{
    font-size:42px;
    margin-bottom:25px;
}

.card h3{
    margin-bottom:15px;
    font-size:22px;
}

.card p{
    color:#bcbcbc;
    line-height:1.6;
    margin-bottom:20px;
}

.card a{
    color:#f5b400;
    text-decoration:none;
    font-weight:700;
}

/* ===== ABOUT ===== */

.about{
    background:#f5f5f5;
    color:#111;
    padding:100px 0;
}

.about-content{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about h2{
    font-size:56px;
    margin-bottom:30px;
}

.about p{
    font-size:20px;
    line-height:1.8;
    margin-bottom:25px;
}

.about-image img{
    width:100%;
    display:block;
    border-radius:12px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

/* ===== CONTACT ===== */

.contact{
    background:#0b0f14;
    padding:100px 0;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:start;
}

.contact-info h2{
    font-size:42px;
    margin:15px 0 25px;
}

.contact-info p{
    color:#c7c7c7;
    line-height:1.7;
    margin-bottom:30px;
}

.contact-list{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-list div{
    background:#161b22;
    padding:22px;
    border-left:4px solid #f5b400;
}

.contact-list strong{
    display:block;
    margin-bottom:8px;
    color:white;
}

.contact-list a,
.contact-list span{
    color:#c7c7c7;
    text-decoration:none;
}

form{
    background:#161b22;
    padding:35px;
    max-width:none;
    display:flex;
    flex-direction:column;
    gap:15px;
}

input,
textarea,
select{
    width:100%;
    padding:16px;
    border:none;
    font-size:16px;
    font-family:'Inter',sans-serif;
}

select{
    color:#555;
}

textarea{
    min-height:160px;
    resize:vertical;
}

/* ===== MAPS ===== */

.map-section{
    padding:100px 0;
    background:white;
    color:black;
}

.map-section iframe{
    width:100%;
    height:500px;
    border:none;
}

/* ===== FOOTER ===== */

footer{
    padding:40px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
    color:#a9a9a9;
}

/* ===== TABLET ===== */

@media(max-width:1100px){

    .cards{
        grid-template-columns:repeat(2,1fr);
    }

    .hero-content{
        grid-template-columns:1fr;
    }

    .hero-photo{
        height:500px;
    }

    .hero h1{
        font-size:60px;
    }

    .about-content,
    .contact-grid{
        grid-template-columns:1fr;
    }
}

/* ===== MOBILE ===== */

@media(max-width:768px){

    .container{
        width:92%;
    }

    header{
        position:relative;
    }

    .nav{
        flex-direction:column;
        gap:18px;
        align-items:flex-start;
    }

    .logo img{
        height:52px;
    }

    .header-contact{
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }

    .nav .btn{
        width:100%;
        text-align:center;
    }

    .hero-content{
        display:flex;
        flex-direction:column;
        min-height:auto;
        padding:50px 0 0;
    }

    .hero h1{
        font-size:42px;
        line-height:1;
        letter-spacing:-1px;
    }

    .hero p{
        font-size:17px;
    }

    .buttons{
        flex-direction:column;
        width:100%;
    }

    .buttons a{
        text-align:center;
    }

    .hero-photo{
        width:100%;
        height:360px;
        margin-top:35px;
    }

    .hero-bg-mark{
        display:none;
    }

    .cards{
        grid-template-columns:1fr;
    }

    .section-head h2,
    .contact-info h2{
        font-size:32px;
    }

    .about h2{
        font-size:40px;
    }

    .about p{
        font-size:18px;
    }

    form{
        padding:24px;
    }

    .map-section iframe{
        height:320px;
    }
}

/* ===== SCROLL REVEAL ANIMATION ===== */

.reveal{
    opacity:0;
    transform:translateY(60px);
    transition:opacity .8s ease, transform .8s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/* ===== VISSZA A TETEJÉRE ===== */
.back-to-top{
    position:fixed;
    bottom:30px;
    right:30px;
    width:55px;
    height:55px;
    background:#f5b400;
    color:black;
    text-decoration:none;
    font-size:28px;
    font-weight:bold;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 5px 20px rgba(0,0,0,.3);
    transition:.3s;
    z-index:9999;
}

/* ===== DROPDOWN MENU ===== */

.dropdown{
    position:relative;
}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    min-width:280px;
    background:#161b22;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 15px 40px rgba(0,0,0,.35);
    display:none;
    flex-direction:column;
    padding:10px 0;
    z-index:99999;
}

.dropdown-menu a{
    padding:14px 18px;
    color:white;
    text-decoration:none;
    white-space:nowrap;
    font-size:14px;
}

.dropdown-menu a:hover{
    background:#f5b400;
    color:black;
}

.dropdown:hover .dropdown-menu{
    display:flex;
}

/* ===== MOBILE MENU ===== */

.mobile-menu-btn{
    display:none;
    font-size:32px;
    cursor:pointer;
    color:white;
}

@media(max-width:768px){

    .mobile-menu-btn{
        display:block;
    }

    nav{
        display:none;
        width:100%;
        flex-direction:column;
        gap:0;
        background:#161b22;
        margin-top:15px;
    }

    nav.show{
        display:flex;
    }

    nav a{
        padding:15px 20px;
        border-bottom:1px solid rgba(255,255,255,.08);
    }

    .dropdown{
        width:100%;
    }

    .dropdown-menu{
        position:static;
        display:flex;
        box-shadow:none;
        border:none;
        background:#0f141b;
        padding-left:20px;
    }

    .dropdown-menu a{
        padding:12px 20px;
    }
}

/* ===== SUBPAGES ===== */

.subpage-hero{
    background:#11151b;
    padding:120px 0 80px;
}

.subpage-hero h1{
    font-size:64px;
    margin:15px 0 25px;
    line-height:1.1;
}

.subpage-hero p{
    max-width:800px;
    color:#c7c7c7;
    font-size:20px;
    line-height:1.7;
}

.subpage-content{
    background:white;
    color:#111;
    padding:100px 0;
}

.subpage-intro{
    max-width:900px;
    margin:0 auto 70px;
    text-align:center;
}

.subpage-intro h2{
    font-size:42px;
    margin-bottom:25px;
}

.subpage-intro p{
    font-size:18px;
    line-height:1.8;
    margin-bottom:20px;
}

.image-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.image-card{
    background:#f5f5f5;
    overflow:hidden;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.image-card img{
    width:100%;
    height:320px;
    object-fit:cover;
    display:block;
}

.image-card h3{
    padding:25px 25px 10px;
    font-size:28px;
}

.image-card p{
    padding:0 25px 25px;
    color:#555;
    line-height:1.7;
}

.subpage-cta{
    background:#11151b;
    padding:100px 0;
    text-align:center;
}

.subpage-cta h2{
    font-size:42px;
    margin-bottom:20px;
}

.subpage-cta p{
    max-width:700px;
    margin:0 auto 30px;
    color:#c7c7c7;
    line-height:1.8;
}

/* ===== SUBPAGE MOBILE ===== */

@media(max-width:768px){

    .subpage-hero{
        padding:80px 0 60px;
    }

    .subpage-hero h1{
        font-size:42px;
    }

    .subpage-hero p{
        font-size:17px;
    }

    .subpage-intro h2{
        font-size:32px;
    }

    .image-grid{
        grid-template-columns:1fr;
    }

    .image-card img{
        height:240px;
    }

    .subpage-cta h2{
        font-size:32px;
    }
}

/* ===== SUBPAGE MOBILE FIX ===== */

@media(max-width:768px){

    .subpage-hero{
        padding:70px 0 50px;
    }

    .subpage-hero h1{
        font-size:36px;
        line-height:1.1;
        word-break:normal;
    }

    .subpage-hero p{
        font-size:16px;
        line-height:1.7;
    }

    .subpage-content{
        padding:60px 0;
    }

    .subpage-intro{
        text-align:left;
        margin-bottom:40px;
    }

    .subpage-intro h2{
        font-size:30px;
        line-height:1.2;
    }

    .subpage-intro p{
        font-size:16px;
        line-height:1.7;
    }

    .image-grid{
        display:grid;
        grid-template-columns:1fr;
        gap:28px;
    }

    .image-card{
        border-radius:10px;
    }

    .image-card img{
        height:220px;
        object-fit:cover;
    }

    .image-card h3{
        font-size:24px;
        padding:22px 20px 8px;
    }

    .image-card p{
        padding:0 20px 22px;
        font-size:15px;
    }

    .subpage-cta{
        padding:70px 0;
    }

    .subpage-cta h2{
        font-size:30px;
        line-height:1.2;
    }

    .subpage-cta p{
        font-size:16px;
    }

    .back-to-top{
        width:48px;
        height:48px;
        right:18px;
        bottom:18px;
        font-size:24px;
    }
}
