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

:root {
    --primary: #2c3e50;
    --accent: #c9a067;
    --light: #f8f9fa;
    --white: #ffffff;
    --text: #333333;
    --text-light: #6c757d;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    animation: slideDown 0.6s ease;
}

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

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./bg.jpeg'); /* Ensure this image exists or allows fallback */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInLeft 0.8s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.eyebrow {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.btn-primary:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease;
}

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

.profile-card {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    position: relative;
}

.profile-card:hover {
    transform: translateY(-8px);
}

.profile-card img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-testimonials {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.95) 0%, rgba(44, 62, 80, 0.7) 60%, transparent 100%);
    padding: 2rem 1.5rem 2.5rem;
    color: var(--white);
    min-height: 140px;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    opacity: 0;
    transition: opacity 0.6s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
}

.testimonial-slide p {
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 0.8rem;
    letter-spacing: 0.3px;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
    font-style: normal;
}

.testimonial-stars {
    color: var(--accent);
    font-size: 0.9rem;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--primary);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Properties Section */
.properties {
    padding: 6rem 0;
    background: var(--white);
}

.properties-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: start;
}

.properties-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem 1.5rem;
    max-height: 800px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
}

.properties-list::-webkit-scrollbar {
    width: 6px;
}

.properties-list::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 10px;
}

.properties-list::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.property-card {
    background: var(--light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    height: 280px; /* Fixed height instead of aspect-ratio */
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

@keyframes cardPulse {
    0% { box-shadow: 0 20px 50px rgba(201, 160, 103, 0.3); }
    50% { box-shadow: 0 20px 50px rgba(201, 160, 103, 0.6); }
    100% { box-shadow: 0 20px 50px rgba(201, 160, 103, 0.3); }
}

.property-card.highlighted {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(201, 160, 103, 0.3);
    border: 3px solid var(--accent);
    animation: cardPulse 1s ease-in-out 2;
}

/* Ensure carousel fills the card properly */
.property-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

/* Ensure images don't collapse */
.carousel-image {
    min-width: 100%;
    height: 100%;
    position: relative;
    min-height: 280px; /* Match card min-height */
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 80%, transparent 100%);
    padding: 1.2rem 1rem 1rem;
    color: white;
    z-index: 5;
}

.property-address {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
}

.property-address svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.property-info-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.property-info-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.property-info-item svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    z-index: 10;
    pointer-events: none;
}

.carousel-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
}

.carousel-btn svg {
    width: 15px;
    height: 15px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 3;
}

.carousel-dots {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.35rem;
    z-index: 10;
}

.carousel-dot {
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: white;
    width: 15px;
    border-radius: 3px;
}

.properties-map {
    position: sticky;
    top: 100px;
    height: fit-content;
}

#map-container {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.map-marker {
    position: absolute;
    transform: translate(-50%, -100%);
    pointer-events: all;
    z-index: 10;
}

.marker-pin {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border: 3px solid white;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.marker-pin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.map-marker:hover .marker-pin,
.map-marker.active .marker-pin {
    transform: rotate(-45deg) scale(1.2);
    background: var(--primary);
}

.marker-tooltip {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    text-align: center;
    line-height: 1.4;
}

.marker-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(44, 62, 80, 0.95);
}

.marker-tooltip small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.map-marker:hover .marker-tooltip,
.map-marker.active .marker-tooltip {
    opacity: 1;
}

/* Expertise Section */
.expertise {
    padding: 6rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.expertise-card {
    background: var(--light);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

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

.expertise-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.expertise-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.expertise-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.expertise-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Testimonials / Introduction Section */
.testimonials {
    padding: 4rem 0;
    background: var(--primary);
    color: white;
}

.testimonials .section-title,
.testimonials .section-subtitle,
.testimonials h2 {
    color: white;
}

.intro-header {
    margin-top: 2.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.introduction-content {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    text-align: center;
    opacity: 0.95;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.stars {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--primary);
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.contact-left h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
}

.contact-description {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    opacity: 0.95;
}

.feature-item svg {
    flex-shrink: 0;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--white);
}

.contact-card:not(.static) {
    cursor: pointer;
}

.contact-card:not(.static):hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-card.static {
    cursor: default;
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-card-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.contact-card-content p {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-card-hint {
    font-size: 0.9rem;
    opacity: 0.7;
}

.contact-card-arrow {
    font-size: 1.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.contact-card:not(.static):hover .contact-card-arrow {
    opacity: 1;
    transform: translateX(5px);
}

.testimonial-header {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    opacity: 0.95;
    color: var(--white);
    text-align: center;
}

.intro-cta-btn {
    background: var(--accent);
    color: var(--primary);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.intro-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.intro-cta-btn:hover {
    background: #d4ad73;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 160, 103, 0.4);
}

.intro-cta-btn:hover::before {
    left: 100%;
}

/* Footer */
footer {
    padding: 2.5rem 0;
    background: #1a252f;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

footer p {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-grid,
    .expertise-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-left h2 {
        font-size: 2.2rem;
    }

    .properties-content {
        grid-template-columns: 1fr;
    }

    .properties-map {
        position: relative;
        top: 0;
        height: 500px;
        order: -1;
    }

    #map-container {
        height: 100%;
    }

    .container {
        padding: 0 1rem;
    }

    #hasznos .expertise-grid {
       grid-template-columns: 1fr !important;
    }

    .contact-cards {
        gap: 1rem;
    }
    
    .contact-card {
        grid-template-columns: auto 1fr;
        padding: 1.5rem;
    }
    
    .contact-card-arrow {
        display: none;
    }

    .kinalat-info-grid {
        grid-template-columns: 1fr !important;
    }
}

.listing-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: var(--light);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.listing-stat-label {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
}

.listing-stat-value {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Statistics section specific styles */
#kinalat .file-input-container {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    border: 2px dashed var(--primary);
    border-radius: 10px;
    background: var(--white);
}

#kinalat .file-label {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

#kinalat .file-label:hover {
    background: #1a252f;
    transform: translateY(-2px);
}

#kinalat .file-name {
    margin-top: 10px;
    color: #555;
    font-size: 14px;
}

#kinalat .zip-checkboxes-container {
    margin-bottom: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
}

#kinalat .zip-checkboxes-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px; /* ADD THIS */
}

#kinalat .zip-checkboxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

#kinalat .zip-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--light);
    border-radius: 6px;
    border: 2px solid #e0e0e0;
    transition: all 0.2s ease;
    cursor: pointer;
}

#kinalat .zip-checkbox-item:hover {
    border-color: var(--primary);
    background: var(--white);
}

#kinalat .zip-checkbox-item input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

#kinalat .zip-checkbox-item label {
    cursor: pointer;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    flex: 1;
    user-select: none;
}

#kinalat .zip-checkbox-item.checked {
    border-color: var(--primary);
    background: var(--white);
}

#kinalat .chart-container {
    position: relative;
    width: 100%;
    height: 600px;
    background: white;
    border-radius: 10px;
    overflow: hidden; /* ADD THIS */
    touch-action: none; /* allow pinch-zoom & wheel gestures */
}

#hasznos .expertise-card {
    display: flex;
    flex-direction: column;
}

#hasznos .expertise-card > p {
    flex: 1;
}

#hasznos .expertise-card > div:last-child {
    margin-top: auto;
}

/* Full Screen Carousel Styles */
.fs-modal {
    display: none;
    position: fixed;
    z-index: 9999; /* Higher than everything else */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    user-select: none;
    align-items: center;
    justify-content: center;
}

.fs-modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.fs-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10002;
}

.fs-close:hover { color: var(--accent); }

.fs-prev, .fs-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    z-index: 10001;
}

.fs-next { right: 0; border-radius: 3px 0 0 3px; }
.fs-prev { left: 0; border-radius: 3px 0 0 3px; }

.fs-prev:hover, .fs-next:hover {
    background-color: var(--accent);
}

.fs-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0,0,0,0.5);
    padding: 5px 15px;
    border-radius: 20px;
}

/* Add cursor pointer to existing images to indicate clickability */
.carousel-images {
    cursor: zoom-in;
}

/* Static testimonials grid - SEO optimized */
#ugyfelvelemenyek .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 968px) {
    #ugyfelvelemenyek .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Video Play Button Styles */
.video-play-button {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: videoPulse 2s ease-in-out infinite;
    z-index: 10;
    border: none;
}

@keyframes videoPulse {
    0% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); transform: scale(1); }
    50% { box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4), 0 0 0 10px rgba(255, 255, 255, 0.2); transform: scale(1.05); }
    100% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); transform: scale(1); }
}

.video-play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    animation: none;
}

.video-play-button svg {
    width: 22px;
    height: 22px;
    fill: var(--primary);
    margin-left: 3px;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16/9;
}

.video-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.video-modal-close:hover { color: var(--accent); }

.video-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* Leaflet Custom Markers */
.custom-map-marker { background: transparent; }

.custom-map-marker .marker-pin {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 3px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    background-color: var(--accent);
    transition: all 0.2s ease;
}

.custom-map-marker.active .marker-pin {
    background-color: var(--primary);
    transform: rotate(-45deg) scale(1.2);
    z-index: 1000;
}