/* ========================================= */
/* 1. ALAP BEÁLLÍTÁSOK (Global & Reset)      */
/* ========================================= */

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background-color: #0e0e0e;
    color: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ========================================= */
/* 2. NAVBAR (Fejléc menü)                   */
/* ========================================= */

#navbar-container {
    padding-left: 10%;
    padding-right: 10%;
}

.custom-navbar {
    position: relative;
    width: 100%;
    padding: 20px 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0)
    );
    z-index: 50;
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-title {
    font-size: 35px;
    font-weight: 600;
    color: white;
}

#logo {
    width: 100px;
}

.logo-kiemeles {
    filter: drop-shadow(0 0 14px rgba(80, 180, 255, 0.45));
}

.nav-link {
    position: relative;
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 500;
    margin-left: 15px;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #17a7d2;
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #17a7d2 !important;
}

.navbar-toggler {
    border: none;
    padding: 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ========================================= */
/* 3. HERO SECTIONS & HÁTTÉRKÉPEK            */
/* ========================================= */

/* Főoldali Hero */
.hero1 {
    height: 100vh;
    background-image: url('../Img/Bg1.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

.hero {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 100px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-left: 10%;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
    line-height: 1.2;
}

/* Aloldal Header */
.page-header {
    background-image: url('../Img/Forraszós_kép1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Köztes Hero (Parallax) */
.hero2 {
    position: relative !important;
    width: 100%;
    height: 80vh; 
    min-height: 600px !important;
    background-image: url('../Img/Forraszós_kép1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: 0;
    z-index: 1;
}

.hero2-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.hero2 h2 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.hero2 p {
    font-size: 1.4rem;
    color: #ddd;
}

/* Támogatók háttér */
.hatter {
    height: 100vh;
    background-image: url('../Img/tamogatokbg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

/* ========================================= */
/* 4. TARTALOM & TIPOGRÁFIA                  */
/* ========================================= */

.content1 {
    color: #ddd;
    padding: 100px 20px 100px 20px;
}

.content {
    background: linear-gradient(to bottom, #0e0e0e, #1a1a1a);
    color: #ddd;
    padding: 100px 20px 100px 20px;
}

/* Pushup elemek */
.content-pushup {
    margin-top: -100px;
    position: relative;
    z-index: 5;
    border-radius: 0;
}

.content-pushup-sub1 {
    margin-top: -60px;
    position: relative;
    z-index: 5;
    border-radius: 20px 20px 0 0;
    padding: 80px 20px 150px 20px;
}

.content-pushup-sub {
    margin-top: -60px;
    position: relative;
    z-index: 5;
    background: linear-gradient(to bottom, #0e0e0e, #1a1a1a);
    border-radius: 20px 20px 0 0;
    padding: 80px 20px 150px 20px;
}

/* Szöveg stílusok */
.simple-title {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.title-underline {
    width: 60px; /* Alapértelmezett */
    height: 4px;
    background-color: #17a7d2;
    margin: 0 auto 30px auto;
}

.simple-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #aaa;
    max-width: 800px;
    margin: 0 auto;
}

.block-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.text-blue {
    color: #17a7d2;
}

/* ========================================= */
/* 5. ELEMEK (Gombok, Kártyák, Slider)       */
/* ========================================= */

/* Gombok */
.herobutton {
    border: solid white 1px;
    border-radius: 8px;
    padding: 10px 25px;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.herobutton:hover {
    background-color: white;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Támogató kártyák (Négyzetes) */
.sponsor-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.sponsor-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: #17a7d2;
    box-shadow: 0 5px 15px rgba(23, 167, 210, 0.2);
}

.gold-sponsor {
    height: 200px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.gold-sponsor:hover {
    border-color: #ffd700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}

/* Partnerek (Vízszintes) */
.partner-card-horizontal {
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    height: 100%;
}

.partner-card-horizontal:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #17a7d2;
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

.partner-logo-side {
    width: 160px;
    min-width: 160px;
    height: 120px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
}

.partner-logo-side img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: filter 0.3s;
}

.partner-card-horizontal:hover .partner-logo-side img {
    filter: none;
}

.partner-details {
    flex-grow: 1;
    text-align: left;
}

.partner-name-hor {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.partner-desc {
    color: #bbb;
    font-size: 1.05rem;
    margin-bottom: 15px;
    line-height: 1.5;
    max-width: 95%;
}

.partner-link-sm {
    display: inline-block;
    color: #17a7d2;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.partner-link-sm:hover {
    color: #fff;
    padding-left: 5px;
}

/* Tech Slider & Gallery */
.tech-slider {
    max-width: 1453px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.tech-slider .carousel-item {
    height: 600px;
    background-color: #000;
}

.tech-slider .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.gallery-container {
    max-width: 1453px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    height: 600px; 
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8); 
    color: white;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    transform: none; 
}

/* Csapat (Rólunk) Kártyák */
.team-hero {
    margin-top: 60px;
}

.team-card {
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(23, 167, 210, 0.2);
    border-radius: 15px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: #0dcaf0;
    box-shadow: 0 10px 30px rgba(13, 202, 240, 0.2);
}

.profile-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #0dcaf0;
    padding: 3px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.team-card:hover .profile-img {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(13, 202, 240, 0.5);
}

.role-text {
    color: #0dcaf0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.card-text {
    color: #cccccc;
    line-height: 1.6;
}

/* Mentor kártyák */
.mentor-card {
    border-color: rgba(255, 193, 7, 0.2);
}

.mentor-card:hover {
    border-color: #ffc107;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
}

.mentor-img {
    border-color: #ffc107 !important;
}

.team-card:hover .mentor-img {
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
}

/* Felülírja a .title-underline-t a csapat oldalon */
.team-card ~ .title-underline, 
.team-hero .title-underline { /* Specifikusabb kijelölés ha szükséges */
    width: 80px;
    height: 4px;
    background-color: #0dcaf0;
    border-radius: 2px;
}

/* Táblázat (Tech Table) */
.tech-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgba(255, 255, 255, 0.267);
}

.tech-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.217);
    color: #fff;
    vertical-align: middle;
}

.tech-table td:first-child {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1b78dc;
    width: 40%;
    background-color: rgba(0, 0, 0, 0.483);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-table td:last-child {
    text-align: left;
    font-size: 1rem;
    font-weight: 400;
    color: #efefef;
}

.tech-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.169);
}

/* ========================================= */
/* 6. FOOTER (Lábléc)                        */
/* ========================================= */

.footer-pushup {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.modern-footer {
    background-color: #222;
    color: #ccc;
    padding: 80px 0 30px 0;
    font-size: 0.95rem;
}

.footer-brand:hover .footer-logo {
    filter: none;
}

.footer-logo {
    width: 50px;
}

.footer-heading {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #17a7d2;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #17a7d2;
    transform: translateY(-3px);
}

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

.footer-space-fix {
    padding-bottom: 250px !important;
    position: relative; 
    z-index: 2;
}

/* ========================================= */
/* 7. MEDIA QUERIES (Reszponzivitás)         */
/* ========================================= */

/* --- Min Width 992px --- */
@media (min-width: 992px) {
    .modern-footer .container {
        max-width: 90% !important;
        width: 90% !important;
    }
}

/* --- Max Width 991px (Tablet/Laptop) --- */
@media (max-width: 991px) {
    .nav-item {
        text-align: center;
        margin: 10px 0;
    }
    
    .hero2 {
        background-attachment: scroll;
        height: auto;
        padding: 100px 0;
    }

    /* Navbar Mobil Blur & Overlay */
    .custom-navbar {
        background-color: rgba(14, 14, 14, 0.85) !important; 
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(14, 14, 14, 0.85) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.6);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 9999;
        padding-bottom: 20px;
    }
    
    .navbar-nav {
        text-align: center;
        padding-top: 15px;
    }
}

/* --- Max Width 768px (Tablet) --- */
@media (max-width: 768px) {
    /* Gallery */
    .gallery-item {
        height: 400px;
    }

    /* Footer Fix */
    .footer-space-fix {
        padding-bottom: 100px !important;
    }

    /* Specs Box */
    .spec-box {
        margin-bottom: 25px !important; 
        padding: 0 2px;
    }

    .spec-box h4 {
        font-size: 1.3rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 12px;
        text-transform: uppercase;
        border-bottom: 3px solid #00d2ff;
        display: inline-block;
        padding-bottom: 4px;
        letter-spacing: 1px;
    }

    .spec-box ul li {
        font-size: 1rem;
        color: #ddd;
        margin-bottom: 6px;
        line-height: 1.3;
        font-weight: 500;
    }

    /* Carousel */
    #carouselExampleCaptions, 
    .carousel-inner, 
    .carousel-item {
        height: 60vh !important;
        min-height: 400px;
    }

    .carousel-item img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        object-position: center;
    }

    .carousel-caption {
        display: block !important;
        bottom: 20px !important;
        padding: 15px;
        background: rgba(0, 0, 0, 0.7); 
        border-radius: 10px;
        left: 5%;
        right: 5%;
        width: 90%;
    }

    .carousel-caption h5 {
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 5px;
        color: #fff;
    }

    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 0;
        color: #ddd;
    }
}

/* --- Max Width 600px --- */
@media (max-width: 600px) {
    /* Tech Table */
    .tech-table td:first-child {
        font-size: 0.95rem;
        padding: 10px;
    }
    .tech-table td:last-child {
        font-size: 0.85rem;
    }
}

/* --- Max Width 576px (Mobil) --- */
@media (max-width: 576px) {
    /* Navbar */
    .custom-navbar {
        padding: 10px 0;
        background: rgba(0,0,0,0.9);
    }

    #navbar-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .brand-title {
        font-size: 24px;
    }

    #logo {
        width: 50px;
    }

    .navbar-toggler {
        padding: 5px;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.5rem;
        margin-left: 0;
        text-align: center;
        padding: 0 15px;
    }

    .hero {
        align-items: center;
        padding-bottom: 50px;
    }
    
    .simple-title {
        font-size: 2rem;
    }

    /* Partner Kártya */
    .partner-card-horizontal {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .partner-logo-side {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
        max-width: 180px;
    }
    
    .partner-details {
        text-align: center;
    }
}