/* ========== ALAPBEÁLLÍTÁSOK ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-blue: #0a1a2a;
    --crystal-blue: hsl(197, 100%, 70%);
    --turquoise: #40e0d0;
    --vivid-cyan: #00b4d8;
    --light-blue: #87CEEB;
    --sky-blue: #87CEEB;
    --pure-white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--deep-blue);
    background-color: var(--pure-white);
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== TÁVOLSÁGOK ========== */
.spacer {
    height: 60px;
}
.spacer-large {
    height: 100px;
}
section {
    padding: 120px 0;
}

/* ========== SECTION FEJLÉCEK ========== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 20px;
    word-break: break-word;
}
.divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--crystal-blue), var(--turquoise));
    margin: 0 auto 20px;
}
.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
    word-break: break-word;
}

/* ========== NAVIGÁCIÓ ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0);
}
.navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.nav-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    max-width: 1600px; 
    width: 100%; 
    margin: 0 auto;
    padding: 0 40px;
    position: relative; 
}

/* ========== LOGÓ ELEGÁNS KIEMELÉSSEL ========== */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 45px;
    margin-left: 50px; 
    position: relative;
    z-index: 10;
}

.logo-img {
    height: 100%;
    width: auto;
    max-height: 45px;
    
    /* Erőteljes, vastag fehér ragyogás */
    filter: drop-shadow(0 0 2px #ffffff) 
            drop-shadow(0 0 5px #ffffff) 
            drop-shadow(0 0 12px rgba(255, 255, 255, 0.9));
            
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left center;
    margin-left: 200px; /* Asztali gépen behúzza a logót */
}

/* Az interaktív luxus "aura" effekt, amikor ráviszik az egeret */
.logo:hover .logo-img {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 0 3px #ffffff) 
            drop-shadow(0 0 15px rgba(0, 180, 216, 0.9)) 
            drop-shadow(0 8px 25px rgba(64, 224, 208, 0.6));
}

/* ========== NAVIGÁCIÓS MENÜ ========== */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 1.5px; 
    text-transform: uppercase; 
    color: var(--pure-white);
    text-decoration: none;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.navbar.scrolled .nav-link {
    color: var(--deep-blue);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--turquoise);
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.nav-link:hover {
    color: var(--turquoise);
}

/* ========== ELEGÁNS CTA GOMB ========== */
.cta-button {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--pure-white);
    margin-left: auto;
    
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.85), rgba(64, 224, 208, 0.85));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    position: relative;
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.15);
    white-space: nowrap;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--vivid-cyan), var(--turquoise));
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 25px rgba(0, 180, 216, 0.35);
}

.cta-button:hover::after {
    left: 150%;
}

/* ========== HAMBURGER MENÜ ========== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.bar {
    width: 25px;
    height: 2px;
    background-color: var(--pure-white);
    transition: all 0.3s ease;
}
.navbar.scrolled .bar {
    background-color: var(--deep-blue);
}

/* ========== HERO SZEKCIÓ ========== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(rgba(10, 26, 42, 0.3), rgba(10, 26, 42, 0.7)), 
                url('assets/images/hero/hero3.jpg') no-repeat center center/cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 26, 42, 0.1) 0%, rgba(10, 26, 42, 0.4) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--pure-white);
    max-width: 900px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    word-break: break-word;
}
.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    padding: 0 10px;
    word-break: break-word;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--pure-white);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    letter-spacing: 1px;
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.hero-cta:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
}
.hero-cta i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}
.hero-cta:hover i {
    transform: translateY(3px);
}
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}
@keyframes fadeIn {
    to { opacity: 1; }
}
.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll 2s infinite;
}
@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* ========== DECORATÍVE WAVES ========== */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23006994" opacity="0.1"/></svg>');
    background-size: 1200px 100px;
    z-index: 1;
}
.wave-1 {
    animation: waveMove 25s linear infinite;
    opacity: 0.1;
}
.wave-2 {
    animation: waveMove 20s linear infinite reverse;
    opacity: 0.15;
    bottom: 10px;
}
.wave-3 {
    animation: waveMove 15s linear infinite;
    opacity: 0.2;
    bottom: 20px;
}
@keyframes waveMove {
    0% { background-position-x: 0; }
    100% { background-position-x: 1200px; }
}

/* ========== ABOUT / FILOZÓFIA SZEKCIÓ ========== */
.about {
    background-color: var(--off-white);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.03) 0%, transparent 50%);
    pointer-events: none;
}
.about-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}
.intro-header {
    margin-bottom: 40px;
}
.intro-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 10px 0;
    word-break: break-word;
}
.intro-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: var(--crystal-blue);
    font-weight: 500;
    word-break: break-word;
}
.highlight-blue {
    color: var(--crystal-blue);
    position: relative;
    display: inline-block;
}
.highlight-blue::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, rgba(64, 224, 208, 0.3), rgba(0, 180, 216, 0.15));
    z-index: -1;
    border-radius: 2px;
}
.intro-text-content {
    position: relative;
    padding-left: clamp(30px, 4vw, 50px);
    margin: 40px 0;
}
.quote-mark {
    position: absolute;
    left: 0;
    top: -10px;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--crystal-blue);
    opacity: 0.4;
}
.intro-main {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    line-height: 1.8;
    color: var(--deep-blue);
    margin-bottom: 25px;
    font-weight: 500;
    padding-top: 5px;
    word-break: break-word;
}
.intro-paragraph {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    word-break: break-word;
}
.highlight-box {
    background: linear-gradient(90deg, rgba(64, 224, 208, 0.08), rgba(0, 180, 216, 0.04));
    padding: clamp(20px, 3vw, 25px) clamp(25px, 4vw, 30px);
    border-radius: 12px;
    margin: 30px 0;
    border-left: 4px solid var(--turquoise);
    position: relative;
    overflow: hidden;
}
.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.5));
    pointer-events: none;
}
.highlight-box .emphasis {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.7;
    color: var(--deep-blue);
    font-weight: 600;
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
    word-break: break-word;
}
.signature {
    margin-top: 40px;
    text-align: right;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.signature-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--crystal-blue);
    font-weight: 700;
    font-style: italic;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    word-break: break-word;
}
.signature-name::before {
    content: '';
    width: 40px;
    height: 2px;
    background-color: var(--turquoise);
}
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 30px);
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 180, 216, 0.1);
}
.stat-item {
    text-align: center;
    padding: clamp(20px, 3vw, 30px) clamp(15px, 2vw, 20px);
    background-color: var(--pure-white);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(0, 180, 216, 0.05);
    position: relative;
    overflow: hidden;
}
.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--crystal-blue), var(--turquoise));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.stat-item:hover::before {
    opacity: 1;
}
.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 180, 216, 0.1);
}
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--crystal-blue);
    margin-bottom: 10px;
    transition: transform 0.3s ease;
    word-break: break-word;
}
.stat-item:hover .stat-number {
    transform: scale(1.1);
}
.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    word-break: break-word;
}
.intro-visual {
    position: relative;
    height: clamp(300px, 40vw, 500px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}
.intro-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 26, 42, 0.3), rgba(10, 26, 42, 0.4)), 
                url('assets/images/services/services11.jpg') no-repeat center center/cover;
    position: relative;
    transition: transform 1.2s ease;
}
.intro-visual:hover .intro-image {
    transform: scale(1.03);
}
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 180, 216, 0.15), rgba(64, 224, 208, 0.1));
}
.image-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: clamp(20px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.floating-element {
    position: absolute;
    width: clamp(40px, 6vw, 60px);
    height: clamp(40px, 6vw, 60px);
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--crystal-blue);
    font-size: clamp(1rem, 2vw, 1.5rem);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.floating-1 {
    top: 40%;
    left: 20px;
    animation: float 6s ease-in-out infinite;
}
.floating-2 {
    bottom: 40%;
    right: 20px;
    animation: float 8s ease-in-out infinite reverse;
    animation-delay: 1s;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}
.decorative-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--crystal-blue), var(--turquoise));
    opacity: 0.05;
    z-index: 1;
}
.deco-1 {
    width: 150px;
    height: 150px;
    top: -70px;
    right: -70px;
    animation: rotate 20s linear infinite;
}
.deco-2 {
    width: 100px;
    height: 100px;
    bottom: -50px;
    left: -50px;
    animation: rotate 25s linear infinite reverse;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========== SERVICES SZEKCIÓ - 6 SZOLGÁLTATÁS ========== */
.services {
    background-color: var(--pure-white);
    padding: 120px 0;
}
.services-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 40px);
    margin-bottom: 80px;
}
.service-item {
    background-color: var(--pure-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}
.service-image {
    height: clamp(200px, 25vw, 250px);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.service-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s ease;
}
.service-item:hover .service-img {
    transform: scale(1.1);
}
.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--pure-white);
}
.service-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 600;
}
.service-content {
    padding: clamp(20px, 3vw, 30px);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 15px;
    word-break: break-word;
}
.service-content p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    flex: 1;
    word-break: break-word;
}
.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}
.service-features span {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    word-break: break-word;
}
.service-features i {
    color: var(--turquoise);
    font-size: 0.8rem;
    flex-shrink: 0;
}
.services-cta {
    background: linear-gradient(135deg, var(--deep-blue), #0c2238);
    color: var(--pure-white);
    padding: clamp(40px, 8vw, 80px);
    border-radius: 20px;
    text-align: center;
    margin-top: 60px;
    background-image: url('assets/images/services/services9.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}
.cta-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    word-break: break-word;
}
.cta-content p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 3vw, 1.2rem);
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    word-break: break-word;
}
.cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(90deg, var(--crystal-blue), var(--turquoise));
    color: var(--pure-white);
    padding: 18px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.3);
}

/* ========== SERVICE KÉPEK ========== */
.service-1 { background: url('assets/images/services/services10.jpg') no-repeat center center/cover; }
.service-2 { background: url('assets/images/services/services3.jpg') no-repeat center center/cover; }
.service-3 { background: url('assets/images/services/services2.jpg') no-repeat center center/cover; }
.service-4 { background: url('assets/images/services/services4.jpg') no-repeat center center/cover; }
.service-5 { background: url('assets/images/services/services6.jpg') no-repeat center center/cover; }
.service-6 { background: url('assets/images/services/services7.jpg') no-repeat center center/cover; }

/* ========== MATERIALS CAROUSEL ========== */
.materials {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}
.materials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(0,191,179,0.05) 0%, rgba(0,191,179,0) 70%);
    border-radius: 50%;
    z-index: 0;
}
.materials::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,131,176,0.05) 0%, rgba(0,131,176,0) 70%);
    border-radius: 50%;
    z-index: 0;
}
.materials .container {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 0 40px;
}
.materials-carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
}
.carousel-container {
    position: relative;
    width: 100%;
    height: 700px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #ffffff;
}
.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}
.material-image {
    flex: 0 0 60%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.material-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 10s ease;
}
.carousel-slide.active .material-img {
    transform: scale(1.08);
}
.material-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.05) 100%);
    pointer-events: none;
}
.material-overlay {
    position: absolute;
    top: clamp(20px, 4vw, 40px);
    left: clamp(20px, 4vw, 40px);
    z-index: 25;
}
.material-badge {
    background: rgba(10, 42, 68, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: clamp(6px, 2vw, 12px) clamp(15px, 3vw, 30px);
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.7rem, 1.5vw, 1rem);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}
.material-content {
    flex: 0 0 40%;
    padding: clamp(40px, 8vw, 80px) clamp(30px, 6vw, 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    position: relative;
    overflow-y: auto;
}
.material-content::before {
    content: '“';
    position: absolute;
    top: clamp(20px, 4vw, 40px);
    right: clamp(20px, 4vw, 40px);
    font-family: 'Playfair Display', serif;
    font-size: clamp(80px, 12vw, 150px);
    color: rgba(0, 191, 179, 0.08);
    line-height: 0.8;
    font-weight: 700;
    font-style: italic;
}
.material-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: #0a2a44;
    margin-bottom: 25px;
    line-height: 1.2;
    position: relative;
    word-break: break-word;
}
.material-name::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #00bfb3, #0083b0);
    border-radius: 2px;
}
.material-description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    line-height: 1.8;
    color: #475569;
    margin: 35px 0 40px;
    font-weight: 300;
    overflow-y: auto;
    word-break: break-word;
}
.material-specs-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 30px 0 0;
    border-top: 2px solid #f1f5f9;
}
.material-specs {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.spec {
    text-align: center;
    padding: 0 20px;
}
.spec-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    color: #00bfb3;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    white-space: nowrap;
}
.spec-value {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    color: #0a2a44;
    background: linear-gradient(135deg, #0a2a44 0%, #1a3a54 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    word-break: break-word;
}
.material-texture {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.7rem, 1.5vw, 1rem);
    color: #64748b;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(0, 191, 179, 0.08);
    padding: 6px 25px;
    border-radius: 40px;
    display: inline-block;
    border: 1px solid rgba(0, 191, 179, 0.2);
    backdrop-filter: blur(5px);
    white-space: nowrap;
}
.materials-footer {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px 0;
    border-top: 1px solid rgba(0, 191, 179, 0.2);
}
.materials-cta {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.3rem);
    color: #0a2a44;
    font-weight: 300;
    line-height: 1.6;
}
.materials-cta a {
    color: #00bfb3;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}
.materials-cta a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00bfb3, #0083b0);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}
.materials-cta a:hover {
    color: #0083b0;
}
.materials-cta a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    gap: clamp(20px, 5vw, 40px);
    flex-wrap: wrap;
}
.carousel-prev,
.carousel-next {
    background: white;
    border: none;
    color: #0a2a44;
    width: clamp(40px, 8vw, 65px);
    height: clamp(40px, 8vw, 65px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: clamp(0.9rem, 2vw, 1.3rem);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 191, 179, 0.2);
    flex-shrink: 0;
}
.carousel-prev:hover,
.carousel-next:hover {
    background: linear-gradient(135deg, #00bfb3, #0083b0);
    color: white;
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(0, 191, 179, 0.5);
    border-color: transparent;
}
.carousel-dots {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}
.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #e2e8f0;
    cursor: pointer;
    transition: all 0.4s ease;
    border: none;
    flex-shrink: 0;
}
.carousel-dot.active {
    width: 45px;
    border-radius: 30px;
    background: linear-gradient(90deg, #00bfb3, #0083b0);
    box-shadow: 0 5px 15px rgba(0, 191, 179, 0.3);
}
.carousel-dot:hover {
    background-color: #94a3b8;
    transform: scale(1.2);
}

/* ========== PORTFOLIO SZEKCIÓ ========== */
.portfolio {
    padding: 120px 0 80px;
    background-color: var(--deep-blue);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}
.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 180, 216, 0.1) 0%, transparent 100%);
    pointer-events: none;
}
.portfolio .section-title,
.portfolio .section-subtitle {
    color: var(--pure-white);
}
.portfolio-slider {
    position: relative;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}
.slider-container {
    position: relative;
    height: 700px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.portfolio-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    flex-direction: row;
}
.portfolio-slide.active {
    opacity: 1;
    visibility: visible;
}
.slide-image {
    flex: 1;
    min-height: 300px;
    position: relative;
}
.portfolio-1 { background: url('assets/images/ref/ref3.jpg') no-repeat center center/cover; }
.portfolio-2 { background: url('assets/images/ref/ref2.jpg') no-repeat center center/cover; }
.portfolio-3 { background: url('assets/images/ref/ref11.jpg') no-repeat center center/cover; }
.portfolio-4 { background: url('assets/images/ref/ref6.jpg') no-repeat center center/cover; }
.portfolio-5 { background: url('assets/images/ref/ref7.jpg') no-repeat center center/cover; }
.portfolio-6 { background: url('assets/images/ref/ref8.jpg') no-repeat center center/cover; }
.portfolio-7 { background: url('assets/images/ref/ref9.jpeg') no-repeat center center/cover; }
.portfolio-8 { background: url('assets/images/ref/ref10.jpeg') no-repeat center center/cover; }

.slide-image-overlay {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 2;
}
.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
}
.location-badge {
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--pure-white);
    padding: clamp(6px, 2vw, 10px) clamp(12px, 3vw, 20px);
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    white-space: nowrap;
}
.slide-content {
    flex: 0 0 40%;
    background-color: rgba(10, 26, 42, 0.95);
    padding: clamp(30px, 6vw, 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow-y: auto;
}
.slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(64, 224, 208, 0.1));
    pointer-events: none;
}
.slide-meta {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--turquoise);
    margin-bottom: 15px;
    word-break: break-word;
}
.slide-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    word-break: break-word;
}
.slide-description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 30px;
    overflow-y: auto;
    word-break: break-word;
}
.slide-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.detail {
    font-family: 'Inter', sans-serif;
    word-break: break-word;
}
.detail-label {
    display: block;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    color: var(--turquoise);
    margin-bottom: 5px;
}
.detail-value {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--pure-white);
}
.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 20px;
}
.slider-arrow {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--pure-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}
.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--turquoise);
    transform: scale(1.1);
}
.slider-dots {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}
.dot.active,
.dot:hover {
    background-color: var(--turquoise);
    transform: scale(1.3);
}

/* ========== CONTACT SZEKCIÓ ========== */
.contact {
    background-color: var(--deep-blue);
    padding: 120px 0 60px;
    color: var(--pure-white);
    background-image: linear-gradient(rgba(10, 26, 42, 0.9), rgba(10, 26, 42, 0.9)), 
                     url('https://images.unsplash.com/photo-1519821172144-4f87b85f1d51?ixlib=rb-4.0.3&auto=format&fit=crop&w=2850&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.contact .section-title,
.contact .section-subtitle {
    color: var(--pure-white);
}
.contact-team {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(30px, 6vw, 60px);
    max-width: 1000px;
    margin: 0 auto 80px;
}
.team-member {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: clamp(30px, 6vw, 50px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100%;
}
.team-member:hover {
    transform: translateY(-10px);
    border-color: rgba(64, 224, 208, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.member-info {
    text-align: center;
}
.member-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 600;
    margin-bottom: 10px;
    word-break: break-word;
}
.member-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: var(--turquoise);
    margin-bottom: clamp(20px, 5vw, 40px);
    font-weight: 500;
    word-break: break-word;
}
.member-contact {
    margin-bottom: 30px;
}
.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.contact-icon {
    width: clamp(30px, 6vw, 40px);
    height: clamp(30px, 6vw, 40px);
    background: linear-gradient(135deg, var(--crystal-blue), var(--turquoise));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    flex-shrink: 0;
}
.contact-detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.contact-label {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.6rem, 1.5vw, 0.8rem);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
    word-break: break-word;
}
.contact-value {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    color: var(--pure-white);
    font-weight: 500;
    word-break: break-word;
}
.member-bio {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.85rem, 2vw, 1rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    word-break: break-word;
}
.contact-social {
    text-align: center;
    margin-bottom: 60px;
}
.contact-social h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4vw, 2rem);
    margin-bottom: 30px;
    color: var(--pure-white);
    word-break: break-word;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 3vw, 30px);
    flex-wrap: wrap;
}
.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--pure-white);
    text-decoration: none;
    padding: clamp(15px, 3vw, 20px) clamp(20px, 4vw, 30px);
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    min-width: 150px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.social-link:hover {
    background-color: rgba(64, 224, 208, 0.1);
    border-color: var(--turquoise);
    transform: translateY(-5px);
}
.social-link i {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 10px;
}
.social-link span {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 500;
    word-break: break-word;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}
.copyright {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    color: rgba(255, 255, 255, 0.7);
    word-break: break-word;
}
.footer-links {
    display: flex;
    gap: clamp(15px, 3vw, 30px);
    flex-wrap: wrap;
}
.footer-links a {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--turquoise);
}

/* ========== RESZPONZÍV TÖRÉSPONTOK ========== */
@media (max-width: 1400px) {
    .material-content { padding: 60px 40px; }
    .material-name { font-size: 2.5rem; }
}

@media (max-width: 1200px) {
    section { padding: 100px 0; }
    .hero-title { font-size: 4rem; }
    .section-title { font-size: 3rem; }
    .services-grid-6 { grid-template-columns: repeat(2, 1fr); }
    .carousel-container { height: 600px; }
    .material-name { font-size: 2.2rem; }
    .material-content { padding: 50px 35px; }
}

@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .nav-menu { gap: 25px; }
    .about-intro { grid-template-columns: 1fr; gap: 50px; }
    .intro-visual { height: 400px; }
    .contact-team { grid-template-columns: 1fr; max-width: 600px; }
    .team-member { max-width: 500px; margin: 0 auto; }
    
    .carousel-slide,
    .portfolio-slide { 
        flex-direction: column;
        position: absolute !important;
        height: 100% !important;
    }
    .carousel-container, 
    .slider-container { 
        height: 900px !important; 
    }
    .material-image,
    .slide-image {
        flex: none;
        width: 100%;
        height: 400px;
    }
    .material-content,
    .slide-content {
        flex: none;
        width: 100%;
        height: 500px;
        padding: 50px 40px;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    /* ----- HAMBURGER ÉS FEJLÉC JAVÍTÁS ----- */
    .logo { margin-left: 0; }
    .logo-img { margin-left: 0; } /* Nullázzuk a 200px-t is */
    
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    .hamburger { 
        display: flex !important; 
        z-index: 1005; 
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        transform: none; /* Kikapcsolja a középre húzást */
        flex-direction: column;
        background-color: var(--pure-white);
        width: 100%;
        text-align: center;
        padding: 30px 0;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .nav-menu.active { left: 0; }
    .nav-link {
        color: var(--deep-blue);
        font-size: 1rem;
        white-space: normal;
    }
    .cta-button { display: none; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-title { font-size: 2.5rem; }
    .services-grid-6 { grid-template-columns: 1fr; gap: 30px; }
    .stats { grid-template-columns: 1fr; gap: 20px; }
    
    .carousel-container, 
    .slider-container { 
        height: 850px !important; 
    }
    .material-image,
    .slide-image { height: 350px; }
    .material-content,
    .slide-content { height: 500px; padding: 40px 30px; }
    
    /* ----- GALÉRIA GOMBOK FELÜLRE HELYEZÉSE ÉS PÖTTYÖK ELTÜNTETÉSE ----- */
    .carousel-dots,
    .slider-dots {
        display: none !important;
    }

    .carousel-controls,
    .slider-controls {
        position: absolute;
        top: 175px; /* Kép magasságának a fele, hogy a kép közepére kerüljön */
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: row !important; /* Ne egymás alatt legyenek */
        justify-content: space-between !important; 
        padding: 0 15px;
        margin-top: 0;
        transform: translateY(-50%);
        pointer-events: none; /* Engedi a kattintást a kép közepén is */
        z-index: 50;
    }

    .carousel-prev,
    .carousel-next,
    .slider-arrow {
        pointer-events: auto; /* A gomb maradjon kattintható */
        background-color: rgba(255, 255, 255, 0.9);
        color: var(--deep-blue);
        border-color: transparent;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    /* ------------------------------------------------------------------- */

    .material-specs {
        flex-direction: column;
        align-items: flex-start;
    }
    .spec {
        padding: 10px 0;
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .spec-label { margin-bottom: 0; min-width: 100px; }
    .spec-value { font-size: 1.5rem; }
    .material-texture { align-self: flex-start; }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contact-detail { align-items: center; }
    .contact-value { text-align: center; }
    
    .social-links { flex-direction: column; align-items: center; }
    .social-link { width: 100%; max-width: 250px; }
    
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}

/* ========== KIS MOBIL (576px ALATT) ========== */
@media (max-width: 576px) {
    section { padding: 80px 0; }
    .hero-title { font-size: 2.3rem; }
    .section-title { font-size: 2rem; }
    .hero-cta { padding: 12px 25px; }
    
    .intro-text-content { padding-left: 30px; }
    .intro-main { font-size: 1.1rem; }
    .intro-paragraph { font-size: 0.95rem; }
    .highlight-box { padding: 20px; }
    
    .services-cta { padding: 40px 20px; }
    .cta-content h3 { font-size: 1.8rem; }
    
    .carousel-container, 
    .slider-container {
        height: 850px !important;
        min-height: 0 !important;
    }
    .carousel-slide, 
    .portfolio-slide {
        position: absolute !important;
        height: 100% !important;
        min-height: 0 !important;
    }
    .material-image, 
    .slide-image {
        height: 280px;
        width: 100%;
    }
    .material-content, 
    .slide-content {
        height: 570px;
        padding: 30px 20px;
    }
    
    /* Gombok igazítása kisebb képhez */
    .carousel-controls,
    .slider-controls {
        top: 140px; 
    }

    .material-name {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    .material-description {
        font-size: 0.95rem;
        margin: 20px 0;
        display: block;
    }
    .material-specs-wrapper {
        padding: 20px 0 0;
        align-items: flex-start;
        display: flex;
    }
    .material-specs {
        justify-content: flex-start;
        margin-bottom: 10px;
        display: flex;
        flex-wrap: wrap;
    }
    .spec {
        padding: 8px 0;
        display: flex;
        align-items: baseline;
        gap: 10px;
        width: 100%;
    }
    .spec-label {
        font-size: 0.8rem;
        min-width: 90px;
        margin-bottom: 0;
        display: block;
    }
    .spec-value {
        font-size: 1.2rem;
        display: inline-block;
    }
    .material-texture {
        text-align: left;
        font-size: 0.8rem;
        padding: 4px 15px;
        display: inline-block;
        margin-top: 5px;
    }
    .material-badge {
        padding: 5px 12px;
        font-size: 0.7rem;
    }
    
    .slide-meta {
        font-size: 0.8rem;
    }
    .slide-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    .slide-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    .slide-details {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 15px;
        padding-top: 15px;
        display: grid;
    }
    .detail {
        display: flex;
        align-items: baseline;
        gap: 10px;
    }
    .detail-label {
        font-size: 0.8rem;
        min-width: 80px;
        margin-bottom: 0;
        display: block;
    }
    .detail-value {
        font-size: 0.95rem;
    }
    .location-badge {
        padding: 5px 12px;
        font-size: 0.7rem;
    }
    
    .team-member { padding: 30px 20px; }
    .member-name { font-size: 1.6rem; }
    .contact-icon { width: 35px; height: 35px; }
    .contact-value { font-size: 0.95rem; }
    
    .carousel-dot { width: 8px; height: 8px; }
    .carousel-dot.active { width: 25px; }
    .carousel-prev,
    .carousel-next,
    .slider-arrow { width: 40px; height: 40px; }
}

/* ========== NAGYON KIS MOBIL (400px ALATT) ========== */
@media (max-width: 400px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .container { padding: 0 15px; }
    
    .carousel-container, 
    .slider-container {
        height: 800px !important;
    }
    .material-image,
    .slide-image { height: 220px; }
    
    .material-content, 
    .slide-content { height: 580px; }

    /* Gombok igazítása nagyon kis képhez */
    .carousel-controls,
    .slider-controls {
        top: 110px; 
    }
    
    .material-name { font-size: 1.5rem; }
    .slide-title { font-size: 1.5rem; }
    
    .spec {
        flex-wrap: wrap;
        gap: 5px;
    }
    .spec-label { 
        min-width: 100%; 
        margin-bottom: 2px;
        font-size: 0.7rem;
    }
    .spec-value { font-size: 1rem; }
    
    .detail {
        flex-wrap: wrap;
        gap: 3px;
    }
    .detail-label { 
        min-width: 100%;
        font-size: 0.7rem;
    }
    .detail-value { 
        font-size: 0.9rem;
        padding-left: 5px;
    }
    
    .team-member { padding: 25px 15px; }
    .contact-item { gap: 10px; }
    .contact-icon { width: 30px; height: 30px; }
    .contact-value { font-size: 0.85rem; }
    .social-link { min-width: 100%; }
}

@media (max-height: 700px) and (max-width: 992px) {
    .material-image { height: 300px; }
    .material-content { padding: 30px 40px; }
}