/* STELLAR STYLE - PARALLAX FULL-SCREEN SLIDER */

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #ffffff;
    --black: #000000;
    --gray: #999999;
    --dark: #1a1a1a;
    
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    --transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2.5rem, 6vw, 4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Header - Fixed Transparent with visible text */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: black;
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 20px 0;
    backdrop-filter: blur(10px);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
}

.nav-menu a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    transition: opacity 0.3s ease;
    position: relative;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

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

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

.btn-nav {
    padding: 12px 30px;
    border: 1px solid var(--white);
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--white);
    color: var(--black);
}

.mobile-menu-toggle {
    display: none;
}

/* Full Screen Sections */
.fullscreen-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Hero - Full Screen Background */
.hero {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 40px;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero h1 {
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-description {
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
}

.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--white);
    text-align: center;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards, bounce 2s ease-in-out 2.5s infinite;
}

.scroll-down span {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

/* Content Sections */
.content-section {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-subtitle {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 20px;
}

.section-header h2 {
    margin-bottom: 30px;
}

.section-header p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray);
}

/* Services Grid - Modern */
.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card-modern {
    background: var(--white);
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--dark) 0%, var(--gray) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card-modern:hover::before {
    transform: scaleX(1);
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    border-color: #f0f0f0;
}

.service-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-icon-modern svg {
    width: 40px;
    height: 40px;
    color: var(--dark);
    transition: all 0.4s ease;
}

.service-card-modern:hover .service-icon-modern {
    background: linear-gradient(135deg, var(--dark) 0%, #2c2c2c 100%);
    transform: scale(1.1) rotate(5deg);
}

.service-card-modern:hover .service-icon-modern svg {
    color: var(--white);
    transform: scale(1.1);
}

.service-card-modern h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--dark);
}

.service-card-modern p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 30px;
}

.service-list-modern {
    list-style: none;
    text-align: left;
    margin-bottom: 35px;
    padding: 0;
}

.service-list-modern li {
    padding: 12px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-list-modern li:last-child {
    border-bottom: none;
}

.service-list-modern li:hover {
    color: var(--dark);
    padding-left: 10px;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--dark);
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

.service-cta {
    display: inline-block;
    padding: 12px 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark);
    border: 2px solid var(--dark);
    border-radius: 30px;
    transition: all 0.3s ease;
    background: transparent;
}

.service-cta:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Services Grid - Legacy (régi) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    text-align: center;
    padding: 60px 30px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: #f0f0f0;
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 30px;
    display: block;
}

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

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

.service-list {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.service-list li {
    padding: 12px 0;
    font-size: 14px;
    color: var(--gray);
    border-bottom: 1px solid #f0f0f0;
}

.service-link {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dark);
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--gray);
}

/* Portfolio - Masonry Grid */
.portfolio-section {
    padding: 0;
    background: var(--white);
}

/* Portfolio Hero - Full screen mint a Hero volt */
.portfolio-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Header magasság */
}

.portfolio-hero .portfolio-grid {
    width: 100%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

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

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: var(--white);
    text-align: center;
    padding: 30px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 24px;
    margin-bottom: 10px;
}

.portfolio-overlay span {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Parallax Background Section */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: var(--white);
    text-align: center;
    position: relative;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    padding: 150px 40px;
}

.parallax-content h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

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

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 300;
    display: block;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Contact Section */
.contact-section {
    background: #fafafa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.contact-info h3 {
    font-size: 32px;
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item strong {
    display: block;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-form .form-group {
    margin-bottom: 30px;
}

.contact-form label {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    font-family: var(--font-main);
    font-size: 15px;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 15px;
}

.footer-links a,
.footer-contact a {
    color: var(--gray);
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .services-grid,
    .portfolio-grid,
    .contact-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .parallax-section {
        background-attachment: scroll;
    }
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--dark);
    color: var(--white);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--gray);
}