/* portfolio.css - StatioX Professzionális Portfólió Stíluslap */
/* Teljesen elkülönített CSS, modern high-tech design */

:root {
    /* Színek - ugyanaz a paletta mint a login/index oldalakon */
    --primary-dark: #0f172a;
    --primary-mid: #1e293b;
    --primary-light: #334155;
    --accent-cyan: #2dd4bf;
    --accent-blue: #3b82f6;
    --accent-gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dark: #1e293b;
    --bg-light: #f1f5f9;
    --glass-bg: rgba(15, 23, 42, 0.85);
    --glass-border: rgba(45, 212, 191, 0.2);
    --shadow-glow: 0 0 20px rgba(45, 212, 191, 0.3);
    --card-hover: 0 25px 40px -12px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-dark);
    color: var(--text-light);
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
}

/* ========== 3D HÁTTÉR CANVAS ========== */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ========== NAGY LOGÓ HÁTTÉR PARALLAX ========== */
.hero-logo-bg {
    position: fixed;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.08;
    transform: translateZ(0);
}

.hero-logo-bg::before {
    content: "StatioX";
    font-size: 180px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
    letter-spacing: 10px;
}

.hero-logo-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45,212,191,0.3) 0%, transparent 70%);
    filter: blur(60px);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* ========== MOBIL MENÜ ========== */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1001;
    background: var(--primary-mid);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    backdrop-filter: blur(4px);
}

/* ========== SIDEBAR ========== */
.sidebar {
    width: 300px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

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

.sidebar-logo {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.sidebar-logo img {
    max-width: 140px;
    height: auto;
    border-radius: 16px;
    margin-bottom: 12px;
    transition: transform 0.3s;
}

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

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

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

.sidebar-quote {
    padding: 20px;
    background: rgba(45, 212, 191, 0.08);
    margin: 20px;
    border-radius: 16px;
    border-left: 3px solid var(--accent-cyan);
}

.quote-icon {
    color: var(--accent-cyan);
    font-size: 20px;
    margin-bottom: 10px;
}

.sidebar-quote p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
}

.sidebar-nav {
    flex: 1;
    padding: 10px 20px;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.nav-link i {
    width: 24px;
    font-size: 18px;
}

.nav-link span {
    font-weight: 500;
}

.nav-link .nav-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45,212,191,0.2), transparent);
    transition: left 0.5s;
}

.nav-link:hover {
    color: white;
    background: rgba(45, 212, 191, 0.1);
}

.nav-link:hover .nav-glow {
    left: 100%;
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(45,212,191,0.15), rgba(59,130,246,0.15));
    color: var(--accent-cyan);
    border-right: 2px solid var(--accent-cyan);
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

.location-badge {
    background: rgba(45, 212, 191, 0.1);
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
    font-size: 13px;
    margin-bottom: 15px;
}

.location-badge i {
    margin-right: 8px;
    color: var(--accent-cyan);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    color: var(--text-muted);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-3px);
}

/* ========== MAIN CONTENT ========== */
.main-content {
    margin-left: 300px;
    position: relative;
    z-index: 1;
    width: calc(100% - 300px);
    max-width: calc(100% - 300px);
    overflow-x: hidden;
}

/* ========== SECTION COMMON ========== */
section {
    padding: 40px 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 40px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: var(--accent-cyan);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

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

/* ========== HERO SECTION ========== */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    min-height: 100vh;
}

.hero-content {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    padding: 6px 16px;
    border-radius: 40px;
    margin-bottom: 24px;
}

.badge-pulse {
    width: 10px;
    height: 10px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(2); }
}

/* STABIL CÍM STRUKTÚRA - NEM MOZOG */
.hero-title-stable {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    text-align: center;
    align-items: center;
}

.hero-line-1 {
    font-size: 56px;
    font-weight: 700;
}

.hero-line-2 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    font-size: 32px;
    font-weight: 600;
    min-height: 70px;
}

.hero-line-3 {
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--text-muted);
}

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

.title-light-prefix,
.title-light-suffix {
    color: var(--text-light);
    font-weight: 500;
}

.title-rotating {
    color: var(--accent-cyan);
    font-weight: 600;
    min-width: 160px;
    display: inline-block;
    text-align: center;
    transition: opacity 0.2s ease;
    background: rgba(45, 212, 191, 0.1);
    padding: 4px 16px;
    border-radius: 40px;
}

.title-tech-tags {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 212, 191, 0.4);
}

.btn-primary:hover .btn-glow {
    left: 100%;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========== SERVICES SECTION ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(45, 212, 191, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(45, 212, 191, 0.5);
    box-shadow: var(--card-hover);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(45, 212, 191, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon i {
    font-size: 28px;
    color: var(--accent-cyan);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tech span {
    background: rgba(45, 212, 191, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: var(--accent-cyan);
}

/* ========== EXPERTISE SECTION ========== */
.tech-ticker {
    overflow: hidden;
    margin-bottom: 60px;
    width: 100%;
    position: relative;
}

.tech-slide {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scrollTech 20s linear infinite;
}

.tech-slide img {
    height: 55px;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
    filter: grayscale(0.5);
    transition: all 0.3s;
}

.tech-slide img:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

@keyframes scrollTech {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========== ABOUT SECTION ========== */
.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
}

.about-quote {
    background: rgba(45, 212, 191, 0.05);
    padding: 32px;
    border-radius: 24px;
    border-left: 4px solid var(--accent-cyan);
    margin-bottom: 32px;
}

.about-quote i {
    font-size: 32px;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    display: inline-block;
}

.about-quote p {
    font-size: 18px;
    line-height: 1.5;
    font-style: italic;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    gap: 16px;
}

.feature i {
    font-size: 24px;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.feature h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.feature p {
    font-size: 13px;
    color: var(--text-muted);
}

.about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-block {
    text-align: center;
    padding: 24px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(45, 212, 191, 0.15);
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.stat-value small {
    font-size: 24px;
}

.stat-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== CONTACT SECTION ========== */
.contact-container {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(45, 212, 191, 0.15);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateX(10px);
    border-color: rgba(45, 212, 191, 0.4);
}

.info-card i {
    font-size: 32px;
    color: var(--accent-cyan);
}

.info-card h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.info-card p {
    font-size: 15px;
    margin-bottom: 4px;
}

.info-note {
    font-size: 12px;
    color: var(--text-muted);
}

.contact-form-wrapper {
    flex: 1;
}

.contact-form {
    background: rgba(30, 41, 59, 0.6);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(45, 212, 191, 0.15);
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 16px;
    font-size: 14px;
    color: white;
    transition: all 0.3s;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(15, 23, 42, 0.8);
}

.form-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
}

.form-group textarea + i {
    top: 20px;
    transform: none;
}

/* ========== FOOTER ========== */
.footer {
    background: rgba(0, 0, 0, 0.4);
    padding: 40px 60px;
    border-top: 1px solid rgba(45, 212, 191, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 40px;
    border-radius: 8px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-copyright {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

.creator span {
    color: var(--accent-cyan);
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.3);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    section {
        padding: 60px 40px;
    }
    
    .hero-line-1 {
        font-size: 44px;
    }
    
    .hero-line-2 {
        font-size: 26px;
        min-height: 60px;
    }
    
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }
    
    section {
        padding: 50px 20px;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 80px;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-line-1 {
        font-size: 36px;
    }
    
    .hero-line-2 {
        font-size: 22px;
        justify-content: center;
        min-height: 55px;
    }
    
    .hero-line-3 {
        font-size: 10px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 25px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .tech-slide {
        gap: 40px;
    }
    
    .tech-slide img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 16px;
    }
    
    .hero-line-1 {
        font-size: 28px;
    }
    
    .hero-line-2 {
        font-size: 18px;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .title-rotating {
        min-width: 120px;
        font-size: 16px;
        padding: 3px 12px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary, .btn-secondary {
        justify-content: center;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .stat-value {
        font-size: 32px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tech-slide {
        gap: 25px;
    }
    
    .tech-slide img {
        height: 30px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    .info-card {
        padding: 16px;
    }
    
    .info-card i {
        font-size: 24px;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}