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

:root {
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --dark: #1a1a2e;
    --light: #ffffff;
    --gray: #64748b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 1500px;
    margin: 0 auto;
    background-color: #f8f9fa;
}

h1, h2, h3, h4 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1500px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 1.5rem 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container > * {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-container > *:first-child {
    justify-content: flex-start;
}

.nav-container > *:last-child {
    justify-content: flex-end;
}

.logo {
    display: flex;
    align-items: center;
}

.logo .logo-image {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-text {
    font-weight: 700;
    font-size: 1rem;
    color: var(--light);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.brand-text:hover {
    text-shadow: 0 3px 8px rgba(0, 0, 0, 1);
    transform: translateY(-1px);
    cursor: pointer;
}

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

.brand-text a:hover {
    color: inherit;
    text-decoration: none;
}

.nav-contact {
    display: flex;
    align-items: center;
}

.nav-contact .contact-info {
    display: flex !important;
    flex-direction: row !important;
    gap: 2rem !important;
    align-items: center !important;
}

.contact-name,
.contact-phone,
.contact-email {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--light);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
}

.contact-name:hover,
.contact-phone:hover,
.contact-email:hover {
    text-shadow: 0 3px 8px rgba(0, 0, 0, 1);
    text-decoration: underline;
    cursor: pointer;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    transition: all 0.3s ease;
}

/* Hero */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1500px;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
}

/* Open Graph optimalizálás - Facebook megosztáshoz */
.og-image {
    width: 1200px;
    height: 630px;
    object-fit: cover;
    object-position: center 25%; /* Fej látható marad mobilon is */
}

.hero-logo-overlay {
    position: absolute;
    top: 80px;
    left: 20px;
    z-index: 3;
}

.hero-logo {
    height: 120px;
    width: auto;
    max-width: 400px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1500px;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--light);
    max-width: 900px;
    padding: 0 20px;
}

.hero-logo {
    margin-bottom: 2rem;
}

.logo-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero-content h1 {
    font-size: 8rem;
    line-height: 0.9;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 8px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-quote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--light);
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* Hero igazítás alacsonyabb magasságnál */
@media (max-height: 1000px) {
    #hero {
        justify-content: flex-start;
        align-items: center;
        padding-left: 60px;
    }
    
    .hero-content {
        text-align: left;
    }
}

/* Sections */
section {
    padding: 100px 0;
}

section h2 {
    font-size: 4rem;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Services */
#szolgaltatasok {
    background: #f8f9fa;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service {
    background: var(--light);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
}

.service:nth-child(2)::before {
    background: var(--gradient-2);
}

.service:nth-child(3)::before {
    background: var(--gradient-3);
}

.service:nth-child(4)::before {
    background: var(--gradient-4);
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.service-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    line-height: 1;
    opacity: 0.1;
    margin-bottom: 1rem;
}

.service h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service p {
    color: var(--gray);
    line-height: 1.8;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--light);
    padding: 3rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-card ul {
    list-style: none;
}

.info-card ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--gray);
}

.info-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    font-weight: bold;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* About */
#rolam {
    background: var(--light);
}

.about-layout {
    max-width: 900px;
}

.about-main {
    font-size: 1.05rem;
    line-height: 1.8;
}

.intro-section {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.intro-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center 20%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.intro-quote {
    background: #f8f9fa;
    border-left: 5px solid #667eea;
    color: var(--dark);
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.intro-quote p {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.6;
    color: var(--dark);
}

.about-main h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-main p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.experience,
.motivation {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 2rem;
    align-items: center;
}

.experience-text {
    flex: 1;
}

.experience-badge {
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge-image {
    max-width: 150px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.experience h4,
.motivation h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hobby-section {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
    padding: 3rem;
    background: var(--gradient-4);
}

.hobby-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hobby-text {
    color: var(--light);
}

.hobby-text h4 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.hobby-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

.cta-section {
    background: var(--gradient-2);
    color: var(--light);
    padding: 3rem;
    margin-top: 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(245, 87, 108, 0.3);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.cta-section .highlight {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Contact */
#kapcsolat {
    background: #f8f9fa;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 2.5rem;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--gray);
    letter-spacing: 1px;
}

.contact-item a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-item a:hover {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-item p {
    color: var(--gray);
}

/* Form */
.contact-form {
    background: var(--light);
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #e2e8f0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button {
    padding: 1.2rem 3rem;
    background: var(--gradient-1);
    color: var(--light);
    border: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--light);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .intro-section,
    .hobby-section {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem;
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet/keskeny PC nézet - hamburger menü megjelenik */
@media (max-width: 500px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(25px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 20px;
        gap: 0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .nav-menu.active {
        left: 0;
        right: 0;
    }
    
    .nav-menu li {
        padding: 1.5rem 0;
    }
    
    .nav-menu a {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: var(--dark);
        text-shadow: none;
        font-weight: 600;
    }
    
    .nav-brand,
    .nav-contact {
        display: none !important;
    }
}

@media (max-width: 1120px) {
    .nav-brand {
        display: none !important;
    }
    .nav-contact {
        display: none !important;
    }
}
@media (max-width: 400px) and (max-device-width: 400px) {
    body {
        max-width: 100%;
    }
    
    #navbar {
        left: 0;
        transform: none;
        max-width: 100%;
    }
    
    .hero-image-container,
    .hero-overlay {
        left: 0;
        transform: none;
        max-width: 100%;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 1rem 20px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(25px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 20px;
        gap: 0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        z-index: 1001;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1.5rem 0;
    }
    
    .nav-menu a {
        color: var(--light);
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
        font-weight: 600;
        font-size: 1.1rem;
    }
    
    .nav-menu a:hover {
        text-shadow: 0 3px 8px rgba(0, 0, 0, 1);
        transform: translateY(-1px);
    }

    .hamburger {
        display: flex;
    }
    
    .nav-brand,
    .nav-contact {
        display: none !important;
    }
    
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-container > * {
        flex: none;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .logo-image {
        max-width: 280px;
    }
    
    .hero-image {
        object-position: center 0%;
    }
    
    section h2 {
        font-size: 2.5rem;
    }
    
    .services {
        grid-template-columns: 1fr;
    }
    
    .intro-image {
        height: 350px;
    }
    
    .hobby-image img {
        height: 300px;
    }
    
    .experience-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .badge-image {
        max-width: 120px;
    }
    
    .logo .logo-image {
        height: 40px;
        max-width: 140px;
    }
    
    .hero-logo {
        height: 80px;
        max-width: 240px;
    }
    
    .hero-logo-overlay {
        top: 70px;
        left: 15px;
    }
    
    .nav-menu {
        width: 100%;
        left: -100%;
        right: 0;
        padding: 2rem 20px;
    }
    
    .nav-menu.active {
        left: 0;
        right: 0;
    }
    
    .nav-menu a {
        font-size: 2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: var(--dark);
        text-shadow: none;
        font-weight: 600;
    }
    
    .contact-wrapper {
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    
    .container {
        padding: 0 15px;
    }
}


