/* ========================================
   GNX Engineering - Reference Project V4
   Ultra Compact - DRUPAL COMPATIBLE
   ======================================== */

/* ========================================
   DRUPAL OVERRIDE - FORCE RESET
   ======================================== */
/* ========================================
   DRUPAL FIELD BODY IMG OVERRIDE
   ======================================== */

/* Drupal alapértelmezett body field img stílusok letiltása */
.gnx-references-wrapper .field--name-body img,
.gnx-references-wrapper img {
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

/* Specifikus felülírások a mi ikonjainkra */
.gnx-references-wrapper .stat-icon-img,
.gnx-references-wrapper .info-badge img,
.gnx-references-wrapper .tech-icon-img,
.gnx-references-wrapper .partner-icon,
.gnx-references-wrapper .company-logo-mini {
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    display: block !important;
    border: none !important;
    box-shadow: none !important;
}

/* Stat ikonok extra védelem */
.gnx-references-wrapper .inline-stat img {
    margin: 0 !important;
    vertical-align: baseline !important;
    align-self: center !important;
}

/* Info badge ikonok extra védelem */
.gnx-references-wrapper .year-location-info img {
    margin: 0 !important;
    vertical-align: middle !important;
    align-self: center !important;
}

/* Tech ikonok extra védelem */
.gnx-references-wrapper .tech-icons-compact img {
    margin: 0 !important;
    vertical-align: baseline !important;
}

/* Galéria képek - külön kezelés */
.gnx-references-wrapper .gallery-slide img,
.gnx-references-wrapper .project-img {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.gnx-references-wrapper {
    all: initial;
    display: block;
    width: 100%;
}

.gnx-references-wrapper * {
    box-sizing: border-box !important;
}

/* SVG ikonok alaphelyzetbe állítása */
.gnx-references-wrapper svg {
    vertical-align: baseline !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.gnx-references-wrapper .filter-section svg,
.gnx-references-wrapper .project-block svg,
.gnx-references-wrapper .tech-icon-img,
.gnx-references-wrapper .label-icon,
.gnx-references-wrapper .head-icon,
.gnx-references-wrapper .quote-icon,
.gnx-references-wrapper .filter-icon {
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

/* Lista elemek felülírása */
.gnx-references-wrapper ul,
.gnx-references-wrapper .compact-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gnx-references-wrapper .compact-list li {
    list-style: none !important;
    margin: 0 !important;
    padding-left: 16px !important;
    position: relative !important;
}

.gnx-references-wrapper .compact-list li::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 9px !important;
    width: 6px !important;
    height: 6px !important;
    background: var(--accent-blue) !important;
    border-radius: 50% !important;
    display: block !important;
}

/* Filter label ikonok igazítása */
.gnx-references-wrapper .filter-label {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.gnx-references-wrapper .label-icon {
    flex-shrink: 0 !important;
    margin: 0 !important;
    align-self: center !important;
}

/* Section head ikonok */
.gnx-references-wrapper .section-head {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.gnx-references-wrapper .head-icon {
    flex-shrink: 0 !important;
    margin: 0 !important;
    align-self: center !important;
}

/* ========================================
   CSS VARIABLES
   ======================================== */

:root {
    --primary-yellow: #fabc00;
    --dark-gray: #3f4142;
    --accent-blue: #1e859f;
    --accent-red: #9d1a16;
    --accent-green: #96af32;
    --white: #ffffff;
    --beige-bg: #fef9f0;
    --text-dark: #333333;
    --light-gray: #f9f9f9;
    --border-light: #ebebeb;
    --shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.gnx-references-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ========================================
   HERO COVER VIDEÓ
   ======================================== */

.hero-cover {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    padding: 40px 20px;
}

.hero-video-container {
    position: relative;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-cover-video {
    width: 100%;
    height: auto;
    min-height: 500px;
    max-height: 80vh;
    display: block;
    object-fit: cover;
    filter: brightness(0.85);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ========================================
   CONTENT COVER KÉP
   ======================================== */

.content-cover {
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 50px;
    text-align: center;
}

.content-cover-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* ========================================
   PAGE WRAPPER
   ======================================== */

.page-wrapper {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(to bottom, var(--white) 0%, #fafafa 100%);
}

/* Minimal Background Accent */
.bg-accent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.accent-shape {
    position: absolute;
    opacity: 0.04;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-blue), transparent);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-yellow), transparent);
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
}

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 50px 60px;
    position: relative;
    z-index: 1;
}

/* ========================================
   SZŰRŐ RÉSZ
   ======================================== */

.filter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 20px;
    border-bottom: 3px solid var(--primary-yellow);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.filter-container {
    max-width: 1300px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-light);
}

.filter-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.filter-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-blue);
}

.filter-reset {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--light-gray);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-reset:hover {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.filter-reset svg {
    width: 18px;
    height: 18px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.label-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-blue);
}

.filter-select,
.filter-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: all 0.3s ease;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(30, 133, 159, 0.1);
}

.filter-select:hover,
.filter-input:hover {
    border-color: var(--primary-yellow);
}

.tech-filter-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid var(--border-light);
}

.tech-label {
    margin-bottom: 15px;
    font-size: 1rem;
}

.tech-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.tech-filter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--light-gray);
    border: 2px solid var(--border-light);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.tech-filter-item:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.tech-filter-item.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.tech-filter-item.active .tech-filter-label {
    color: var(--white);
    font-weight: 700;
}

.tech-filter-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.tech-filter-item:not(.active) .tech-filter-img {
    filter: grayscale(100%);
    opacity: 0.6;
}

.tech-filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    transition: color 0.3s ease;
}

.filter-results {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, var(--accent-blue), #2a9fb8);
    border-radius: 8px;
    text-align: center;
}

.results-text {
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}

.results-text strong {
    font-size: 1.3rem;
    font-weight: 700;
}

/* ========================================
   PROJECT BLOCK
   ======================================== */

.project-block {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 25px;
    border-left: 5px solid var(--accent-blue);
    margin-bottom: 40px;
    overflow: hidden;
}

.project-block::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -160px;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    background-image: url('	half_x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.project-block > * {
    position: relative;
    z-index: 1;
}

.project-block:nth-of-type(odd) {
    background: rgb(230, 230, 230);
}

.project-block:nth-of-type(even) {
    background: var(--white);
}

.project-block.hidden {
    display: none;
    opacity: 0;
}

.project-block.visible {
    display: block;
}


/* Title Bar */
.title-bar {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.title-bar-left {
    flex: 1;
}

.compact-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-gray);
    line-height: 1.3;
    margin: 0 0 10px 0;
}

.title-accent-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--primary-yellow));
    border-radius: 2px;
    margin-bottom: 5px;
}

.company-logo-mini {
    width: 100px;
    height: auto;
    flex-shrink: 0;
}

/* Compact Grid */
.compact-grid {
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 30px;
}

.grid-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Tech Icons */
.tech-icons-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.tech-icon-item {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tech-icon-item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.tech-icon-img {
    width: 100%;
    height: auto;
    max-height: 32px;
    object-fit: contain;
}

/* Gallery */
.gallery-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
    height: 450px;
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.gallery-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
    position: relative;
    cursor: grab;
    user-select: none;
}

.gallery-track.dragging {
    cursor: grabbing;
}

.gallery-slide {
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    display: block;
}

.gallery-slide img.project-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    color: var(--accent-blue);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: var(--shadow-sm);
}

.gallery-arrow:hover:not(:disabled) {
    background: var(--accent-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-md);
}

.gallery-arrow:active:not(:disabled) {
    transform: translateY(-50%) scale(0.95);
}

.gallery-arrow.prev {
    left: 12px;
}

.gallery-arrow.next {
    right: 12px;
}

.gallery-arrow svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.gallery-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark-gray);
    box-shadow: var(--shadow-xs);
    z-index: 10;
}

.gallery-counter .current-num {
    color: var(--accent-blue);
    font-size: 1rem;
}

.gallery-counter .total-num {
    color: #888;
}

.gallery-dots {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: var(--shadow-xs);
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.gallery-dot:hover {
    background: var(--primary-yellow);
    transform: scale(1.3);
}

.gallery-dot.active {
    background: var(--accent-blue);
    width: 28px;
    border-radius: 5px;
}

/* Inline Stats */
/* ========================================
   INLINE STATS - JAVÍTOTT FÜGGŐLEGES IGAZÍTÁSSAL
   ======================================== */

.inline-stats {
    display: flex;
    align-items: stretch !important; /* NE center legyen! */
    background: var(--light-gray);
    border-radius: 10px;
    padding: 14px;
    gap: 15px;
}

.inline-stat {
    flex: 1;
    display: flex;
    align-items: center !important; /* Itt viszont center kell */
    gap: 10px;
}

.stat-icon-img {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    align-self: center !important; /* Függőlegesen középre */
    display: block !important;
}

.stat-data {
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: center; /* Szövegek is középre */
}

.stat-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    line-height: 1.2;
    margin: 0;
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
    margin: 0;
}

.stat-separator {
    width: 1px;
    height: 40px;
    background: var(--border-light);
    flex-shrink: 0;
    align-self: center !important; /* Középre igazítás */
}

/* ========================================
   YEAR LOCATION INFO - JAVÍTOTT IGAZÍTÁS
   ======================================== */

.year-location-info {
    display: flex;
    align-items: center !important; /* Vízszintes középre */
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.info-badge {
    display: inline-flex !important;
    align-items: center !important; /* Ikon és szöveg egy vonalban */
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--light-gray);
    padding: 8px 14px;
    border-radius: 12px;
}

.info-badge img {
    width: 32px !important; /* Nagyobb méret */
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    display: block !important;
    align-self: center !important; /* Függőlegesen középre */
    vertical-align: middle !important;
}

.info-badge strong,
.info-badge span {
    display: inline-block;
    line-height: 1.4;
    align-self: center; /* Szöveg is középre */
}

.info-badge strong {
    color: var(--accent-blue);
    font-weight: 700;
    margin: 0;
}

.info-badge span {
    font-weight: 500;
    margin: 0;
}

/* ========================================
   DRUPAL IMG OVERRIDE - EXTRA VÉDELEM
   ======================================== */

.gnx-references-wrapper .stat-icon-img,
.gnx-references-wrapper .info-badge img {
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    display: block !important;
}

/* ========================================
   RESPONSIVE - MOBILON IS JÓ IGAZÍTÁS
   ======================================== */

@media (max-width: 768px) {
    .inline-stats {
        flex-direction: column;
        gap: 12px;
        align-items: stretch !important;
    }
    
    .inline-stat {
        align-items: center !important;
    }
    
    .stat-icon-img {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
    }
    
    .stat-separator {
        width: 100%;
        height: 1px;
        align-self: stretch !important;
    }
    
    .info-badge {
        padding: 6px 12px;
        font-size: 0.85rem;
        align-items: center !important;
    }
    
    .info-badge img {
        width: 60px !important;
        height: 30px !important;
        min-width: 60px !important;
        min-height: 30px !important;
        max-width: 60px !important;
        max-height: 30px !important;
    }
    
    .year-location-info {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .stat-icon-img {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
    }
    
    .info-badge img {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
    }
}


.info-badge img {
    width: 60px;
    height: 30px;
}

.info-badge strong {
    color: var(--accent-blue);
    font-weight: 700;
}

/* Grid Right */
.grid-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.compact-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.head-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-blue);
}

.section-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-blue);
}

.text-content {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.compact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.compact-list li {
    position: relative;
    padding-left: 16px;
    line-height: 1.7;
}

.compact-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
}

.compact-list li strong {
    color: var(--accent-blue);
    font-weight: 700;
}

.activity-text {
    margin: 0;
    padding: 12px;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 3px solid var(--primary-yellow);
    line-height: 1.8;
}

.activity-text strong {
    color: var(--accent-blue);
    font-weight: 700;
}

/* Partners */
.partners-compact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.partner-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-top: 4px;
}

.partner-tags-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.partner-tag {
    font-size: 0.85rem;
    padding: 8px 12px;
    background: var(--light-gray);
    border-radius: 6px;
    color: var(--text-dark);
}

.partner-tag strong {
    color: var(--accent-blue);
    font-weight: 700;
}

/* ========================================
   PARTNER IDÉZETEK
   ======================================== */

.partner-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quote-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 2px solid var(--accent-blue);
    border-radius: 8px;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.quote-toggle:hover {
    background: var(--accent-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.quote-toggle[aria-expanded="true"] .quote-icon {
    transform: rotate(180deg);
}

.quote-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.partner-quote {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    margin-top: 0;
}

.partner-quote.hidden {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.partner-quote.visible {
    max-height: 300px;
    opacity: 1;
    margin-top: 12px;
}

.quote-content {
    position: relative;
    background: linear-gradient(135deg, #f0f7fa 0%, #ffffff 100%);
    border-left: 4px solid var(--accent-blue);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.quote-mark {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 40px;
    height: 40px;
    color: var(--accent-blue);
    opacity: 0.15;
}

.quote-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    margin: 0 0 12px 0;
    position: relative;
    z-index: 1;
}

.quote-author {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-align: right;
}

/* ========================================
   REFERENCIA IDÉZET SZEKCIÓ
   ======================================== */

.reference-quote-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid var(--border-light);
}

.quote-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #ffffff 100%);
    border: 2px solid var(--accent-blue);
    border-radius: 10px;
    color: var(--accent-blue);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-toggle-btn:hover {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #2a9fb8 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quote-toggle-btn.active {
    background: var(--accent-blue);
    color: var(--white);
}

.quote-toggle-btn.active .quote-icon {
    transform: rotate(180deg);
}

.quote-container {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
}

.quote-container.hidden {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.quote-container.visible {
    max-height: 500px;
    opacity: 1;
    margin-top: 20px;
}

.quote-content-box {
    position: relative;
    background: linear-gradient(135deg, #f0f7fa 0%, #ffffff 100%);
    border-left: 5px solid var(--primary-yellow);
    border-radius: 12px;
    padding: 30px 40px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.quote-mark-left,
.quote-mark-right {
    width: 50px;
    height: 50px;
    color: var(--accent-blue);
    opacity: 0.2;
    flex-shrink: 0;
}

.quote-mark-left {
    align-self: flex-start;
}

.quote-mark-right {
    align-self: flex-end;
    transform: rotate(180deg);
}

.quote-text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-author-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 10px;
    border-top: 2px solid var(--border-light);
}

.quote-author-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.quote-author-title {
    font-size: 0.9rem;
    color: #666;
    font-style: normal;
}

/* ========================================
   MODERN DIVIDER
   ======================================== */

.modern-divider {
    position: relative;
    margin: 60px 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right, 
        transparent 0%, 
        var(--accent-blue) 20%, 
        var(--primary-yellow) 50%, 
        var(--accent-blue) 80%, 
        transparent 100%
    );
    overflow: visible;
}

.modern-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6), 
        transparent
    );
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.divider-icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #1e859f 0%, #fabc00 100%);
    border-radius: 50%;
    box-shadow: 
        0 10px 25px rgba(30, 133, 159, 0.4),
        0 0 0 5px rgba(30, 133, 159, 0.08),
        0 0 0 10px rgba(30, 133, 159, 0.04),
        inset 0 3px 6px rgba(255, 255, 255, 0.3);
    z-index: 1;
    perspective: 1200px;
    animation: floatWrapper 4s ease-in-out infinite;
}

@keyframes floatWrapper {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
        box-shadow: 
            0 10px 25px rgba(30, 133, 159, 0.4),
            0 0 0 5px rgba(30, 133, 159, 0.08),
            0 0 0 10px rgba(30, 133, 159, 0.04),
            inset 0 3px 6px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-8px);
        box-shadow: 
            0 15px 35px rgba(30, 133, 159, 0.5),
            0 0 0 8px rgba(30, 133, 159, 0.12),
            0 0 0 15px rgba(30, 133, 159, 0.06),
            inset 0 4px 8px rgba(255, 255, 255, 0.4);
    }
}

.divider-icon-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: 
        drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25)) 
        brightness(1.15)
        contrast(1.1);
    animation: slowFlip3D 6s ease-in-out infinite;
    transform-style: preserve-3d;
    backface-visibility: visible;
}

@keyframes slowFlip3D {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    25% { transform: rotateY(90deg) rotateX(5deg); }
    50% { transform: rotateY(180deg) rotateX(0deg); }
    75% { transform: rotateY(270deg) rotateX(-5deg); }
    100% { transform: rotateY(360deg) rotateX(0deg); }
}

.divider-icon-wrapper:hover {
    animation-play-state: paused;
}

.divider-icon-wrapper:hover .divider-icon-img {
    animation-play-state: paused;
    transform: scale(1.15) rotateY(0deg);
    filter: 
        drop-shadow(0 5px 10px rgba(0, 0, 0, 0.35)) 
        brightness(1.3)
        contrast(1.15);
    transition: all 0.3s ease;
}

.divider-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(250, 188, 0, 0.3), transparent);
    opacity: 0;
    animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .container {
        padding: 25px 40px 50px;
    }
    
    .compact-grid {
        grid-template-columns: 480px 1fr;
        gap: 25px;
    }
    
    .compact-title {
        font-size: 1.5rem;
    }
    
    .gallery-wrapper {
        height: 400px;
    }
}

@media (max-width: 992px) {
    .compact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .grid-left {
        max-width: 700px;
        margin: 0 auto;
        width: 100%;
    }
    
    .gallery-wrapper {
        height: 380px;
    }
    
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-video-container {
        max-width: 95%;
    }
    
    .hero-cover-video {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px 20px 40px;
    }
    
    .project-block {
        padding: 20px;
    }
    
    .project-block::before {
        width: 200px;
        height: 200px;
        right: -30px;
        opacity: 0.05;
    }
    
    .compact-title {
        font-size: 1.3rem;
    }
    
    .title-accent-line {
        width: 60px;
        height: 3px;
    }
    
    .title-bar {
        flex-direction: column;
    }
    
    .company-logo-mini {
        align-self: flex-end;
        width: 100px;
    }
    
    .inline-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .stat-separator {
        width: 100%;
        height: 1px;
    }
    
    .tech-icons-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-wrapper {
        height: 300px;
    }
    
    .gallery-arrow {
        width: 36px;
        height: 36px;
    }
    
    .gallery-arrow svg {
        width: 18px;
        height: 18px;
    }
    
    .gallery-arrow.prev { left: 8px; }
    .gallery-arrow.next { right: 8px; }
    
    .gallery-dots {
        bottom: 10px;
        right: 10px;
        padding: 6px 10px;
    }
    
    .year-location-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .hero-cover {
        min-height: 80vh;
        padding: 20px 15px;
    }
    
    .hero-video-container {
        border-radius: 12px;
    }
    
    .hero-cover-video {
        min-height: 350px;
        max-height: 70vh;
    }
    
    .scroll-indicator {
        font-size: 0.8rem;
        bottom: 20px;
    }
    
    .scroll-indicator svg {
        width: 28px;
        height: 28px;
    }

    .content-cover {
        padding: 0 20px;
        margin: 30px auto;
    }
    
    .filter-section {
        padding: 30px 15px;
    }
    
    .filter-container {
        padding: 20px;
    }
    
    .filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .filter-title {
        font-size: 1.3rem;
    }
    
    .filter-reset {
        width: 100%;
        justify-content: center;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .partner-quote.visible {
        max-height: 400px;
    }
    
    .reference-quote-section {
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .quote-toggle-btn {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
    
    .quote-icon {
        width: 20px;
        height: 20px;
    }
    
    .quote-content-box {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .quote-mark-left,
    .quote-mark-right {
        width: 40px;
        height: 40px;
        align-self: center;
    }
    
    .quote-mark-right {
        display: none;
    }
    
    .quote-text {
        font-size: 0.95rem;
    }
    
    .quote-container.visible {
        max-height: 600px;
    }
}

@media (max-width: 480px) {
    .compact-title {
        font-size: 1.1rem;
    }
    
    .title-accent-line {
        width: 50px;
        height: 3px;
    }
    
    .company-logo-mini {
        max-width: 100px;
    }
    
    .tech-icon-item {
        padding: 12px;
    }
    
    .tech-icon-img {
        max-height: 70px;
    }
    
    .gallery-wrapper {
        height: 250px;
    }
    
    .gallery-arrow {
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.9);
    }
    
    .gallery-arrow svg {
        width: 16px;
        height: 16px;
    }
    
    .gallery-counter {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .gallery-counter .current-num {
        font-size: 0.9rem;
    }
    
    .gallery-dots {
        bottom: 8px;
        right: 8px;
        padding: 5px 8px;
        gap: 6px;
    }
    
    .gallery-dot {
        width: 8px;
        height: 8px;
    }
    
    .gallery-dot.active {
        width: 24px;
    }
    
    .project-block::before {
        width: 150px;
        height: 150px;
        right: -20px;
        opacity: 0.04;
    }
    
    .partners-compact {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .partner-icon {
        width: 32px;
        height: 32px;
    }
    
    .hero-cover-video {
        min-height: 300px;
    }

    .content-cover {
        margin: 20px auto;
    }
    
    .filter-title {
        font-size: 1.1rem;
    }
    
    .filter-icon {
        width: 24px;
        height: 24px;
    }
    
    .modern-divider {
        margin: 30px 0;
    }
    
    .divider-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .divider-icon-img {
        width: 24px;
        height: 24px;
    }
    
    .quote-content {
        padding: 15px;
    }
    
    .quote-text {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .quote-author-name {
        font-size: 0.95rem;
    }
    
    .quote-author-title {
        font-size: 0.85rem;
    }
    
    .quote-content-box {
        padding: 15px;
    }
    
    .quote-mark-left {
        width: 32px;
        height: 32px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .divider-icon-img,
    .divider-icon-wrapper,
    .modern-divider::before,
    .divider-icon-wrapper::after,
    .gallery-track,
    .scroll-indicator {
        animation: none !important;
    }
    
    .divider-icon-wrapper {
        transform: translate(-50%, -50%);
    }
    
    .divider-icon-img {
        transform: none;
    }
    
    .gallery-arrow,
    .gallery-dot,
    .filter-reset,
    .tech-filter-item {
        transition: none;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .bg-accent,
    .hero-cover,
    .filter-section,
    .scroll-indicator {
        display: none;
    }
    
    .page-wrapper {
        background: white;
    }
    
    .project-block {
        box-shadow: none;
        border: 1px solid var(--border-light);
        page-break-inside: avoid;
    }
    
    .modern-divider {
        page-break-after: always;
    }
}

/* Hero videó poster kép */
.hero-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

/* Folytatás gomb */
.continue-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    
    /* Stílus */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    
    padding: 24px;
    cursor: pointer;
    
    color: white;
    font-size: 16px;
    font-weight: 600;
    
    transition: all 0.3s ease;
}

.continue-play-btn:hover {
    background: rgba(0, 0, 0, 0.85);
    border-color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.continue-play-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.continue-play-btn svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.continue-play-btn span {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* Mobil nézet - kisebb gomb */
@media (max-width: 768px) {
    .continue-play-btn {
        padding: 16px;
        font-size: 14px;
    }
    
    .continue-play-btn svg {
        width: 36px;
        height: 36px;
    }
}

/* Animáció a gomb megjelenésekor */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.continue-play-btn[style*="opacity: 1"] {
    animation: fadeInScale 0.3s ease forwards;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: inherit;
    overflow: hidden;
}

.project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.55);
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.video-play-btn:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
    width: 36px;
    height: 36px;
}

.video-play-btn.hidden {
    display: none;
}

/* ========================================
   HERO SLIDER
   ======================================== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Egyedi slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

/* Videók a slide-okon belül */
.hero-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   NAVIGÁCIÓS NYILAK
   ======================================== */

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.65);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow--prev {
    left: 20px;
}

.slider-arrow--next {
    right: 20px;
}

/* ========================================
   PONT INDIKÁTOROK
   ======================================== */

.slider-dots {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* ========================================
   SLIDER RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .slider-arrow--prev {
        left: 10px;
    }

    .slider-arrow--next {
        right: 10px;
    }

    .slider-dots {
        bottom: 45px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .slider-arrow {
        padding: 6px;
    }

    .slider-dots {
        bottom: 40px;
        gap: 8px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }
}


