/* ============================================
   EMLAKPLUS - TAM ve EKSİKSİZ CSS DOSYASI
   ============================================ */

/* ========== RESET & GENEL STİLLER ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f4f7fc;
    color: #1e293b;
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    min-height: 100vh;
}

body.menu-open {
    overflow: hidden;
}

body.modal-open {
    overflow: hidden;
}

body.filter-open {
    overflow: hidden;
}

/* ========== KAR TANELERİ İÇİN CANVAS ========== */
#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ========== ÖZEL GÜN KUTLAMA (TOAST) ========== */
.celebration-toast {
    position: fixed;
    top: 85px;
    right: 20px;
    left: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transform: translateX(150%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid #ffd700;
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .celebration-toast {
        left: auto;
        right: 20px;
        width: auto;
    }
}

.celebration-toast.show {
    transform: translateX(0);
}

.celebration-toast i {
    font-size: 24px;
    color: #ffd700;
    flex-shrink: 0;
}

.toast-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 16px;
}

.toast-message {
    font-size: 14px;
    opacity: 0.9;
}

.close-toast {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.close-toast:hover {
    background: rgba(255,255,255,0.3);
}

/* ========== NAVBAR & DRAWER MENÜ ========== */
.navbar {
    background: white;
    background-image: url('figur.png');
    background-repeat: repeat-x;
    background-position: top;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.50);
    z-index: -1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}
a.logo:link,
a.logo:visited,
a.logo:hover,
a.logo:active {
    text-decoration: none;
    color: inherit;
}

.logo i {
    font-size: 32px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hamburger Menü Butonu */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #334155;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

@media (max-width: 1023px) {
    .hamburger-btn {
        display: block;
    }
}

.hamburger-btn:hover {
    color: #2563eb;
}

/* Sağdan Açılan Drawer Menü */
.drawer-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1998;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}


@media (min-width: 480px) {
    .drawer-menu {
        width: 320px;
        right: -340px;
    }
}

.drawer-menu.show {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px 40px;
}

.drawer-logo {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-drawer {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
}

.close-drawer:hover {
    background: #2563eb;
    color: white;
}

.drawer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 24px 0;
}

.drawer-nav-links a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    font-size: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-nav-links a i {
    width: 24px;
    color: #2563eb;
    font-size: 18px;
}

.drawer-nav-links a:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.drawer-nav-links a.active {
    background: #2563eb;
    color: white;
}

.drawer-nav-links a.active i {
    color: white;
}

.drawer-user-menu {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.drawer-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 16px;
    margin-bottom: 16px;
}

.drawer-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.drawer-user-details {
    flex: 1;
}

.drawer-user-name {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.drawer-user-email {
    font-size: 12px;
    color: #64748b;
}

.drawer-menu-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #475569;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s;
    cursor: pointer;
}

.drawer-menu-item:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.drawer-menu-item i {
    width: 24px;
    color: #64748b;
    font-size: 18px;
}

.drawer-menu-item:hover i {
    color: #2563eb;
}

.drawer-menu-item .badge {
    background: #ef4444;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 20px;
    margin-left: auto;
}

.drawer-auth {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.drawer-btn-primary {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
}

.drawer-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: white;
}

.drawer-btn-outline {
    border: 2px solid #e2e8f0;
    color: #475569;
    background: white;
}

.drawer-btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb;
}

/* Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
}

.menu-overlay.show {
    display: block;
    opacity: 1;
}

/* Desktop Menü */
.desktop-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

@media (max-width: 1023px) {
    .desktop-menu {
        display: none;
    }
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 16px;
    position: relative;
}

.nav-links a:hover {
    color: #2563eb;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2563eb;
    border-radius: 2px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-menu i {
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s;
}

.user-menu i:hover {
    color: #2563eb;
}

.avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Login & Register Buttons */
.btn-login,
.btn-register {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.btn-login {
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-login:hover {
    background: #2563eb;
    color: white;
}

.btn-register {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    border: 2px solid transparent;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37,99,235,0.3);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1001;
    overflow: hidden;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.dropdown-header strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.dropdown-header small {
    font-size: 13px;
    opacity: 0.9;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: #f8fafc;
    color: #2563eb;
}

.dropdown-menu a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.dropdown-menu a.text-danger {
    color: #ef4444;
}

.dropdown-menu a.text-danger:hover {
    background: #fef2f2;
    color: #dc2626;
}

.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 6px 0;
}

/* ========== ANA İÇERİK ALANI ========== */
.main-content {
    padding: 30px 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .main-content {
        padding: 40px;
    }
}

/* ========== SAYFA BAŞLIĞI & SIRALAMA ========== */
.page-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .page-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-header h1 span {
    font-size: 16px;
    font-weight: 400;
    color: #64748b;
    background: #e2e8f0;
    padding: 4px 10px;
    border-radius: 40px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

@media (min-width: 640px) {
    .header-actions {
        width: auto;
    }
}

.view-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 4px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-right: 12px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 40px;
    background: transparent;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.view-btn:hover {
    color: #2563eb;
    background: #f1f5f9;
}

.view-btn.active {
    background: #2563eb;
    color: white;
}

.view-btn.active:hover {
    background: #1d4ed8;
    color: white;
}

.sorting {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    flex: 1;
}

@media (min-width: 640px) {
    .sorting {
        flex: initial;
        min-width: 200px;
    }
}

.sorting i {
    color: #2563eb;
    font-size: 14px;
}

.sorting select {
    border: none;
    background: transparent;
    font-weight: 500;
    color: #1e293b;
    outline: none;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
}

/* ========== STICKY İLETİŞİM BUTONLARI ========== */
.sticky-contact {
    position: fixed;
    right: 20px;
    top: 60%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.sticky-contact .contact-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sticky-contact .contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.3);
}

.sticky-contact .contact-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.sticky-contact .contact-btn.phone {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
}

.sticky-contact .contact-btn.email {
    background: linear-gradient(135deg, #ea4335, #c5221f);
    color: white;
}

.sticky-contact .contact-btn.message {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.sticky-contact .contact-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    background: rgba(15, 23, 42, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sticky-contact .contact-btn:hover::after {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

@media (max-width: 768px) {
    .sticky-contact {
        right: 15px;
        gap: 10px;
    }
    .sticky-contact .contact-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    .sticky-contact .contact-btn::after {
        font-size: 12px;
        padding: 6px 12px;
        right: 60px;
    }
    .sticky-contact .contact-btn:hover::after {
        right: 70px;
    }
}

/* ========== HERO / ARAMA BÖLÜMÜ ========== */
.hero {
    padding: 30px 20px 40px;
    position: relative;
    overflow: visible;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 10;
}

.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-background-slider .slide.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 48px;
        margin-bottom: 16px;
    }
}

.hero p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
    .hero p {
        font-size: 18px;
        margin-bottom: 32px;
    }
}

.search-container {
    background: white;
    border-radius: 60px;
    padding: 8px 8px 8px 20px;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(255,255,255,0.2);
    width: 100%;
    position: relative;
    z-index: 9999;
}

.search-icon {
    color: #2563eb;
    font-size: 18px;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .search-icon {
        font-size: 20px;
    }
}

.search-input {
    flex: 1;
    border: none;
    padding: 12px 0;
    font-size: 15px;
    background: transparent;
    outline: none;
    color: #1e293b;
    min-width: 0;
    width: 100%;
}

@media (min-width: 640px) {
    .search-input {
        padding: 16px 0;
        font-size: 16px;
    }
}

.search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
    font-style: italic;
    font-size: 14px;
}

@media (min-width: 640px) {
    .search-input::placeholder {
        font-size: 16px;
    }
}

.search-btn {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border: none;
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .search-btn {
        padding: 14px 32px;
        font-size: 16px;
        gap: 10px;
    }
}

.search-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.search-btn i {
    font-size: 12px;
}

@media (min-width: 640px) {
    .search-btn i {
        font-size: 14px;
    }
}

/* Arama dropdown sonuçları */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 10000;
}

.search-results-list {
    padding: 8px 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f8fafc;
}

.result-number {
    font-weight: 700;
    color: #2563eb;
    font-size: 14px;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}

.result-info {
    flex: 1;
    margin-left: 12px;
}

.result-title {
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
    margin-bottom: 4px;
}

.result-location {
    font-size: 12px;
    color: #64748b;
}

.result-arrow {
    color: #94a3b8;
    font-size: 12px;
    flex-shrink: 0;
}

.search-result-item:hover .result-arrow {
    color: #2563eb;
    transform: translateX(3px);
    transition: all 0.2s;
}

.no-result {
    padding: 16px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* Detaylı Arama Panel */
.advanced-search-panel {
    background: white;
    border-radius: 24px;
    margin-top: 16px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    opacity: 0;
}

.advanced-search-panel.show {
    padding: 20px;
    max-height: 1000px;
    opacity: 1;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .advanced-search-panel.show {
        padding: 24px;
    }
}

@media (min-width: 1024px) {
    .advanced-search-panel {
        background: rgba(255, 255, 255, 0.50);
        backdrop-filter: blur(0px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
}

.panel-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.panel-title h3 {
    font-size: 16px;
    color: #0f172a;
}

@media (min-width: 768px) {
    .panel-title h3 {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .panel-title h3 {
        color: white;
        text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    }
}

.close-panel {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.close-panel:hover {
    background: #2563eb;
    color: white;
}

.quick-filters-panel {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.filters-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 12px;
}

.filters-title i {
    margin-right: 6px;
    font-size: 14px;
}

.quick-filters-panel .quick-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.quick-filters-panel .filter-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-filters-panel .filter-chip:hover,
.quick-filters-panel .filter-chip.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.quick-filters-panel .filter-chip:hover i,
.quick-filters-panel .filter-chip.active i {
    color: white;
}

.quick-filters-panel .filter-chip i {
    color: #2563eb;
    font-size: 12px;
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

@media (min-width: 480px) {
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    display: block;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .filter-group label {
        font-size: 14px;
    }
}

.filter-group select,
.filter-group input {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    background: #f8fafc;
    width: 100%;
}

@media (min-width: 768px) {
    .filter-group select,
    .filter-group input {
        padding: 12px 16px;
    }
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: #2563eb;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (min-width: 768px) {
    .price-range {
        gap: 8px;
    }
}

.price-range input {
    width: 100%;
    min-width: 0;
}

.price-range-inputs {
    display: flex;
    gap: 8px;
}

.price-range-inputs input {
    width: 50%;
}

.apply-filters-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 48px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    font-size: 14px;
    display: block;
    margin: 0 auto;
}

.apply-filters-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}

.toggle-advanced {
    text-align: center;
    margin-top: 12px;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes spin-border {
    to { --angle: 360deg; }
}

@keyframes spin {
    from { --angle: 0deg; }
    to { --angle: 360deg; }
}

@keyframes spin-rgb {
    from { --angle-rgb: 0deg; --hue: 0; }
    to { --angle-rgb: 360deg; --hue: 360; }
}

@property --angle-rgb {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@property --hue {
    syntax: '<number>';
    initial-value: 0;
    inherits: false;
}





/* ========== İLAN DETAY SAYFASI ÖZEL STİLLERİ ========== */
.back-link {
    margin-bottom: 20px;
    display: inline-block;
}

.back-link a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 18px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    width: fit-content;
    transition: all 0.2s;
}

.back-link a:hover {
    background: white;
    transform: translateX(-5px);
}

.detail-header {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .detail-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.detail-title h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.detail-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 16px;
}

.detail-location i {
    color: #2563eb;
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: white;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn i {
    color: #2563eb;
    font-size: 18px;
}

.action-btn:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.action-btn:hover i {
    color: white;
}

.action-btn.favorite.active i {
    color: #ef4444;
}

.detail-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
}

.detail-left {
    flex: 1.2;
    min-width: 0;
}

.detail-right {
    flex: 0.8;
    min-width: 0;
}

@media (max-width: 1023px) {
    .detail-grid {
        flex-direction: column;
        gap: 0;
    }
    .detail-left,
    .detail-right {
        flex: none;
        width: 100%;
    }
}

.detail-slider-container {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    height: fit-content;
    position: relative;
    margin-bottom: 30px;
}

.slider-features {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 30;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: calc(100% - 40px);
    pointer-events: none;
}

.slider-feature-item {
    background: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(5px);
    padding: 7px 13px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.5);
    pointer-events: auto;
    transition: all 0.2s;
    font-weight: 500;
}

.slider-feature-item i {
    color: #2563eb;
    font-size: 13px;
}

.slider-feature-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
}

.slider-feature-item .feature-label {
    font-size: 12px;
    color: #64748b;
    margin-right: 2px;
}

.slider-feature-item .feature-value {
    font-weight: 700;
    color: #0f172a;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 12px;
    background: #f8fafc;
    margin: 0;
}

.property-detail-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    height: fit-content;
    margin-bottom: 30px;
}

.detail-price {
    font-size: 32px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 12px;
}

.detail-price span {
    font-size: 16px;
    font-weight: 400;
    color: #64748b;
}

.detail-section {
    margin-bottom: 24px;
}

.detail-section h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h3 i {
    color: #2563eb;
}

.property-description {
    color: #475569;
    line-height: 1.7;
    font-size: 15px;
}

.property-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.property-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
}

.property-features-list li i {
    color: #2563eb;
    font-size: 14px;
}

.map-container {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    height: fit-content;
    margin-bottom: 30px;
}

#property-map {
    height: 300px;
    width: 100%;
    border-radius: 16px;
    z-index: 5;
}

.agent-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    height: fit-content;
    margin-top: 30px;
}

.agent-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.agent-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 40px;
}

.agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-info h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.agent-info .agent-title {
    font-size: 13px;
    color: #64748b;
}

.agent-contact-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agent-contact-btns .contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-decoration: none;
}
.agent-contact-btns .contact-btn.whatsapp { background: #25D366; color: white; }
.agent-contact-btns .contact-btn.whatsapp:hover { background: #20bd5a; }
.agent-contact-btns .contact-btn.phone { background: #2563eb; color: white; }
.agent-contact-btns .contact-btn.phone:hover { background: #1d4ed8; }
.agent-contact-btns .contact-btn.email { background: #f1f5f9; color: #334155; }
.agent-contact-btns .contact-btn.email:hover { background: #e2e8f0; }
.agent-contact-btns .contact-btn i { font-size: 16px; }

@media (max-width: 1023px) {
    .detail-slider-container {
        margin-bottom: 25px;
    }
    .property-detail-card {
        margin-bottom: 25px;
    }
    .map-container {
        margin-bottom: 25px;
    }
    .slider-features {
        top: 10px;
        left: 10px;
        gap: 8px;
    }
    .slider-feature-item {
        padding: 6px 12px;
        font-size: 12px;
    }
}

.main-slider {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
    touch-action: pan-y pinch-zoom;
}

@media (min-width: 768px) {
    .main-slider {
        height: 400px;
    }
}

.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 25;
    pointer-events: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.main-slider:hover .zoom-icon {
    opacity: 1;
}

.slider-large {
    display: flex;
    transition: transform 0.3s ease-out;
    height: 100%;
    width: 100%;
}

.slider-large .slide-item {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    background: #f1f5f9;
}

.slider-large .slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.slider-large .slide-item.video-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
}

.slider-large .slide-item.video-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.slider-large .slide-item.video-slide::before {
    content: '\f04b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    padding-left: 6px;
    pointer-events: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.slider-large .slide-item[data-type="3d"]::after {
    content: '3D TUR';
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(37, 99, 235, 0.9);
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 5;
}

.slider-nav-btn {
    position: absolute;
    top: calc(50% - 20px);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1e293b;
    font-size: 18px;
    z-index: 20;
    border: 1px solid rgba(0,0,0,0.1);
    transition: background 0.2s, color 0.2s;
}

.slider-nav-btn:hover {
    background: #2563eb;
    color: white;
}

.slider-nav-btn.prev {
    left: 20px;
}

.slider-nav-btn.next {
    right: 20px;
}

.slider-dots-large {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.slider-dots-large .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(0,0,0,0.1);
}

.slider-dots-large .dot.active {
    background: white;
    width: 24px;
    border-radius: 12px;
}

.thumbnail {
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
    border: 2px solid transparent;
    position: relative;
}

.thumbnail.active {
    opacity: 1;
    border-color: #2563eb;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.thumbnail.video-thumb::after {
    content: '\f04b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    background: rgba(37, 99, 235, 0.9);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 3px;
}

.thumbnail.three-d-thumb::after {
    content: '3D';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    background: rgba(124, 58, 237, 0.9);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail:hover {
    opacity: 0.9;
}

.agent-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.agent-avatar-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 32px;
}

.agent-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.agent-info p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 8px;
}

.agent-rating {
    color: #fbbf24;
    font-size: 14px;
}

.agent-rating span {
    color: #64748b;
    margin-left: 5px;
}



/* ========== CAROUSEL ========== */
.similar-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 20px 0;
}

.similar-title h2 {
    font-size: 22px;
    font-weight: 700;
}

.similar-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.carousel-container {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    touch-action: pan-y pinch-zoom;
}

.similar-carousel {
    display: flex;
    transition: transform 0.4s ease;
    gap: 20px;
}

.carousel-item {
    flex: 0 0 calc(25% - 15px);
    min-width: 250px;
}

@media (max-width: 1023px) {
    .carousel-item {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .carousel-item {
        flex: 0 0 100%;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 18px;
    transition: all 0.2s;
}

.carousel-btn:hover {
    background: #2563eb;
    color: white;
}

.carousel-btn.prev {
    left: -20px;
}

.carousel-btn.next {
    right: -20px;
}

@media (max-width: 768px) {
    .carousel-btn.prev {
        left: -10px;
    }
    .carousel-btn.next {
        right: -10px;
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-dot.active {
    background: #2563eb;
    width: 24px;
    border-radius: 12px;
}

/* ========== FİLTRE PANELİ ========== */
.listings-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 1024px) {
    .listings-layout {
        grid-template-columns: 300px 1fr;
        gap: 30px;
    }
}

.filter-panel {
    background: white;
    border-radius: 24px;
    padding: 24px 20px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    align-self: start;
    position: sticky;
    top: 90px;
}

@media (max-width: 1023px) {
    .filter-panel {
        display: none;
    }
}

.filter-panel h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-panel h3 i {
    color: #2563eb;
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

.apply-filter-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.apply-filter-btn:hover {
    background: #1d4ed8;
}

.reset-filter-btn {
    background: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 14px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.reset-filter-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

/* Mobil Filtre Bottom Sheet */
.filter-bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    max-height: 85vh;
    overflow-y: auto;
    padding: 20px;
    visibility: hidden;
}

.filter-bottom-sheet.show {
    transform: translateY(0);
    visibility: visible;
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.sheet-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sheet-header h3 i {
    color: #2563eb;
}

.close-sheet {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
}

.close-sheet:hover {
    background: #2563eb;
    color: white;
}

.drag-handle {
    width: 40px;
    height: 5px;
    background: #cbd5e1;
    border-radius: 10px;
    margin: 0 auto 20px;
    cursor: grab;
}

.drag-handle:active {
    cursor: grabbing;
}

.sheet-content .filter-group {
    margin-bottom: 20px;
}

.sheet-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.sheet-actions button {
    flex: 1;
    padding: 14px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.sheet-apply {
    background: #2563eb;
    color: white;
}

.sheet-apply:hover {
    background: #1d4ed8;
}

.sheet-reset {
    background: #f1f5f9;
    color: #64748b;
}

.sheet-reset:hover {
    background: #e2e8f0;
}

.filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
}

.filter-overlay.show {
    display: block;
    opacity: 1;
}

.mobile-filter-btn {
    display: none;
    background: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #2563eb;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.mobile-filter-btn:hover {
    transform: scale(1.05);
    background: #2563eb;
    color: white;
}

@media (max-width: 1023px) {
    .mobile-filter-btn {
        display: flex;
    }
}

/* ========== İLAN KARTLARI ========== */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 480px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.card-grid.list-view {
    grid-template-columns: 1fr !important;
    gap: 16px;
}

.card-grid.list-view .property-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    padding: 16px;
}

.card-grid.list-view .card-slider {
    height: 200px;
    border-radius: 16px;
}

.card-grid.list-view .card-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-grid.list-view .card-footer {
    margin-top: 0;
}

@media (max-width: 768px) {
    .card-grid.list-view .property-card {
        grid-template-columns: 1fr;
        padding: 12px;
    }
    .card-grid.list-view .card-slider {
        height: 220px;
    }
}

@media (max-width: 640px) {
    .view-toggle {
        margin-right: 8px;
    }
    .view-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

.property-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    cursor: pointer;
    max-width: 100%;
    z-index: 15;
}

@media (min-width: 768px) {
    .property-card {
        border-radius: 24px;
    }
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 40px -15px rgba(37, 99, 235, 0.3);
}

.property-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: transform 0.2s;
    min-width: 0;
}

.property-card-link:hover {
    transform: translateY(-4px);
}

.card-slider {
    position: relative;
    height: 200px;
    min-height: 200px;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.card-slider img {
    min-height: 200px;
}

@media (min-width: 768px) {
    .card-slider {
        height: 240px;
    }
}

.slider-images {
    display: flex;
    transition: transform 0.3s ease-out;
    height: 100%;
    width: 100%;
    min-width: 0;
}

.slider-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    pointer-events: none;
}

.slider-btn {
    position: absolute;
    top: calc(50% - 14px);
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;
    color: #1e293b;
    font-size: 12px;
    z-index: 20;
    border: 1px solid rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
        opacity: 0;
        top: calc(50% - 15px);
    }
    .card-slider:hover .slider-btn {
        opacity: 1;
    }
}

.slider-btn:hover {
    background: white;
    color: #2563eb;
}

.slider-btn.prev {
    left: 8px;
}

.slider-btn.next {
    right: 8px;
}

.card-slider.no-image {
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-slider.no-image::after {
    content: '\f03e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 32px;
    color: #94a3b8;
}

.slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 20;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(0,0,0,0.1);
}

.dot.active {
    background: white;
    width: 16px;
    border-radius: 10px;
}

.card-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 20;
    display: flex;
    gap: 6px;
    pointer-events: none;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .card-tags {
        top: 16px;
        left: 16px;
    }
}

.card-tag {
    background: #2563eb;
    color: white;
    padding: 4px 10px;
    border-radius: 40px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .card-tag {
        padding: 6px 14px;
        font-size: 12px;
    }
}

.card-tag.special {
    background: #f59e0b;
}

.card-tag.price-tag.tag-sale {
    background: #10b981;
}

.card-tag.price-tag.tag-rent {
    background: #f59e0b;
}

.favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.9);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
    z-index: 20;
    border: 1px solid rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .favorite {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

.favorite:hover {
    background: white;
    transform: scale(1.1);
}

.card-content {
    padding: 16px;
}

@media (min-width: 768px) {
    .card-content {
        padding: 20px;
    }
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .price {
        font-size: 24px;
        margin-bottom: 8px;
    }
}

.price span {
    font-size: 12px;
    font-weight: 400;
    color: #64748b;
}

@media (min-width: 768px) {
    .price span {
        font-size: 14px;
    }
}

.card-content h4 {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .card-content h4 {
        font-size: 16px;
    }
}

.details {
    display: flex;
    gap: 12px;
    margin: 12px 0;
    color: #475569;
    font-size: 13px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .details {
        gap: 16px;
        margin: 16px 0;
        font-size: 14px;
    }
}

.details i {
    color: #2563eb;
    margin-right: 3px;
}

@media (min-width: 768px) {
    .details i {
        margin-right: 4px;
    }
}

.location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .location {
        font-size: 14px;
        margin-bottom: 16px;
    }
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

@media (min-width: 768px) {
    .card-footer {
        padding-top: 16px;
    }
}

.ilan-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ilan-no {
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #2563eb;
}

@media (min-width: 768px) {
    .ilan-no {
        padding: 5px 12px;
        font-size: 12px;
    }
}

.ilan-date {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #94a3b8;
    font-size: 11px;
}

@media (min-width: 768px) {
    .ilan-date {
        font-size: 12px;
    }
}

.ilan-date i {
    color: #2563eb;
    font-size: 10px;
}

.stats {
    display: flex;
    gap: 8px;
    color: #94a3b8;
    font-size: 11px;
}

@media (min-width: 768px) {
    .stats {
        gap: 12px;
        font-size: 12px;
    }
}

.load-more-container {
    text-align: center;
    margin-top: 20px;
}

.load-more-btn {
    background: white;
    border: 1px solid #e2e8f0;
    color: #2563eb;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.load-more-btn:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: scale(1.02);
}

/* ========== YENİLİKÇİ ARAÇLAR BÖLÜMÜ ========== */
.innovative-tools {
    background: linear-gradient(135deg, #0b1120 0%, #192132 100%);
    border-radius: 24px;
    padding: 30px 20px;
    margin: 30px 0;
    color: white;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

@media (min-width: 768px) {
    .innovative-tools {
        border-radius: 32px;
        padding: 40px;
        margin: 40px 0;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

.tools-left h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .tools-left h3 {
        font-size: 32px;
        margin-bottom: 16px;
    }
}

.tools-left p {
    color: #a5b4fc;
    margin-bottom: 20px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .tools-left p {
        margin-bottom: 24px;
        font-size: 16px;
    }
}

.tool-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tool-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 20px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
    font-size: 14px;
}

@media (min-width: 768px) {
    .tool-btn {
        padding: 14px 28px;
        font-size: 16px;
        gap: 10px;
    }
}

.tool-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: scale(1.05);
}

.tools-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 768px) {
    .tools-right {
        gap: 20px;
    }
}

.tool-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 20px 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s;
}

@media (min-width: 768px) {
    .tool-card {
        border-radius: 24px;
        padding: 24px;
    }
}

.tool-card:hover {
    transform: translateY(-3px);
    background: rgba(37, 99, 235, 0.2);
}

@media (min-width: 768px) {
    .tool-card:hover {
        transform: translateY(-5px);
    }
}

.tool-card i {
    font-size: 24px;
    color: #a5b4fc;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .tool-card i {
        font-size: 32px;
        margin-bottom: 12px;
    }
}

.tool-card h4 {
    margin-bottom: 6px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .tool-card h4 {
        margin-bottom: 8px;
        font-size: 16px;
    }
}

.tool-card p {
    font-size: 11px;
    color: #cbd5e1;
}

@media (min-width: 768px) {
    .tool-card p {
        font-size: 12px;
    }
}

/* ========== İLETİŞİM / ETKİLEŞİM BANNER ========== */
.interaction-banner {
    background: white;
    border-radius: 24px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 20px;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.2);
    margin: 30px 0;
}

@media (min-width: 768px) {
    .interaction-banner {
        border-radius: 32px;
        padding: 40px;
        flex-direction: row;
        text-align: left;
        margin: 40px 0;
    }
}

.banner-text h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .banner-text h3 {
        font-size: 24px;
        margin-bottom: 8px;
    }
}

.banner-text p {
    color: #64748b;
    font-size: 14px;
}

@media (min-width: 768px) {
    .banner-text p {
        font-size: 16px;
    }
}

.banner-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .btn-primary {
        padding: 14px 32px;
        font-size: 16px;
    }
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    border: 2px solid #e2e8f0;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .btn-outline {
        padding: 12px 30px;
        font-size: 16px;
    }
}

.btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb;
}

/* ========== TAM EKRAN MODAL SLIDER ========== */
.fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 2010;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-slider {
    display: flex;
    transition: transform 0.3s ease-out;
    height: 100%;
    width: 100%;
}

.modal-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.modal-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-slide video {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.modal-slide[data-type="3d"] iframe {
    width: 90%;
    height: 90%;
    border: none;
    border-radius: 8px;
}

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 2010;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
}

.modal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav-btn.prev {
    left: 20px;
}

.modal-nav-btn.next {
    right: 20px;
}

.modal-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2010;
}

.modal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.modal-dot.active {
    background: #2563eb;
    width: 30px;
    border-radius: 15px;
}

.modal-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    backdrop-filter: blur(4px);
    z-index: 2010;
}

/* ========== MASAÜSTÜ DEKORASYONLAR ========== */
.desktop-decorations {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-decorations {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 2;
    }
    .left-tree {
        position: absolute;
        bottom: 0;
        left: 20px;
        width: 200px;
        height: auto;
        z-index: 2;
        opacity: 0.9;
        transition: opacity 0.3s;
    }
    .left-tree img {
        width: 100%;
        height: auto;
        display: block;
    }
    .right-snowman {
        position: absolute;
        bottom: 0;
        right: 20px;
        width: 180px;
        height: auto;
        z-index: 2;
        opacity: 0.9;
        transition: opacity 0.3s;
    }
    .right-snowman img {
        width: 100%;
        height: auto;
        display: block;
    }
    @media (min-width: 1800px) {
        .left-tree {
            width: 250px;
            left: 50px;
        }
        .right-snowman {
            width: 220px;
            right: 50px;
        }
    }
    .left-tree:hover,
    .right-snowman:hover {
        opacity: 1;
        transform: translateY(-5px);
        transition: all 0.3s;
    }
}

/* ========== VİDEO ARKA PLAN ========== */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.3;
}

.content-overlay {
    position: relative;
    z-index: 2;
}

/* ========== SAYFA ÖZEL ARKA PLAN RENGİ ========== */
.filter-panel,
.property-card,
.sorting,
.mobile-filter-btn,
.page-header h1 span,
.load-more-btn {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(5px);
}

.property-card {
    background: rgba(255, 255, 255, 0.9) !important;
}

.filter-panel {
    background: rgba(255, 255, 255, 0.9) !important;
}

/* ========== AÇILIŞ MODAL ========== */
.welcome-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.welcome-modal.show {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: modalFadeIn 0.5s ease;
    border: none;
    outline: none;
    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    line-height: 0;
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    border: none;
    outline: none;
    border-radius: 0;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    border: none;
}

.close-modal:hover {
    background: rgba(255,255,255,0.3);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========== NO RESULTS ========== */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 24px;
}

.no-results i {
    font-size: 64px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1e293b;
}

.no-results p {
    color: #64748b;
}

/* ========== DESKTOP GIF ========== */
@media (max-width: 1023px) {
    .desktop-gif {
        display: none !important;
    }
}

/* ========== ANİMASYONLAR ========== */
@keyframes slideIn {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100px);
        opacity: 0;
    }
}

/* ========== FOOTER ========== */
.footer {
    background: #0f172a;
    color: white;
    padding: 40px 20px 20px;
    border-radius: 30px 30px 0 0;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .footer {
        padding: 60px 40px 30px;
        border-radius: 40px 40px 0 0;
        margin-top: 60px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 480px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
}

.footer-col p {
    color: #94a3b8;
    margin: 15px 0;
    font-size: 14px;
}

@media (min-width: 768px) {
    .footer-col p {
        margin: 20px 0;
        font-size: 15px;
    }
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links i {
    font-size: 18px;
    color: #94a3b8;
    transition: color 0.2s;
    cursor: pointer;
}

@media (min-width: 768px) {
    .social-links i {
        font-size: 20px;
    }
}

.social-links i:hover {
    color: #2563eb;
}

.footer-col h4 {
    margin-bottom: 18px;
    font-size: 16px;
}

@media (min-width: 768px) {
    .footer-col h4 {
        margin-bottom: 24px;
        font-size: 18px;
    }
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .footer-col ul li {
        margin-bottom: 12px;
        font-size: 15px;
    }
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    color: #475569;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    font-size: 12px;
}

@media (min-width: 768px) {
    .copyright {
        margin-top: 40px;
        padding-top: 30px;
        font-size: 14px;
    }
}

       .section-header {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 20px;
        }

        @media (min-width: 480px) {
            .section-header {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
        }

        @media (min-width: 768px) {
            .section-header {
                margin-bottom: 24px;
            }
        }

        .section-header h2 {
            font-size: 22px;
            font-weight: 700;
            color: #0f172a;
        }

        @media (min-width: 768px) {
            .section-header h2 {
                font-size: 28px;
            }
        }

        .section-header a {
            color: #2563eb;
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 14px;
        }

        @media (min-width: 768px) {
            .section-header a {
                font-size: 16px;
            }
        }

/* Detaylı Bilgiler Tablosu */
.property-detail-table {
    width: 100%;
    border-collapse: collapse;
}
.property-detail-table tr {
    border-bottom: 1px solid #f1f5f9;
}
.property-detail-table tr:last-child {
    border-bottom: none;
}
.property-detail-table td {
    padding: 10px 8px;
    font-size: 14px;
    vertical-align: middle;
}
.property-detail-table .detail-label {
    color: #64748b;
    font-weight: 500;
    width: 45%;
}
.property-detail-table .detail-value {
    color: #1e293b;
    font-weight: 600;
    text-align: right;
}

/* Kategorik Özellikler */
.extended-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.ef-category {
    background: #f8fafc;
    border-radius: 8px;
    padding: 14px;
    border: 1px solid #e2e8f0;
}
.ef-category-title {
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ef-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ef-list li {
    font-size: 13px;
    color: #475569;
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ef-list li i {
    color: #22c55e;
    font-size: 14px;
}

/* ========== KURUMSAL SAYFASI ========== */
.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(37,99,235,0.15) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(124,58,237,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .page-hero {
        padding: 80px 40px;
    }
    .page-hero h1 {
        font-size: 48px;
    }
}

.page-hero p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
}

@media (min-width: 768px) {
    .page-hero p {
        font-size: 18px;
    }
}

.corporate-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .corporate-page {
        padding: 40px;
    }
}

.corporate-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

@media (max-width: 1023px) {
    .corporate-layout {
        flex-direction: column;
    }
}

.corporate-sidebar {
    flex: 0 0 260px;
    position: sticky;
    top: 90px;
    z-index: 50;
}

@media (max-width: 1023px) {
    .corporate-sidebar {
        flex: none;
        width: 100%;
        position: relative;
        top: 0;
        overflow-x: auto;
    }
}

.corporate-tabs {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1023px) {
    .corporate-tabs {
        flex-direction: row;
        border-radius: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.corporate-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    border-left: 3px solid transparent;
    white-space: nowrap;
}

@media (max-width: 1023px) {
    .corporate-tab {
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 14px 16px;
        font-size: 13px;
        flex-shrink: 0;
    }
}

.corporate-tab:hover {
    background: #2563eb;
    color: white;
}

.corporate-tab:hover i {
    color: white;
}

.corporate-tab.active {
    background: #2563eb;
    color: white;
    border-left-color: #2563eb;
    font-weight: 600;
}

.corporate-tab.active i {
    color: white;
}

.corporate-tab.active:hover {
    background: #1d4ed8;
}

@media (max-width: 1023px) {
    .corporate-tab.active {
        border-left-color: transparent;
        border-bottom-color: #2563eb;
    }
}

.corporate-tab i {
    font-size: 18px;
    width: 22px;
    text-align: center;
}

.corporate-content {
    flex: 1;
    min-width: 0;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.corporate-card {
    background: white;
    border-radius: 24px;
    padding: 30px 24px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .corporate-card {
        padding: 40px;
    }
}

.corporate-card > h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.corporate-card > h2 i {
    color: #2563eb;
}

.corporate-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.corporate-card h3 i {
    color: #2563eb;
}

/* Company Intro */
.company-intro {
    margin-bottom: 30px;
}

.intro-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
}

.intro-text p {
    color: #475569;
    line-height: 1.7;
    font-size: 15px;
}

/* Milestone */
.company-milestone {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.milestone-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.milestone-item i {
    font-size: 24px;
    color: #2563eb;
    margin-top: 2px;
    flex-shrink: 0;
}

.milestone-item strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 4px;
}

.milestone-item span {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* Mission & Vision */
.company-mission-vision {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

@media (min-width: 640px) {
    .company-mission-vision {
        grid-template-columns: 1fr 1fr;
    }
}

.mv-card {
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e0e7ff;
}

.mv-card i {
    font-size: 28px;
    color: #2563eb;
    margin-bottom: 12px;
}

.mv-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.mv-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* Values */
.company-values {
    margin-bottom: 10px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 480px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-item {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: transform 0.2s, box-shadow 0.2s;
}

.value-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.value-item i {
    font-size: 28px;
    color: #2563eb;
    margin-bottom: 10px;
}

.value-item h5 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.value-item p {
    font-size: 12px;
    color: #64748b;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.team-member {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: transform 0.2s, box-shadow 0.2s;
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.member-avatar {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
    color: white;
}

.team-member h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.member-title {
    display: block;
    font-size: 12px;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-member p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* Department */
.department-section {
    margin-top: 10px;
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.dept-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #f1f5f9;
    transition: all 0.2s;
}

.dept-item:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.dept-item i {
    font-size: 20px;
    color: #2563eb;
}

.dept-item span {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

@media (min-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    border: 1px solid #e0e7ff;
    transition: transform 0.2s;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-item i {
    font-size: 28px;
    color: #2563eb;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 36px;
    }
}

.stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

/* Certificates */
.certificates-section {
    margin-bottom: 30px;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 640px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid #f1f5f9;
}

.cert-item i {
    font-size: 20px;
    color: #f59e0b;
    flex-shrink: 0;
}

.cert-item span {
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}

/* References */
.references-section {
    margin-bottom: 10px;
}

.ref-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.ref-logo {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.ref-logo:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.ref-logo i {
    font-size: 28px;
    color: #94a3b8;
}

.ref-logo span {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-item {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px 20px;
    border: 1px solid #f1f5f9;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.service-item i {
    font-size: 28px;
    color: #2563eb;
    margin-bottom: 12px;
}

.service-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.service-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* Press */
.press-section {
    margin-bottom: 30px;
}

.press-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.press-item {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #f1f5f9;
    transition: all 0.2s;
}

.press-item:hover {
    border-color: #e0e7ff;
    background: #fafaff;
}

.press-date {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 8px;
}

.press-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.press-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 12px;
}

.press-link {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.press-link:hover {
    gap: 10px;
}

/* Media Gallery */
.media-section {
    margin-bottom: 30px;
}

.media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.media-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    border: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.media-item:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.media-item i {
    font-size: 32px;
    color: #94a3b8;
}

.media-item span {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
}

/* Press Contact */
.contact-press {
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    border-radius: 16px;
    padding: 20px 24px;
}

.contact-press h3 {
    margin-bottom: 8px;
}

.contact-press p {
    font-size: 14px;
    color: #475569;
}

.contact-press a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.contact-press a:hover {
    text-decoration: underline;
}

/* ========== İLETİŞİM SAYFASI ========== */
.contact-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .contact-page {
        padding: 40px;
    }
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .contact-layout {
        grid-template-columns: 380px 1fr;
    }
}

.contact-card {
    background: white;
    border-radius: 24px;
    padding: 30px 24px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .contact-card {
        padding: 35px;
    }
}

.contact-card > h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.contact-card > h3 i {
    color: #2563eb;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 18px;
    color: #2563eb;
}

.contact-info-item strong {
    display: block;
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.contact-info-item p {
    font-size: 15px;
    color: #0f172a;
    font-weight: 500;
}

.contact-info-item a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-item a:hover {
    color: #2563eb;
}

.contact-social {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.contact-social h4 {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.contact-social h4 i {
    color: #2563eb;
}

.contact-social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
}

.social-link.facebook { background: #1877f2; }
.social-link.twitter { background: #1da1f2; }
.social-link.instagram { background: #e4405f; }
.social-link.linkedin { background: #0a66c2; }
.social-link.youtube { background: #ff0000; }

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Contact Form */
.contact-form .form-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 0;
}

@media (min-width: 640px) {
    .contact-form .form-row-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.contact-form label .required {
    color: #ef4444;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    background: #f8fafc;
    color: #1e293b;
}

.contact-form .form-control:focus {
    border-color: #2563eb;
    background: white;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-control::placeholder {
    color: #94a3b8;
}

.btn-submit {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.btn-submit:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(37,99,235,0.3);
}

.alert-success-custom,
.alert-error-custom {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success-custom {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-success-custom i {
    color: #10b981;
    font-size: 20px;
}

.alert-error-custom {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.alert-error-custom i {
    color: #ef4444;
    font-size: 20px;
}

/* Map Section */
.contact-map-section {
    margin-top: 0;
}

.map-container-custom {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.map-container-custom .leaflet-container {
    border-radius: 16px;
    z-index: 1;
}

/* ========== KARSILASTIRMA (COMPARE) STILLERI ========== */
/* Card icon button (favorite yanındaki simge) */
.compare-icon-btn {
    position: absolute;
    top: 12px;
    right: 50px;
    background: rgba(255,255,255,0.9);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
    z-index: 20;
    border: 1px solid rgba(0,0,0,0.1);
}
.compare-icon-btn:hover {
    background: white;
    transform: scale(1.1);
    color: #2563eb;
}
.compare-icon-btn.active {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
}
.compare-icon-btn.active i {
    color: #2563eb;
}

@media (min-width: 768px) {
    .compare-icon-btn {
        top: 16px;
        right: 58px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* Detail page action button active state */
.action-btn.active {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
}
.action-btn.active i {
    color: #2563eb;
}

.compare-nav-link {
    position: relative;
    text-decoration: none;
    color: inherit;
}
.compare-nav-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 4px rgba(239,68,68,0.3);
}

.action-btn.active {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
}
.action-btn.active i {
    color: #2563eb;
}

/* ===== Notification Dropdown ===== */
.notif-dropdown {
    position: relative;
}

.notif-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: -20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    width: 360px;
    max-height: 480px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1001;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.notif-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notif-header {
    padding: 16px 20px 12px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.notif-header strong {
    font-size: 16px;
    color: #1e293b;
}

.notif-mark-all {
    font-size: 12px;
    color: #2563eb;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
}

.notif-mark-all:hover {
    text-decoration: underline;
}

.notif-list {
    overflow-y: auto;
    flex: 1;
}

.notif-item {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    text-decoration: none;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.15s;
    cursor: pointer;
}

.notif-item:hover {
    background: #f8fafc;
}

.notif-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 16px;
}

.notif-content {
    flex: 1;
    min-width: 0;
}

.notif-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}

.notif-text {
    font-size: 12px;
    color: #64748b;
    line-height: 1.3;
    margin-bottom: 4px;
}

.notif-time {
    font-size: 11px;
    color: #94a3b8;
}

.notif-empty {
    padding: 40px 20px;
    text-align: center;
    color: #94a3b8;
}

.notif-empty i {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
}

.notif-empty p {
    font-size: 14px;
    margin: 0;
}

.notif-footer {
    padding: 12px 20px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    flex-shrink: 0;
}

.notif-footer a {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.notif-footer a:hover {
    text-decoration: underline;
}

.notif-bell-badge {
    pointer-events: none;
}

/* ========== GLASS BUTTON ========== */
:root {
    --lg-bg-color: rgba(200, 200, 200, 0.35);
    --lg-highlight: rgba(255, 255, 255, 0.75);
    --lg-text: #ffffff;
}

.btn-wrap {
    position: relative;
    display: inline-flex;
    border-radius: 2rem;
}

.btn-wrap::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: calc(2rem + 3px);
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 0deg,
        rgba(255,255,255,0.0) 30deg,
        rgba(255,255,255,0.9) 70deg,
        rgba(220,235,255,0.8) 120deg,
        rgba(255,255,255,0.4) 160deg,
        transparent 200deg,
        transparent 360deg
    );
    padding: 4px;
    -webkit-mask:
        linear-gradient(black, black) padding-box,
        linear-gradient(black, black) content-box;
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(black, black) padding-box,
        linear-gradient(black, black) content-box;
    mask-composite: exclude;
    animation: spin 2.5s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.btn-wrap--circle {
    border-radius: 50%;
    margin-top: auto;
}

.btn-wrap--circle::before {
    border-radius: calc(50% + 3px);
    background: conic-gradient(
        from var(--angle-rgb, 0deg),
        transparent 0deg,
        hsla(var(--hue, 0), 100%, 60%, 0.0) 30deg,
        hsla(var(--hue, 0), 100%, 65%, 1.0) 70deg,
        hsla(calc(var(--hue, 0) + 20), 100%, 70%, 0.8) 120deg,
        hsla(calc(var(--hue, 0) + 40), 100%, 65%, 0.4) 160deg,
        transparent 200deg,
        transparent 360deg
    );
    animation: spin-rgb 2.5s linear infinite;
}

.btn-wrap--circle .container--small {
    z-index: 2;
}

.glass-container--round {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 6px 6px rgba(0,0,0,0.2), 0 0 20px rgba(0,0,0,0.1);
    color: var(--lg-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-container--round:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.15);
}

.glass-container--round:active {
    transform: scale(0.97);
}

.glass-container--round .glass-content {
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-wrap .container--small {
    position: relative;
    z-index: 2;
    display: flex;
}

.btn-glass {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: calc(2rem - 2px);
    overflow: hidden;
    cursor: pointer;
    color: var(--lg-text);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 6px rgba(0,0,0,0.2), 0 0 20px rgba(0,0,0,0.1);
    outline: none;
    border: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    z-index: 1;
}

.btn-glass:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.15);
}

.btn-glass:active {
    transform: scale(0.97);
}

.btn-glass .glass-filter,
.glass-container--round .glass-filter {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    filter: saturate(120%) brightness(1.15);
}

.btn-glass .glass-overlay,
.glass-container--round .glass-overlay {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 1;
    background: var(--lg-bg-color);
}

.btn-glass .glass-specular,
.glass-container--round .glass-specular {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 2;
    box-shadow: inset 1px 1px 0 var(--lg-highlight), inset 0 0 5px var(--lg-highlight);
    pointer-events: none;
}

.btn-glass .glass-refract,
.glass-container--round .glass-refract {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.btn-glass .glass-refract::after,
.glass-container--round .glass-refract::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -30%;
    width: 60%;
    height: 160%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255,255,255,0.18) 50%,
        rgba(255,255,255,0.06) 55%,
        transparent 65%
    );
    transform: translateX(-100%);
}

.btn-glass:hover .glass-refract::after,
.glass-container--round:hover .glass-refract::after {
    transform: translateX(380%);
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-glass .glass-light,
.glass-container--round .glass-light {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(
        circle 80px at 50% 50%,
        rgba(255,255,255,0.28) 0%,
        rgba(255,255,255,0.08) 40%,
        transparent 70%
    );
}

.btn-glass:hover .glass-light,
.glass-container--round:hover .glass-light {
    opacity: 1;
}

.btn-glass .glass-content,
.glass-container--round .glass-content {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

.btn-glass .glass-content i,
.glass-container--round .glass-content i {
    font-size: 18px;
}

/* Pill shape modifier */
.btn-glass.btn-glass--circle {
    border-radius: 50%;
    width: 55px;
    height: 55px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-glass.btn-glass--circle {
    background: transparent !important;
}

.btn-glass.btn-glass--circle .glass-overlay {
    background: rgba(200, 200, 200, 0.15) !important;
}

.btn-glass.btn-glass--circle .glass-filter {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    filter: brightness(1.15) saturate(120%);
}

.btn-glass.btn-glass--circle .glass-content {
    padding: 0;
    justify-content: center;
}

.btn-glass.btn-glass--circle .glass-content i {
    font-size: 22px;
    margin: 0;
}

/* ========== ALT THEME: Blue-Purple Gradient ========== */
.btn-glass--alt .glass-overlay {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(124, 58, 237, 0.3)) !important;
}
.btn-glass--circle.btn-glass--alt .glass-overlay {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(124, 58, 237, 0.25)) !important;
}
.btn-glass--circle.btn-glass--alt .glass-content i {
    color: #fff;
}

/* ========== SEARCH THEME: Solid Blue-Purple (Ara button style) ========== */
.btn-glass--search-theme .glass-overlay {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.65), rgba(124, 58, 237, 0.65)) !important;
}
.btn-glass--circle.btn-glass--search-theme .glass-overlay {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.55), rgba(124, 58, 237, 0.55)) !important;
}
.btn-glass--circle.btn-glass--search-theme .glass-content i {
    color: #fff !important;
}

