/* Tablet ve Mobil için Responsive Tasarım */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {

  .header {
    height: 60px; /* Mobil için daha küçük yükseklik */
}
.main-content {
    padding-top: 60px;
    min-height: calc(100vh - 60px);
}

.messages-container {
    margin: 60px auto 20px;
    height: calc(100vh - 80px);
}
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: var(--shadow-lg);
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-actions {
        display: none;
    }

    /* Hero Section */
    .hero {
        padding: 40px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Listings */
    .listings-grid {
        grid-template-columns: 1fr;
    }

    .listing-card {
        margin: 0 1rem;
    }

    /* Steps */
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.popular {
        transform: none;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .listing-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .listing-actions {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Landscape mod için düzenlemeler */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 100px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        margin-bottom: 1.5rem;
    }
}

/* Yüksek çözünürlük ekranlar */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Koyu tema desteği */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #f9fafb;
        --text-light: #9ca3af;
        --bg-light: #1f2937;
        --bg-white: #111827;
        --border-color: #374151;
    }

    body {
        background-color: var(--bg-white);
    }

    .header {
        background: rgba(17, 24, 39, 0.95);
    }

    .nav-link {
        color: var(--text-color);
    }

    .listing-card,
    .pricing-card {
        background: var(--bg-light);
        border-color: var(--border-color);
    }

    .listing-header,
    .listing-footer,
    .pricing-header {
        background: rgba(31, 41, 55, 0.8);
    }

    .hero {
        background: linear-gradient(135deg, #1e3a8a 0%, #5b21b6 100%);
    }

    .hero-title,
    .hero-subtitle {
        color: white;
        -webkit-text-fill-color: white;
    }

    .stat-number {
        color: white;
    }

    .stat-label {
        color: rgba(255, 255, 255, 0.8);
    }
}
