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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(ellipse at center, #2b5a9e 0%, #1a4580 50%, #0d2d5a 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    position: relative;
}

body::after {
    content: '';
    position: fixed;
    right: 0;
    top: 0;
    width: 0.7rem;
    height: 100vh;
    background: linear-gradient(
            to bottom,
            #CE2939 0%,
            #CE2939 33.33%,
            #FFFFFF 33.33%,
            #FFFFFF 66.66%,
            #436F4D 66.66%,
            #436F4D 100%
    );
    z-index: 9999;
    pointer-events: none;
}

.hero-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
}

.slogan {
    color: white;
    font-family: 'Hurricane', cursive;
    font-size: clamp(1.8rem, 5vw, 4rem);
    padding-bottom: 1.5rem;
}

h1 {
    background: #eb822c;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 1.2rem 1.5rem;
    color: white;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.counter {
    padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3rem);
    margin-bottom: 2rem;
    width: 100%;
    max-width: 650px;
    text-align: center;
    overflow: hidden;
}

#number {
    font-size: clamp(1.8rem, 5vw, 4rem);
    font-weight: bold;
    color: #eb822c;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    display: inline-block;
}

.intro-section {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.intro-text {
    flex: 1;
    color: white;
    line-height: 1.3;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.intro-text p:not(.slogan) {
    margin-bottom: 0.4rem;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-text h3 {
    font-style: italic;
    text-align: right;
    margin-top: auto;
    color: white;
    font-weight: normal;
    padding-top: 1rem;
}

.intro-image {
    flex-shrink: 0;
    width: clamp(250px, 35vw, 453px);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.tab-image {
    flex-shrink: 0;
    width: clamp(250px, 35vw, 453px);
    height: auto;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    padding: 0.3rem;
}

.tab-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.scroll-arrow {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 70px;
    height: 70px;
    background: #eb822c;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-arrow:hover {
    transform: translateY(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.scroll-arrow::after {
    content: '↓';
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    display: block;
}

.scroll-arrow.up::after {
    transform: rotate(180deg);
}

.tabs-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
    padding: 2rem 0.5rem;
    scroll-margin-top: 0;
}

.tab {
    background: white;
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tab:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: #f0f0f0;
}

.tab-title {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: bold;
    color: #1a4580;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.tab-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #333;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.tab-content p {
    margin-bottom: 0.5rem;
}

.tab-content p:last-child {
    margin-bottom: 0;
}

.tab-price {
    font-weight: bold;
    color: #eb822c;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    text-align: end;
    white-space: nowrap;
}

.tab-price-no-web {
    display: none;
}

.tab.active .tab-content {
    max-height: 100%;
    margin-top: 1rem;
}

.tab.active {
    background: #f8f9ff;
}

/* Footer stilus */
.footer {
    width: 100%;
    text-align: center;
    padding: 2rem 1rem;
    color: white;
    font-size: 0.9rem;
    background: transparent;
}

.footer p {
    margin: 0;
    opacity: 0.8;
}

@media (max-width: 1260px) {
    .tabs-container {
        padding-inline: 1rem;
    }
}

/* Tablet és kisebb - intro szekció átrendezése */
@media (max-width: 900px) {
    body::after {
        width: 0.3rem;
    }

    .slogan {
        text-align: center;
        font-size: clamp(2.5rem, 6vw, 5rem);
    }

    .intro-section {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .intro-image {
        width: 80%;
        max-width: 500px;
        height: auto;
        aspect-ratio: 2/3;
    }

    .scroll-arrow {
        display: flex;
    }

    .tabs-container {
        padding: 2rem 1rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .hero-section {
        padding: 1rem 0.5rem;
    }

    .counter {
        margin-bottom: 1.5rem;
        padding: clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 2rem);
    }

    .tabs-container {
        gap: 0.8rem;
    }

    .tab {
        padding: 1rem 1.2rem;
    }

    .tab:hover {
        transform: translateX(3px);
    }

    .tab-title {
        display: block;
    }

    .tab-price {
        display: none;
    }

    .tab-price-no-web {
        margin-top: 0.5rem;
        display: block;
        color: #eb822c;
    }

    .scroll-arrow {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .scroll-arrow::after {
        font-size: 1.8rem;
    }
}

/* Mobil */
@media (max-width: 480px) {
    h1 {
        margin-bottom: 1.5rem;
        display: flex;
        flex-direction: column;
        line-height: 0.8;
    }

    .counter {
        padding: 1.5rem 0.8rem;
        margin-bottom: 0.5rem;
    }

    #number {
        font-size: clamp(1.5rem, 4.5vw, 2rem);
    }

    .slogan {
        font-size: clamp(2.2rem, 4.5vw, 3rem);
    }

    .tab {
        padding: 1rem;
        border-radius: 8px;
    }

    .tab:hover {
        transform: none;
    }

    .tab:active {
        transform: scale(0.98);
    }

    .scroll-arrow {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
    }

    .scroll-arrow::after {
        font-size: 1.5rem;
    }
}
/* Image Modal Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(235, 130, 44, 0.8);
    border-radius: 50%;
    line-height: 1;
}

.modal-close:hover {
    background: #eb822c;
    transform: rotate(90deg);
}

.tab-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.tab-image:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .image-modal {
        padding: 1rem;
    }

    .modal-close {
        top: -35px;
        font-size: 35px;
        width: 35px;
        height: 35px;
    }
}