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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f2f2f7;
    color: #111;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 620px;
    margin: 0 auto;
    padding: 0 16px;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes glow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* HEADER */
.header {
    background: linear-gradient(135deg, #faf8f3 0%, #fff 50%, #f9f5ed 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06), 0 0 0 1px rgba(180,140,60,0.08);
    border-bottom: 1px solid rgba(180,140,60,0.12);
}

.header-glow {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(212,175,55,0.08) 0%, transparent 60%);
    animation: glow 4s ease-in-out infinite;
    pointer-events: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    position: relative;
}

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

.logo-img {
    height: 56px;
    width: auto;
    transition: opacity 0.2s;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.04));
}

.logo-img:hover {
    opacity: 0.9;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-live {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: #6b5418;
    background: linear-gradient(135deg, #fef9e7, #fdf4d4);
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid rgba(180,140,60,0.18);
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d4af37;
    box-shadow: 0 0 8px rgba(212,175,55,0.6);
    animation: pulse 1.5s ease-in-out infinite;
}

.back-btn {
    font-size: 13px;
    color: #6b5418;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fef9e7, #fdf4d4);
    border: 1px solid rgba(180,140,60,0.18);
    transition: all 0.2s;
}

.back-btn:hover {
    color: #4a3a0e;
    background: linear-gradient(135deg, #fdf4d4, #fbeaab);
    border-color: rgba(180,140,60,0.35);
}

/* MAIN */
.main {
    padding: 24px 0 48px;
}

/* INFO BANNER */
.info-banner {
    position: relative;
    background: linear-gradient(135deg, #faf8f3 0%, #fff 50%, #f9f5ed 100%);
    border: 1px solid rgba(180,140,60,0.18);
    border-radius: 18px;
    padding: 22px 22px;
    margin-bottom: 22px;
    text-align: center;
    animation: fadeUp 0.4s ease both;
    transition: opacity 0.3s, transform 0.3s;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(180,140,60,0.08);
}

.info-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, #f0c75e, #d4af37, transparent);
}

.info-banner-text {
    font-size: 14px;
    line-height: 1.7;
    color: #3d2f0e;
    font-weight: 500;
}

.info-banner-note {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 800;
    color: #8b6914;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #fef9e7, #fdf4d4);
    border-radius: 20px;
    border: 1px solid rgba(180,140,60,0.25);
}

.info-banner-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(180,140,60,0.18);
    border-radius: 50%;
    color: #8b6914;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    line-height: 1;
}

.info-banner-close:hover {
    background: #fef9e7;
    color: #4a3a0e;
    transform: scale(1.1);
}

.ilan-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CARD */
.ilan-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    border: 1px solid rgba(180,140,60,0.1);
    box-shadow: 0 2px 10px rgba(180,140,60,0.05), 0 6px 24px rgba(0,0,0,0.04);
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s, border-color 0.3s;
    animation: fadeUp 0.5s ease both;
    position: relative;
}

.ilan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, #f0c75e, #d4af37, transparent);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.ilan-card:hover {
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 14px 44px rgba(180,140,60,0.18), 0 0 0 1px rgba(212,175,55,0.25);
    border-color: rgba(212,175,55,0.25);
}

.ilan-card:hover::before {
    opacity: 1;
}

/* GALLERY */
.ilan-gallery {
    background: #111;
    line-height: 0;
    position: relative;
}

.gallery-item img,
.gallery-main img,
.gallery-side .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.ilan-card:hover .gallery-item img,
.ilan-card:hover .gallery-main img,
.ilan-card:hover .gallery-side .gallery-item img {
    transform: scale(1.03);
}

.gallery-empty {
    min-height: 180px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.gallery-1 { display: block; }
.gallery-1 .gallery-item img {
    width: 100%;
    height: auto;
}

.gallery-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.gallery-2 .gallery-item {
    overflow: hidden;
    background: #111;
}

.gallery-2 .gallery-item img {
    width: 100%;
    height: auto;
}

.gallery-3 {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2px;
    min-height: 380px;
}

.gallery-3 .gallery-main {
    overflow: hidden;
    background: #111;
}

.gallery-3 .gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.gallery-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
}

.gallery-side .gallery-item {
    overflow: hidden;
    background: #111;
}

.gallery-side .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* CARD INFO */
.ilan-info {
    padding: 18px 20px 20px;
    position: relative;
}

.ilan-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.3), transparent);
}

.ilan-info-main {
    margin-bottom: 14px;
}

.ilan-title {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    line-height: 1.25;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.ilan-location {
    font-size: 14px;
    color: #777;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ilan-location::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #f0c75e);
    display: inline-block;
    box-shadow: 0 0 6px rgba(212,175,55,0.5);
}

.ilan-tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.ilan-tag {
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 20px;
    letter-spacing: 0.2px;
    transition: transform 0.15s;
}

.ilan-tag:hover {
    transform: scale(1.05);
}

.ilan-tag.tag-age {
    background: linear-gradient(135deg, #fef9e7, #fdf4d4);
    color: #6b5418;
    border: 1px solid rgba(180,140,60,0.18);
}

.ilan-tag.tag-body {
    background: linear-gradient(135deg, #faf8f3, #f5efdf);
    color: #4a3a0e;
    border: 1px solid rgba(180,140,60,0.15);
}

.ilan-tag.tag-vip {
    background: linear-gradient(135deg, #fdf4d4, #fbeaab);
    color: #5a4310;
    border: 1px solid rgba(212,175,55,0.4);
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(212,175,55,0.15);
}

/* CTA */
.ilan-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, #faf8f3 0%, #fef9e7 50%, #fdf4d4 100%);
    border: 1px solid rgba(180,140,60,0.25);
    border-radius: 14px;
    transition: all 0.25s;
    box-shadow: 0 3px 12px rgba(180,140,60,0.08);
    position: relative;
    overflow: hidden;
}

.ilan-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 0.6s;
}

.ilan-card:hover .ilan-cta {
    background: linear-gradient(135deg, #fef9e7, #fdf4d4, #fbeaab);
    box-shadow: 0 6px 20px rgba(212,175,55,0.25);
    border-color: rgba(212,175,55,0.5);
}

.ilan-card:hover .ilan-cta::after {
    left: 100%;
}

.cta-text {
    font-size: 15px;
    font-weight: 800;
    color: #4a3a0e;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 1;
}

.cta-arrow {
    font-size: 18px;
    color: #8b6914;
    transition: transform 0.25s;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.ilan-card:hover .cta-arrow {
    transform: translateX(4px);
}

/* Empty */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    font-size: 15px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0f0f1a, #1a1035);
    color: #fff;
}

.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-secondary {
    background: #f4f4f5;
    color: #333;
}

.btn-secondary:hover { background: #eaeaeb; }

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    width: 100%;
    padding: 17px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(37,211,102,0.3);
    letter-spacing: 0.3px;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37,211,102,0.4);
}

.btn-phone {
    background: linear-gradient(135deg, #f8f8fa, #efeff3);
    color: #111;
    width: 100%;
    padding: 17px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
    border: 1px solid #e8e8ec;
    letter-spacing: 0.3px;
}

.btn-phone:hover {
    background: linear-gradient(135deg, #efeff3, #e5e5eb);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
    width: 100%;
}

/* PAGINATION */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 36px;
}

.page-link {
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.page-link:hover {
    background: #f5f5f5;
    color: #111;
    transform: translateY(-1px);
}

.page-link.active {
    background: linear-gradient(135deg, #0f0f1a, #1a1035);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(15,15,26,0.2);
}

/* DETAIL PAGE */
.detail-main {
    padding: 16px 0 48px;
}

/* Gallery Card */
.detail-gallery-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid rgba(180,140,60,0.12);
    box-shadow: 0 3px 14px rgba(180,140,60,0.06);
    animation: fadeUp 0.4s ease both;
}

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

.detail-photo {
    overflow: hidden;
    background: #111;
    cursor: zoom-in;
    position: relative;
}

.detail-photo img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    transition: transform 0.3s ease;
}

.detail-photo:hover img {
    transform: scale(1.02);
}

.detail-photo.no-img { cursor: default; }

.photo-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: linear-gradient(135deg, rgba(15,12,8,0.85), rgba(74,58,14,0.85));
    color: #fdf4d4;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 14px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(240,199,94,0.3);
    letter-spacing: 0.3px;
}

.no-image-detail {
    width: 100%;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 16px;
    font-weight: 500;
}

/* Profile Card */
.detail-profile-card {
    background: #fff;
    border-radius: 20px;
    padding: 22px 20px;
    margin-bottom: 12px;
    border: 1px solid rgba(180,140,60,0.12);
    box-shadow: 0 3px 14px rgba(180,140,60,0.06);
    animation: fadeUp 0.5s ease both;
    position: relative;
    overflow: hidden;
}

.detail-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, #f0c75e, #d4af37, transparent);
}

.profile-top {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(180,140,60,0.15);
}

.detail-category {
    display: inline-block;
    background: linear-gradient(135deg, #fef9e7, #fdf4d4);
    color: #6b5418;
    border: 1px solid rgba(180,140,60,0.25);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.detail-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1208;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.detail-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7a6420;
    font-size: 13.5px;
    font-weight: 600;
}

.loc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #f0c75e);
    box-shadow: 0 0 6px rgba(212,175,55,0.5);
}

/* Stats Grid */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.stat-item {
    text-align: center;
    padding: 12px 4px;
    background: linear-gradient(135deg, #faf8f3, #fef9e7);
    border: 1px solid rgba(180,140,60,0.15);
    border-radius: 14px;
    transition: all 0.2s;
}

.stat-item:hover {
    transform: translateY(-2px);
    border-color: rgba(212,175,55,0.4);
    box-shadow: 0 4px 12px rgba(212,175,55,0.15);
}

.stat-value {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #3d2f0e;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #8b6914;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 3px;
}

/* Contact Card */
.detail-contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 18px 20px;
    margin-bottom: 12px;
    border: 1px solid rgba(180,140,60,0.12);
    box-shadow: 0 3px 14px rgba(180,140,60,0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: fadeUp 0.55s ease both;
}

/* Section Card */
.detail-section-card {
    background: #fff;
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 12px;
    border: 1px solid rgba(180,140,60,0.12);
    box-shadow: 0 3px 14px rgba(180,140,60,0.06);
    animation: fadeUp 0.6s ease both;
}

.section-title {
    font-size: 13px;
    font-weight: 800;
    color: #8b6914;
    margin-bottom: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: '';
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #f0c75e);
    border-radius: 2px;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: linear-gradient(135deg, #fef9e7, #fdf4d4);
    color: #6b5418;
    border: 1px solid rgba(180,140,60,0.25);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s;
}

.feature-tag:hover {
    transform: translateY(-2px);
    border-color: rgba(212,175,55,0.5);
    box-shadow: 0 4px 12px rgba(212,175,55,0.2);
}

.detail-desc-text {
    color: #3d2f0e;
    font-size: 14px;
    line-height: 1.75;
}

/* Share Card */
.detail-share-card {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.share-btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #faf8f3, #fef9e7);
    border: 1px solid rgba(180,140,60,0.2);
    border-radius: 12px;
    color: #6b5418;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.share-btn:hover {
    background: linear-gradient(135deg, #fef9e7, #fdf4d4);
    color: #4a3a0e;
    border-color: rgba(212,175,55,0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212,175,55,0.15);
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    padding: 16px;
    animation: fadeUp 0.2s ease;
}

.lightbox-img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 6px;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.lightbox-close:hover { opacity: 1; }

/* FORM PAGE */
.form-main { padding: 30px 0 60px; }

.form-wrapper { max-width: 560px; margin: 0 auto; }

.form-title {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    margin-bottom: 4px;
}

.form-subtitle {
    color: #888;
    font-size: 14px;
    margin-bottom: 24px;
}

.success-box {
    text-align: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 36px 20px;
}

.success-icon { font-size: 42px; margin-bottom: 10px; }
.success-box h2 { color: #111; margin-bottom: 6px; }
.success-box p { color: #888; margin-bottom: 18px; }

.success-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
}

.error-box p { color: #dc2626; font-size: 13px; margin-bottom: 2px; }

.form-section {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 14px;
}

.section-label {
    color: #7c3aed;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    font-weight: 700;
}

.form-group { margin-bottom: 14px; }

.form-group label {
    display: block;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.required { color: #dc2626; }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    color: #111;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #8b5cf6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(139,92,246,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }

.form-group select { cursor: pointer; }
.form-group select option { background: #fff; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }

.file-upload-area {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 28px 16px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: #8b5cf6;
    background: #faf5ff;
}

.file-input {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0; cursor: pointer;
}

.upload-placeholder { pointer-events: none; }
.upload-icon { font-size: 32px; display: block; margin-bottom: 6px; }
.upload-placeholder p { color: #888; font-size: 13px; margin-bottom: 2px; }
.upload-placeholder small { color: #bbb; font-size: 11px; }

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 6px;
    margin-top: 8px;
}

.preview-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.preview-item img {
    width: 100%;
    height: 64px;
    object-fit: cover;
    display: block;
}

.preview-name {
    display: block;
    padding: 2px 4px;
    font-size: 9px;
    color: #999;
    background: #f9f9f9;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* FOOTER */
.footer {
    padding: 32px 0;
    text-align: center;
}

.footer-logo {
    height: 48px;
    width: auto;
    opacity: 0.7;
    margin: 0 auto 8px;
    display: block;
}

.footer p {
    color: #bbb;
    font-size: 11px;
    letter-spacing: 0.3px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .container { padding: 0 14px; }
    .gallery-3 { min-height: 320px; }
    .detail-title { font-size: 22px; }
    .form-row, .form-row.three { grid-template-columns: 1fr; }
    .header-inner { height: 76px; }
    .logo-img { height: 58px; }
    .header-live { font-size: 11.5px; padding: 6px 11px; gap: 5px; }
    .header-live .live-dot { width: 6px; height: 6px; }
    .ilan-title { font-size: 18px; }
    .info-banner { padding: 22px 18px; }
    .info-banner-title { font-size: 16px; }
    .info-banner-text { font-size: 13.5px; }
}

@media (max-width: 380px) {
    .logo-img { height: 50px; }
    .header-live { font-size: 11px; padding: 5px 10px; }
    .header-inner { height: 70px; }
}

@media (min-width: 900px) {
    .container { max-width: 660px; }
    .gallery-3 { min-height: 440px; }
}

/* ===================== WHATSAPP ARAMA POPUP ===================== */
.wa-call-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(10, 12, 25, 0.62);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}
.wa-call-overlay.show { opacity: 1; visibility: visible; }

.wa-call-modal {
    background: #fff; color: #111;
    border-radius: 22px;
    max-width: 380px; width: 100%;
    padding: 32px 26px 24px;
    text-align: center;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.wa-call-overlay.show .wa-call-modal { transform: translateY(0) scale(1); }

.wa-call-close {
    position: absolute; top: 12px; right: 14px;
    width: 32px; height: 32px;
    border: none; background: rgba(0, 0, 0, 0.05);
    color: #555; border-radius: 50%;
    font-size: 22px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.wa-call-close:hover { background: rgba(0, 0, 0, 0.12); color: #000; }

.wa-call-icon {
    width: 78px; height: 78px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
    position: relative;
    animation: waCallPulse 2.2s ease-in-out infinite;
}
.wa-call-icon::before {
    content: ''; position: absolute; inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.45);
    animation: waCallRing 2.2s ease-out infinite;
}
@keyframes waCallPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}
@keyframes waCallRing {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.wa-call-title {
    font-size: 20px; font-weight: 800;
    color: #111; margin: 0 0 10px;
    letter-spacing: -0.3px;
}
.wa-call-text {
    font-size: 14.5px; color: #555;
    line-height: 1.55; margin: 0 0 22px;
}
.wa-call-text strong { color: #075e54; font-weight: 700; }

.wa-call-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border-radius: 14px;
    font-size: 16px; font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    letter-spacing: 0.2px;
}
.wa-call-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45); }
.wa-call-btn:active { transform: translateY(0); }

.wa-call-cancel {
    display: block; width: 100%;
    margin-top: 12px; padding: 12px;
    background: transparent;
    border: none;
    color: #888;
    font-size: 14px; font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    border-radius: 10px;
    transition: background 0.15s, color 0.15s;
}
.wa-call-cancel:hover { background: rgba(0, 0, 0, 0.04); color: #111; }

@media (max-width: 420px) {
    .wa-call-modal { padding: 28px 20px 20px; border-radius: 18px; }
    .wa-call-icon { width: 68px; height: 68px; }
    .wa-call-title { font-size: 18px; }
}

/* ===================== WHATSAPP SOHBET WIDGET ===================== */

/* Eski basit floating buton (sohbet kapalıysa kullanılır) */
.wa-floating-simple {
    position: fixed; bottom: 22px; right: 22px; z-index: 9998;
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff; display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0,0,0,0.18);
    transition: transform 0.25s ease;
    animation: waPulse 2.4s ease-in-out infinite;
}
.wa-floating-simple:hover { transform: scale(1.08); }

/* ---- Trigger Butonu (sohbet açma) ---- */
.wa-chat { position: relative; }
.wa-chat-trigger {
    position: fixed; bottom: 22px; right: 22px; z-index: 9998;
    width: 62px; height: 62px; border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5), 0 4px 14px rgba(0,0,0,0.2);
    transition: transform 0.25s ease;
    animation: waPulse 2.6s ease-in-out infinite;
}
.wa-chat-trigger:hover { transform: scale(1.08) rotate(-6deg); }
.wa-chat-trigger:active { transform: scale(0.96); }
.wa-chat-trigger svg { display: block; }

.wa-chat-trigger-ring {
    position: absolute; inset: -6px; border-radius: 50%;
    background: rgba(37, 211, 102, 0.32);
    z-index: -1;
    animation: waRing 2.4s ease-out infinite;
}

.wa-chat-trigger-badge {
    position: absolute; top: -4px; right: -4px;
    min-width: 22px; height: 22px; padding: 0 6px;
    background: #ff3b30; color: #fff;
    border-radius: 999px; font-size: 12px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    border: 2px solid #fff;
    font-family: 'Inter', sans-serif;
}

@keyframes waPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
@keyframes waRing {
    0% { transform: scale(0.85); opacity: 0.7; }
    80%, 100% { transform: scale(1.5); opacity: 0; }
}

/* ---- Önizleme baloncuğu (masaüstünde) ---- */
.wa-chat-preview {
    position: fixed; bottom: 96px; right: 22px; z-index: 9997;
    background: #fff; color: #111; border-radius: 14px;
    padding: 12px 38px 12px 14px; max-width: 280px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
    opacity: 0; transform: translateY(10px) scale(0.95); pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}
.wa-chat-preview.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.wa-chat-preview::after {
    content: ''; position: absolute; bottom: -8px; right: 28px;
    width: 16px; height: 16px; background: #fff;
    transform: rotate(45deg);
    box-shadow: 4px 4px 10px rgba(0,0,0,0.05);
}
.wa-chat-preview-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.wa-chat-preview-body { min-width: 0; }
.wa-chat-preview-name { font-weight: 700; font-size: 14px; color: #111; }
.wa-chat-preview-text { font-size: 13px; color: #667781; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-chat-preview-close {
    position: absolute; top: 6px; right: 8px;
    width: 22px; height: 22px; padding: 0;
    background: rgba(0,0,0,0.06); border: none; border-radius: 50%;
    color: #667781; font-size: 18px; line-height: 1; cursor: pointer;
}
.wa-chat-preview-close:hover { background: rgba(0,0,0,0.12); color: #111; }

/* ---- Sohbet Penceresi ---- */
.wa-chat-window {
    position: fixed; bottom: 22px; right: 22px; z-index: 9999;
    width: 380px; max-width: calc(100vw - 32px);
    height: 580px; max-height: calc(100vh - 44px);
    background: #efeae2;
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 22px 60px rgba(0,0,0,0.35), 0 4px 12px rgba(0,0,0,0.15);
    display: flex; flex-direction: column;
    opacity: 0; transform: translateY(20px) scale(0.96); pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.wa-chat-window.open {
    opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}

/* Header */
.wa-chat-header {
    background: linear-gradient(180deg, #075e54, #0d7163);
    color: #fff; padding: 12px 14px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    flex-shrink: 0;
}
.wa-chat-back {
    background: transparent; border: none; color: #fff; padding: 4px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: background 0.15s;
}
.wa-chat-back:hover { background: rgba(255,255,255,0.12); }
.wa-chat-avatar {
    width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15); flex-shrink: 0;
    background: #ccc;
}
.wa-chat-meta { flex: 1; min-width: 0; }
.wa-chat-name { font-weight: 600; font-size: 16px; color: #fff; line-height: 1.2; }
.wa-chat-status { font-size: 12.5px; color: rgba(255,255,255,0.75); margin-top: 2px; }
.wa-chat-actions { display: flex; gap: 4px; }
.wa-chat-icon-btn {
    background: transparent; border: none; color: #fff; cursor: pointer;
    padding: 8px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
.wa-chat-icon-btn:hover { background: rgba(255,255,255,0.12); }

/* Body */
.wa-chat-body {
    flex: 1; overflow-y: auto; padding: 14px 12px 6px;
    background-color: #efeae2;
    background-image:
        radial-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
        radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 22px 22px, 22px 22px;
    background-position: 0 0, 11px 11px;
    scroll-behavior: smooth;
}
.wa-chat-body::-webkit-scrollbar { width: 6px; }
.wa-chat-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.18); border-radius: 3px; }

.wa-chat-system {
    text-align: center; margin: 4px auto 14px; max-width: 86%;
}
.wa-chat-system span {
    display: inline-block;
    background: #fdf3c8; color: #5f4a1d;
    padding: 6px 12px; border-radius: 8px;
    font-size: 12px; line-height: 1.45;
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

/* Mesaj balonları */
.wa-chat-body .wa-msg {
    display: flex !important;
    width: 100% !important;
    margin-bottom: 4px;
    animation: waMsgIn 0.3s ease-out;
}
.wa-chat-body .wa-msg-in {
    justify-content: flex-start !important;
    padding-right: 50px;
    padding-left: 0;
}
.wa-chat-body .wa-msg-out {
    justify-content: flex-end !important;
    padding-left: 50px;
    padding-right: 0;
}
.wa-chat-body .wa-bubble {
    position: relative;
    background: #fff;
    padding: 6px 8px 8px 10px;
    border-radius: 8px;
    box-shadow: 0 1px 0.5px rgba(11,20,26,0.13);
    max-width: 80%;
    font-size: 14.5px;
    line-height: 1.42;
    color: #111b21;
    word-wrap: break-word;
}
.wa-chat-body .wa-msg-in .wa-bubble {
    border-top-left-radius: 0;
    margin-left: 8px;
    padding-right: 58px;
}
.wa-chat-body .wa-bubble-tail {
    position: absolute; top: 0; left: -8px;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 8px 13px 0;
    border-color: transparent #fff transparent transparent;
    filter: drop-shadow(-1px 1px 0.5px rgba(11,20,26,0.07));
}

/* Giden mesaj balonu (kullanıcı) — YEŞİL ve SAĞDA */
.wa-chat-body .wa-bubble-out {
    background: #d9fdd3 !important;
    border-top-right-radius: 0 !important;
    border-top-left-radius: 8px !important;
    margin-right: 8px;
    margin-left: 0 !important;
    padding-right: 60px !important;
}
.wa-chat-body .wa-msg-out .wa-bubble-tail-out {
    position: absolute; top: 0; right: -8px; left: auto;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 0 13px 8px;
    border-color: transparent transparent transparent #d9fdd3;
    filter: drop-shadow(1px 1px 0.5px rgba(11,20,26,0.07));
}
.wa-chat-body .wa-bubble-time-out {
    color: #667781;
}
.wa-chat-body .wa-bubble-time-out svg {
    fill: #53bdeb;
    vertical-align: -1px;
    margin-left: 2px;
}

/* Foto balonu */
.wa-bubble-photo {
    padding: 3px 3px 3px 3px !important;
    overflow: hidden;
    max-width: 230px;
}
.wa-msg-in .wa-bubble-photo { padding-right: 3px !important; }
.wa-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #d9dadb;
    border-radius: 6px;
    overflow: hidden;
}
.wa-photo-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    cursor: pointer;
}
.wa-photo-spinner {
    position: absolute; top: 50%; left: 50%;
    width: 32px; height: 32px;
    margin: -16px 0 0 -16px;
    border: 3px solid rgba(255,255,255,0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: waSpin 0.9s linear infinite;
}
.wa-bubble-time-onimg {
    color: #fff !important;
    background: rgba(0,0,0,0.45);
    padding: 1px 7px;
    border-radius: 8px;
    right: 8px !important;
    bottom: 8px !important;
    font-size: 10.5px;
}

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

.wa-bubble-text { display: block; white-space: pre-wrap; }
.wa-bubble-time {
    position: absolute; right: 8px; bottom: 4px;
    font-size: 11px; color: #667781;
    font-weight: 400;
    display: inline-flex; align-items: center;
}

/* Yazıyor animasyonu — küçük kompakt balon */
.wa-chat-body .wa-typing-bubble {
    padding: 11px 14px !important;
    min-width: auto;
    max-width: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform-origin: left center;
    animation: waTypingPopin 0.25s cubic-bezier(0.34, 1.5, 0.64, 1);
}
.wa-typing-dots {
    display: inline-flex; gap: 4px; align-items: center;
}
.wa-typing-dot {
    width: 7px; height: 7px; background: #8696a0;
    border-radius: 50%;
    animation: waTypingBounce 1.2s infinite ease-in-out;
    display: inline-block;
}
.wa-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.wa-typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes waTypingBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
    40% { transform: translateY(-4px); opacity: 1; }
}
@keyframes waTypingPopin {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes waMsgIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Yazıyor → Mesaj geçiş animasyonu */
.wa-chat-body .wa-bubble-morphing {
    transform-origin: left center;
    animation: waBubbleMorph 0.38s cubic-bezier(0.34, 1.45, 0.64, 1);
    max-width: 80% !important;
}
@keyframes waBubbleMorph {
    0% {
        transform: scale(0.7);
        opacity: 0.8;
    }
    60% {
        transform: scale(1.04);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.wa-bubble-morphing .wa-bubble-text,
.wa-bubble-morphing .wa-bubble-time,
.wa-bubble-morphing .wa-photo-wrap {
    animation: waContentFadeIn 0.25s ease-out 0.08s both;
}
@keyframes waContentFadeIn {
    from { opacity: 0; transform: translateY(2px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hızlı yanıt butonları — tek satır, yatay kaydırılabilir */
.wa-chat-quick {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    background: #f0f2f5;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.15) transparent;
    mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}
.wa-chat-quick::-webkit-scrollbar { height: 0; }
.wa-chat-quick::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.18); border-radius: 999px; }

.wa-chat-quick-btn {
    background: #fff;
    color: #075e54;
    border: 1px solid #d1d7db;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
    flex-shrink: 0;
    white-space: nowrap;
    scroll-snap-align: start;
}
.wa-chat-quick-btn:hover { background: #25d366; color: #fff; border-color: #25d366; }
.wa-chat-quick-btn.wa-chat-quick-photo {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(37,211,102,0.3);
}
.wa-chat-quick-btn.wa-chat-quick-photo:hover {
    background: linear-gradient(135deg, #1ec559, #0f7868);
    transform: translateY(-1px);
}

/* Footer (input) */
.wa-chat-footer {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 10px; background: #f0f2f5;
    flex-shrink: 0;
}
.wa-chat-footer .wa-chat-icon-btn { color: #54656f; }
.wa-chat-footer .wa-chat-icon-btn:hover { background: rgba(0,0,0,0.05); color: #111; }
.wa-chat-input {
    flex: 1; padding: 11px 16px; border-radius: 22px; border: none;
    background: #fff; font-size: 14.5px; color: #111;
    font-family: inherit;
    outline: none;
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
.wa-chat-input::placeholder { color: #8696a0; }
.wa-chat-send {
    width: 44px; height: 44px; border-radius: 50%;
    background: #00a884; color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
}
.wa-chat-send:hover { background: #06cf9c; transform: scale(1.05); }
.wa-chat-send:active { transform: scale(0.95); }

/* MOBİL — Tam ekran sohbet */
@media (max-width: 600px) {
    .wa-chat-trigger { width: 56px; height: 56px; bottom: 18px; right: 18px; }
    .wa-chat-trigger svg { width: 27px; height: 27px; }
    .wa-chat-preview { bottom: 84px; right: 14px; max-width: calc(100vw - 28px); }
    .wa-chat-preview::after { right: 24px; }

    .wa-chat-window {
        top: 0; right: 0; bottom: 0; left: 0;
        width: 100vw; height: 100vh; height: 100dvh;
        max-width: 100vw; max-height: 100vh;
        border-radius: 0;
    }
    .wa-chat-window.open { transform: translateY(0) scale(1); }
    body.wa-chat-active { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
    .wa-chat-trigger,
    .wa-chat-trigger-ring,
    .wa-floating-simple {
        animation: none;
    }
}
