/* ==========================================================================
   ingatlan.es — Modern világos mediterrán stílusú landing page stíluslap
   ========================================================================== */

:root {
    --primary: #0d3b66;
    --primary-dark: #07223d;
    --primary-light: #1d4e89;
    --accent: #f4a261;
    --accent-hover: #e76f51;
    --accent-gold: #e59866;
    --whatsapp: #25d366;
    
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-subtle: #f1f5f9;
    --bg-hero-overlay: linear-gradient(135deg, rgba(13, 59, 102, 0.85) 0%, rgba(29, 78, 137, 0.7) 100%);

    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
    --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.14);
    
    --transition: all 0.28s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-page);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Felső információs sáv */
.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13.5px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-contacts {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-weight: 600;
}

.top-phone-link:hover {
    color: var(--accent);
}

.badge-24h {
    background: rgba(244, 162, 97, 0.2);
    color: var(--accent);
    border: 1px solid rgba(244, 162, 97, 0.4);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Fő navigációs fejléc */
.main-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.brand-logo img {
    height: 52px;
    width: auto;
}

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

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    padding: 6px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 59, 102, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(13, 59, 102, 0.35);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(244, 162, 97, 0.35);
}

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

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

.btn-outline:hover {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #1eb956;
    transform: translateY(-2px);
}

/* Mobil menü gomb */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero szekció */
.hero {
    position: relative;
    padding: 110px 0 130px;
    background: url('../images/hero-bg.jpg') center center/cover no-repeat;
    color: #ffffff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--bg-hero-overlay);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 18.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 2px;
}

.stat-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Szekció közös stílusok */
.section {
    padding: 85px 0;
}

.section-alt {
    background-color: var(--bg-subtle);
}

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

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(13, 59, 102, 0.08);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 14px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
}

/* Régiók kártyarács */
.region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.region-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.region-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.region-image {
    position: relative;
    height: 230px;
    overflow: hidden;
}

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

.region-card:hover .region-image img {
    transform: scale(1.06);
}

.region-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(13, 59, 102, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.region-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.region-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.region-cities {
    font-size: 13.5px;
    color: var(--accent-hover);
    font-weight: 600;
    margin-bottom: 12px;
}

.region-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.region-link {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.region-link:hover {
    color: var(--accent-hover);
    gap: 10px;
}

/* Kiemelt kategóriák (Ingatlantípusok) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-img-wrap {
    height: 170px;
    overflow: hidden;
}

.category-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover .category-img-wrap img {
    transform: scale(1.05);
}

.category-content {
    padding: 20px;
}

.category-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.category-text {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

/* Szolgáltatások (Előnyök) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(13, 59, 102, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.service-text {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Banner / CTA sáv */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-shadow: var(--shadow-xl);
}

.cta-banner-text h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.cta-banner-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

.cta-banner-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

/* Vélemények (Testimonials) */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background-color: var(--bg-card);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    font-size: 15px;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.65;
    margin-bottom: 24px;
    position: relative;
}

.testimonial-quote::before {
    content: '“';
    font-size: 40px;
    color: var(--accent);
    line-height: 0;
    display: inline-block;
    vertical-align: -10px;
    margin-right: 4px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--accent);
}

.testimonial-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.testimonial-location {
    font-size: 13px;
    color: var(--text-muted);
}

/* Kapcsolat szekció (Közvetlen kapcsolati kártyák) */
.contact-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-hub-card {
    background-color: var(--bg-card);
    padding: 36px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.contact-hub-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.contact-hub-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(13, 59, 102, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 22px;
}

.contact-hub-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.contact-hub-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-hub-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.contact-detail-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-label {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.detail-link:hover {
    color: var(--accent-hover);
}

.detail-text {
    font-size: 14.5px;
    color: var(--text-main);
    font-weight: 500;
}

/* Lábléc (Footer) */
.main-footer {
    background-color: var(--primary-dark);
    color: #ffffff;
    padding: 60px 0 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
    margin-bottom: 45px;
}

.footer-logo img {
    height: 48px;
    margin-bottom: 16px;
}

.footer-about {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a {
    color: var(--accent);
    font-weight: 600;
}

/* Lebegő WhatsApp gomb */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--whatsapp);
    color: #ffffff;
    width: 58px;
    height: 58px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

/* Reszponzív nézetek */
@media (max-width: 1024px) {
    .region-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-hub-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .navbar {
        height: 70px;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #ffffff;
        flex-direction: column;
        padding: 30px 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        align-items: flex-start;
    }
    .nav-links.active {
        left: 0;
    }
    .nav-cta {
        display: none;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .region-grid {
        grid-template-columns: 1fr;
    }
    .category-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .contact-hub-grid {
        grid-template-columns: 1fr;
    }
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 36px 24px;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
