
@import url('https://fonts.googleapis.com/css?family=Poppins: 200, 300, 400, 500, 600, 700, 800, 900&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #9e9d9d;
    display: flex;
    align-items: center;
}

.banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner .content {
    position: relative;
    max-width: 750px; 
    text-align: center;
}

.banner .content h2 {
    color: #fff;
    font-size: 60px;
}

.banner .content p {
    color: #fff;
    font-size: 18px;
}

.banner header {
    position: absolute;
    bottom: 2%;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
}
  
.banner header .logo {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    text-transform: uppercase;
    Letter-spacing: 1px;
    position: relative;
}

.banner header .logo:after {    
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: #fff;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

.banner header .logo:hover:after { 
    width: 100%; 
    left: 0; 
}

.nav-item {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
    font-size: 15px;
}

#menuToggle {
    display: none;
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
    width: 100%;
}

#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
}

#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #fff;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
}


#menu {
    position: absolute;
    width: 200px;
    margin: -100px 0 0 -50px;
    padding: 50px;
    padding-top: 110px;
    padding-bottom: 10px;
    border-radius: 10px;
    background: rgba(205, 205, 205, 0.5);
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

/* Hide the entire menu when the mouse leaves */
#menuToggle:not(:hover) #menu {
    transform: translate(-105%, 0);
}

#menu li {
    padding: 5px 0;
    font-size: 22px;
}

#menuToggle input:checked ~ ul {
    transform: none;
}

.about {
    position: relative;
    width: 100%;
    display: flex;
    background: #162c3b;
    text-align: center;
}
  
.about .contentBx {
    background: #A9BED4;
    padding: 100px;
    width: 100%;
}
  
.heading
{
    color: #000000;
    font-size: 30px; 
    font-weight: 600; 
    Letter-spacing: 1px; 
    margin-bottom: 36px;
}

.heading.white
{
    color: #ffffff;
}

.text
{
    color: #000000;
    font-size: 16px; font-weight: 300;
    Letter-spacing: 1px;
    text-align: justify;
}

.text.white
{
    color: #ffffff;
}
  
.about .imgBx
{
    background: url("../images/me2.png");
    width: 50%;
    background-size: cover; background-position: center;
}

.services
{
    background: #393747;
    padding: 100px;
    padding-bottom: 0px;
    text-align: center;
}

.services .container
{
    width: 100%;
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-wrap: wrap;
    margin-top: 60px;
}

.services .container .serviceBx
{
    position: relative;
    background: #fff;
    width: 240px;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    z-index: 1;
    margin: 20px;
    text-decoration: none;
    color: black;
}

.services .container .serviceBx img {
    max-width: 100px;
}

.services .container .serviceBx h2 {
    font-weight: 500;
    font-size: 17px;
    letter-spacing: 1px;
}

@media (max-width: 1000px) {
    .text {
        font-size: 13px;
    }
    .banner {
        padding: 50px;
    }
    .banner .content h2 {
        font-size: 36px;
    }
    .banner .content p {
        font-size: 13px;
    }
    .about {
        flex-direction: column;
    }
    .about .contentBx,
    .about .imgBx {
        width: 100%;
        padding: 50px;
        min-height: 400px;
        text-align: center;
    }
    .services {
        padding: 50px;
    }
    .services .container {
        justify-content: center;
        margin-top: 20px;
    }
    .services .container .serviceBx {
        margin: 5px;
        width: 100px;
        height: 150px;
        padding: 10px;
    }
    .services .container .serviceBx h2 {
        font-size: 9px;
    }
    .services .container .serviceBx img {
        max-width: 60px;
    }
    .banner header {
        display: none;
    }
    #menuToggle {
        display: block;
    }
}

.timeline {
    position:relative;
    margin:50px auto;
    padding:40px 0;
    box-sizing:border-box;
}
  
.timeline:before {
    content:'';
    position:absolute;
    left:50%;
    width:2px;
    height:100%;
    background:#c5c5c5;
}
  
.timeline .timeline-list {
    padding:0;
    margin:0;
}
  
.timeline .timeline-list .timeline-list-item {
    list-style:none;
    position:relative;
    width:50%;
    padding:20px 40px;
    box-sizing:border-box;
}
  
.timeline .timeline-list .timeline-list-item:nth-child(odd) {
    float:left;
    text-align:right;
    clear:both;
}
  
.timeline .timeline-list .timeline-list-item:nth-child(even) {
    float:right;
    text-align:left;
    clear:both;
}
  
.content {
    padding-bottom:20px;
}

.timeline .timeline-list .timeline-list-item:nth-child(odd):before {
    content:'';
    position:absolute;
    width:10px;
    height:10px;
    top:24px;
    right:-6px;
    background:#162c3b;
    border-radius:50%;
    box-shadow:0 0 0 3px #162c3b;
}

.timeline .timeline-list .timeline-list-item:nth-child(even):before {
    content:'';
    position:absolute;
    width:10px;
    height:10px;
    top:24px;
    left:-4px;
    background:#162c3b;
    border-radius:50%;
    box-shadow:0 0 0 3px #162c3b;
}

.timeline .timeline-list .timeline-list-item h3 {
    padding:0;
    margin:0;
    color:#162c3b;
    font-weight:600;
}

.timeline .timeline-list .timeline-list-item p {
    margin:10px 0 0;
    padding:0;
    text-align: justify;
}

@media(max-width:1000px) {
    .timeline .timeline-list .timeline-list-item p {
        font-size: 13px;
    }
}

.timeline .timeline-list .timeline-list-item .time h4 {
    margin:0;
    padding:0;
    font-size:14px;
}

.timeline .timeline-list .timeline-list-item .content h4{
    color: #162c3b;
}

.timeline .timeline-list .timeline-list-item:nth-child(odd) .time {
    position:absolute;
    top:12px;
    right:-165px;
    margin:0;
    padding:8px 16px;
    background:#162c3b;
    color:#fff;
    border-radius:18px;
    box-shadow:0 0 0 3px #162c3b;
}

.timeline .timeline-list .timeline-list-item:nth-child(even) .time {
    position:absolute;
    top:12px;
    left:-165px;
    margin:0;
    padding:8px 16px;
    background:#162c3b;
    color:#fff;
    border-radius:18px;
    box-shadow:0 0 0 3px #162c3b;
}

@media(max-width:1000px) {
    .timeline {
        width:100%;
    }
    .timeline .timeline-list .timeline-list-item .content h4 {
        font-size: 13px;
    }
}

@media(max-width:767px) {
    .timeline {
        width:100%;
        padding-bottom:0;
    }

    h1 {
        font-size:40px;
        text-align:center;
    }
    
    .timeline:before {
        left:20px;
        height:100%;
    }
    
    .timeline .timeline-list .timeline-list-item:nth-child(odd),
    .timeline .timeline-list .timeline-list-item:nth-child(even) {
        width:100%;
        text-align:left;
        padding-left:50px;
        padding-bottom:50px;
    }

    .timeline .timeline-list .timeline-list-item:nth-child(odd):before,
    .timeline .timeline-list .timeline-list-item:nth-child(even):before {
        top:-18px;
        left:16px;
    }

    .timeline .timeline-list .timeline-list-item:nth-child(odd) .time,
    .timeline .timeline-list .timeline-list-item:nth-child(even) .time {
      top:-30px;
      left:50px;
      right:inherit;
    }
}
  
.experiences {
    text-align: center;
    background: #dff1d4;
    width: 100%;
    padding: 50px;
    /* padding-top: 200px; */
    /* margin-top: -200px; */
    justify-content: space-between;
    align-items: center;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 16px;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
}

@media (hover: hover) {
    #myBtn:hover {
        background-color: #dd9aff;
    }
}

.services .container .serviceBx.flip-card {
    background-color: transparent;
    width: 350px;
    height: 400px;
}

.container-2 {
    width: 100%;
    height: 100%;
    perspective: 800px;
}

.container-2:hover > .card {
    cursor: pointer;
    transform: rotateY(180deg);
}
  
.card {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 1500ms;
    transform-style: preserve-3d;
}

.front{
    padding: 100px 0;
    text-align: center;
    background: white;
    color: black;
}
  
.front img {
    max-height: 160px;
}
  
.front,
.back {
    height: 100%;
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
    position: absolute;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden;
}
  
.back {
    background-color: #6b6b6b;
    display: flex;
    transform: rotateY(180deg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
  
.back-title,
.front-title {
    padding: 10px;
}
  
.back-title {
    color: white;
    font-weight: 100;
}
  
.skill-container {
    display: flex;
    width: 100%;
    height: 100%;
    font-size: 13px;
}

.skill-container .right, 
.skill-container .left,
.skill-container .center {
    display: flex;
    padding: 20px 20px;
    flex: 0 1 100%;
    flex-direction: column;
    justify-content: space-between;
}
  
.skill-container .left {
    padding-right: 10px;
}
  
.skill-container .right {
    padding-left: 10px;
}
  
.skill-container .left div, 
.skill-container .right div,
.skill-container .center div {
    background-color: white;
    color: black;
    text-align: center;
    height: 2rem;
    line-height: 2rem;
    border-radius: 10px;
}

#more {
    display: none;
}

.main-responsibilities{
    text-align: justify;
}

.main-responsibilities-list {
    margin-left: 30px;
}

@media(max-width:1000px) {
    .back-title {
        font-size: 13px;
    }
    .skill-container {
        font-size: 12px;
    }
    #more {
        font-size: 13px;
    }
}

.footer-name {
    color: white;
    padding-bottom: 24px;
}
  
.footer a {
    padding: 5px;
    color: white;
    text-decoration: none;
}

@media (hover: hover) {
    .footer a:hover {
        color: #67a6fb;
    }
}

#facebook-link {
    padding: 2px;
}

.skill-in-role {
    background-color: white;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 2px;
    padding-bottom: 2px; 
    border-radius: 10px;
    margin: 20px;
    font-size: 13px;
}
  
.flexContainer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.flexContainer > * {
    margin: 2px;
}

.read-more {
    border: none;
    outline: none;
    background-color: #a900ff;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    margin-top: 10px;
}

@media(max-width:1000px) {
    .skill-in-role {
        font-size: 11px;
    }
}

/* Solutions */

.solutions-container {
    display: flex;
    width: 100%;
}

.solutions-left-panel {
    width: 40%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
    position: relative;
}

.solutions-left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(10px);
}

.solution-button {
    position: relative;
    z-index: 1;
    background: #a2a2a2;
    border: none;
    border-radius: 20px;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.solution-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    background: rgba(255,255,255,1);
}

.solution-button:active {
    transform: translateY(-2px);
}

.solution-button.selected {
    background-color: #dff1d4;
}

.solutions-right-panel {
    width: 60%;
    padding: 40px;
    overflow-y: auto;
}

.solution-content-section h2 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.solution-content-section p {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
}

.solution-image-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.solution-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.solution-image-placeholder:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .solution-container {
        flex-direction: column;
    }
    
    .solution-left-panel, .solution-right-panel {
        width: 100%;
    }
    
    .solution-left-panel {
        min-height: auto;
        padding: 30px 20px;
    }
    
    .solution-right-panel {
        padding: 30px 20px;
    }
}

.automateys-logo {
    position: absolute;
    top: 40px;
    right: 40px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero-content {
    margin-left: 45px;
}

.hero-text {
    font-size: 50px;
    font-weight: bold;
}

.line1 {
    color: #ffffff;
    margin-bottom: 10px;
}

.line2 {
    color: #A9BED4;
    margin-bottom: 20px;
}

.line3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.line4 {
    color: #DFF1D3;
    margin-bottom: 0;
}

@media (max-width: 1000px) {
    .hero-text{
        font-size: 36px;
    }
}

@media (max-width: 700px) {
    .hero-text{
        font-size: 20px;
    }
}

@media (max-width: 420px) {
    .hero-text{
        font-size: 16px;
    }
}


        /* A meglévő CSS kódod - változatlan */
        .solution-image-container img {
            width: 100%;
            /* height: 200px;
            object-fit: cover;
            border-radius: 15px; */
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            cursor: pointer;
        }

        .solution-image-container img:hover {
            transform: scale(1.05);
        }

        /* HOZZÁADANDÓ CSS - Lightbox funkció */
        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            cursor: pointer;
        }

        .lightbox.active {
            display: flex;
        }

        .lightbox-content {
            position: relative;
            max-width: 90vw;
            max-height: 90vh;
            cursor: default;
        }

        .lightbox-image {
            max-width: 90vw;
            max-height: 90vh;
            border-radius: 15px;
            box-shadow: 0 4px 30px rgba(0,0,0,0.5);
            object-fit: contain;
        }

        @media (max-width: 768px) {
            .lightbox-content {
                max-width: 95vw;
                max-height: 95vh;
            }
        }

        .close-btn {
            position: absolute;
            top: -40px;
            right: 0;
            background: none;
            border: none;
            color: white;
            font-size: 30px;
            cursor: pointer;
            padding: 0;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.3s ease;
        }

        .close-btn:hover {
            opacity: 0.7;
        }

        /* Reszponzív beállítások */
        @media (max-width: 768px) {
            .lightbox-content {
                max-width: 95%;
                max-height: 95%;
            }
            
            .close-btn {
                top: -35px;
                font-size: 25px;
            }
        }

/* Team */

.our-team {
    max-width: 1200px;
    margin: 0 auto;
}

.team-header {
    text-align: center;
    margin-bottom: 3rem;
}

.team-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.team-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.team-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.team-member {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
}

.member-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-intro {
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {

    .team-header h2 {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member {
        padding: 2rem 1.5rem;
    }

    .member-photo {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .team-header h2 {
        font-size: 1.8rem;
    }

    .team-header p {
        font-size: 1rem;
    }

    .team-member {
        padding: 1.5rem 1rem;
    }

    .member-name {
        font-size: 1.3rem;
    }
}

/* Contact */

.form .inputBx
{
    margin-bottom: 40px;
}

.form .inputBx input
{
    width: 100%;
    background:
    transparent;
    box-shadow: none;
    border: none;
    outline: none;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 300;
    color: #fff;
    border-bottom: 2px solid #fff;
}

.form .inputBx input::placeholder
{
    color: #fff;
}

.form .inputBx textarea
{
    width: 100%;
    background:
    transparent;
    box-shadow: none;
    border: none;
    outline: none;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 300;
    color: #fff;
    min-height: 150px;
    border-bottom: 2px solid #fff;
}

.form .inputBx textarea::placeholder
{
    color: #fff;
}

.form .inputBx input[type="submit"]
{
    width: 150px;
    background-color: #fff;
    color: #111;
    cursor: pointer;
}

.about.contact .contentBx {
    background: #393747;
}

.services.footer
{
    padding-top: 0px;
}

.transition_1
{
    height: 150px;
    background: linear-gradient(to bottom, #A9BED4, #393747);
    /* background: linear-gradient(to bottom, #A9BED4 0%, #8E9EBB 50%, #393747 100%); */
}

.transition_2
{
    height: 150px;
    background: linear-gradient(to bottom, #dff1d4, #393747);
    /* background: linear-gradient(to bottom, #A9BED4 0%, #8E9EBB 50%, #393747 100%); */
}

#our_mission .contentBx
{
    padding-bottom: 0px;
}

/* For mobile */

/* @media (max-width: 600px) {
    .solutions-container {
        flex-direction: column;
    }
    
    .solutions-left-panel, 
    .solutions-right-panel {
        width: 100%;
    }
    
    .solutions-left-panel {
        display: flex;
        flex-direction: column;
    }
    
    .solution-button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .solutions-right-panel {
        padding: 20px;
    }
} */

@media (max-width: 600px) {
    .solutions-container {
        flex-direction: column;
    }
    
    .solutions-left-panel {
        display: none;  /* Add this line */
    }
    
    .solutions-right-panel {
        width: 100%;
        padding: 20px;
    }
}
