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

html {
    overflow-y: scroll;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(to bottom, #1b1b2f, #000c1f);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Animated Starry Background */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to top, #1b1b2f, #000c1f);
    overflow: hidden;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
}

/* Star size variations */
.star.small {
    width: 1px;
    height: 1px;
}

.star.medium {
    width: 2px;
    height: 2px;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

.star.large {
    width: 3px;
    height: 3px;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

/* Star animations */
@keyframes twinkle-slow {
    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes twinkle-medium {
    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.1);
    }
}

@keyframes twinkle-fast {
    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.3);
    }
}

@keyframes float-horizontal {
    0%,
    100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(10px);
    }
}

@keyframes float-vertical {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes float-diagonal {
    0%,
    100% {
        transform: translate(0px, 0px);
    }
    25% {
        transform: translate(5px, -3px);
    }
    75% {
        transform: translate(-3px, 5px);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 30px 5px 30px;
    background: transparent;
    backdrop-filter: blur(5px);
    z-index: 100;
    min-height: 61px;
}

.logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 32px;
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-right {
    display: flex;
    gap: 30px;
    line-height: 25.6px;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff7e5f;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff7e5f;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #ff7e5f;
}

.nav-link.active::after {
    width: 100%;
    background: #ff7e5f;
}

/* CTA Buttons Hover Effects */
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 126, 95, 0.4);
}

.cta-button:nth-child(2):hover {
    background: rgba(255, 126, 95, 0.1);
    box-shadow: 0 6px 20px rgba(255, 126, 95, 0.3);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.hero-content {
    margin-bottom: auto;
    margin-top: auto;
}

.hero-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 80px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 8px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 40px;
    min-height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.cursor {
    display: inline-block;
    animation: blink 1s infinite;
    font-weight: 300;
}

@keyframes blink {
    0%,
    50% {
        opacity: 1;
    }
    51%,
    100% {
        opacity: 0;
    }
}

/* Social Icons */
.social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    z-index: 100;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: rgba(255, 126, 95, 0.2);
    border-color: #ff7e5f;
    color: #ff7e5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 126, 95, 0.3);
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: end;
    padding: 20px;
    background: transparent;
    color: rgba(255, 255, 255, 0.2);
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    z-index: 100;
    pointer-events: none;
}

.nav-link.hamarosan {
    pointer-events: none;
    opacity: 0.5;
    position: relative;
    overflow: visible;
}

.nav-link.hamarosan::before {
    content: 'HAMAROSAN';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
    background: #ff7e5f;
    padding: 2px 6px;
    border-radius: 5px;
    letter-spacing: 1px;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(255, 126, 95, 0.6);
    z-index: 10;
}

.nav-link.hamarosan:hover {
    color: #ffffff;
}

.nav-link.hamarosan:hover::after {
    width: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .navbar {
        padding: 10px 15px;
    }

    .logo {
        font-size: 28px;
    }

    .nav-right {
        gap: 15px;
    }

    .nav-link {
        font-size: 14px;
    }

    .social-icons {
        margin-top: 30px;
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 200px;
        text-align: center;
    }

    .navbar {
        padding: 8px 10px;
    }

    .logo {
        font-size: 24px;
    }

    .nav-right {
        gap: 10px;
    }

    .nav-link {
        font-size: 12px;
    }

    .nav-link.hamarosan::before {
        font-size: 7px;
        padding: 1px 4px;
        background: rgba(255, 126, 95, 0.9);
        letter-spacing: 0.3px;
    }

    .social-icons {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
    }
}

/* Extra kis képernyőkhöz (360px és kisebb) */
@media (max-width: 380px) {
    .navbar {
        padding: 8px 8px;
    }

    .logo {
        font-size: 22px;
    }

    .nav-right {
        gap: 8px;
    }

    .nav-link {
        font-size: 11px;
    }

    .nav-link.hamarosan::before {
        font-size: 7px;
        padding: 1px 3px;
        background: rgba(255, 126, 95, 0.85);
        letter-spacing: 0.2px;
    }
}

/* Shooting Stars */
.shooting-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 4px #ffffff;
}
.shooting-star::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), transparent);
    transform-origin: left center;
    transform: translateY(-50%) var(--trail-transform, rotate(0deg));
    animation: trail-fade 2.5s ease-out forwards;
}
@keyframes trail-fade {
    0% {
        width: 0;
        opacity: 1;
    }
    20% {
        width: 60px;
        opacity: 1;
    }
    100% {
        width: 60px;
        opacity: 0;
    }
}

.scroll-link {
    position: relative;
    top: -15px;
    color: white;
    text-decoration: none;
    display: inline-block;
    font-size: 1.5rem;
    opacity: 0.6;
    display: block;
    animation: float 1.5s ease-in-out infinite;
}

.scroll-link:hover {
    color: #ff7e5f;
}

.gorgess{
    font-size: 0.8rem;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* --- Szolgáltatások szekció (egységes magasság, ikonok, szimmetria) --- */
.services {
    padding: 100px 10%;
    text-align: center;
    color: #ffffff;
}

.services .section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 48px;
    color: #ffffff;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: stretch; /* minden kártya azonos magasság */
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 300px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 36px;
    color: #ff7e5f;
    margin-bottom: 20px;
    text-align: center;
}

.service-card h3 {
    color: #ff7e5f;
    font-size: 22px;
    margin-bottom: 15px;
    text-align: center;
}

.service-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.7;
    flex-grow: 1;
}

/* CTA középen és hangsúlyosabb */
.services .cta-container {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.services .cta-button {
    padding: 16px 50px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 126, 95, 0.3);
}

.services .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 126, 95, 0.4);
}