/* === GLOBÁLIS STÍLUSOK === */
h1, h2, h3 { 
    font-family: 'Orbitron', sans-serif; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

p { font-size: 1.05rem; }

/* Görgetősáv */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #020105; }
::-webkit-scrollbar-thumb { background: #7e22ce; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #c084fc; }

/* === NAVIGATION === */
.nav-links { 
    display: flex; 
    gap: 30px; 
}

.nav-links a {
    color: var(--text-main); 
    text-decoration: none; 
    font-size: 0.9rem;
    text-transform: uppercase; 
    letter-spacing: 1px; 
    transition: color 0.3s; 
    position: relative;
    padding: 5px 0; 
    font-weight: 500;
}

.nav-links a::after {
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 0%; 
    height: 2px;
    background: var(--neon-accent); 
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover { color: var(--neon-accent); }
.nav-links a:hover::after { width: 100%; }

.mobile-menu-btn { 
    display: none; 
    color: white; 
    font-size: 1.5rem; 
    cursor: pointer; 
    padding: 10px; 
    z-index: 1001;
    background: none;
    border: none;
}

/* === HERO ANIMATIONS === */
.glow-bg {
    position: absolute; 
    width: clamp(300px, 80vw, 800px); 
    height: clamp(300px, 80vw, 800px);
    background: radial-gradient(circle, rgba(126, 34, 206, 0.18) 0%, transparent 70%);
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    z-index: -1; 
    animation: breath 8s infinite alternate;
}

@keyframes breath {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.letter-e { 
    z-index: 5; 
    opacity: 0; 
    animation: impactTopWithBlur 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; 
}

.letter-x { 
    z-index: 1; 
    margin-left: calc(-1 * clamp(12px, 3vw, 28px)); 
    opacity: 0; 
    animation: impactBottomWithBlur 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; 
    animation-delay: 0.1s; 
}

@keyframes impactTopWithBlur { 
    0% { 
        opacity: 0; 
        transform: translateY(-80px) scale(1.2) translateZ(0); 
        filter: blur(10px); 
    } 
    100% { 
        opacity: 1; 
        transform: translateY(calc(-1 * clamp(4px,1vw,8px))) scale(1) translateZ(0); 
        filter: blur(0px); 
    } 
}

@keyframes impactBottomWithBlur { 
    0% { 
        opacity: 0; 
        transform: translateY(80px) scale(1.2) translateZ(0); 
        filter: blur(10px); 
    } 
    100% { 
        opacity: 1; 
        transform: translateY(clamp(4px,1vw,8px)) scale(1) translateZ(0); 
        filter: blur(0px); 
    } 
}

.separator {
    width: 0; 
    height: 2px; 
    background: linear-gradient(90deg, transparent, var(--purple-bright), transparent);
    margin: clamp(20px, 4vh, 35px) 0 clamp(15px, 3vh, 25px) 0;
    box-shadow: 0 0 10px var(--purple-core); 
    opacity: 0; 
    animation: laserExpand 0.8s ease-out 0.8s forwards;
}

@keyframes laserExpand { 
    0% { width: 0; opacity: 0; } 
    100% { width: clamp(70px, 20vw, 140px); opacity: 0.8; } 
}

.brand-text {
    font-family: 'Montserrat', sans-serif; 
    font-weight: 400; 
    font-size: clamp(0.75rem, 2vw, 1.1rem);
    text-transform: uppercase; 
    letter-spacing: clamp(0.35rem, 1.8vw, 1.1rem); 
    padding-left: clamp(0.35rem, 1.8vw, 1.1rem);
    color: #e5e7eb; 
    opacity: 0; 
    transform: translateY(10px); 
    animation: fadeInUp 1.2s ease-out 1s forwards;
    text-align: center; 
    white-space: nowrap;
}

@keyframes fadeInUp { 
    to { opacity: 0.9; transform: translateY(0); } 
}

/* === SECTIONS === */
section { 
    padding: clamp(80px, 15vh, 150px) 20px; 
    max-width: 1200px; 
    margin: 0 auto; 
    position: relative; 
}

.section-title {
    text-align: center; 
    margin-bottom: 60px; 
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(90deg, #fff, var(--purple-bright));
    -webkit-background-clip: text; 
    background-clip: text; 
    color: transparent;
    opacity: 0; 
    transform: translateY(30px); 
    transition: 0.8s ease-out;
}

.section-title span { 
    color: var(--purple-core); 
    -webkit-text-fill-color: var(--purple-core); 
}

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

.service-card {
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 20px;
    padding: 40px 30px; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px); 
    position: relative; 
    overflow: hidden; 
    opacity: 0; 
    transform: translateY(30px);
    height: 100%; 
    display: flex; 
    flex-direction: column;
}

.service-card:hover { 
    transform: translateY(-10px); 
    border-color: var(--purple-core); 
    box-shadow: 0 10px 40px -10px rgba(126, 34, 206, 0.2); 
}

.card-icon { 
    font-size: 3rem; 
    color: var(--purple-bright); 
    margin-bottom: 25px; 
    transition: 0.4s; 
    display: inline-block; 
}

.service-card:hover .card-icon { 
    color: var(--neon-accent); 
    transform: scale(1.1) rotate(5deg); 
    text-shadow: 0 0 15px var(--purple-core); 
}

.card-title { 
    font-size: 1.5rem; 
    margin-bottom: 15px; 
    font-weight: 600; 
    color: #fff; 
}

.card-desc { 
    font-size: 1rem; 
    color: var(--text-muted); 
    line-height: 1.6; 
    flex-grow: 1; 
}

/* === ABOUT === */
.about-container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center; 
}

.about-text { 
    opacity: 0; 
    transform: translateX(-30px); 
    transition: 0.8s; 
}

.about-text h3 { 
    color: var(--neon-accent); 
    margin-bottom: 20px; 
    font-size: 1.5rem; 
    letter-spacing: 2px; 
}

.about-text p { 
    margin-bottom: 20px; 
    color: var(--text-main); 
    font-size: 1.1rem; 
    text-align: justify; 
}

.about-text .highlight { 
    color: var(--purple-bright); 
    font-weight: 600; 
    border-bottom: 1px solid var(--purple-core); 
}

.about-visual {
    position: relative; 
    height: 400px; 
    background: linear-gradient(45deg, var(--bg-dark), #1a0b2e);
    border-radius: 20px; 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    display: flex; 
    justify-content: center; 
    align-items: center;
    opacity: 0; 
    transform: translateX(30px); 
    transition: 0.8s; 
    box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
}

.tech-circle {
    width: 200px; 
    height: 200px; 
    border: 2px solid var(--purple-core); 
    border-radius: 50%;
    position: absolute; 
    animation: spin 10s linear infinite;
}

.tech-circle::before {
    content: ''; 
    position: absolute; 
    top: -10px; 
    left: 50%; 
    width: 20px; 
    height: 20px;
    background: var(--neon-accent); 
    border-radius: 50%; 
    box-shadow: 0 0 20px var(--neon-accent);
}

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

.tech-stack { 
    margin-top: 50px; 
    text-align: center; 
    opacity: 0; 
    transform: translateY(20px); 
}

.tech-label {
    font-size: 0.9rem; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 15px;
}

.tech-icons { 
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    flex-wrap: wrap; 
    font-size: 2.5rem; 
    color: var(--text-muted); 
    margin-top: 20px; 
}

.tech-icons i { 
    transition: 0.3s; 
    cursor: pointer; 
}

.tech-icons i:hover { 
    color: var(--neon-accent); 
    transform: translateY(-5px); 
    text-shadow: 0 0 15px var(--purple-core); 
}

/* === PORTFOLIO === */
.portfolio-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px; 
}

.portfolio-item {
    display: block; 
    text-decoration: none;
    position: relative; 
    height: 350px; 
    border-radius: 15px; 
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08); 
    opacity: 0; 
    transform: scale(0.95); 
    transition: 0.8s;
}

.portfolio-bg { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); 
    filter: grayscale(100%) brightness(0.8); 
}

.portfolio-overlay {
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    padding: 30px; 
    transform: translateY(60px); 
    transition: 0.4s;
}

.portfolio-item:hover .portfolio-bg { 
    transform: scale(1.05); 
    filter: grayscale(0%) brightness(1); 
}

.portfolio-item:hover .portfolio-overlay { 
    transform: translateY(0); 
}

.project-title { 
    font-family: 'Orbitron'; 
    font-size: 1.4rem; 
    color: #fff; 
    margin-bottom: 5px; 
}

.project-cat { 
    color: var(--neon-accent); 
    font-family: 'Share Tech Mono'; 
    font-size: 0.9rem; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.project-cat::before { 
    content: ''; 
    width: 6px; 
    height: 6px; 
    background: var(--neon-accent); 
    border-radius: 50%; 
}

/* === CONTACT === */
.contact-wrapper {
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(20px); 
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px; 
    padding: clamp(30px, 5vw, 60px); 
    max-width: 800px; 
    margin: 0 auto;
    text-align: center; 
    opacity: 0; 
    transform: translateY(50px); 
    transition: 0.8s;
    box-shadow: 0 0 50px rgba(126, 34, 206, 0.1);
}

.form-group { 
    margin-bottom: 25px; 
    text-align: left; 
}

.form-label { 
    display: block; 
    margin-bottom: 10px; 
    color: var(--text-muted); 
    font-size: 0.9rem; 
    font-weight: 600; 
    letter-spacing: 1px; 
}

.form-input, .form-textarea {
    width: 100%; 
    background: rgba(0,0,0,0.4); 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    padding: 18px;
    color: #fff; 
    border-radius: 10px; 
    font-family: 'Montserrat'; 
    transition: 0.3s; 
    font-size: 1rem;
}

.form-input:focus, .form-textarea:focus { 
    border-color: var(--purple-core); 
    outline: none; 
    box-shadow: 0 0 20px rgba(126, 34, 206, 0.2); 
    background: rgba(0,0,0,0.6);
}

.btn-submit {
    background: linear-gradient(90deg, var(--purple-core), var(--purple-deep)); 
    color: #fff; 
    padding: 18px 50px;
    border: none; 
    border-radius: 50px; 
    font-family: 'Orbitron'; 
    font-weight: 600; 
    font-size: 1rem; 
    cursor: pointer;
    transition: 0.3s; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    box-shadow: 0 10px 30px -5px rgba(126, 34, 206, 0.5); 
    margin-top: 10px;
    width: 100%; 
    max-width: 350px;
}

.btn-submit:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 15px 40px -5px rgba(126, 34, 206, 0.7); 
}

.btn-submit:active { 
    transform: translateY(-1px); 
}

/* === ANIMATIONS === */
.in-view { 
    opacity: 1 !important; 
    transform: translate(0) scale(1) !important; 
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    nav { padding: 15px 20px; }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; 
        right: 0; 
        left: 0;
        background: rgba(2, 1, 5, 0.98);
        padding: 40px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(25px);
        gap: 30px;
        height: 100vh;
        justify-content: flex-start;
        padding-top: 80px;
    }
    
    .nav-links.active { 
        display: flex; 
        animation: slideDown 0.4s ease-out; 
    }
    
    .nav-links a { 
        font-size: 1.2rem; 
        padding: 10px 0; 
    }
    
    .mobile-menu-btn { display: block; }
    
    .about-container { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    
    .about-visual { 
        order: -1; 
        margin-bottom: 20px; 
        height: 300px; 
    }
    
    .section-title { 
        font-size: 2.2rem; 
        margin-bottom: 40px; 
    }
    
    .service-card { 
        padding: 30px 20px; 
    }
    
    .monogram-wrapper { 
        margin-top: -50px; 
    }
}

@keyframes slideDown { 
    from { opacity: 0; transform: translateY(-20px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* === FOOTER NAVIGATION === */
footer {
    background: linear-gradient(180deg, rgba(1, 0, 3, 0.8) 0%, #010003 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 20px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-core), transparent);
    opacity: 0.5;
}

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

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUpFooter 0.8s ease forwards;
    animation-delay: 0.2s;
}

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

.footer-column h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--purple-bright);
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--purple-core);
    transition: width 0.3s ease;
}

.footer-column:hover h3::after {
    width: 60px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.footer-column ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-column ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--neon-accent);
}

.footer-column ul li:hover a {
    color: var(--neon-accent);
    padding-left: 25px;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.3);
}

.footer-column ul li:hover a::before {
    opacity: 1;
    left: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.footer-contact li:hover {
    transform: translateX(5px);
}

.footer-contact i {
    color: var(--purple-core);
    width: 16px;
    transition: all 0.3s ease;
}

.footer-contact li:hover i {
    color: var(--neon-accent);
    transform: scale(1.2);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links a {
    color: var(--text-muted);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    position: relative;
}

.social-links a:hover {
    color: var(--neon-accent);
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 15px var(--purple-core));
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    animation: fadeInUpFooter 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer {
        padding: 40px 20px 20px;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-column h3 {
        font-size: 0.9rem;
    }
    
    .social-links {
        font-size: 1.5rem;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .social-links {
        font-size: 1.3rem;
    }
}
