/* ========================================
   IngatlanPro - Modern Real Estate Theme
   ======================================== */

:root {
    --primary: #1a3c5e;
    --primary-light: #2d5a8a;
    --primary-dark: #0f2440;
    --primary-complementary: #f0dbbf;
    --navbar-height: 86px;
    --accent: #c9a96e;
    --accent-light: #dfc08a;
    --accent-dark: #b08d4f;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --shadow-xl: 0 12px 60px rgba(0,0,0,0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}

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

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

/* ===== NAVBAR ===== */
.navbar-brand {
    font-family: 'Rubik', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary) !important;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: var(--accent);
}

.navbar-logo {
    height: 52px;
    width: auto;
    display: block;
}

.footer-logo-link {
    display: inline-block;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    display: block;
}

.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.6rem 0;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 60, 94, 0.35);
    color: #fff;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary-dark);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.4);
    color: var(--primary-dark);
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.7rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    background: transparent;
}

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

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 30vh;
    padding-top: var(--navbar-height);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,128C672,107,768,85,864,90.7C960,96,1056,128,1152,138.7C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(201, 169, 110, 0.3);
    border-radius: 50%;
    animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(3) { left: 35%; animation-delay: 4s; animation-duration: 20s; }
.particle:nth-child(4) { left: 50%; animation-delay: 1s; animation-duration: 16s; }
.particle:nth-child(5) { left: 65%; animation-delay: 3s; animation-duration: 22s; }
.particle:nth-child(6) { left: 75%; animation-delay: 5s; animation-duration: 13s; }
.particle:nth-child(7) { left: 85%; animation-delay: 0.5s; animation-duration: 17s; }
.particle:nth-child(8) { left: 92%; animation-delay: 2.5s; animation-duration: 19s; }

@keyframes float-particle {
    0%, 100% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--accent);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    max-width: 560px;
    font-weight: 300;
    line-height: 1.8;
}

/* ===== SEARCH BOX ===== */
.search-box {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.search-box .form-control,
.search-box .form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.search-box .form-control:focus,
.search-box .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.15);
}

.search-box label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== SECTION STYLES ===== */
.section-padding {
    padding: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .overline {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 2.5rem;
    margin-bottom: 0;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== STATS ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201,169,110,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: 'Rubik', Georgia, serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== PROPERTY CARDS ===== */
.property-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.property-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.property-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-dark);
    color: #fff;
    border: 2px solid #fff;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.property-badge-rental {
    background: var(--primary-complementary);
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.property-video-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(15, 36, 64, 0.85);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.property-video-badge > i {
    font-size: 0.75rem;
    color: var(--accent);
}

.property-card .card-body {
    padding: 1.5rem;
}

.property-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.property-card .card-title a:hover {
    color: var(--accent);
}

/* A teljes kártya kattintható */
.property-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.property-card-link:hover .property-card .card-title {
    color: var(--accent);
}

/* Fotószám badge (bal alsó sarok) */
.property-photo-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.property-photo-badge > i {
    font-size: 0.75rem;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.property-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-dark);
    margin-bottom: 1rem;
    font-family: 'Rubik', Georgia, serif;
}

.property-specs {
    display: flex;
    gap: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.property-spec {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.property-spec i {
    color: var(--primary);
    font-size: 1rem;
}

.spec-icon {
    color: var(--primary);
}

/* ===== FEATURED PROPERTY ===== */
.featured-property {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.featured-property:hover {
    box-shadow: var(--shadow-xl);
}

.featured-img {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
}

.featured-overlay h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.featured-overlay .property-price {
    color: var(--accent);
    font-size: 1.8rem;
}

/* ===== SERVICES ===== */
.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(26,60,94,0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
    transform: rotateY(180deg);
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.2;
    font-family: 'Rubik', Georgia, serif;
    line-height: 1;
}

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

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
}

.testimonial-name {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== ABOUT PAGE ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 8rem 0 7rem;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-light);
}

.page-hero h1 {
    color: #fff;
    font-size: 3rem;
}

.page-hero .breadcrumb {
    background: none;
    margin-bottom: 0;
    padding: 0;
}

.page-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.page-hero .breadcrumb-item a:hover {
    color: var(--accent);
}

.page-hero .breadcrumb-item.active {
    color: var(--accent);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* ===== TEAM ===== */
.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

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

.team-card .card-img-top {
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .card-img-top {
    transform: scale(1.05);
}

.team-card .card-body {
    padding: 1.5rem;
}

.team-card h5 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.team-card .text-muted {
    font-size: 0.9rem;
    color: var(--accent) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.team-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    font-size: 0.9rem;
}

.team-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* ===== FILTER SIDEBAR ===== */
.filter-sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
}

.filter-sidebar h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    color: var(--primary);
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.filter-group .form-control,
.filter-group .form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.filter-group .form-control:focus,
.filter-group .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.price-range {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.price-range span {
    color: var(--text-muted);
    font-weight: 500;
}

.checkbox-group .form-check {
    margin-bottom: 0.5rem;
}

.checkbox-group .form-check-label {
    font-weight: 400;
    color: var(--text-dark);
    cursor: pointer;
}

.checkbox-group .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.filter-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.filter-actions .btn {
    flex: 1;
    padding: 0.65rem;
    font-size: 0.9rem;
}

/* ===== PROPERTY DETAIL ===== */
.property-gallery {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.property-video {
    margin-bottom: 2rem;
}

.property-video h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.property-video .video-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
}

.gallery-main {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    z-index: 2;
}

.gallery-nav:hover {
    background: var(--primary);
    color: #fff;
}

.gallery-nav.prev { left: 1rem; }
.gallery-nav.next { right: 1rem; }

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.gallery-thumbnails img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    border: 2px solid transparent;
}

.gallery-thumbnails img:hover,
.gallery-thumbnails img.active {
    opacity: 1;
    border-color: var(--accent);
}

.property-detail-header {
    margin-bottom: 2rem;
}

.property-detail-header .property-location {
    margin-bottom: 0;
}

.property-detail-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.property-detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-dark);
    font-family: 'Rubik', Georgia, serif;
}

.price-capsule {
    display: inline-flex;
    align-items: stretch;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.property-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.4rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary-dark);
    font-family: 'Rubik', Georgia, serif;
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1;
    white-space: nowrap;
}

.property-price-badge > i {
    font-size: 1rem;
    color: var(--primary-dark);
}

.price-per-sqm {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.price-per-sqm > i {
    color: var(--accent);
    font-size: 0.9rem;
}

.price-per-sqm strong {
    color: #fff;
    font-weight: 800;
}

.property-detail-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.detail-spec.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    font-weight: 400;
}

.detail-spec.badge > i {
    color: var(--accent);
    font-size: 0.95rem;
}

.detail-spec .spec-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

.detail-spec .spec-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.detail-section {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.detail-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    color: var(--primary);
}

.property-map {
    width: 100%;
    height: 380px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    z-index: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.feature-list-3 {
    grid-template-columns: repeat(3, 1fr);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    min-width: 0;
    overflow-wrap: break-word;
}

.feature-list li i {
    color: var(--accent);
    font-size: 0.9rem;
    width: 20px;
}

/* ===== AGENT CARD ===== */
.agent-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.agent-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.agent-card-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    flex-shrink: 0;
}

.agent-card-photo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 1.6rem;
}

.agent-card-name {
    margin-bottom: 0.15rem;
    font-size: 1.2rem;
    color: var(--primary);
}

.agent-card-title {
    font-size: 0.85rem;
    color: var(--accent-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== INQUIRY CARD ===== */
.inquiry-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
}

.inquiry-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.reference-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    margin-bottom: 1.25rem;
    background: rgba(201, 169, 110, 0.12);
    border: 1px dashed var(--accent-dark);
    border-radius: var(--radius-sm);
}

.reference-code-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.reference-code-value {
    font-family: 'Rubik', Georgia, serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary);
    white-space: nowrap;
}

.reference-code-value > i {
    color: var(--accent-dark);
    margin-right: 0.25rem;
    font-size: 0.85rem;
}

.inquiry-card .form-control,
.inquiry-card .form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.inquiry-card .form-control:focus,
.inquiry-card .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.inquiry-card textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== SHARE BLOCK ===== */
.share-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.share-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.share-badge i {
    color: var(--primary);
    font-size: 0.95rem;
}

.share-badge:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.share-badge:hover i {
    color: #fff;
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.agent-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.agent-info h6 {
    margin-bottom: 0.1rem;
    font-size: 1rem;
    color: var(--primary);
}

.agent-info small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===== PAGINATION ===== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination .page-item .page-link {
    border: 2px solid var(--border-color);
    color: var(--primary);
    padding: 0.6rem 1rem;
    margin: 0 0.2rem;
    border-radius: var(--radius-sm) !important;
    font-weight: 600;
    transition: var(--transition);
}

.pagination .page-item .page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
}

.pagination .page-item.disabled .page-link {
    color: var(--text-muted);
    border-color: var(--border-color);
    background: var(--bg-light);
}

/* ===== CONTACT ===== */
.contact-info-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(26,60,94,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
}

.contact-info-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.contact-info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 3rem;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 0;
    margin-top: 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light), var(--accent));
}

.footer h5 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-about {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 0.95rem;
}

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

.footer-links a i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 0.3rem;
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.9rem;
}

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

.footer-bottom a:hover {
    color: var(--accent-light);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    border: none;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    border: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* ===== LOADING ANIMATION ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== 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);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .filter-sidebar {
        position: static;
        margin-bottom: 2rem;
        display: none;
    }

    .filter-sidebar.show {
        display: block;
    }

    .gallery-main {
        height: 350px;
    }

    .property-detail-specs {
        flex-wrap: wrap;
    }
}

@media (max-width: 767.98px) {
    /* Mobilon a hero a tartalmához igazodik, így a kereső nem lóg a fejléc alá */
    .hero-section {
        min-height: auto;
        padding-top: calc(var(--navbar-height) + 0.5rem);
        padding-bottom: 1rem;
        align-items: stretch;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 1.9rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .gallery-main {
        height: 280px;
    }

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

    .feature-list {
        grid-template-columns: 1fr;
    }

    .property-detail-header h1 {
        font-size: 1.6rem;
    }

    .property-detail-price {
        font-size: 1.5rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .property-price-badge {
        font-size: 1.15rem;
        padding: 0.5rem 1.1rem;
    }

    .search-box {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-thumbnails img {
        height: 70px;
    }

    .property-detail-specs {
        gap: 1rem;
    }

    .detail-spec .spec-value {
        font-size: 1.2rem;
    }
}

/* ===== PRINT / PDF ===== */
.print-header { display: none; }

@media print {
    /* Csak a tartalom: menü, lábléc, oldalsáv, űrlap, megosztás, galéria-navigáció, sütibanner, videó elrejtése */
    .navbar,
    .footer,
    .back-to-top,
    .whatsapp-btn,
    .page-hero,
    .loading-overlay,
    .hero-particles,
    .detail-sidebar,
    .inquiry-card,
    .share-block,
    .gallery-nav,
    .gallery-thumbnails,
    .property-gallery .badge,
    .property-video,
    .no-print-related,
    .cookie-consent {
        display: none !important;
    }

    /* Kisebb betűméret nyomtatásban */
    html, body {
        background: #fff !important;
        opacity: 1 !important;
        font-size: 11px !important;
    }

    h1 { font-size: 18px !important; }
    h2 { font-size: 16px !important; }
    h3 { font-size: 13px !important; }
    h4, h5, h6 { font-size: 12px !important; }
    .property-detail-header h1,
    .detail-section h3,
    .property-video h3 { font-size: 14px !important; }

    /* Nyomtatási fejléc megjelenítése */
    .print-header {
        display: block !important;
        border-bottom: 1px solid #000 !important;
        padding-bottom: 4px;
        margin-bottom: 10px;
        font-size: 11px !important;
    }
    .print-header .print-ref-label { font-weight: 400; }

    /* Minden szín/stílus semlegesítése: fekete szöveg, háttér és díszítés nélkül */
    * {
        color: #000 !important;
        background: transparent !important;
        background-image: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
        border-color: transparent !important;
    }

    /* A scroll-animációk ne rejtsék el a tartalmat nyomtatásban */
    .fade-in,
    .slide-in-left,
    .slide-in-right {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Badge-ek és díszített elemek sima szövegként */
    .badge,
    .detail-spec,
    .detail-spec.badge,
    .property-price-badge,
    .spec-value,
    .spec-label {
        background: none !important;
        border: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        font-weight: 400 !important;
        color: #000 !important;
    }

    /* Elrendezés: teljes szélesség, csak a főkép
       (.property-gallery-ben a thumbnail-ök rejtve, így csak a főkép marad) */
    .property-gallery {
        break-inside: avoid;
    }

    .gallery-main {
        height: auto !important;
        overflow: visible !important;
    }

    .gallery-main img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .col-lg-8 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    a {
        color: #000 !important;
        text-decoration: none !important;
    }

    @page {
        margin: 1.2cm;
    }
}





/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1090;
    background: var(--bg-white);
    box-shadow: 0 -6px 30px rgba(0,0,0,0.18);
    border-top: 3px solid var(--accent);
    padding: 1.25rem 0;
}

.cookie-consent[hidden] { display: none; }

.cookie-consent-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent-text { flex: 1 1 480px; }
.cookie-consent-text h5 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--primary);
}
.cookie-consent-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.cookie-policy-link { color: var(--accent-dark); font-weight: 600; text-decoration: underline; }

.cookie-consent-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cookie-settings {
    max-width: 1140px;
    margin: 1rem auto 0;
    padding: 1rem 1rem 0;
    border-top: 1px solid var(--border-color);
}
.cookie-settings[hidden] { display: none; }
.cookie-settings h6 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.cookie-category { margin-bottom: 1rem; }
.cookie-category small { display: block; margin-left: 2.6rem; }

.footer-cookie-btn {
    background: none;
    border: 0;
    padding: 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}
.footer-cookie-btn:hover { color: var(--accent); padding-left: 5px; }
.footer-cookie-btn i { margin-right: 0.5rem; font-size: 0.8rem; }

@media (max-width: 767.98px) {
    .cookie-consent-actions { width: 100%; }
    .cookie-consent-actions .btn { flex: 1; }
}






