/* ========================================
   ATA EMLAK - Modern Theme with Dark/Light Mode
   Tasarım: Glassmorphism + Amber Accent
   ======================================== */

/* ===== CSS Variables ===== */
:root {
    /* Dark Theme Colors (Default) */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: rgba(30, 41, 59, 0.8);
    --bg-glass: rgba(15, 23, 42, 0.7);
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Accent Colors - Amber */
    --accent-primary: #d97706;
    --accent-secondary: #f59e0b;
    --accent-light: #fbbf24;
    --accent-dark: #b45309;
    
    /* Status Colors */
    --success: #22c55e;
    --warning: #eab308;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Border & Shadow */
    --border-color: rgba(148, 163, 184, 0.1);
    --border-light: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.6);
    
    /* Glassmorphism */
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
    
    /* Theme Transition */
    --theme-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Spacing - Global */
:root {
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Font */
    --font-family: 'Outfit', sans-serif;
}

/* ===== Light Theme ===== */
[data-theme="light"] {
    /* Light Theme Colors */
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.85);
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* Border & Shadow */
    --border-color: rgba(15, 23, 42, 0.1);
    --border-light: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(15, 23, 42, 0.08);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(217, 119, 6, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    transition: var(--theme-transition);
}

[data-theme="light"] body::before {
    background:
        radial-gradient(circle at 20% 80%, rgba(217, 119, 6, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.04) 0%, transparent 50%);
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.theme-toggle:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.theme-toggle:hover svg {
    color: white;
}

/* Sun icon (shown in dark mode) */
.theme-toggle .sun-icon {
    display: block;
}

.theme-toggle .moon-icon {
    display: none;
}

/* Moon icon (shown in light mode) */
[data-theme="light"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: block;
}

/* Smooth transitions for theme change */
body,
.header,
.footer,
.glass-card,
.property-card,
.filter-card,
.btn,
.form-input,
.form-select,
.form-textarea {
    transition: var(--theme-transition);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===== Glassmorphism Card ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
}

.glass-card-hover {
    transition: all var(--transition-normal);
}

.glass-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(217, 119, 6, 0.3);
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .header {
    background: transparent;
}

[data-theme="light"] .header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo img {
    height: 80px;
    max-height: 80px;
    width: auto;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-icon svg {
    width: 32px;
    height: 32px;
}

.logo span {
    color: var(--accent-primary);
}

/* Header üzerindeki elemanların görünürlüğü (şeffaf header) */
.header:not(.scrolled) .logo {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header:not(.scrolled) .logo span {
    color: var(--accent-light);
}

.header:not(.scrolled) .logo-icon {
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--spacing-sm) 0;
    position: relative;
    transition: color var(--transition-fast);
}

/* Şeffaf header üzerinde nav-link */
.header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.header:not(.scrolled) .nav-link:hover,
.header:not(.scrolled) .nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    padding: var(--spacing-sm);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

/* Şeffaf header üzerinde butonlar ve ikonlar */
.header:not(.scrolled) .mobile-menu-toggle {
    color: #ffffff;
}

.header:not(.scrolled) .theme-toggle {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header:not(.scrolled) .theme-toggle svg {
    color: #ffffff;
}

.header:not(.scrolled) .theme-toggle:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.header:not(.scrolled) .btn-primary {
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.5);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-family);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
    color: white;
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
}

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-glass:hover {
    background: rgba(217, 119, 6, 0.2);
    border-color: var(--accent-primary);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ===== Form Elements ===== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-family);
    font-size: 0.875rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.form-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-checkbox,
.form-radio {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.form-checkbox input,
.form-radio input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-primary);
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    touch-action: pan-y pinch-zoom;
    -webkit-user-select: none;
    user-select: none;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(15, 23, 42, 0.6) 40%,
        rgba(15, 23, 42, 0.3) 70%,
        rgba(15, 23, 42, 0.4) 100%
    );
}

[data-theme="light"] .slide-overlay {
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.9) 0%,
        rgba(15, 23, 42, 0.5) 40%,
        rgba(15, 23, 42, 0.2) 70%,
        rgba(15, 23, 42, 0.3) 100%
    );
}

/* Light mode slide title - always light colored for visibility */
[data-theme="light"] .slide-title,
[data-theme="light"] .slide-description {
    color: #f8fafc;
}

.slide-content {
    position: absolute;
    bottom: 28%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
    padding: 0 var(--spacing-lg);
    text-align: center;
    z-index: 5;
}

.slide-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    line-height: 1.2;
}

.slide-title span {
    color: var(--accent-primary);
}

.slide-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider-dot.active,
.slider-dot:hover {
    background: var(--accent-primary);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.slider-arrow.prev {
    left: var(--spacing-xl);
}

.slider-arrow.next {
    right: var(--spacing-xl);
}

/* ===== Search Box ===== */
.search-box {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2 * var(--spacing-lg));
    max-width: 1200px;
    z-index: 20;
}

.search-box-wrapper {
    position: relative;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: end;
}

.search-form .form-group {
    flex: 1;
    min-width: 150px;
    margin-bottom: 0;
}

.search-form .form-label {
    font-size: 0.75rem;
    margin-bottom: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.8);
}

.search-form .form-select {
    padding: 0.625rem 0.75rem;
    font-size: 0.8rem;
    background-size: 0.8rem;
}

.search-form .btn {
    min-height: 42px;
    padding: 0.625rem 1rem;
    font-size: 0.8rem;
}

/* ===== Section Styles ===== */
.section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(217, 119, 6, 0.1);
    color: var(--accent-primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Property Cards ===== */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.property-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(217, 119, 6, 0.3);
}

.property-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--accent-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.property-badge.kiralik {
    background: var(--info);
}

.property-favorite {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 36px;
    height: 36px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.property-favorite:hover {
    background: var(--error);
    border-color: var(--error);
}

.property-favorite svg {
    width: 18px;
    height: 18px;
    color: var(--text-primary);
}

.property-content {
    padding: var(--spacing-lg);
}

.property-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-title a {
    color: var(--text-primary);
}

.property-title a:hover {
    color: var(--accent-primary);
}

.property-location {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
}

.property-location svg {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
}

.property-features {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--spacing-md);
}

.property-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.property-feature svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.property-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.property-price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* ===== Features Section ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 119, 6, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== Stats Section ===== */
.stats-section {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-dark));
    padding: var(--spacing-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    text-align: center;
    margin: var(--spacing-2xl) 0;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.cta-description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: var(--spacing-lg);
}

.footer-brand p {
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--accent-primary);
    color: white;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Light Theme Footer - Koyu yazılar */
[data-theme="light"] .footer {
    background: #f1f5f9;
    border-top-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .footer-title {
    color: #0f172a;
}

[data-theme="light"] .footer-brand p {
    color: #334155;
}

[data-theme="light"] .footer-links a {
    color: #334155;
}

[data-theme="light"] .footer-links a:hover {
    color: #d97706;
}

[data-theme="light"] .footer-contact li {
    color: #334155;
}

[data-theme="light"] .footer-copyright {
    color: #475569;
}

[data-theme="light"] .footer-legal a {
    color: #475569;
}

[data-theme="light"] .footer-legal a:hover {
    color: #d97706;
}

[data-theme="light"] .social-link {
    background: #e2e8f0;
    color: #334155;
}

[data-theme="light"] .social-link:hover {
    background: #d97706;
    color: white;
}

[data-theme="light"] .footer-brand .logo {
    color: #0f172a;
}

/* ===== Page Header ===== */
.page-header {
    background-color: var(--bg-primary);
    background-image: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    padding: calc(70px + var(--spacing-2xl)) 0 var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

/* Page Header with Hero Image - Background is set via inline style */
.page-header.page-header-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(70px + var(--spacing-2xl)) 0 var(--spacing-2xl);
}

/* When has-bg-image: inline style sets background-image, CSS sets other properties */
.page-header.page-header-hero.has-bg-image {
    background-color: #1e293b;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.9) 0%,
        rgba(15, 23, 42, 0.6) 50%,
        rgba(15, 23, 42, 0.4) 100%
    );
    z-index: 1;
}

.page-header-hero .container {
    position: relative;
    z-index: 2;
}

.page-header-hero .page-title {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-header-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.8);
}

.page-header-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.page-header-hero .breadcrumb a:hover {
    color: var(--accent-primary);
}

.page-header-hero .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
}

.page-header-content {
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--accent-primary);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

/* ===== Property Detail Page ===== */
.property-detail {
    padding-top: 90px;
}

.property-gallery {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.property-gallery-main {
    height: auto;
    max-height: 600px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-gallery-main img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

.property-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.property-gallery-thumb {
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.property-gallery-thumb.active,
.property-gallery-thumb:hover {
    opacity: 1;
}

.property-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-2xl);
}

.property-info {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
}

.property-detail-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.property-detail-location {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.property-detail-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--spacing-lg);
}

.detail-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
}

.detail-feature svg {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-sm);
}

.detail-feature-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.detail-feature-value {
    font-weight: 600;
    color: var(--text-primary);
}

.property-description {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

.property-description:first-of-type {
    margin-top: var(--spacing-lg);
    padding-top: 0;
    border-top: none;
}

.property-description h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.property-description p {
    line-height: 1.8;
}

/* Property Sidebar */
.property-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.price-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.price-card-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-md);
}

.price-card-type {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(217, 119, 6, 0.1);
    color: var(--accent-primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-lg);
}

.agent-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
}

.agent-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.agent-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.agent-info h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.agent-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.agent-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* ===== Listings Page ===== */
.listings-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-2xl);
}

.listings-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.filter-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.filter-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.filter-title svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
}

.listings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.listings-count {
    color: var(--text-secondary);
}

.listings-count strong {
    color: var(--accent-primary);
}

.listings-sort {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.listings-view {
    display: flex;
    gap: var(--spacing-sm);
}

.view-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.view-btn.active,
.view-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

/* List View */
.property-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.property-card-list {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.property-card-list:hover {
    transform: translateX(8px);
    border-color: rgba(217, 119, 6, 0.3);
}

.property-card-list .property-image {
    height: 100%;
    min-height: 200px;
}

.property-card-list .property-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

.contact-form-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
}

.contact-info-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
}

.contact-info-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-info-content h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.contact-info-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.contact-map {
    margin-top: var(--spacing-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 250px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-2xl);
}

.pagination-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.pagination-item:hover,
.pagination-item.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.pagination-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Alert Messages ===== */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error);
}

.alert-warning {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: var(--warning);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--info);
}

/* ===== Loading & Empty States ===== */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: var(--spacing-2xl);
}

.empty-state svg {
    width: 80px;
    height: 80px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.empty-state h3 {
    margin-bottom: var(--spacing-sm);
}

.empty-state p {
    color: var(--text-secondary);
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .property-detail-content {
        grid-template-columns: 1fr;
    }
    
    .property-sidebar {
        position: static;
    }
}

@media (max-width: 992px) {
    .listings-layout {
        grid-template-columns: 1fr;
    }
    
    .listings-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-xl);
    }
    
    .filter-card {
        margin-bottom: var(--spacing-md);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-2xl: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .header-inner {
        position: relative;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 100px var(--spacing-xl) var(--spacing-xl);
        gap: var(--spacing-sm);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        align-items: center;
        justify-content: flex-start;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu .nav-link {
        font-size: 1.25rem;
        padding: var(--spacing-md) var(--spacing-xl);
        width: 100%;
        text-align: center;
        border-radius: var(--radius-lg);
        transition: all var(--transition-normal);
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: var(--bg-secondary);
        color: var(--accent-primary);
    }
    
    .nav-menu .nav-link::after {
        display: none;
    }
    
    /* Light theme mobile menu */
    [data-theme="light"] .nav-menu {
        background: var(--bg-primary);
    }
    
    [data-theme="light"] .nav-menu .nav-link {
        color: #0f172a;
    }
    
    [data-theme="light"] .nav-menu .nav-link:hover,
    [data-theme="light"] .nav-menu .nav-link.active {
        background: var(--bg-secondary);
        color: var(--accent-primary);
    }
    
    /* Header when menu is open - solid background */
    .header.menu-open {
        background: var(--bg-primary) !important;
        backdrop-filter: none !important;
    }
    
    [data-theme="light"] .header.menu-open {
        background: var(--bg-primary) !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-slider {
        height: 100vh;
        min-height: 500px;
    }
    
    .slide-content {
        bottom: 25%;
        padding: 0 var(--spacing-md);
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-arrow.prev {
        left: var(--spacing-md);
    }
    
    .slider-arrow.next {
        right: var(--spacing-md);
    }
    
    .search-box {
        bottom: 60px;
        padding: var(--spacing-sm);
        border-radius: var(--radius-lg);
    }
    
    .search-form {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }
    
    .search-form .form-group {
        flex: 1 1 calc(50% - var(--spacing-sm));
        min-width: calc(50% - var(--spacing-sm));
    }
    
    .search-form .form-label {
        font-size: 0.65rem;
        margin-bottom: 2px;
    }
    
    .search-form .form-select {
        padding: 0.5rem 0.625rem;
        font-size: 0.75rem;
        border-radius: var(--radius-md);
    }
    
    .search-form .btn {
        flex: 1 1 100%;
        min-height: 38px;
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .property-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: none;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .property-card-list {
        grid-template-columns: 1fr;
    }
    
    .property-gallery-main {
        height: 300px;
    }
    
    .property-gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-slider {
        height: 100vh;
        min-height: 480px;
    }
    
    .slide-content {
        bottom: 30%;
    }
    
    .slider-arrow {
        display: none;
    }
    
    .search-box {
        bottom: 50px;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .search-form .form-group {
        flex: 1 1 calc(50% - 4px);
        min-width: calc(50% - 4px);
    }
    
    .search-form .form-label {
        font-size: 0.6rem;
    }
    
    .search-form .form-select {
        padding: 0.4rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .search-form .btn {
        min-height: 34px;
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .property-detail-features {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent-primary); }

.bg-primary { background-color: var(--bg-primary); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-tertiary { background-color: var(--bg-tertiary); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-2xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }
.p-4 { padding: var(--spacing-xl); }
.p-5 { padding: var(--spacing-2xl); }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-none { display: none; }

.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--spacing-sm); }
.gap-2 { gap: var(--spacing-md); }
.gap-3 { gap: var(--spacing-lg); }
.gap-4 { gap: var(--spacing-xl); }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== PWA Install Banner ===== */
.pwa-install-banner {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.pwa-install-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.pwa-install-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-dark));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.3);
    padding: 10px;
}

.pwa-install-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pwa-install-content {
    flex: 1;
}

.pwa-install-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.pwa-install-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.pwa-install-features {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.pwa-install-features span {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 500;
}

.pwa-install-features span svg {
    width: 16px;
    height: 16px;
}

.pwa-install-actions {
    flex-shrink: 0;
    text-align: center;
}

.pwa-install-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
    margin-bottom: 0;
}

/* PWA Banner - Responsive */
@media (max-width: 992px) {
    .pwa-install-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .pwa-install-features {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pwa-install-banner {
        padding: var(--spacing-lg);
    }
    
    .pwa-install-icon {
        width: 80px;
        height: 80px;
    }
    
    .pwa-install-content h3 {
        font-size: 1.25rem;
    }
    
    .pwa-install-features {
        gap: var(--spacing-md);
    }
}

/* PWA Banner Hidden State */
#pwaInstallSection.hidden {
    display: none;
}
