/* =========================================================
   MAÁAK Zrt. — Premium Corporate Website
   FINAL CLEAN VERSION
========================================================= */

/* =========================================================
   RESET
========================================================= */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;

    background:#ffffff;

    color:#0B2A4A;

    overflow-x:hidden;

    padding-top:125px;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;

    display:block;
}

/* =========================================================
   GLOBAL
========================================================= */

.container{
    width:90%;

    max-width:1320px;

    margin:auto;
}

section{
    position:relative;
}

.section-subtitle{
    display:inline-block;

    margin-bottom:18px;

    color:#8A8F95;

    font-size:14px;

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;
}

.section-header{
    text-align:center;

    margin-bottom:80px;
}

.section-header h2{
    font-family:'Montserrat',sans-serif;

    font-size:56px;

    font-weight:800;

    color:#0B2A4A;
}

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

#header{
    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:9999;

    background:
        rgba(255,255,255,0.96);

    backdrop-filter:blur(12px);

    border-bottom:
        1px solid rgba(11,42,74,0.06);

    box-shadow:
        0 8px 35px rgba(0,0,0,0.03);

    transition:
        background 0.35s ease,
        box-shadow 0.35s ease,
        backdrop-filter 0.35s ease;
}

/* =========================================================
   NAV CONTAINER
========================================================= */

.nav-container{
    height:125px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    transition:height 0.35s ease;
}

/* =========================================================
   LOGO
========================================================= */

.logo{
    display:flex;

    align-items:center;
}

.logo img{
    height:82px;

    width:auto;

    object-fit:contain;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        height 0.35s ease;
}

/* =========================================================
   NAVIGATION
========================================================= */

.nav{
    display:flex;

    align-items:center;

    gap:55px;

    transition:0.35s ease;
}

.nav a{
    position:relative;

    color:#0B2A4A;

    font-size:18px;

    font-weight:700;

    transition:0.35s ease;
}

.nav a::after{
    content:'';

    position:absolute;

    left:0;
    bottom:-10px;

    width:0;

    height:2px;

    background:#0B2A4A;

    transition:0.3s ease;
}

.nav a:hover::after{
    width:100%;
}

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

.mobile-toggle{
    display:none;

    font-size:26px;

    color:#0B2A4A;

    cursor:pointer;
}

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

#header.scrolled{
    background:
        rgba(255,255,255,0.92);

    backdrop-filter:blur(16px);

    box-shadow:
        0 10px 35px rgba(0,0,0,0.08);
}

#header.scrolled .nav-container{
    height:82px;
}

#header.scrolled .logo img{
    opacity:0;

    transform:translateY(-12px);

    height:0;
}

#header.scrolled .nav{
    gap:38px;
}

#header.scrolled .nav a{
    font-size:15px;
}

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

.hero{
    min-height:100vh;

    display:flex;

    align-items:center;

    overflow:hidden;

    background:
        linear-gradient(
            rgba(9,29,52,0.78),
            rgba(9,29,52,0.70)
        ),
        url('assets/hero.png');

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;
}

.hero::before{
    content:'';

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(7,24,44,0.92) 0%,
            rgba(16,44,73,0.72) 42%,
            rgba(255,255,255,0.04) 100%
        );

    z-index:1;
}

.hero-content{
    position:relative;

    z-index:2;
}

.hero-text{
    max-width:700px;

    color:#ffffff;
}

.hero-subtitle{
    display:inline-block;

    margin-bottom:18px;

    font-size:14px;

    font-weight:600;

    letter-spacing:4px;

    text-transform:uppercase;

    color:#dfe5eb;
}

.hero h1{
    font-family:'Montserrat',sans-serif;

    font-size:92px;

    line-height:1.02;

    font-weight:800;

    letter-spacing:-2px;

    margin-bottom:34px;
}

.hero p{
    max-width:650px;

    font-size:24px;

    line-height:1.8;

    color:#e7edf3;

    margin-bottom:46px;
}

/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons{
    display:flex;

    gap:20px;
}

.btn{
    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:190px;

    padding:18px 34px;

    border-radius:12px;

    font-size:16px;

    font-weight:700;

    transition:0.3s ease;
}

.btn-primary{
    background:#ffffff;

    color:#0B2A4A;
}

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

.btn-secondary{
    border:
        1px solid rgba(255,255,255,0.35);

    background:
        rgba(255,255,255,0.06);

    backdrop-filter:blur(10px);

    color:#ffffff;
}

/* =========================================================
   VALUES
========================================================= */

.values{
    position:relative;

    margin-top:-90px;

    z-index:20;
}

.values-grid{
    display:grid;

    grid-template-columns:repeat(4,1fr);

    border-radius:24px;

    overflow:hidden;

    box-shadow:
        0 30px 70px rgba(0,0,0,0.18);
}

.value-card{
    background:#08284b;

    padding:48px 35px;

    text-align:center;

    border-right:
        1px solid rgba(255,255,255,0.08);

    transition:0.35s ease;
}

.value-card:last-child{
    border-right:none;
}

.value-card:hover{
    background:#0f3a69;
}

.value-card i{
    font-size:46px;

    color:#ffffff;

    margin-bottom:24px;
}

.value-card h3{
    color:#ffffff;

    font-size:22px;

    margin-bottom:12px;
}

.value-card p{
    color:#dbe2ea;

    line-height:1.7;
}

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

.about{
    padding:170px 0 140px;
}

.about-grid{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:100px;

    align-items:center;
}

.about-image{
    position:relative;
}

.about-image img{
    border-radius:30px;

    box-shadow:
        0 30px 70px rgba(0,0,0,0.12);
}

.experience-badge{
    position:absolute;

    left:-30px;
    bottom:40px;

    width:180px;
    height:180px;

    border-radius:50%;

    background:#0B2A4A;

    color:#ffffff;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;
}

.experience-badge span{
    font-size:58px;

    font-weight:800;
}

.about-content h2{
    font-family:'Montserrat',sans-serif;

    font-size:58px;

    line-height:1.15;

    margin-bottom:35px;
}

.about-lead{
    font-size:22px;

    line-height:1.8;

    color:#33485f;

    margin-bottom:28px;
}

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

    line-height:1.9;

    color:#53657a;

    margin-bottom:25px;
}

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

.about-stats{
    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

    margin:50px 0;
}

.stat-card{
    background:#f4f7fa;

    border-radius:22px;

    padding:35px 25px;

    text-align:center;

    transition:0.3s ease;
}

.stat-card:hover{
    background:#0B2A4A;

    transform:translateY(-6px);
}

.stat-card h3{
    font-size:42px;

    color:#0B2A4A;

    margin-bottom:10px;

    transition:0.3s ease;
}

.stat-card span{
    color:#6a7b8f;

    transition:0.3s ease;
}

.stat-card:hover h3,
.stat-card:hover span{
    color:#ffffff;
}

/* =========================================================
   FEATURES
========================================================= */

.about-features{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:22px;
}

.feature-item{
    display:flex;

    align-items:center;

    gap:14px;

    font-weight:600;
}

.feature-item i{
    width:34px;
    height:34px;

    border-radius:50%;

    display:flex;

    align-items:center;
    justify-content:center;

    background:#0B2A4A;

    color:#ffffff;

    font-size:14px;
}

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

.services{
    padding:160px 0;

    background:#071f39;

    overflow:hidden;
}

.services-grid{
    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;
}

.service-card{
    position:relative;

    height:460px;

    overflow:hidden;

    border-radius:28px;

    background:#102844;

    transition:0.45s ease;
}

.service-card img{
    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    transition:0.6s ease;
}

.service-overlay{
    position:absolute;

    inset:0;

    background:
        linear-gradient(
            180deg,
            rgba(5,20,36,0.10),
            rgba(5,20,36,0.92)
        );

    z-index:1;
}

.service-content{
    position:absolute;

    left:35px;
    right:35px;
    bottom:35px;

    z-index:2;
}

.service-content span{
    color:#d4dde6;

    font-size:12px;

    letter-spacing:3px;

    text-transform:uppercase;
}

.service-content h3{
    color:#ffffff;

    font-size:34px;

    margin:18px 0;
}

.service-content p{
    color:#d9e0e7;

    line-height:1.8;
}

.service-card:hover{
    transform:translateY(-12px);
}

.service-card:hover img{
    transform:scale(1.08);
}

/* =========================================================
   SERVICES TITLE FIX
========================================================= */

.services .section-header h2{
    color:#ffffff;

    text-shadow:
        0 4px 18px rgba(0,0,0,0.25);
}

.services .section-subtitle{
    color:#d9e5f2;
}
/* =========================================================
   REFERENCES
========================================================= */

.references{
    padding:170px 0;

    background:#f5f7fa;
}

.reference-grid{
    display:grid;

    grid-template-columns:1.6fr 1fr;

    gap:30px;
}

.reference-side{
    display:grid;

    grid-template-rows:1fr 1fr;

    gap:30px;
}

.reference-card{
    position:relative;

    overflow:hidden;

    border-radius:30px;

    min-height:340px;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.10);

    transition:0.45s ease;
}

.reference-card.hero{
    min-height:710px;
}

.reference-card.full{
    grid-column:1 / -1;

    min-height:430px;
}

.reference-card img{
    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    transition:0.8s ease;
}

.reference-overlay{
    position:absolute;

    inset:0;

    background:
        linear-gradient(
            180deg,
            rgba(5,20,36,0.08),
            rgba(5,20,36,0.92)
        );

    z-index:1;
}

.reference-content{
    position:absolute;

    left:40px;
    right:40px;
    bottom:40px;

    z-index:2;
}

.reference-content span{
    color:#dbe5ef;

    font-size:12px;

    letter-spacing:3px;

    text-transform:uppercase;
}

.reference-content h3{
    color:#ffffff;

    font-size:42px;

    line-height:1.1;

    margin:18px 0;
}

.reference-content p{
    color:#d9e0e7;
}

.reference-card:hover{
    transform:translateY(-10px);
}

.reference-card:hover img{
    transform:scale(1.08);
}

/* =========================================================
   STATS
========================================================= */

.stats{
    padding:90px 0;

    background:
        linear-gradient(
            135deg,
            #06192e,
            #0b2a4a
        );
}

.stats-grid{
    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;
}

.stat-box{
    padding:42px 28px;

    border-radius:24px;

    background:
        rgba(255,255,255,0.07);

    text-align:center;

    transition:0.35s ease;
}

.stat-box h3{
    color:#ffffff;

    font-size:56px;

    margin-bottom:14px;
}

.stat-box p{
    color:#dbe5ef;
}

.stat-box:hover{
    transform:translateY(-6px);
}

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

.contact{
    padding:170px 0;

    background:#f5f7fa;
}

.contact-wrapper{
    display:grid;

    grid-template-columns:1fr 1.1fr;

    gap:60px;
}

.contact-text{
    font-size:18px;

    line-height:1.9;

    color:#5b6775;

    margin-bottom:50px;
}

.contact-info{
    display:flex;

    flex-direction:column;

    gap:28px;
}

.contact-item{
    display:flex;

    gap:22px;

    padding:26px 28px;

    border-radius:24px;

    background:#ffffff;

    box-shadow:
        0 15px 45px rgba(0,0,0,0.06);

    transition:0.35s ease;
}

.contact-item:hover{
    transform:translateY(-6px);
}

.contact-icon{
    width:64px;
    height:64px;

    min-width:64px;

    border-radius:18px;

    display:flex;

    align-items:center;
    justify-content:center;

    background:
        linear-gradient(
            135deg,
            #0b2a4a,
            #1c4d7f
        );

    color:#ffffff;

    font-size:22px;
}

.contact-item h4{
    font-size:22px;

    margin-bottom:10px;
}

.contact-item p{
    color:#5b6775;

    line-height:1.8;
}

.contact-map{
    position:relative;

    overflow:hidden;

    border-radius:32px;

    min-height:720px;

    box-shadow:
        0 25px 70px rgba(0,0,0,0.10);
}

.contact-map iframe{
    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    border:0;
}

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

.footer{
    background:
        linear-gradient(
            135deg,
            #06192e,
            #0b2a4a
        );

    color:#ffffff;
}

.footer-top{
    padding:110px 0 70px;
}

.footer-grid{
    display:grid;

    grid-template-columns:1.4fr 1fr 1fr 1fr;

    gap:60px;
}

.footer-brand img{
    width:180px;

    margin-bottom:30px;
}

.footer-brand p{
    color:#c8d4e0;

    line-height:1.9;
}

.footer-column h4{
    font-size:20px;

    margin-bottom:28px;
}

.footer-column ul{
    list-style:none;
}

.footer-column ul li{
    margin-bottom:18px;

    color:#c8d4e0;
}

.footer-column a{
    color:#c8d4e0;

    transition:0.3s ease;
}

.footer-column a:hover{
    color:#ffffff;
}

.footer-bottom{
    border-top:
        1px solid rgba(255,255,255,0.08);

    padding:28px 0;
}

.footer-bottom-wrapper{
    display:flex;

    align-items:center;

    justify-content:space-between;
}

.footer-bottom p{
    color:#c8d4e0;
}

.footer-bottom a{
    color:#ffffff;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1200px){

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

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

}

@media(max-width:1100px){

    .reference-grid,
    .contact-wrapper{
        grid-template-columns:1fr;
    }

    .reference-side{
        grid-template-rows:auto;
    }

    .reference-card.hero,
    .reference-card.full{
        min-height:500px;
    }

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

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

}

@media(max-width:992px){

    .nav{
        display:none;
    }

    .mobile-toggle{
        display:block;
    }

    .about-grid,
    .about-features,
    .about-stats{
        grid-template-columns:1fr;
    }

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

}

@media(max-width:768px){

    body{
        padding-top:95px;
    }

    .nav-container{
        height:95px;
    }

    .logo img{
        height:62px;
    }

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

    .hero-buttons{
        flex-direction:column;

        align-items:flex-start;
    }

    .btn{
        width:100%;
    }

    .services-grid,
    .stats-grid,
    .footer-grid{
        grid-template-columns:1fr;
    }

    .service-card{
        height:400px;
    }

    .section-header h2,
    .about-content h2{
        font-size:36px;
    }

    .reference-content,
    .service-content{
        left:28px;
        right:28px;
        bottom:28px;
    }

    .reference-content h3,
    .service-content h3{
        font-size:28px;
    }

    .footer-bottom-wrapper{
        flex-direction:column;

        text-align:center;

        gap:16px;
    }

}

/* =========================================================
   PRIVACY PAGE — PREMIUM
========================================================= */

.privacy-page{
    padding:220px 0 140px;

    background:
        linear-gradient(
            180deg,
            #f5f7fa 0%,
            #eef2f6 100%
        );
}

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

.privacy-header{
    max-width:900px;

    margin:0 auto 100px;

    text-align:center;
}

.privacy-header h2{
    font-size:64px;

    line-height:1.1;

    margin-bottom:24px;
}

.privacy-date{
    font-size:18px;

    color:#7c8896;
}

/* =========================================================
   CONTENT
========================================================= */

.privacy-content{
    max-width:980px;

    margin:auto;
}

/* =========================================================
   BLOCK
========================================================= */

.privacy-block{
    background:#ffffff;

    padding:60px;

    border-radius:36px;

    margin-bottom:40px;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.05);

    border:
        1px solid rgba(11,42,74,0.05);
}

/* =========================================================
   HEADINGS
========================================================= */

.privacy-block h3{
    font-size:40px;

    line-height:1.2;

    color:#0B2A4A;

    margin-bottom:34px;

    font-weight:800;

    letter-spacing:-1px;
}

.privacy-block h4{
    font-size:24px;

    color:#0B2A4A;

    margin:
        40px 0 20px;

    font-weight:700;
}

/* =========================================================
   TEXT
========================================================= */

.privacy-block p{
    color:#5f6d7d;

    font-size:18px;

    line-height:2;

    margin-bottom:24px;
}

.privacy-block strong{
    color:#0B2A4A;
}

/* =========================================================
   LISTS
========================================================= */

.privacy-block ul{
    padding-left:24px;

    margin-top:20px;
}

.privacy-block ul li{
    color:#5f6d7d;

    font-size:18px;

    line-height:2;

    margin-bottom:12px;
}

/* =========================================================
   TABLE
========================================================= */

.privacy-table-wrapper{
    overflow-x:auto;

    margin-top:35px;

    border-radius:24px;

    overflow:hidden;

    border:
        1px solid #e7edf3;
}

.privacy-table{
    width:100%;

    border-collapse:collapse;

    min-width:760px;

    background:#ffffff;
}

.privacy-table thead{
    background:#0B2A4A;
}

.privacy-table th{
    color:#ffffff;

    text-align:left;

    padding:24px;

    font-size:16px;

    font-weight:700;
}

.privacy-table td{
    padding:24px;

    border-bottom:
        1px solid #edf2f7;

    color:#5f6d7d;

    font-size:16px;

    line-height:1.8;

    vertical-align:top;
}

.privacy-table tr:last-child td{
    border-bottom:none;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:768px){

    .privacy-page{
        padding:170px 0 100px;
    }

    .privacy-header h2{
        font-size:42px;
    }

    .privacy-block{
        padding:35px;
    }

    .privacy-block h3{
        font-size:30px;
    }

    .privacy-block p,
    .privacy-block li{
        font-size:16px;
    }

}

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

@media(max-width:992px){

    .mobile-toggle{

        display:flex;

        align-items:center;

        justify-content:center;

        width:48px;

        height:48px;

        cursor:pointer;

        z-index:10001;
    }

    .mobile-toggle i{

        font-size:28px;

        color:#0B2A4A;

        transition:.3s ease;
    }

    .mobile-toggle.active i{

        transform:rotate(90deg);
    }

    /* Menü alapállapotban rejtve */

    .nav{

        display:none;

        position:fixed;

        top:95px;

        left:0;

        width:100%;

        background:#ffffff;

        flex-direction:column;

        gap:0;

        box-shadow:
            0 15px 40px rgba(0,0,0,.08);

        z-index:9998;
    }

    /* Menü nyitott állapot */

    .nav.active{

        display:flex;
    }

    .nav a{

        width:100%;

        padding:18px 30px;

        border-bottom:
            1px solid rgba(0,0,0,.05);

        font-size:16px;

        text-align:left;
    }

}
/* =========================================================
   404 PAGE
========================================================= */

.error-page{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:60px 20px;

    background:
        radial-gradient(
            circle at center,
            #f8fafc 0%,
            #eef3f8 100%
        );
}

.error-content{

    max-width:700px;

    margin:auto;
}

.error-logo{

    width:220px;

    margin:0 auto 40px;

    display:block;
}

.error-content .section-subtitle{

    display:block;

    letter-spacing:6px;

    font-size:14px;

    font-weight:700;

    color:#8b96a5;

    margin-bottom:20px;
}

.error-content h1{

    font-size:64px;

    line-height:1.15;

    color:#0B2A4A;

    margin-bottom:25px;
}

.error-content p{

    font-size:24px;

    line-height:1.7;

    color:#66788c;

    margin-bottom:45px;
}

.btn-primary{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:18px 36px;

    border-radius:14px;

    background:#0B2A4A;

    color:#ffffff;

    text-decoration:none;

    font-weight:600;

    transition:0.3s ease;
}

.btn-primary:hover{

    transform:translateY(-3px);

    box-shadow:
        0 15px 35px rgba(11,42,74,0.25);
}

/* MOBIL */

@media(max-width:768px){

    .error-logo{

        width:160px;
    }

    .error-content h1{

        font-size:42px;
    }

    .error-content p{

        font-size:18px;
    }
    .privacy-card{

        overflow:hidden;
    }

    .table-responsive{

        margin:20px -20px 0;

        padding:0 20px;
    }

}
/* =========================================================
   PRIVACY TABLE RESPONSIVE
========================================================= */

.privacy-table-wrapper{

    width:100%;

    overflow-x:auto;

    -webkit-overflow-scrolling:touch;
}

.privacy-table{

    width:100%;

    min-width:700px;

    border-collapse:collapse;
}

@media(max-width:768px){

    .privacy-table-wrapper{

        margin-top:20px;
    }

    .privacy-table{

        min-width:650px;
    }

}