/* ===== DEMO SHARED STYLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: #0a0a0a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Container */
.d-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Demo Banner */
.demo-banner {
    background: #0a0a0a;
    color: #a1a1aa;
    text-align: center;
    padding: 8px 24px;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.demo-banner-link {
    color: var(--accent);
    font-weight: 600;
}

/* Navbar */
.d-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e5e7eb;
}
.d-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.d-logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.d-logo span { color: var(--accent); }
.d-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.d-nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    transition: color 0.25s;
}
.d-nav-links a:hover { color: #0a0a0a; }

/* Buttons */
.d-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}
.d-btn-lg { padding: 14px 28px; font-size: 1rem; }
.d-btn-accent { background: var(--accent); color: white; }
.d-btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); }
.d-btn-white { background: white; color: #0a0a0a; }
.d-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.d-btn-ghost { background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.25); }
.d-btn-ghost:hover { background: rgba(255,255,255,0.25); }
.d-btn-outline { background: transparent; color: #0a0a0a; border: 1.5px solid #e5e7eb; padding: 12px 28px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; }
.d-btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.d-hero {
    padding: 100px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}
.d-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
    pointer-events: none;
}
.d-hero-content { position: relative; z-index: 1; max-width: 640px; }
.d-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.d-hero p {
    font-size: 1.05rem;
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 32px;
}
.d-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.d-section { padding: 80px 0; }
.d-section-alt { background: #f8f9fb; }
.d-section-dark { background: #0a0a0a; color: white; }
.d-section-accent { background: var(--accent); color: white; }
.d-section-header { text-align: center; margin-bottom: 48px; }
.d-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 8px;
}
.d-section-dark .d-tag { color: var(--accent); }
.d-section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
}
.d-section-header p {
    font-size: 0.95rem;
    color: #6b7280;
    max-width: 480px;
    margin: 0 auto;
}

/* Grid */
.d-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Cards */
.d-card {
    padding: 32px 28px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.25s;
}
.d-section-dark .d-card { background: #141414; border-color: #1f1f1f; color: white; }
.d-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px var(--accent-glow);
}
.d-card-icon { font-size: 2rem; margin-bottom: 16px; }
.d-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.d-card p { font-size: 0.875rem; color: #6b7280; line-height: 1.6; margin-bottom: 12px; }
.d-section-dark .d-card p { color: #a1a1aa; }
.d-price {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    padding: 4px 12px;
    background: var(--accent-light);
    border-radius: 999px;
}

/* Gallery Grid */
.d-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
    gap: 12px;
}
.d-gallery-item {
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.25s;
    cursor: pointer;
}
.d-gallery-item:hover { transform: scale(1.03); }
.d-gallery-item.tall { grid-row: span 2; }

/* Doctor Cards */
.d-doctor-card {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.25s;
}
.d-doctor-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.d-doctor-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.d-doctor-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.d-doctor-title { font-size: 0.825rem; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.d-doctor-card p:last-child { font-size: 0.8rem; color: #6b7280; }

/* Listing Cards (Emlak) */
.d-listing-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s;
}
.d-listing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.d-listing-img {
    height: 180px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 16px;
    position: relative;
}
.d-listing-badge {
    padding: 4px 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.d-listing-price-tag {
    padding: 6px 14px;
    background: white;
    color: #0a0a0a;
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 999px;
}
.d-listing-info { padding: 20px; }
.d-listing-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.d-listing-loc { font-size: 0.825rem; color: #6b7280; margin-bottom: 12px; }
.d-listing-specs {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: #6b7280;
}

/* About Grid */
.d-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.d-about-img {
    border-radius: 16px;
    height: 360px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}
.d-about-badge {
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}
.d-about-text .d-tag { margin-bottom: 4px; }
.d-about-text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}
.d-about-text p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 28px;
}
.d-stats-row { display: flex; gap: 32px; }
.d-stat strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #0a0a0a;
}
.d-stat span { font-size: 0.8rem; color: #6b7280; }

/* CTA Box */
.d-cta-box { text-align: center; max-width: 600px; margin: 0 auto; }
.d-cta-box h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: white;
}
.d-cta-box p {
    opacity: 0.85;
    margin-bottom: 28px;
    font-size: 1rem;
}
.d-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Footer */
.d-footer {
    padding: 32px 0;
    border-top: 1px solid #e5e7eb;
}
.d-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.d-footer p { font-size: 0.8rem; color: #6b7280; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .d-nav-links { display: none; }
    .d-grid-3 { grid-template-columns: 1fr; }
    .d-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
    .d-gallery-item.tall { grid-row: span 1; }
    .d-about-grid { grid-template-columns: 1fr; }
    .d-about-img { height: 240px; }
    .d-hero { padding: 64px 0 56px; }
    .d-footer-inner { flex-direction: column; gap: 12px; text-align: center; }
    .d-stats-row { gap: 20px; }
    .d-listing-specs { flex-wrap: wrap; gap: 8px; }
}
