/* Evet Kiralık - Ana Stil Dosyası */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,53,0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}
.btn-secondary:hover {
    background: #152D4A;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: white;
    color: var(--primary);
}
.btn-white:hover {
    background: var(--bg-secondary);
}

/* Top Bar */
.top-bar {
    background: var(--secondary);
    color: white;
    font-size: 0.8125rem;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar a {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar a:hover {
    color: white;
}

/* Header */
.header {
    background: white;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.logo-text small {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Navigation */
.nav-main {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.nav-link {
    padding: 10px 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--bg-secondary);
}

.nav-link i {
    font-size: 0.75rem;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 16px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu,
.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.dropdown-menu hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 8px 0;
}

/* Mega Menu */
.mega-menu {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 600px;
    padding: 24px;
}

.nav-dropdown:hover .mega-menu {
    transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mega-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
}

.mega-item i {
    font-size: 1.25rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.mega-item:hover {
    background: var(--bg-secondary);
}

.mega-item:hover i {
    background: white;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    position: relative;
}

.header-icon:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.header-icon .badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--danger);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 50px;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
}

.user-btn img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-btn i {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.user-dropdown .dropdown-menu {
    right: 0;
    left: auto;
    min-width: 220px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 24px;
    background: var(--bg-secondary);
}

.mobile-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.mobile-user strong {
    display: block;
}

.mobile-user small {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.mobile-auth {
    display: flex;
    gap: 12px;
}

.mobile-auth .btn {
    flex: 1;
}

.mobile-nav {
    padding: 16px;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
}

.mobile-nav a:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.mobile-nav a i {
    width: 24px;
}

.mobile-nav hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 12px 0;
}

.mobile-nav-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 12px 16px 8px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #0F2744 100%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,107,53,0.1)"/><circle cx="20" cy="80" r="30" fill="rgba(255,107,53,0.05)"/></svg>');
    background-size: cover;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* Search Box */
.search-box {
    background: white;
    border-radius: var(--radius-xl);
    padding: 8px;
    display: flex;
    gap: 8px;
    box-shadow: var(--shadow-xl);
}

.search-box-input {
    flex: 1;
    position: relative;
}

.search-box-input i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-box-input input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.search-box-input input::placeholder {
    color: var(--text-muted);
}

.search-box-select {
    position: relative;
}

.search-box-select select {
    appearance: none;
    padding: 16px 40px 16px 16px;
    border: none;
    border-left: 1px solid var(--border-light);
    font-family: inherit;
    font-size: 1rem;
    background: transparent;
    cursor: pointer;
    outline: none;
}

.search-box-select i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-box .btn {
    padding: 16px 32px;
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.section-title span {
    color: var(--primary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 1.75rem;
    color: white;
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.category-card span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Listings Section */
.listings-section {
    padding: 80px 0;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* Listing Card */
.listing-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.listing-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.listing-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.listing-card:hover .listing-card-image img {
    transform: scale(1.05);
}

.listing-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
}

.listing-badge.featured {
    background: var(--warning);
}

.listing-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.listing-favorite:hover,
.listing-favorite.active {
    color: var(--danger);
    background: #FEE2E2;
}

.listing-card-content {
    padding: 20px;
}

.listing-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.listing-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.listing-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.listing-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.listing-price small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.listing-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.listing-user img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.listing-user span {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Stats Section */
.stats-section {
    background: var(--secondary);
    padding: 60px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-about p {
    font-size: 0.9375rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.footer-contact ul li i {
    margin-top: 4px;
    color: var(--primary);
}

.app-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
}

.app-btn i {
    font-size: 1.25rem;
}

.app-btn:hover {
    background: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 16px;
}

.payment-methods img {
    height: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.badge-success { background: #D1FAE5; color: #059669; }
.badge-warning { background: #FEF3C7; color: #D97706; }
.badge-danger { background: #FEE2E2; color: #DC2626; }
.badge-info { background: #DBEAFE; color: #2563EB; }
.badge-secondary { background: #E2E8F0; color: #64748B; }

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success { background: #D1FAE5; color: #059669; }
.alert-warning { background: #FEF3C7; color: #D97706; }
.alert-danger { background: #FEE2E2; color: #DC2626; }
.alert-info { background: #DBEAFE; color: #2563EB; }

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group label span {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%2394A3B8" d="M6 8L1 3h10z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-text {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Text Helpers */
.text-primary { color: var(--primary) !important; }
.text-danger { color: var(--danger) !important; }
.text-success { color: var(--success) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }

/* Responsive */
@media (max-width: 1024px) {
    .nav-main { display: none; }
    .header-actions .btn-outline,
    .header-actions .btn-secondary { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box-select {
        border-left: none;
        border-top: 1px solid var(--border-light);
    }
    
    .search-box-select select {
        width: 100%;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-about {
        max-width: none;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
    
    .stats-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

