/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: hsl(0, 0%, 15%);
    background: hsl(0, 0%, 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: #2e6050;
    color: hsl(0, 0%, 98%);
    padding: 0.5rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.header-company {
    font-weight: 700;
    font-size: 0.875rem;
}

.header-contacts {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.875rem;
}

.header-contacts a {
    color: hsl(0, 0%, 98%);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 700;
}

.header-contacts a:hover {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: underline;
}

.separator {
    color: rgba(255, 255, 255, 0.5);
}

/* Navigation */
.navigation {
    position: relative;
    background: hsl(0, 0%, 100%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid hsl(0, 0%, 90%);
}

.nav-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 384px;
    height: 100%;
    background-image: url('images/logo-2.jpg');
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    opacity: 0.9;
    pointer-events: none;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 112px;
    position: relative;
    z-index: 1;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0.25rem 0 0 0;
    padding-top: 1.5rem;
}

.nav-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin-right: 10rem;
}

.nav-menu a {
    color: #2e6050;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #2e6050;
    opacity: 0.8;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 1.75rem;
    height: 0.2rem;
    background: #2e6050;
    border-radius: 0.1rem;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

/* Hero */
.hero {
    position: relative;
    height: calc(100vh - 150px); /* fallback; JS setHeroHeight() pontosítja */
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content {
    max-width: 48rem;
    padding-left: 0;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: hsl(0, 0%, 98%);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: hsl(0, 0%, 98%);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #2e6050;
    color: hsl(0, 0%, 98%);
    border: 0;
}

.btn-primary:hover {
    background: #2e6050;
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: hsl(0, 0%, 98%);
    border: 2px solid hsl(0, 0%, 98%);
    font-weight: 600;
}

.btn-outline:hover {
    background: hsl(0, 0%, 98%);
    color: #2e6050;
}

.btn-outline-dark {
    background: transparent;
    color: hsl(0, 0%, 20%);
    border: 2px solid hsl(0, 0%, 20%);
}

.btn-outline-dark:hover {
    background: hsl(0, 0%, 20%);
    color: hsl(0, 0%, 100%);
}

.btn-secondary {
    background: hsl(0, 0%, 96%);
    color: hsl(0, 0%, 20%);
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: hsl(0, 0%, 90%);
}

.btn-large {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-outline-full {
    background: transparent;
    color: #2e6050;
    border: 2px solid #2e6050;
    width: 100%;
    font-weight: 600;
}

.btn-outline-full:hover {
    background: #2e6050;
    color: hsl(0, 0%, 100%);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(0, 0%, 15%);
}

.section-header p {
    font-size: 1.125rem;
    color: hsl(0, 0%, 45%);
    max-width: 42rem;
    margin: 0 auto;
}

/* Type Houses */
.type-houses {
    padding: 5rem 0;
    background-color: hsl(0, 0%, 100%);
    background-image: url('images/tapeta.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.type-houses-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.type-house-featured {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    background: hsl(0, 0%, 100%);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.type-house-featured:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border-color: #2e6050;
}

.type-house-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.type-house-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.type-house-image:hover img {
    transform: scale(1.1);
}

.badge-size,
.badge-popular {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.badge-size {
    top: 1rem;
    left: 1rem;
    color: hsl(0, 0%, 20%);
}

.badge-popular {
    top: 1rem;
    right: 1rem;
    background: #2e6050;
    color: hsl(0, 0%, 100%);
}

.type-house-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.label {
    display: inline-block;
    background: hsl(0, 0%, 96%);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(0, 0%, 45%);
    margin-bottom: 1rem;
    width: fit-content;
}

.type-house-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(0, 0%, 15%);
}

.type-house-info p {
    color: hsl(0, 0%, 45%);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: #2e6050;
    margin-bottom: 0.5rem;
}

.price-note {
    font-size: 0.875rem;
    color: hsl(0, 0%, 60%);
    margin-bottom: 1.5rem;
}

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

.type-house-small {
    background: hsl(0, 0%, 100%);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.type-house-small:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border-color: #2e6050;
}

.type-house-image-sm {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.type-house-image-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.type-house-image-sm:hover img {
    transform: scale(1.1);
}

.badge-size-sm {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: hsl(0, 0%, 20%);
}

.type-house-info-sm {
    padding: 1.5rem;
}

.type-house-info-sm h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(0, 0%, 15%);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.price-sm {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2e6050;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: hsl(0, 0%, 98%);
}

.cta-content {
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: hsl(0, 0%, 15%);
}

.cta-content p {
    font-size: 1.125rem;
    color: hsl(0, 0%, 45%);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-contacts {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-contacts a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(0, 0%, 20%);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 0.2s;
}

.cta-contacts a:hover {
    color: #2e6050;
}

/* Benefits Section */
.benefits-section {
    position: relative;
    padding: 5rem 0;
    background-color: hsl(0, 0%, 98%);
    background-image: url('images/tapeta2-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.benefits-overlay {
    position: absolute;
    inset: 0;
    background: hsla(0, 0%, 98%, 0.6);
}

.benefits-section .container {
    position: relative;
    z-index: 1;
}

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

.benefit-card {
    background: hsl(0, 0%, 100%);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid hsl(0, 0%, 90%);
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-color: #2e6050;
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    background: rgba(46, 96, 80, 0.1);
    color: #2e6050;
    transition: all 0.3s;
}

.benefit-card:hover .benefit-icon {
    background: #2e6050;
    color: hsl(0, 0%, 100%);
    transform: scale(1.1);
}

.benefit-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: hsl(0, 0%, 15%);
}

.benefit-card p {
    color: hsl(0, 0%, 45%);
    line-height: 1.7;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: hsl(0, 0%, 100%);
}

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

.service-card {
    position: relative;
    background: hsl(160, 20%, 95%);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid hsl(0, 0%, 90%);
    transition: all 0.3s;
    overflow: hidden;
}

.service-card:hover {
    border-color: #2e6050;
    transform: translateY(-4px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    background: #2e6050;
    color: hsl(0, 0%, 100%);
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(0, 0%, 15%);
}

.service-card p {
    color: hsl(0, 0%, 45%);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-card li {
    padding: 0.5rem 0;
    color: hsl(0, 0%, 15%);
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.875rem;
}

.service-card li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: #2e6050;
}

.service-card .btn-outline-full:hover {
    background: #2e6050;
    color: hsl(0, 0%, 100%);
    border-color: #2e6050;
}

.service-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(46, 96, 80, 0.05));
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.service-card:hover .service-gradient {
    opacity: 1;
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: hsl(0, 0%, 98%);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-grid::before {
    content: "";
    position: absolute;
    top: 5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, rgba(46, 96, 80, 0.2), #2e6050, rgba(46, 96, 80, 0.2));
}

.process-step {
    position: relative;
}

.process-number {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #2e6050;
    color: hsl(0, 0%, 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    z-index: 1;
}

.process-step:hover .process-number {
    transform: scale(1.1);
}

.process-content {
    background: hsl(0, 0%, 100%);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid hsl(0, 0%, 90%);
    height: 100%;
    transition: all 0.3s;
}

.process-step:hover .process-content {
    border-color: #2e6050;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.process-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    background: rgba(46, 96, 80, 0.1);
    color: #2e6050;
    transition: all 0.3s;
}

.process-step:hover .process-icon {
    background: #2e6050;
    color: hsl(0, 0%, 100%);
    transform: scale(1.1);
}

.process-icon svg {
    width: 2rem;
    height: 2rem;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: hsl(0, 0%, 15%);
}

.process-step p {
    color: hsl(0, 0%, 45%);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: hsl(0, 0%, 100%);
}

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

.testimonial-card {
    position: relative;
    background: hsl(160, 20%, 95%);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid hsl(0, 0%, 90%);
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: #2e6050;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.quote-icon {
    position: absolute;
    top: -1rem;
    left: 2rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #2e6050;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(0, 0%, 100%);
}

.quote-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.star {
    width: 1rem;
    height: 1rem;
    fill: #2e6050;
    color: #2e6050;
}

.testimonial-card p {
    color: hsl(0, 0%, 15%);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.author {
    border-top: 1px solid hsl(0, 0%, 90%);
    padding-top: 1rem;
}

.name {
    font-weight: 700;
    color: hsl(0, 0%, 15%);
}

.location {
    color: hsl(0, 0%, 45%);
    font-size: 0.875rem;
}

.project {
    color: #2e6050;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: #f0f5f3;
}

.faq-container {
    max-width: 56rem;
    margin: 0 auto;
}

.faq-item {
    background: hsl(0, 0%, 100%);
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid hsl(0, 0%, 90%);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #2e6050;
    box-shadow: 0 2px 8px rgba(46, 96, 80, 0.1);
}

.faq-question {
    padding: 1rem 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: hsl(0, 0%, 15%);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: hsl(0, 0%, 98%);
    color: #2e6050;
}

.faq-icon {
    font-size: 1.25rem;
    color: #2e6050;
    transition: transform 0.3s ease;
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.25rem 1rem;
    color: hsl(0, 0%, 45%);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #2e6050;
    color: hsl(0, 0%, 95%);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(0, 0%, 100%);
}

.footer-col h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: hsl(0, 0%, 100%);
}

.footer-col p {
    color: hsl(0, 0%, 85%);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: hsl(0, 0%, 100%);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: hsl(0, 0%, 85%);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: hsl(0, 0%, 100%);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: hsl(0, 0%, 85%);
}

.footer-contact svg {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: hsl(0, 0%, 70%);
    margin: 0;
    font-size: 0.85rem;
}

.footer-bottom p a {
    color: hsl(0, 0%, 70%);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom p a:hover {
    color: hsl(0, 0%, 100%);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-links a {
    color: hsl(0, 0%, 70%);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: hsl(0, 0%, 100%);
}

.footer-links span {
    color: hsl(0, 0%, 50%);
}


/* ============================================================
   HOUSE DETAIL PAGE – csaladi-hazak-reszlet.php
   ============================================================ */

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #2e6050;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* Breadcrumb */
.breadcrumb-nav {
    background: hsl(0, 0%, 97%);
    border-bottom: 1px solid hsl(0, 0%, 90%);
    padding: 0.75rem 0;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: hsl(0, 0%, 50%);
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb li + li::before {
    content: "›";
    color: hsl(0, 0%, 70%);
}

.breadcrumb a {
    color: #2e6050;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
    color: hsl(0, 0%, 30%);
    font-weight: 600;
}

/* Section label */
.section-label {
    display: inline-block;
    background: rgba(46, 96, 80, 0.1);
    color: #2e6050;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* House Detail Section */
.house-detail-section {
    padding: 2rem 0 3rem;
}

.house-detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Image Gallery */
.house-image-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0; /* prevent grid blowout */
}

.house-image-main {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.house-image-main img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.house-image-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.house-image-thumbs img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.house-image-thumbs img:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

/* House Info */
.house-info {
    position: sticky;
    top: 2rem;
    min-width: 0; /* prevent grid blowout */
}

.house-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: hsl(0, 0%, 12%);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.house-info > p {
    color: hsl(0, 0%, 40%);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.specs-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid hsl(0, 0%, 92%);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td:first-child {
    font-weight: 600;
    color: hsl(0, 0%, 25%);
    white-space: nowrap;
    width: 40%;
}

.specs-table td:last-child {
    color: hsl(0, 0%, 40%);
}

.specs-table tr:nth-child(even) {
    background: hsl(0, 0%, 98%);
}

/* Price Block */
.house-price-block {
    background: hsl(160, 15%, 96%);
    border: 1px solid hsl(160, 15%, 88%);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.house-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
}

.house-price-row + .house-price-row {
    border-top: 1px solid hsl(160, 15%, 88%);
}

.house-price-label {
    font-size: 0.9rem;
    color: hsl(0, 0%, 40%);
    font-weight: 500;
}

.house-price-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #2e6050;
}

/* Gallery Section – 5 columns */
.hazak-galeria-section {
    padding: 3rem 0 4rem;
    background: hsl(0, 0%, 98%);
}

.hazak-galeria-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.hazak-galeria-item {
    position: relative;
    display: block;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.hazak-galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hazak-galeria-item:hover img {
    transform: scale(1.08);
}

.hazak-galeria-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: #fff;
}

.hazak-galeria-item:hover .hazak-galeria-overlay {
    opacity: 1;
}


/* ============================================================
   RESPONSIVE
   Egyetlen konszolidált responsive blokk
   ============================================================ */

/* --- Tablet: max 1024px --- */
@media (max-width: 1024px) {
    body {
        padding-top: 0;
    }

    .header {
        position: relative;
    }

    .header-content {
        justify-content: center;
        text-align: center;
    }

    .navigation {
        position: relative;
        z-index: 100;
        background: hsl(0, 0%, 100%);
        overflow: visible;
    }

    .navigation .container {
        overflow: visible;
    }

    .nav-background {
        display: none;
    }

    .nav-content {
        position: relative;
        align-items: center;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        height: auto;
        min-height: 0;
    }

    .nav-logo {
        margin-left: -40px;
        margin-top: 5px;
        padding-top: 0;
        height: auto;
        max-width: 70%;
        position: relative;
        z-index: 1001;
    }

    .nav-logo img {
        height: auto;
        width: 100%;
        max-height: 55px;
        object-fit: contain;
    }

    .hamburger {
        display: flex;
        margin-top: 0;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: hsl(0, 0%, 100%);
        flex-direction: column;
        padding: 0;
        margin: 0;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        max-height: 500px;
        padding: 1rem;
    }

    .nav-menu li {
        border-bottom: 1px solid hsl(0, 0%, 90%);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
    }

    .type-house-featured {
        grid-template-columns: 1fr;
    }

    .type-houses-grid,
    .benefits-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    /* House detail – tablet */
    .house-detail-layout {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .house-info h1 {
        font-size: 1.75rem;
    }

    .hazak-galeria-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Small tablet / large phone: max 768px --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .type-houses-grid,
    .benefits-grid,
    .services-grid,
    .process-grid,
    .testimonials-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-header h2,
    .cta-content h2 {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* House detail – mobile */
    .house-detail-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .house-info {
        position: static;
    }

    .house-info h1 {
        font-size: 1.5rem;
    }

    .house-image-thumbs {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .house-price-value {
        font-size: 1.05rem;
    }

    .house-price-label {
        font-size: 0.85rem;
    }

    .specs-table td:first-child {
        width: auto;
    }

    .hazak-galeria-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .hazak-galeria-section {
        padding: 2rem 0 3rem;
    }
}

/* --- Phone: max 480px --- */
@media (max-width: 480px) {
    .house-detail-section {
        padding: 1rem 0 2rem;
    }

    .house-detail-layout {
        gap: 1.25rem;
    }

    .house-info h1 {
        font-size: 1.35rem;
    }

    .house-info > p {
        font-size: 0.9rem;
    }

    .house-image-main {
        border-radius: 0.5rem;
    }

    .house-image-thumbs {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }

    .house-image-thumbs img {
        border-radius: 0.35rem;
    }

    .specs-table {
        font-size: 0.825rem;
    }

    .specs-table td {
        padding: 0.5rem 0.5rem;
    }

    .specs-table td:first-child {
        white-space: normal;
    }

    .house-price-block {
        padding: 1rem;
    }

    .house-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }

    .house-price-value {
        font-size: 1.1rem;
    }

    .hazak-galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .btn-primary.btn-full,
    .btn-outline-full {
        font-size: 0.95rem;
        padding: 0.85rem 1.5rem;
    }

    .house-detail-section h2 {
        font-size: 1.35rem;
    }

    .house-detail-section p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}