@charset "utf-8";

/* =============================================
 *  RESET & ROOT VARIABLES (Wah Ngai WT piros-fekete arculat)
 *  ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #f8f9fc; /* Világos, tiszta kékesszürke háttér lent */
    --secondary-dark: #ffffff; /* Tiszta fehér háttér a szekcióknak */
    --accent-color: #b91c1c; /* Wing Tsun mélyvörös */
    --accent-gradient: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 100%); /* Sötétvörös-piros színátmenet */
    --text-light: #1e293b; /* Kontrasztos sötétszürke főszöveg */
    --text-gray: #64748b; /* Diszkrét szürke a másodlagos információknak */
    --border-color: #e2e8f0; /* Világos elválasztó keret */
}

/* =============================================
 *  BASE
 *  ============================================= */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Barlow', sans-serif;
    background: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #e2e8f0;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

/* =============================================
 *  HEADER & NAVIGATION (Sötét navbáros, prémium blur effekt)
 *  ============================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    font-family: 'Barlow Semi Condensed', sans-serif;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-gray);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-menu a {
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 18px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 6px;
    border: 1px solid transparent;
}

.nav-menu a:hover {
    color: #ffffff;
    background: rgba(185, 28, 28, 0.15);
    border-color: rgba(185, 28, 28, 0.25);
}

.nav-menu a.active {
    color: #ffffff;
    background: var(--accent-gradient);
    border-color: transparent;
}

/* Mobil menü hamburger ikon */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    gap: 5px;
    padding: 10px;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 9999;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--accent-color);
    transition: 0.3s;
}

/* =============================================
 *  HERO SECTION (Videós/Képes hangulat, beépített lebegő indikátorral)
 *  ============================================= */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)),
    url('https://images.unsplash.com/photo-1555597673-b21d5c935865?auto=format&fit=crop&q=80&w=1600') center center / cover no-repeat;
    overflow: hidden;
}

.floating-accent {
    position: absolute;
    border: 1px solid rgba(185, 28, 28, 0.15);
    animation: float 15s ease-in-out infinite;
}

.accent-1 { top: 20%; left: 10%; width: 150px; height: 150px; border-radius: 50%; animation-delay: 0s; }
.accent-2 { bottom: 30%; right: 15%; width: 100px; height: 100px; border-radius: 30% 70% 70% 30%; animation-delay: -5s; }
.accent-3 { top: 50%; right: 30%; width: 80px; height: 80px; border-radius: 50%; animation-delay: -10s; }

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 0 20px;
    max-width: 900px;
}

.hero-title {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-title span.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: #e2e8f0;
    margin-bottom: 40px;
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--accent-gradient);
    color: #ffffff;
    text-decoration: none;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(185, 28, 28, 0.6);
}

/* Lebegő lefelé nyíl */
.scroll-indicator {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.bounce-arrow {
    display: inline-block;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    animation: bounce 2s infinite;
    transition: color 0.3s ease;
}

.bounce-arrow:hover {
    color: var(--accent-color);
}

/* SVG Hullám */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.wave-container svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

/* =============================================
 *  3D COVERFLOW SLIDESHOW SECTION
 *  ============================================= */
.portfolio-section {
    padding: 120px 0;
    position: relative;
    background: var(--primary-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.section-title {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #1e293b;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.coverflow-wrapper {
    width: 100%;
    position: relative;
    padding: 40px 0 80px;
}

.coverflow-container {
    width: 900px;
    max-width: 90vw;
    height: clamp(350px, 45vh, 500px);
    position: relative;
    transform-style: preserve-3d;
    margin: 0 auto;
    perspective: 1200px;
}

.coverflow-item {
    position: absolute;
    width: clamp(210px, 27vh, 300px);
    height: clamp(290px, 38vh, 420px);
    left: 50%;
    top: 50%;
    transform-origin: center center;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15);
}

.coverflow-item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scaleY(-1) translateY(1px);
    opacity: 0.08;
    filter: blur(3px);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 60%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.coverflow-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.65) 60%, transparent 100%);
    padding: 30px;
}

.portfolio-category {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    background: var(--accent-gradient);
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 700;
}

.portfolio-title {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
    text-transform: uppercase;
}

.portfolio-description {
    font-size: 13.5px;
    color: #e2e8f0;
    line-height: 1.5;
}

/* Navigációs Vezérlők */
.coverflow-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.control-btn {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: var(--text-light);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #ffffff;
    transform: scale(1.1);
}

/* Pöttyindikátorok */
.indicators {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    width: 30px;
    border-radius: 4px;
    background: var(--accent-color);
}

/* =============================================
 *  ABOUT SECTION
 *  ============================================= */
.about-section {
    padding: 120px 30px;
    background: var(--secondary-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.zoom-img-container {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.zoom-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.zoom-img-container:hover .zoom-img {
    transform: scale(1.08);
}

.about-content h2 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.about-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.about-content .lead-text {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.8;
}

.payment-info-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 45px;
    padding: 25px;
    background: rgba(185, 28, 28, 0.03);
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    border: 1px solid rgba(185, 28, 28, 0.05);
}

.info-icon {
    font-size: 2.2rem;
}

.payment-info-box h4 {
    margin: 0 0 5px 0;
    font-family:'Barlow Semi Condensed', sans-serif;
    font-size: 1.1rem;
    color: var(--text-light);
}

.payment-info-box p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    background: var(--primary-dark);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    font-weight: 600;
    line-height: 1.3;
}

/* =============================================
 *  ÚJ SZEKCIÓ: LAPOZHATÓ CIKKOLVASÓ STÍLUSOK
 *  ============================================= */
.article-reader-container {
    max-width: 800px;
    margin: 40px auto 0;
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

/* Cikk csúszólap */
.article-slide {
    display: none;
    animation: fadeEffect 0.6s ease-in-out;
}

.article-slide.active {
    display: block;
}

@keyframes fadeEffect {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.article-category {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.article-date {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
}

.article-slide h3.article-title {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.article-text {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 15.5px;
    margin-bottom: 15px;
}

/* Lapozógombok a cikkolvasóban */
.article-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 35px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.article-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: var(--secondary-dark);
    color: var(--text-light);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.article-btn:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #ffffff;
}

.article-dots {
    display: flex;
    gap: 8px;
}

.article-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.article-dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* =============================================
 *  SERVICES SECTION (Erasmus+ Info)
 *  ============================================= */
.services-section {
    padding: 120px 30px;
    background: var(--primary-dark);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: var(--secondary-dark);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(185, 28, 28, 0.2);
    box-shadow: 0 15px 35px rgba(185, 28, 28, 0.06);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(185, 28, 28, 0.05);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.service-title {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 1.35rem;
    margin-bottom: 18px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
}

.service-description {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 25px;
}

.service-price {
    font-size: 12px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* =============================================
 *  CONTACT SECTION
 *  ============================================= */
.contact-section {
    padding: 120px 30px;
    background: var(--secondary-dark);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
    background: var(--primary-dark);
    border-radius: 12px;
    transition: all 0.4s ease;
    text-decoration: none;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 35px rgba(185, 28, 28, 0.05);
    border-color: rgba(185, 28, 28, 0.2);
    background: #ffffff;
}

.contact-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(185, 28, 28, 0.05);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-color);
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.contact-value {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item:hover .contact-value {
    color: var(--accent-color);
}

/* =============================================
 *  ÚJ: MODAL / FELUGRÓ ABLAK STÍLUSOK (A kártyákhoz)
 *  ============================================= */
.modal {
    display: none; /* Alapértelmezetten rejtett */
    position: fixed;
    z-index: 99999; /* Minden felett jelenjen meg */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85); /* Sötét áttetsző maszk */
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #121214; /* Sötét, elegáns WT tónus a tartalomnak */
    margin: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 850px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: modalReveal 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes modalReveal {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #a3a3a3;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 100;
}

.modal-close:hover {
    color: var(--accent-color);
}

.modal-body {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 30px;
    padding: 40px;
}

.modal-image-container {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    aspect-ratio: 4/5;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-category {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    background: var(--accent-gradient);
    padding: 4px 10px;
    border-radius: 3px;
    align-self: flex-start;
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-title {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.2;
}

.modal-description {
    color: #d1d1d6;
    font-size: 1rem;
    line-height: 1.8;
}

/* Modal reszponzivitás */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 20px;
    }
    .modal-image-container {
        aspect-ratio: 16/9;
    }
    .modal-title {
        font-size: 1.5rem;
    }
}

/* =============================================
 *  FOOTER
 *  ============================================= */
footer {
    background: #0d0d11;
    padding: 60px 30px;
    text-align: center;
    border-top: 4px solid var(--accent-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #92929a;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--accent-color);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: #92929a;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.social-link:hover svg {
    fill: #ffffff;
}

.footer-text {
    color: #92929a;
    font-size: 14px;
    line-height: 1.8;
}

/* =============================================
 *  LOADING SCREEN & REVEALS
 *  ============================================= */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 0, 0, 0.05);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
 *  ANIMÁCIÓK
 *  ============================================= */
@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    25%       { transform: translateY(-20px) translateX(10px) rotate(90deg); }
    50%       { transform: translateY(10px) translateX(-10px) rotate(180deg); }
    75%       { transform: translateY(-10px) translateX(5px) rotate(270deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =============================================
 *  MÉDIAKÉRDÉSEK & RESPONSIVENESS
 *  ============================================= */
@media (min-height: 900px) {
    .coverflow-container { height: clamp(450px, 50vh, 550px); }
    .coverflow-item { width: clamp(280px, 30vh, 340px); height: clamp(390px, 42vh, 480px); }
}

@media (max-height: 768px) {
    .coverflow-container { height: clamp(300px, 42vh, 380px); }
    .coverflow-item { width: clamp(180px, 24vh, 240px); height: clamp(250px, 34vh, 320px); }
}

@media (max-width: 968px) {
    /* Cikkolvasó reszponzivitás közepes kijelzőre */
    .article-reader-container {
        padding: 40px 25px;
        min-height: 420px;
    }
    .article-slide h3.article-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        gap: 10px;
        backdrop-filter: blur(10px);
        height: calc(100vh - 70px);
        overflow-y: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

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

    .nav-menu a {
        padding: 12px 20px;
        display: block;
        font-size: 16px;
        color: rgba(255, 255, 255, 0.8);
    }

    .hero-section { padding-top: 80px; }
    .hero-title { font-size: 2.5rem; margin-top: 20px; }

    .coverflow-container { height: clamp(280px, 40vh, 350px); }
    .coverflow-item { width: clamp(170px, 22vh, 220px); height: clamp(230px, 30vh, 300px); }

    .portfolio-overlay {
        padding: 15px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 70%, transparent 100%);
    }

    .portfolio-title { font-size: 16px; margin-bottom: 6px; }
    .portfolio-description { display: none !important; }

    .about-container { grid-template-columns: 1fr; gap: 40px; }
    .stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .stat-number { font-size: 1.8rem; }
    .contact-info { grid-template-columns: 1fr; gap: 20px; }
    
    /* Cikkolvasó mobilra */
    .article-reader-container {
        padding: 30px 15px;
        min-height: 480px;
    }
}

@media (max-width: 480px) {
    .coverflow-container { height: clamp(250px, 38vh, 320px); }
    .coverflow-item { width: clamp(150px, 20vh, 200px); height: clamp(200px, 28vh, 280px); }
    .portfolio-title { font-size: 18px; }
    .services-grid { grid-template-columns: 1fr; }
}