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

:root {
    --primary: #006D44;
    --primary-dark: #005535;
    --primary-light: #e8f5ef;
    --accent: #00a86b;
    --text-dark: #1a1a1a;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-gray: #f8f9fa;
    --border: #e5e7eb;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 16px;
    --footer-bg: #0d2b1f;
    --topbar-height: 40px;
    --navbar-height: 72px;
    --header-total: calc(var(--topbar-height) + var(--navbar-height));
    --sahibinden-yellow: #FFE800;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.5;
}

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

.section-gray {
    background: var(--bg-gray);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.section-title.center {
    text-align: center;
}

.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-header-row h2 {
    font-size: 1.75rem;
    font-weight: 700;
}

.link-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.link-all:hover {
    opacity: 0.8;
}

/* TOP BAR */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-height);
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    z-index: 1001;
    font-size: 0.8rem;
}

.topbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-social a {
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.topbar-social a:hover {
    color: white;
}

.topbar-sahibinden {
    display: flex;
    align-items: center;
    line-height: 1;
}

.topbar-sahibinden:hover {
    color: inherit;
}

.topbar-sahibinden-logo {
    width: 22px;
    height: 22px;
    background: var(--sahibinden-yellow);
    color: #1a1a1a;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.85rem;
    font-style: italic;
    flex-shrink: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.topbar-sahibinden:hover .topbar-sahibinden-logo {
    transform: scale(1.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.topbar-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    white-space: nowrap;
}

a.topbar-item:hover {
    color: white;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-section {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo {
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s;
}

.logo-section:hover .site-logo {
    opacity: 0.9;
}

.site-logo--footer {
    height: 52px;
    max-width: 220px;
    margin-bottom: 16px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-button {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.cta-button:hover {
    background: var(--primary-dark);
}

.icon-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
}

.icon-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
}

/* SABİT SOL ALT BUTONLAR */
.fixed-contact {
    position: fixed;
    left: 20px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fixed-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.fixed-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.sahibinden-btn {
    background: var(--sahibinden-yellow);
    color: #1a1a1a;
    border: 2px solid #e6d200;
}

.sahibinden-logo {
    width: 28px;
    height: 28px;
    background: #1a1a1a;
    color: var(--sahibinden-yellow);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    font-style: italic;
    flex-shrink: 0;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn svg {
    flex-shrink: 0;
}

/* HERO */
.hero {
    position: relative;
    min-height: calc(92vh - var(--topbar-height));
    margin-top: var(--header-total);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, #003d26 0%, #005a38 35%, #004830 60%, #002818 100%);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.4) 0%, transparent 45%),
        linear-gradient(30deg, transparent 48%, rgba(255, 255, 255, 0.06) 49%, rgba(255, 255, 255, 0.06) 51%, transparent 52%),
        linear-gradient(150deg, transparent 48%, rgba(255, 255, 255, 0.05) 49%, rgba(255, 255, 255, 0.05) 51%, transparent 52%);
    background-size: 100% 100%, 48px 48px, 48px 48px;
}

.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-bg-glow--1 {
    width: 420px;
    height: 420px;
    top: -80px;
    right: 8%;
    background: rgba(0, 180, 120, 0.35);
}

.hero-bg-glow--2 {
    width: 320px;
    height: 320px;
    bottom: -60px;
    left: 15%;
    background: rgba(0, 100, 200, 0.2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0, 30, 18, 0.75) 0%, rgba(0, 40, 25, 0.45) 42%, rgba(0, 35, 22, 0.25) 100%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: center;
    padding: 80px 24px 60px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.search-bar {
    display: flex;
    align-items: stretch;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 24px;
}

.search-field {
    flex: 1;
    padding: 14px 18px;
    min-width: 0;
}

.search-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.search-field select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    font-family: inherit;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 18px;
}

.search-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
    margin: 12px 0;
}

.search-button {
    width: 64px;
    background: var(--primary);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.search-button:hover {
    background: var(--primary-dark);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
}

.trust-item strong {
    color: white;
}

/* Hero marka vitrini */
.hero-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    padding: 12px 0;
}

.hero-logo-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 200, 130, 0.45) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    pointer-events: none;
    animation: heroGlowPulse 4s ease-in-out infinite;
}

.hero-logo-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    padding: 36px 32px 28px;
    background: linear-gradient(165deg, #ffffff 0%, #f8faf9 100%);
    border-radius: 24px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.06),
        0 24px 48px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    animation: heroLogoFloat 5s ease-in-out infinite;
}

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

.hero-logo-accent {
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(90deg, #00a86b 0%, #006D44 50%, #0088cc 100%);
}

.hero-brand-tagline {
    margin: 24px 0 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.02em;
    text-align: center;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.hero-brand-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.hero-brand-badges span {
    padding: 8px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    backdrop-filter: blur(8px);
}

.hero-brand-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: white;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 100px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.hero-brand-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    background: var(--primary-light);
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes heroGlowPulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -52%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -52%) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo-panel,
    .hero-logo-glow {
        animation: none;
    }
}

/* STATS BAR */
.stats-bar {
    background: white;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

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

/* PROPERTIES */
.properties {
    padding: 72px 0;
}

.listings-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: white;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.carousel-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    flex: 1;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.properties-grid::-webkit-scrollbar {
    display: none;
}

.property-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.property-badge.hot {
    background: #e67e22;
}

.heart-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: white;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.heart-btn:hover {
    transform: scale(1.1);
}

.heart-btn.liked {
    color: #e74c3c;
}

.property-content {
    padding: 16px;
}

.property-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.property-content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.property-specs {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.property-specs span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* CATEGORIES */
.categories {
    padding: 72px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
}

.category-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
    box-shadow: var(--shadow-sm);
}

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

.category-card.highlight {
    background: var(--primary-light);
    border-color: var(--primary);
}

.cat-icon {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.category-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* HİZMETLERİMİZ */
.services {
    padding: 72px 0;
    background: var(--bg-white);
}

.services-intro {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 580px;
    margin: -12px auto 44px;
    line-height: 1.65;
}

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

.service-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* MAP / OFİS */
.map-section {
    padding: 56px 0;
}

.map-section-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: -16px 0 24px;
    max-width: 520px;
}

.map-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    align-items: stretch;
    min-height: 340px;
}

.office-panel {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.office-photo-wrap {
    position: relative;
    flex: 1;
    min-height: 200px;
    max-height: 200px;
    overflow: hidden;
}

.office-photo {
    width: 100%;
    height: 100%;
    min-height: 200px;
    max-height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.office-panel:hover .office-photo {
    transform: scale(1.03);
}

.office-photo-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 14px 10px;
    background: linear-gradient(to top, rgba(0, 45, 28, 0.92) 0%, transparent 100%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.office-badge-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.office-photo-badge span {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.office-info {
    padding: 16px 16px 18px;
    border-top: 2px solid var(--primary);
}

.office-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.office-address {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
}

.office-address svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

.office-contact-list {
    list-style: none;
    margin-bottom: 12px;
}

.office-contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.office-contact-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}

.office-contact-list a:hover {
    color: var(--primary);
}

.office-contact-list svg {
    color: var(--primary);
    flex-shrink: 0;
}

.office-directions-btn {
    display: block;
    text-align: center;
    padding: 9px 16px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: background 0.2s;
}

.office-directions-btn:hover {
    background: var(--primary-dark);
}

.map-view {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #e8ecef;
    min-height: 340px;
}

.map-view iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: none;
    display: block;
}

.map-open-link {
    position: absolute;
    bottom: 16px;
    right: 16px;
    padding: 10px 18px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: all 0.2s;
}

.map-open-link:hover {
    background: var(--primary);
    color: white;
}

/* WHY US */
.why-us {
    padding: 72px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-box {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: box-shadow 0.25s;
}

.feature-box:hover {
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-box h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-box p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* TESTIMONIALS */
.testimonials {
    padding: 72px 0;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
}

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

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

/* MUTLU DANIŞANLAR GALERİ */
.happy-clients {
    padding: 72px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

.happy-clients-header {
    margin-bottom: 40px;
}

.happy-clients-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 560px;
    margin: -16px auto 0;
    line-height: 1.6;
}

.gallery-slider {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.gallery-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.gallery-slide {
    flex: 0 0 calc(33.333% - 14px);
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #f4f8f6;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-slide img {
    width: 100%;
    height: 360px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #f4f8f6;
}

.gallery-slide figcaption {
    padding: 14px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    background: white;
    border-top: 1px solid var(--border);
}

.gallery-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: background 0.2s, transform 0.2s;
}

.gallery-nav:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.gallery-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.gallery-dots .gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--border);
    cursor: pointer;
    transition: all 0.25s;
}

.gallery-dots .gallery-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 4px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: background 0.2s;
}

.dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* CMS boş durum (veritabanında içerik yok) */
.cms-empty {
    grid-column: 1 / -1;
    width: 100%;
    padding: 48px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    background: white;
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}

.cms-empty p {
    margin: 0;
}

/* BLOG */
.blog {
    padding: 72px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
}

.blog-card-image {
    overflow: hidden;
    background: #eee;
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.blog-card:hover img {
    transform: scale(1.04);
}

.blog-body {
    padding: 18px;
}

.blog-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

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

.blog-body p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-body h3 {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-meta {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* APP PROMO */
.app-promo {
    margin: 0 24px 72px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 48px 0;
}

.app-inner {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 40px;
    align-items: center;
}

.app-phones {
    position: relative;
    height: 200px;
}

.phone-mockup {
    position: absolute;
    width: 90px;
    height: 170px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
}

.phone-1 {
    left: 20px;
    top: 10px;
    transform: rotate(-8deg);
}

.phone-2 {
    left: 70px;
    top: 0;
    transform: rotate(5deg);
    background: rgba(255, 255, 255, 0.25);
}

.app-text h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.app-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    max-width: 400px;
}

.app-download {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s;
    min-width: 160px;
}

.store-btn:hover {
    background: rgba(0, 0, 0, 0.5);
}

.qr-code {
    width: 72px;
    height: 72px;
    background: white;
    border-radius: 8px;
    margin-top: 4px;
    background-image:
        linear-gradient(45deg, #333 25%, transparent 25%),
        linear-gradient(-45deg, #333 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #333 75%),
        linear-gradient(-45deg, transparent 75%, #333 75%);
    background-size: 8px 8px;
    background-position: 0 0, 0 4px, 4px -4px, -4px 0;
}

/* FOOTER */
.footer {
    background: var(--footer-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 4px;
}

.footer-col p {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.social-icon:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-2px);
}

.footer-col .social-icon:hover {
    color: var(--primary);
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-family: inherit;
    font-size: 0.875rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    padding: 10px 18px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #00c47a;
}

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

.footer-bottom p {
    margin: 0;
}

.footer-credit {
    margin-left: auto;
    text-align: right;
    color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

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

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-credit {
        margin-left: 0;
        text-align: center;
    }
}

/* MODAL */
.property-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.property-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 520px;
    width: 90%;
    overflow: hidden;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.modal-image {
    height: 220px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.modal-body {
    padding: 28px;
}

.modal-body h2 {
    margin-bottom: 8px;
}

.modal-body p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.btn-primary {
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    margin-top: 8px;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

a.btn-primary {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

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

/* RESPONSIVE */
@media (max-width: 1100px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .topbar-info .topbar-item:not(:first-child) {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero-brand {
        min-height: auto;
        margin-top: 8px;
        padding-bottom: 24px;
    }
    .hero-logo-panel {
        max-width: 320px;
        padding: 28px 24px 22px;
    }
    .hero-logo-glow {
        width: 260px;
        height: 260px;
    }
    .map-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .office-photo-wrap,
    .office-photo {
        min-height: 180px;
        max-height: 180px;
    }
    .map-view,
    .map-view iframe {
        min-height: 280px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    .gallery-slide {
        flex: 0 0 calc(50% - 10px);
    }
    .gallery-slide img {
        height: 300px;
    }
    .app-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .app-phones {
        display: none;
    }
    .app-download {
        align-items: center;
    }
}

@media (max-width: 600px) {
    .topbar-social {
        gap: 8px;
    }
    .topbar-info {
        font-size: 0.72rem;
    }
    .fixed-contact {
        left: 12px;
        bottom: 16px;
    }
    .fixed-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
    .fixed-btn span:not(.sahibinden-logo) {
        display: none;
    }
    .fixed-btn {
        width: 48px;
        height: 48px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .sahibinden-btn .sahibinden-logo {
        width: 24px;
        height: 24px;
        font-size: 1rem;
    }
    .search-bar {
        flex-direction: column;
    }
    .search-divider {
        display: none;
    }
    .search-button {
        width: 100%;
        height: 52px;
    }
    .properties-grid {
        grid-template-columns: 1fr;
    }
    .listings-wrapper .carousel-btn {
        display: none;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .app-promo {
        margin: 0 16px 48px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .gallery-slide {
        flex: 0 0 85%;
    }
    .gallery-slide img {
        height: 280px;
    }
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
}
