/* =============================================
   EMLAK VİTRİN - STYLE
   ============================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #f0e6f6 0%, #ffffff 15%, #fff5f9 50%, #ffffff 85%, #f0e6f6 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

/* =============================================
   HEADER
   ============================================= */
.main-header {
    background: linear-gradient(135deg, #7b2ff7 0%, #c840e9 40%, #ff2d8a 70%, #ff6a88 100%);
    padding: 40px 20px 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(123, 47, 247, 0.35);
}

.main-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
    animation: headerShimmer 8s ease-in-out infinite;
}

@keyframes headerShimmer {
    0%, 100% { transform: translateX(-10%) rotate(0deg); }
    50% { transform: translateX(10%) rotate(2deg); }
}

.main-header h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 3px 15px rgba(0,0,0,0.25);
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
}

.main-header h1 span {
    color: #ffe44d;
    text-shadow: 0 0 20px rgba(255,228,77,0.5);
}

.header-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    margin-top: 6px;
    position: relative;
    z-index: 1;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Kategori Navigasyonu Kaldırıldı */

/* =============================================
   CONTENT AREA
   ============================================= */
.content-area {
    max-width: 850px;
    margin: 0 auto;
    padding: 30px 15px 60px;
}

/* =============================================
   SECTION BADGES
   ============================================= */
.listing-section {
    margin-bottom: 40px;
}

.section-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 30px;
    border-radius: 14px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.section-badge span {
    font-size: 1.4rem;
}

.platinum-badge {
    background: linear-gradient(135deg, #ff2d8a 0%, #ff6a88 50%, #ff2d8a 100%);
    box-shadow: 0 6px 25px rgba(255,45,138,0.4);
    animation: badgePulse 3s ease-in-out infinite;
}

.gold-badge {
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 50%, #f7971e 100%);
    box-shadow: 0 6px 25px rgba(247,151,30,0.4);
    animation: badgePulse 3s ease-in-out infinite 1s;
}

.standard-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 6px 25px rgba(102,126,234,0.4);
    animation: badgePulse 3s ease-in-out infinite 2s;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 6px 25px rgba(255,45,138,0.3); }
    50% { box-shadow: 0 8px 35px rgba(255,45,138,0.5); }
}

/* =============================================
   LISTING CARDS
   ============================================= */
.listing-card {
    background: #fff;
    border: 3px solid #ff2d8a;
    border-radius: 16px;
    margin-bottom: 18px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 4px 20px rgba(255,45,138,0.15);
    position: relative;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255,45,138,0.3);
    border-color: #c840e9;
}

.listing-card.card-gold {
    border-color: #ffa500;
    box-shadow: 0 4px 20px rgba(255,165,0,0.15);
}

.listing-card.card-gold:hover {
    box-shadow: 0 12px 40px rgba(255,165,0,0.3);
    border-color: #ff8c00;
}

.listing-card.card-standard {
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102,126,234,0.15);
}

.listing-card.card-standard:hover {
    box-shadow: 0 12px 40px rgba(102,126,234,0.3);
    border-color: #764ba2;
}

/* =============================================
   IMAGE STRIP - INFINITE SCROLL
   ============================================= */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.image-strip {
    width: 100%;
    overflow: hidden;
    height: 200px;
    position: relative;
    cursor: pointer;
}

.image-track {
    display: flex;
    width: max-content;
    animation: scrollLeft 20s linear infinite;
}

.image-track.track-reverse {
    animation: scrollRight 22s linear infinite;
}

.image-track.track-slow {
    animation: scrollLeft 30s linear infinite;
}

.image-track img {
    width: 260px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
    margin-right: 4px;
    border-radius: 0;
}

/* Pause animation on hover */
.listing-card:hover .image-track {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* =============================================
   CARD BADGES
   ============================================= */
.card-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    z-index: 5;
}

.card-badges-left {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    z-index: 5;
}

.badge {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    white-space: nowrap;
}

/* Dinamik Etiket Renkleri */
.badge-color-purple {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.badge-color-pink {
    background: linear-gradient(135deg, #ff2d8a, #ff6a88);
    color: #fff;
}

.badge-color-cyan {
    background: linear-gradient(135deg, #00c9ff, #92fe9d);
    color: #1a1a1a;
}

.badge-color-orange {
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #1a1a1a;
}

.badge-color-blue {
    background: linear-gradient(135deg, #2193b0, #6dd5ed);
    color: #fff;
}

.badge-verified {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: #fff;
    font-size: 0.7rem;
}

.badge-phone {
    background: linear-gradient(135deg, #eb3349, #f45c43);
    color: #fff;
    font-size: 0.72rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.badge-phone:hover {
    transform: scale(1.08);
}

/* =============================================
   FOOTER
   ============================================= */
.main-footer {
    background: linear-gradient(135deg, #7b2ff7 0%, #c840e9 40%, #ff2d8a 70%, #ff6a88 100%);
    padding: 25px 20px;
    text-align: center;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* =============================================
   SCROLL ENTRANCE ANIMATIONS
   ============================================= */
.listing-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.listing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .main-header h1 {
        font-size: 2rem;
    }

    .header-sub {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .content-area {
        padding: 20px 10px 40px;
    }

    .section-badge {
        font-size: 1rem;
        padding: 12px 20px;
        border-radius: 10px;
    }

    .image-strip {
        height: 160px;
    }

    .image-track img {
        width: 200px;
        height: 160px;
    }

    .badge {
        font-size: 0.62rem;
        padding: 3px 8px;
    }

    .badge-feature {
        font-size: 0.68rem;
    }
}

@media (max-width: 480px) {
    .main-header h1 {
        font-size: 1.6rem;
    }

    .image-strip {
        height: 130px;
    }

    .image-track img {
        width: 160px;
        height: 130px;
    }
}
