* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    min-height: 100vh; /* Keep the min-height for full viewport height */
    /* Remove the flex layout that was causing issues on mobile */
    position: relative; /* This helps with absolute positioning of footer */
    margin: 0;
    padding-bottom: 60px; /* Add space for the footer */
}

/* Top Bar Styles */
.top-bar {
    background: #ffffff;
    padding: 0.4rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.85rem;
    position: relative;
    z-index: 101;
}

.top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
    position: relative;
}

.top-bar-left {
    display: flex;
    gap: 2rem;
    align-items: center;
    position: absolute;
    left: 2.5rem;
}

.property-categories {
    display: flex !important;
    gap: 1.5rem !important;
    align-items: center !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    border-left: none !important;
}

.property-categories a {
    color: #333 !important;
    background: none !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    transition: color 0.3s ease !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    letter-spacing: normal !important;
}

.property-categories a:hover {
    color: #dc3545 !important;
    background: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.property-categories a:active {
    transform: none !important;
    box-shadow: none !important;
}

.language-selector,
.currency-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.language-selector:hover,
.currency-selector:hover {
    color: #007bff;
}

.language-selector i,
.currency-selector i {
    color: #d40000;
}

.language-selector select,
.currency-selector select {
    background: transparent;
    color: #333;
    border: none;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.language-selector select option,
.currency-selector select option {
    background: #ffffff;
    color: #333;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: absolute;
    right: 2.5rem;
}

.contact-info-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info-top a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.contact-info-top a:hover {
    color: #d40000;
}

.contact-info-top a i {
    color: #d40000;
}

.divider {
    color: #555;
}

.login-btn {
    background: #d40000;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #b80000;
    transform: translateY(-2px);
}

/* Header Styles */
header {
    background: #ffffff;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 50px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
}

/* Mobile: Hide top-bar */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    header {
        top: 0;
    }
}

/* Hero Banner Carousel */
.hero-banner {
    width: 100%;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.carousel {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: visible;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.carousel-item.active {
    opacity: 1;
    z-index: 2;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.carousel-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-overlay p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: #d40000;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.indicator.active {
    background: #d40000;
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Featured Section Header */
.featured-section {
    text-align: center;
    padding: 2rem 1rem 1rem;
    background: white;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
    display: none;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    display: none;
}

/* Banner Search Bar */
.banner-search-fixed {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 900px;
    z-index: 150;
    pointer-events: auto;
}

.banner-search {
    position: absolute;
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 900px;
    z-index: 150;
}

.search-container {
    display: flex;
    gap: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.search-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 140px;
}

.search-group label {
    font-size: 0.80rem;
    font-weight: 700;
    color: #d40000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-input {
    padding: 10px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: #d40000;
    box-shadow: 0 0 8px rgba(212, 0, 0, 0.4), inset 0 0 3px rgba(212, 0, 0, 0.1);
    background: #fff9f9;
}

.search-btn {
    padding: 10px 30px;
    background: linear-gradient(135deg, #d40000 0%, #c20000 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    align-self: flex-end;
    box-shadow: 0 5px 15px rgba(212, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.search-btn:hover {
    background: linear-gradient(135deg, #c20000 0%, #a80000 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 0, 0, 0.4);
    box-shadow: 0 5px 15px rgba(212, 0, 0, 0.3);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    margin: 0 auto 2rem;
    max-width: 1400px;
    width: calc(100% - 2rem);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 150px;
}

.filter-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-group label i {
    color: #d40000;
}

.filter-input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-input:focus {
    outline: none;
    border-color: #d40000;
    box-shadow: 0 0 5px rgba(212, 0, 0, 0.2);
}

.filter-more-btn {
    padding: 10px 15px;
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.filter-more-btn:hover {
    background: #d40000;
    color: white;
    border-color: #d40000;
}

.filter-reset-btn {
    padding: 10px 20px;
    background: #d40000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-reset-btn:hover {
    background: #b80000;
    transform: translateY(-2px);
}

/* Large Screen Optimization */
@media (min-width: 1441px) {
    .filter-bar {
        max-width: 1400px;
        padding: 25px 30px;
        gap: 20px;
    }
    
    .filter-group {
        flex: 0 1 auto;
        min-width: 180px;
        max-width: 220px;
    }
}

/* Responsive Search and Filter */
@media (max-width: 1024px) {
    .filter-bar {
        gap: 10px;
        padding: 15px;
        margin: 0 0.5rem 2rem;
    }
    
    .filter-group {
        min-width: 120px;
        flex: 0 1 calc(50% - 8px);
    }
    
    .search-container {
        gap: 8px;
        padding: 12px;
    }
    
    .property-categories {
        gap: 1rem !important;
        padding-left: 0 !important;
    }
    
    .property-categories a {
        font-size: 0.75rem !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
}

@media (max-width: 768px) {
    .carousel {
        height: 300px;
    }
    
    .banner-search {
        width: 98%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    .banner-search-fixed {
        width: 98%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: none;
    }
    
    .search-container {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
        display: none;
    }
    
    .search-group {
        width: 100%;
        min-width: auto;
    }
    
    .search-btn {
        width: 100%;
        align-self: stretch;
    }
    
    .carousel-overlay h1 {
        font-size: 1.5rem;
    }
    
    .carousel-overlay p {
        font-size: 0.9rem;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-control.prev {
        left: 10px;
    }
    
    .carousel-control.next {
        right: 10px;
    }
    
    .filter-bar {
        flex-direction: column;
        margin: 0 0.5rem 2rem;
        padding: 12px;
    }
    
    .filter-group {
        width: 100%;
        min-width: auto;
    }
    
    .filter-input {
        width: 100%;
    }
    
    .filter-more-btn {
        width: 100%;
    }
    
    .filter-reset-btn {
        width: 100%;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .top-bar {
        padding: 0.5rem;
    }
    
    .hide-on-mobile {
        display: none !important;
    }
    
    .top-bar-content {
        flex-direction: row;
        gap: 1rem;
        padding: 0.4rem 1rem;
    }
    
    .top-bar-left {
        gap: 1rem;
        flex: 1;
        flex-wrap: wrap;
    }
    
    .property-categories {
        display: none; /* Mobilde gizle çünkü çok yer kaplıyor */
    }
    
    .top-bar-right {
        flex-shrink: 0;
    }
    
    .contact-info-top a {
        font-size: 0.8rem;
        gap: 0.25rem;
    }
    
    header {
        top: 0;
    }
    
    nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    nav ul.nav-main {
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
    }
    
    nav ul.nav-main li a {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        background: #f5f5f5;
        box-shadow: none;
        min-width: auto;
        margin-top: 0;
    }
    
    .dropdown:hover .dropdown-menu {
        display: flex;
    }
}

/* No Results Message */
.no-results-filter {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 1.1rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
    width: 100%;
    height: 100%;
    gap: 1rem;
}

.logo {
    color: #d40000;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    flex: 1;
    text-align: left;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    max-width: 180px;
    margin: 0;
}

.logo span {
    font-weight: 400;
    color: #d40000;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul.nav-main {
    gap: 1.5rem;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav ul li a:hover {
    color: #d40000;
    background: transparent;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    min-width: 200px;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 200;
    overflow: hidden;
    margin-top: 0.5rem;
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    color: #333;
    padding: 0.75rem 1rem;
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #d40000;
}

.dropdown-menu li a i {
    color: #d40000;
    font-size: 0.9rem;
}

.dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
}

/* İlan Grid Styles */
.ilan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 0; /* Remove or reduce margin since footer isn't fixed */
}

/* İlan Card Styles */
.ilan-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
    border-radius: 6px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.ilan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.image-container {
    position: relative;
    width: 100%;
    height: 140px;
    background-color: #f0f0f0;
    overflow: hidden;
}

.ilan-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px 6px 0 0;
    transition: transform 0.3s ease;
}

.ilan-card:hover img {
    transform: scale(1.05);
}

.image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #999;
    font-size: 0.8rem;
}

.ilan-header {
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid #f0f0f0;
    text-align: center; /* Center the header content */
}

.ilan-header h3 {
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Remove white-space: nowrap to allow wrapping if needed */
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.7em; /* Ensure consistent height for titles */
}

.listing-number {
    font-size: 0.7rem;
    color: #999;
    background: none;
    padding: 0;
    display: block; /* Make it a block element so it can be centered */
}

.ilan-details {
    padding: 0.5rem 0.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the contents */
    text-align: center;
}

.location {
    color: #666;
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.price {
    color: #d40000;
    font-weight: 700;
    font-size: 1rem;
    margin: 0.3rem 0;
    text-align: center;
}

.property-info {
    display: flex;
    flex-direction: column; /* Change to column layout */
    align-items: center;
    width: 100%;
    gap: 0.4rem; /* Gap between rows */
    margin: 0.3rem 0;
}

.property-info-top {
    display: flex;
    justify-content: center;
    gap: 0.8rem; /* Gap between room count and area */
}

.property-info-bottom {
    display: flex;
    justify-content: center;
}

.property-info span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.status {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    background-color: #d40000;
    color: white;
    z-index: 2;
}

.description {
    font-size: 0.7rem;
    color: #666;
    margin-top: 0.3rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Remove the flex styling from main */

/* Footer Styles */
footer {
    background: #000000;
    color: white;
    text-align: center;
    padding: 1rem;
    width: 100%;
    z-index: 1000;
    /* Position at the bottom without flex layout */
    position: absolute;
    bottom: 0;
}

.fokus-yazilim {
    font-size: 0.6rem;
    margin-top: 5px;
    font-weight: 300;
}

.fokus-yazilim a {
    color: #d40000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fokus-yazilim a:hover {
    color: #ff0000;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .ilan-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        padding: 1rem;
        gap: 1rem;
    }

    .property-info {
        grid-template-columns: 1fr;
    }
    
    /* Hide Hakkımızda link on mobile */
    nav ul li:nth-child(2) {
        display: none;
    }
    
    /* Footer styling update for mobile */
    footer {
        /* No need for display:none anymore since it will be at the bottom naturally */
        display: block;
    }
    
    /* Narrow the card width on mobile */
    .ilan-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    /* Center all specification items in detail view */
    .detail-specs span,
    .additional-specs span {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    
    /* Hide location icon on mobile */
    .location i.fa-map-marker-alt {
        display: none;
    }
    
    /* Hide location icon on mobile - both in card and detail view */
    .location i.fa-map-marker-alt,
    .detail-location i.fa-map-marker-alt {
        display: none;
    }
    
    /* Make location text bold on mobile */
    .detail-location {
        font-weight: bold;
    }
}

/* Hide listing number on mobile cards */
@media (max-width: 768px) {
    .listing-number {
        display: none;
    }
}

.no-listings-message {
    text-align: center;
    width: 100%;
    padding: 2rem;
    font-size: 1.2rem;
    color: #757575;
    grid-column: 1 / -1;
    margin: 2rem auto;
}

/* Listing Detail Full Page Styles */
.listing-detail-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    z-index: 9999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .listing-detail-page {
        background: white;
    }
}

.listing-detail-active {
    overflow: hidden;
}

.listing-detail-main {
    flex: 1;
    padding: 2rem 1rem;
    padding-bottom: 80px;
    margin-bottom: 0;
    min-height: calc(100vh - 200px);
    width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .listing-detail-main {
        padding: 0;
        padding-bottom: 70px;
        min-height: auto;
    }
}

.listing-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .listing-detail-container {
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        gap: 0;
        max-width: 100%;
        margin: 0;
    }
}

@media (min-width: 768px) {
    .listing-detail-container {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
    }
    
    .detail-header {
        grid-column: 1 / -1;
    }
    
    .detail-gallery {
        grid-column: 1;
    }
    
    .detail-info {
        grid-column: 2;
    }
}

.detail-back-btn {
    position: static;
    background: linear-gradient(135deg, #d40000, #c20000);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 0, 0, 0.2);
    z-index: 10;
    white-space: nowrap;
    flex-shrink: 0;
}

.detail-back-btn:hover {
    background: linear-gradient(135deg, #c20000, #a80000);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .detail-back-btn {
        display: flex !important;
        background: transparent;
        color: #000;
        font-size: 1.5rem;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        gap: 0;
        margin-bottom: 5px;
    }
    
    .detail-back-btn:hover {
        background: transparent;
        transform: none;
        box-shadow: none;
        opacity: 0.8;
    }
    
    .detail-back-btn span {
        display: none;
    }
}

/* Detail page header adjustments */
.listing-detail-page header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.listing-detail-page nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hide header and top-bar on mobile for detail page */
@media (max-width: 768px) {
    .listing-detail-page header,
    .listing-detail-page .top-bar {
        display: none !important;
    }
}

.detail-header {
    margin-bottom: 1rem;
    text-align: center;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 1rem;
}

.detail-header-top-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Desktop layout: back button on the left, title and price in center */
@media (min-width: 769px) {
    .detail-header-top-row {
        display: contents;
    }

    .detail-header-top-row .detail-title-mobile {
        padding: 0;
    }

    .detail-header {
        justify-content: flex-start;
        align-items: center;
        gap: 1.5rem;
    }
    
    .detail-header .detail-back-btn {
        position: static;
        transform: none;
        order: 1;
        margin-right: 0;
        flex-shrink: 0;
    }
    
    .detail-header h2 {
        flex: 1;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
        order: 2;
    }
    
    .price-share-container {
        position: static;
        transform: none;
        order: 3;
        margin-left: 0;
        display: flex;
        align-items: center;
        gap: 1rem;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .detail-header {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 10px 15px 0 15px;
        gap: 0.5rem;
        margin-bottom: 0;
        border-bottom: none;
        background: white;
    }
    
    .detail-header-top-row {
        flex: 1;
        gap: 0.5rem;
    }
    
    .detail-header-top-row .detail-title-mobile {
        flex: 1;
        text-align: left;
        font-size: 18px;
        margin: 0;
        padding: 0;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .price-share-container {
        order: 3;
        flex-shrink: 0;
    }
}

.detail-header h2 {
    margin: 0;
    flex: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .detail-header h2 {
        font-size: 16px;
        width: auto;
        flex: 1;
        margin: 0;
        padding: 0;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.detail-price {
    font-size: 1.5rem;
    color: #d40000;
    font-weight: 600;
    display: inline-block;
    background: #ffe7e7;
    padding: 10px;
    border-radius: 5px;
    border-left: 3px solid #d40000;
    margin-top: 0.3rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .detail-price {
        font-size: 18px;
        padding: 8px 12px;
        background: #ffe7e7;
        color: #d40000;
        border-left: 3px solid #d40000;
        box-shadow: none;
        margin: 0;
        flex: 0 0 auto;
        width: auto;
        text-align: left;
        white-space: nowrap;
        order: 2;
    }
}

.price-share-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 0.3rem;
}

@media (max-width: 768px) {
    .price-share-container {
        width: 100%;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        margin-top: 0;
        padding: 0 15px 15px 15px;
        background: white;
        flex-wrap: nowrap;
    }
}

@media (max-width: 768px) {
    .detail-header-mobile-fix {
        flex-direction: column;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 0.75rem;
        padding: 15px 20px 10px 20px;
        background: #fff;
    }

    .detail-header-mobile-fix .detail-header-top-row {
        order: 1;
        width: 100%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .detail-header-mobile-fix .detail-title-mobile {
        width: 100%;
        font-size: 18px;
        margin: 0;
        text-align: center !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 40px;
    }

    .detail-header-mobile-fix .detail-back-btn-mobile {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        max-width: none;
        align-self: center;
        justify-content: center;
        padding: 0;
        min-width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    .detail-header-mobile-fix .detail-price-mobile-group {
        order: 2;
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center !important;
        gap: 0.6rem;
        margin-top: 0;
        padding: 0 !important;
        background: transparent;
    }

    .detail-header-mobile-fix .detail-price-mobile-group .detail-price {
        order: 1;
        margin: 0 !important;
        text-align: center;
    }

    .detail-header-mobile-fix .detail-price-mobile-group .detail-sharing-mobile {
        order: 2;
        justify-content: center;
    }
}

.sharing-buttons {
    display: flex;
    gap: 8px;
    /* Remove margin-left to keep buttons closer to price */
}

@media (max-width: 768px) {
    .sharing-buttons {
        order: 3;
        flex-shrink: 0;
    }
}

.social-button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: white;
    background: #444; /* Default renk - link kopyalama butonu için */
    text-decoration: none; /* Remove underline from buttons */
}

.social-button i {
    font-size: 16px;
}

.social-button.whatsapp { 
    background: #25D366; 
    display: flex; /* Always show WhatsApp button in detail page */
}
.social-button.facebook { background: #1877F2; }
.social-button.instagram { background: #E4405F; }
.social-button.tiktok { background: #000000; }

.social-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .social-button {
        width: 40px;
        height: 40px;
    }
    
    .social-button i {
        font-size: 18px;
    }
}

.detail-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
}

.detail-info {
    margin-top: 0.6rem;
    text-align: center; /* Center all text in detail info */
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .detail-info {
        margin-top: 0;
        padding: 15px;
        text-align: left;
        background: white;
    }
}

.detail-location {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
    padding: 10px;
    background: #e7f3ff;
    border-radius: 5px;
    border-left: 4px solid #007bff;
}

@media (max-width: 768px) {
    .detail-location {
        justify-content: center;
        font-size: 14px;
        margin-bottom: 15px;
    }
}

.detail-location i {
    color: #d40000;
    font-size: 0.9rem;
}

.detail-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0.6rem 0;
    font-size: 0.85rem;
    justify-content: center; /* Center flexbox items */
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .detail-specs {
        justify-content: center;
        font-size: 13px;
        gap: 8px;
        padding: 10px;
    }
}

.detail-specs span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

@media (max-width: 768px) {
    .detail-specs span {
        flex: 0 0 calc(50% - 4px);
    }
}

.detail-description {
    line-height: 1.6;
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .detail-description {
        text-align: center;
        max-width: 100%;
        padding: 15px;
    }
}

.detail-description h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: center;
}

@media (max-width: 768px) {
    .detail-description h3 {
        text-align: center;
        font-size: 16px;
    }
}

.detail-description p {
    font-size: 0.9rem;
    line-height: 1.4;
    max-height: 150px;
    overflow-y: auto;
    text-align: center;
}

@media (max-width: 768px) {
    .detail-description p {
        text-align: center;
        font-size: 14px;
        max-height: none;
    }
}

.detail-listing-number {
    font-size: 0.85rem;
    color: #777;
    display: block;
    text-align: center;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .detail-listing-number {
        font-size: 12px;
        text-align: center;
    }
}

.additional-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0.6rem 0;
    padding: 10px;
    border-radius: 5px;
    background: #fff8dc;
    border-left: 4px solid #ffc107;
}

@media (max-width: 768px) {
    .additional-specs {
        font-size: 13px;
        gap: 8px;
        padding: 10px;
        justify-content: center;
    }
    
    .additional-specs span {
        flex: 0 0 calc(50% - 4px);
    }
}

.additional-specs span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #555;
}

@media (min-width: 768px) {
    .listing-detail-content {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        align-items: start;
    }
    
    .detail-header {
        grid-column: 1 / -1;
    }
    
    .detail-image {
        height: 100%;
    }
    
    .detail-image img {
        height: 100%;
        max-height: 350px;
    }
}

@media (max-width: 576px) {
    .detail-specs, 
    .additional-specs {
        flex-direction: column;
        gap: 0.4rem;
    }
    
    .listing-detail-content {
        padding: 1rem;
    }
}

/* Gallery Styles */
.detail-gallery {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

@media (max-width: 768px) {
    .detail-gallery {
        margin: 0;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
}

.gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    height: 500px;
    background-color: #f0f0f0;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .gallery-main {
        height: 300px;
        border-radius: 6px;
        margin: 0;
    }
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: opacity 0.2s;
    position: relative;
    z-index: 1;
}

.gallery-main img:hover {
    opacity: 0.95;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.8;
    pointer-events: auto;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .gallery-nav:hover {
        transform: translateY(-50%);
    }
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.gallery-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    z-index: 5;
}

.fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .fullscreen-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 5px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .gallery-thumbs {
        padding: 10px 20px;
        margin: 0;
        gap: 8px;
    }
}

.gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 3px;
}

.gallery-thumbs::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.thumb {
    width: 60px;
    height: 45px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .thumb {
        width: 50px;
        height: 40px;
    }
}

.thumb:hover {
    border-color: #ccc;
}

.thumb.active {
    border-color: #d40000;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    z-index: 2000; /* Ensure lightbox is above all other elements */
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Add this to center vertically */
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    padding: 20px;
}

#lightboxImg {
    max-width: 100%;
    max-height: 90vh; /* Allow image to take up most of the screen height */
    object-fit: contain;
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
    margin: 0 auto; /* Add this to center horizontally */
    cursor: default;
}

.lightbox-caption {
    color: white;
    font-size: 1rem;
    margin-top: 15px;
    text-align: center;
    position: absolute;
    bottom: 20px;
    background: rgba(0,0,0,0.6);
    padding: 5px 15px;
    border-radius: 20px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1550;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    transition: all 0.2s;
}

.close-lightbox:hover {
    background: rgba(0,0,0,0.6);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1550;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 20px;
}

/* Fix the CSS selector - it was missing a dot */
.lightbox-nav.next {
    right: 20px;
}

@media (max-width: 768px) {
    .gallery-main {
        height: 200px;
    }
    
    .thumb {
        width: 50px;
        height: 38px;
    }
    
    .lightbox-nav {
        width: 34px;
        height: 34px;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    /* Improve lightbox experience for mobile */
    #lightboxImg {
        max-width: 100%; /* Change from 90% to 100% for better sizing */
        max-height: 80vh;
        margin: 0 auto; /* Ensure image is centered */
        display: block; /* Add display block for proper centering */
    }
    
    .lightbox-content {
        padding: 10px; /* Reduce padding for more image space */
        box-sizing: border-box;
    }
}

/* Fullscreen Gallery Styles */
.fullscreen-gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-gallery-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#fullscreenImg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: grab;
}

#fullscreenImg:active {
    cursor: grabbing;
}

.fullscreen-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
}

.fullscreen-close-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
}

.fullscreen-nav:hover {
    background: rgba(255, 255, 255, 0.5);
}

.fullscreen-nav.prev {
    left: 20px;
}

.fullscreen-nav.next {
    right: 20px;
}

.fullscreen-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 10001;
}

@media (max-width: 768px) {
    .fullscreen-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .fullscreen-nav.prev {
        left: 10px;
    }
    
    .fullscreen-nav.next {
        right: 10px;
    }
    
    .fullscreen-close-btn {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* Mobile Tab Bar Styles */
.mobile-tab-bar {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000; /* Black background */
    z-index: 1010; /* Higher than footer */
    padding: 0;
    height: 60px;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white; /* White icons */
    width: calc(50% - 0.5px); /* Account for divider */
    height: 100%;
    transition: all 0.2s;
}

.tab-item:hover, .tab-item:active {
    background-color: rgba(255,255,255,0.1);
}

.tab-item i {
    font-size: 24px;
    color: white; /* White icons */
}

.tab-divider {
    width: 1px;
    height: 40px;
    background-color: white;
    align-self: center;
}

/* Adjust footer for mobile */
@media (max-width: 768px) {
    .mobile-tab-bar {
        display: flex;
        justify-content: space-around;
    }
    
    footer {
        display: none; /* Hide footer on mobile */
    }
}

/* Hide mobile tab bar when listing detail is open */
body:has(.listing-detail-overlay) .mobile-tab-bar {
    display: none !important;
}

/* For browsers that don't support :has selector (fallback) */
.listing-detail-overlay ~ .mobile-tab-bar {
    display: none !important;
}

/* About Us Page Styles */
.about-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 0; /* Remove margin since footer isn't fixed */
}

.about-header {
    text-align: center;
    margin-bottom: 2rem;
}

.about-header h1 {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 600;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #d40000 0%, #b80000 100%);
    margin: 1rem auto;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-gap: 2rem;
}

.about-section {
    margin-bottom: 1.5rem;
}

.about-section h2 {
    font-size: 1.4rem;
    color: #d40000;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-section h2 i {
    margin-right: 10px;
}

.about-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #444;
}

.values-list {
    list-style: none;
    padding: 0;
    margin-left: 0.5rem;
}

.values-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.values-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #d40000;
    border-radius: 50%;
}

.contact-info {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info h2 {
    color: #d40000;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.4rem;
}

.contact-info h2 i {
    margin-right: 10px;
}

.contact-info p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: #d40000;
}

.contact-info a {
    color: #d40000;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .about-container {
        padding: 1rem;
        margin: 1rem;
        margin-bottom: 100px;
    }
    
    .about-header h1 {
        font-size: 1.6rem;
    }
    
    .about-section h2 {
        font-size: 1.2rem;
    }
}

/* Mobile Navigation Menu */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    /* Hide desktop navigation and show mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none; /* Hide by default */
        position: fixed;
        top: 70px; /* sadece header yüksekliği (top-bar yok) */
        left: 0;
        right: 0;
        flex-direction: column;
        background: #cc0000;
        padding: 1rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        gap: 0.5rem;
        z-index: 99;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 0.8rem 1rem;
    }
    
    /* Improve touch targets */
    .gallery-nav, .lightbox-nav, .close-detail {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Better font sizing for mobile */
    .ilan-header h3 {
        font-size: 0.85rem;
    }
    
    .price {
        font-size: 0.95rem;
    }
    
    /* Fix the text overflow issues */
    .location {
        -webkit-line-clamp: 1;
        line-clamp: 1;
        max-width: 100%;
    }
    
    /* Adjust spacing for better mobile viewing */
    .ilan-grid {
        gap: 1.2rem;
        padding: 1rem 0.8rem;
    }
    
    /* Ensure buttons and links are finger-friendly */
    .tab-item {
        padding: 12px 0;
    }
    
    /* Center the logo on mobile */
    nav {
        position: relative;
        justify-content: center;
    }
    
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 1;
        white-space: nowrap; /* Prevent text wrapping */
        font-size: 1.5rem; /* Slightly reduce font size if needed */
    }
    
    .mobile-menu-toggle {
        position: absolute;
        left: 1rem;
        z-index: 2;
    }
    
    /* Improve header for mobile */
    header {
        padding: 1.2rem 0.8rem; /* Increase vertical padding */
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .ilan-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    
    .about-header h1 {
        font-size: 1.4rem;
    }
    
    .detail-price {
        font-size: 1.2rem;
    }
}

/* Detail owner section */
.detail-owner {
    margin-top: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .detail-owner {
        text-align: center;
        padding: 15px;
        background: #e3f2fd;
    }
}

.detail-owner h3 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .detail-owner h3 {
        font-size: 16px;
    }
}

.detail-owner p {
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .detail-owner p {
        font-size: 14px;
    }
}

.detail-owner a {
    color: #d40000;
    text-decoration: none;
    font-weight: 500;
}

.detail-owner a:hover {
    text-decoration: underline;
}

/* Improved mobile styles for detail view */
@media (max-width: 768px) {
    .listing-detail-main {
        padding: 0;
        margin-bottom: 0;
        padding-bottom: 70px;
        min-height: auto;
    }
    
    .listing-detail-container {
        padding: 0;
        border-radius: 0;
    }
    
    .detail-back-btn {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
        margin: 0;
    }
    
    .detail-header {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 15px;
    }
    
    .detail-header h2 {
        font-size: 18px;
    }
    
    /* Mobile gallery navigation */
    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .gallery-nav.prev {
        left: 5px;
    }
    
    .gallery-nav.next {
        right: 5px;
    }
    
    /* Center everything in detail info for mobile */
    .detail-info {
        text-align: center;
    }
    
    .detail-specs, 
    .additional-specs {
        justify-content: center;
    }
    
    /* Keep owner info on mobile */
    .detail-owner {
        margin-bottom: 1rem;
    }
    
    /* Improve lightbox experience for mobile */
    #lightboxImg {
        max-width: 90%;
        max-height: 80vh;
    }
}

/* Panel Button Styles */
.panel-button a {
    background-color: #000;
    color: white;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.panel-button a:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Add space after lock icon */
.panel-button a i.fa-lock {
    margin-right: 8px; /* Increase space after the lock icon */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    /* Hide panel button on mobile */
    .panel-button {
        display: none !important;
    }
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 1rem 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.social-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: white;
}

.social-button i {
    font-size: 20px;
}

.social-button.whatsapp {
    background: #25D366;
}

.social-button.facebook {
    background: #1877F2;
}

.social-button.instagram {
    background: #E4405F;
}

.social-button.tiktok {
    background: #000000;
}

.social-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Eski paylaşım butonlarını kaldır */
.share-whatsapp, .share-menu, .listing-number-container {
    display: none;
}

/* Mobile grid layout - 2 items per row */
@media (max-width: 768px) {
    .ilan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
        padding-bottom: 40px; /* Reduced from 80px to 40px (half the space) */
    }

    .ilan-card {
        min-height: 260px;
    }

    .image-container {
        height: 120px;
    }
}

/* Mobile detail view improvements */
@media (max-width: 768px) {
    .listing-detail-content {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        padding: 1rem;
        margin: 0;
        display: flex;
        flex-direction: column;
    }

    .listing-detail-overlay {
        padding: 0;
        background: white;
    }

    .detail-header {
        padding: 0.8rem 0;
    }

    .detail-gallery {
        margin: -0.5rem 0 0.5rem 0;
        padding: 0 15px;
    }

    .gallery-main {
        border-radius: 0;
    }

    .price-share-container {
        flex-wrap: wrap;
        padding: 0.5rem 0;
        justify-content: center;
        align-items: center;
    }

    .detail-price {
        width: 100%;
        margin-bottom: 0.5rem;
        font-size: 1.2rem;
        padding: 0.5rem;
        margin-bottom: 0;
        margin-right: 5px;
    }

    .social-button {
        width: 32px;
        height: 32px;
    }

    .social-button i {
        font-size: 14px;
    }

    .detail-specs, 
    .additional-specs {
        gap: 0.5rem;
        font-size: 0.8rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .detail-specs span, 
    .additional-specs span {
        background: #f8f8f8;
        padding: 0.4rem 0.8rem;
        border-radius: 4px;
        width: auto;
    }

    .close-detail {
        top: 0.5rem;
        right: 0.5rem;
        background: rgba(0,0,0,0.1);
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .price-share-container {
        display: flex;
        flex-direction: row; /* Ensure row layout even on mobile */
        flex-wrap: nowrap; /* Prevent wrapping */
        justify-content: center;
        align-items: center;
        padding: 0.5rem 0;
        gap: 8px;
    }

    .detail-price {
        width: auto; /* Don't take full width */
        margin-bottom: 0;
        margin-right: 5px;
        font-size: 1.2rem;
        padding: 0.5rem 0.8rem; /* Reduce horizontal padding a bit */
    }

    .sharing-buttons {
        display: flex;
        gap: 6px; /* Reduce gap slightly for mobile */
        margin-left: 0;
    }

    .social-button {
        width: 36px;
        height: 36px;
    }

    .social-button i {
        font-size: 16px;
    }

    /* Show WhatsApp share button on mobile */
    .social-button.whatsapp {
        display: flex; /* Make visible on mobile */
    }
}

/* Small mobile devices */
@media (max-width: 360px) {
    .ilan-grid {
        gap: 8px;
        padding: 8px;
        padding-bottom: 35px; /* Reduced from 70px to 35px (half the space) */
    }

    .ilan-card {
        min-height: 240px;
    }

    .image-container {
        height: 100px;
    }

    .price {
        font-size: 0.85rem;
    }
}

/* Add at the end of your existing CSS file */

/* Pagination Controls */
.pagination-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
    width: 100%;
}

.pagination-info {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.load-more-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.load-more-btn:hover {
    background-color: #2980b9;
}

.load-more-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .pagination-controls {
        margin: 20px 0;
    }
    
    .load-more-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    width: 100%;
    gap: 10px;
}

.pagination-info {
    display: none; /* Hide this since we're using number buttons */
}

.pagination-btn {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #e9e9e9;
}

.pagination-btn.active {
    background-color: #d40000;
    color: white;
    border-color: #d40000;
}

.pagination-btn:disabled {
    background-color: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
    border-color: #ddd;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.pagination-ellipsis {
    align-self: flex-end;
    padding: 0 5px;
    color: #666;
}

@media (max-width: 768px) {
    .pagination-controls {
        margin: 20px 0 60px 0; /* Add bottom margin for mobile tab bar */
        flex-wrap: wrap;
    }
    
    .pagination-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .page-numbers {
        order: 1;
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .prev-btn {
        order: 2;
    }
    
    .next-btn {
        order: 3;
    }
}

/* Remove old load-more-btn styles as they're no longer needed */
.load-more-btn {
    display: none;
}

/* Pagination Controls - Updated */
.pagination-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
    width: 100%;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.pagination-status {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    text-align: center;
    position: relative;
}

.more-arrow {
    color: #d40000;
    animation: bounce 1.5s infinite;
    display: inline-block;
    margin-left: 5px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination-btn {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #e9e9e9;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pagination-btn.active {
    background-color: #d40000;
    color: white;
    border-color: #d40000;
    font-weight: bold;
}

.pagination-btn:disabled {
    background-color: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
    border-color: #ddd;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.pagination-ellipsis {
    align-self: flex-end;
    padding: 0 5px;
    color: #666;
}

.pagination-more {
    color: #d40000;
    font-size: 16px;
    margin: 0 5px;
}

/* Style next button differently to make it stand out */
.next-btn {
    background-color: #d40000;
    color: white;
    border-color: #d40000;
    position: relative;
    font-weight: 500;
}

.next-btn:hover:not(:disabled) {
    background-color: #b80000;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(212, 0, 0, 0.25);
}

.next-btn:disabled {
    background-color: #f8d7d7;
    color: #999;
    border-color: #f8d7d7;
}

@media (max-width: 768px) {
    .pagination-controls {
        margin: 20px 0 80px 0; /* Increased bottom margin for mobile tab bar */
    }
    
    .pagination-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .page-numbers {
        order: 1;
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }
    
    .prev-btn {
        order: 2;
    }
    
    .next-btn {
        order: 3;
    }
}

/* Remove old load-more-btn styles as they're no longer needed */
.load-more-btn {
    display: none;
}

/* Enhanced pagination indicators */
.more-listings-indicator {
    color: #d40000;
    font-weight: bold;
    display: inline-block;
    margin-left: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

/* Style next button differently to make it stand out even more */
.next-btn.has-more {
    background-color: #d40000;
    color: white;
    border-color: #d40000;
    position: relative;
    font-weight: 600;
    box-shadow: 0 0 8px rgba(212, 0, 0, 0.4);
    animation: pulse-shadow 1.5s infinite;
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 0 5px rgba(212, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 12px rgba(212, 0, 0, 0.7);
    }
    100% {
        box-shadow: 0 0 5px rgba(212, 0, 0, 0.4);
    }
}

.next-btn.has-more:hover:not(:disabled) {
    background-color: #b80000;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(212, 0, 0, 0.4);
}

/* Featured Listings Section */
.listings-title-section {
    max-width: 1400px;
    margin: 50px auto 30px;
    padding: 0 20px;
}

.listings-title-section h2 {
    font-size: 32px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    padding-bottom: 15px;
}

.listings-title-section h2 i {
    color: #d40000;
    font-size: 36px;
}

/* Featured Listings Section */
.featured-listings-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 20px 0;
    margin: 0;
}

.featured-listings-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.featured-listings-section h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-listings-section h2 i {
    color: #d40000;
    font-size: 36px;
}

.featured-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    margin-top: 0;
}

.featured-listing-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.featured-listing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(212, 0, 0, 0.15);
}

.featured-listing-card .featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #d40000, #b80000);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(212, 0, 0, 0.3);
}

.featured-listing-card .featured-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #e0e0e0;
}

.featured-listing-card .featured-content {
    padding: 15px;
}

.featured-listing-card .featured-listing-number {
    font-size: 11px;
    color: #999;
    margin-bottom: 6px;
    font-weight: 600;
}

.featured-listing-card .featured-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 32px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-listing-card .featured-location {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.featured-listing-card .featured-price {
    font-size: 16px;
    font-weight: 700;
    color: #d40000;
    margin-bottom: 8px;
}

.featured-listing-card .featured-details {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: #666;
    margin-bottom: 10px;
}

.featured-listing-card .featured-details span {
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.featured-listing-card .featured-housing-type {
    font-size: 11px;
    color: #999;
    padding-top: 8px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* News & Articles Section */
.news-articles-section {
    background: white;
    padding: 60px 0;
    margin: 40px 0;
}

.news-articles-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-articles-section h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-articles-section h2 i {
    color: #d40000;
    font-size: 36px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(212, 0, 0, 0.15);
}

.news-card .news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #e0e0e0, #f0f0f0);
}

.news-card .news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card .news-category {
    display: inline-block;
    background: #d40000;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    width: fit-content;
}

.news-card .news-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card .news-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-date {
    font-size: 12px;
    color: #999;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.news-card .read-more {
    display: inline-block;
    color: #d40000;
    font-weight: 600;
    font-size: 13px;
    margin-top: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-card .read-more:hover {
    color: #b80000;
    transform: translateX(4px);
}

/* Responsive - Featured Listings */
@media (max-width: 1400px) {
    .featured-listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 1024px) {
    .featured-listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .featured-listings-section h2 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .featured-listings-section {
        padding: 40px 0;
        margin: 30px 0;
    }
    
    .featured-listings-container {
        padding: 0 15px;
    }
    
    .featured-listings-section h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .featured-listings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .featured-listing-card .featured-image {
        height: 120px;
    }
    
    .featured-listing-card .featured-content {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .featured-listings-section h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .featured-listings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Responsive - News */
@media (max-width: 768px) {
    .news-articles-section {
        padding: 40px 0;
        margin: 30px 0;
    }
    
    .news-articles-container {
        padding: 0 15px;
    }
    
    .news-articles-section h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card .news-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .news-articles-section h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }
}

/* Responsive - Listings Title */
@media (max-width: 768px) {
    .listings-title-section {
        margin: 30px auto 20px;
        padding: 0 15px;
    }
    
    .listings-title-section h2 {
        font-size: 22px;
        padding-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .listings-title-section h2 {
        font-size: 18px;
        gap: 8px;
    }
    
    .listings-title-section h2 i {
        font-size: 24px;
    }
}

/* Full News Grid Page */
.full-news-section {
    background: white;
    padding: 60px 0;
    margin: 40px 0;
}

.full-news-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-full-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* News Detail Modal */
.news-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.news-detail-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-detail-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-news-detail {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-news-detail:hover {
    background: #d40000;
    color: white;
}

.news-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.news-detail-body {
    padding: 40px;
}

.news-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #999;
}

.news-detail-category {
    background: #d40000;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.news-detail-title {
    font-size: 32px;
    color: #1a1a1a;
    font-weight: 700;
    margin: 20px 0 15px 0;
    line-height: 1.4;
}

.news-detail-text {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-top: 25px;
}

.news-detail-text p {
    margin-bottom: 20px;
}

.news-detail-text p:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .news-detail-content {
        width: 95%;
        max-height: 95vh;
    }

    .news-detail-image {
        height: 250px;
    }

    .news-detail-body {
        padding: 25px;
    }

    .news-detail-title {
        font-size: 24px;
    }

    .news-detail-text {
        font-size: 15px;
    }
}

/* Full News Grid Page */
.full-news-section {
    background: white;
    padding: 60px 0;
    margin: 40px 0;
}

.full-news-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-full-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-full-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* View All Link */
.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d40000;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    border: 2px solid transparent;
}

.view-all-link:hover {
    color: #b80000;
    border-color: #d40000;
    transform: translateX(4px);
}

.view-all-link i {
    transition: transform 0.3s ease;
}

.view-all-link:hover i {
    transform: translateX(4px);
}

/* Listings Container */
.listings-container {
    background: white;
    padding: 40px 0;
}

.listings-wrapper {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px !important;
    display: flex;
    gap: 30px;
    justify-content: flex-start;
}

.listings-main-content {
    flex: 1;
    order: 2;
    max-width: none;
}

/* Filter Section for listings page - Sol sidebar */
.filter-section {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    order: 1;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.filter-container {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-left: 0 !important;
}

.filter-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 10px;
    font-weight: 700;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-group select:hover {
    border-color: #d40000;
}

.filter-group select:focus {
    outline: none;
    border-color: #d40000;
    box-shadow: 0 0 0 3px rgba(212, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .news-full-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    /* Mobilde filtreleri üstte göster */
    .listings-wrapper {
        flex-direction: column;
    }
    
    .filter-section {
        width: 100%;
        position: static;
        order: -1;
        margin-bottom: 20px;
    }
    
    .listings-main-content {
        order: 1;
    }

    .listings-container {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .news-full-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Styles */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    color: #d40000;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.contact-icon {
    background: linear-gradient(135deg, #d40000, #b80000);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    color: white;
    font-size: 1.8rem;
}

.contact-details h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-details p {
    color: #d40000;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-details p a {
    color: #d40000;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.3rem 0;
}

.contact-details p a:hover {
    color: #b80000;
}

.contact-details p span {
    color: #d40000;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.3rem 0;
}

.contact-details p i {
    font-size: 1rem;
    width: 20px;
}

.contact-details small {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-form-section h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.map-container {
    width: 100%;
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

.contact-cta {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: white;
    margin-top: 2rem;
}

.contact-cta h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contact-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: #dc3545;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #dc3545;
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d40000;
}

.submit-btn {
    background: linear-gradient(135deg, #d40000, #b80000);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #b80000, #a00000);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 0, 0, 0.3);
}

.working-hours {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.working-hours h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.working-hours i {
    color: #d40000;
    margin-right: 0.5rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.hours-item {
    padding: 1rem;
    border: 2px solid #f0f0f0;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.hours-item:hover {
    border-color: #d40000;
}

.hours-item strong {
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

.hours-item span {
    color: #d40000;
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
}

/* Company Features Section */
.company-features-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin: 3rem 0;
}

.company-features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d40000, #b80000);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(212, 0, 0, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d40000, #b80000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d40000, #b80000);
    border-radius: 50%;
    opacity: 0.2;
    transform: scale(1.3);
    z-index: -1;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-content h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-highlight {
    background: linear-gradient(135deg, rgba(212, 0, 0, 0.1), rgba(184, 0, 0, 0.1));
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    color: #d40000;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(212, 0, 0, 0.2);
}

.feature-highlight i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .company-features-section {
        padding: 3rem 0;
        margin: 2rem 0;
    }
    
    .company-features-container {
        padding: 0 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 1.8rem;
    }
    
    .feature-content h3 {
        font-size: 1.3rem;
    }
    
    .feature-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-content h3 {
        font-size: 1.2rem;
    }
}

/* Company Services Section Styles */
.company-services-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 5rem 0;
    margin: 3rem 0;
}

.company-services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-services-container h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.company-services-container h2 i {
    color: #d40000;
    font-size: 2.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d40000, #b80000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 768px) {
    .company-services-section {
        padding: 3rem 0;
        margin: 2rem 0;
    }
    
    .company-services-container h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-icon {
        width: 65px;
        height: 65px;
    }
    
    .service-icon i {
        font-size: 1.6rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
}

/* Customer Reviews Carousel Styles */
.customer-reviews-carousel {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 0;
    margin: 3rem 0;
}

.reviews-carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-carousel-container h2 {
    font-size: 2.2rem;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.reviews-carousel-container h2 i {
    color: #d40000;
    font-size: 2rem;
}

.reviews-carousel-wrapper {
    overflow: hidden;
    position: relative;
    height: 150px;
}

.reviews-carousel-track {
    display: flex;
    animation: reviewsScroll 30s linear infinite;
    gap: 2rem;
}

.review-slide {
    flex: 0 0 350px;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #d40000;
    height: 120px;
    display: flex;
    align-items: center;
}

.review-content {
    width: 100%;
}

.review-slide .stars {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #ffd700;
}

.review-slide p {
    font-style: italic;
    color: #555;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-slide .reviewer {
    font-weight: 600;
    color: #d40000;
    font-size: 0.8rem;
}

@keyframes reviewsScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.reviews-carousel-track:hover {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .customer-reviews-carousel {
        padding: 2.5rem 0;
        margin: 2rem 0;
    }
    
    .reviews-carousel-container h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .reviews-carousel-wrapper {
        height: 130px;
    }
    
    .review-slide {
        flex: 0 0 280px;
        padding: 1.2rem;
        height: 100px;
    }
    
    .review-slide p {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .review-slide .reviewer {
        font-size: 0.75rem;
    }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
    border: 1px solid #e0e0e0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #d40000;
    transform: translateX(5px);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Sales Guide Page Styles */
.sales-guide-section {
    padding: 2rem 0;
    background: #f8f9fa;
    min-height: 80vh;
}

.sales-guide-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.guide-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

/* Sidebar Styles */
.guide-sidebar {
    background: white;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.guide-nav h3 {
    color: #1a1a1a;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #d40000;
}

.guide-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.guide-menu li {
    display: block;
    width: 100%;
}

.guide-link {
    display: block;
    width: 100%;
    padding: 10px 12px;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    text-align: left;
    box-sizing: border-box;
}

.guide-link:hover,
.guide-link.active {
    background: #d40000;
    color: white;
    transform: translateX(5px);
}

/* Content Styles */
.guide-content {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.guide-article {
    display: none;
}

.guide-article.active {
    display: block;
}

.guide-article h2 {
    color: #1a1a1a;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 3px solid #d40000;
    padding-bottom: 1rem;
}

.guide-article h2 i {
    color: #d40000;
    font-size: 2rem;
}

.article-content h3 {
    color: #333;
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    border-left: 4px solid #d40000;
    padding-left: 15px;
}

.article-content h4 {
    color: #444;
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
}

.article-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.article-content ul,
.article-content ol {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content strong {
    color: #333;
    font-weight: 600;
}

/* Info Boxes */
.info-box,
.warning-box,
.cost-calculator {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid;
}

.info-box {
    background: #e3f2fd;
    border-left-color: #2196f3;
}

.info-box h4 {
    color: #1976d2;
    margin-bottom: 1rem;
}

.warning-box {
    background: #fff8e1;
    border-left-color: #ff9800;
}

.warning-box h4 {
    color: #f57c00;
    margin-bottom: 1rem;
}

.cost-calculator {
    background: #f1f8e9;
    border-left-color: #4caf50;
}

.cost-calculator h4 {
    color: #388e3c;
    margin-bottom: 1rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .guide-layout {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
    
    .guide-sidebar {
        padding: 1.5rem;
    }
    
    .guide-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .guide-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .guide-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .guide-content {
        padding: 1.5rem;
    }
    
    .guide-article h2 {
        font-size: 1.8rem;
    }
    
    .dropdown-menu {
        min-width: 250px;
    }
}

/* Chatbot Styles */
#chatbot-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d40000, #b80000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
}

#chatbot-button::before,
#chatbot-button::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid #d40000;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

#chatbot-button.with-waves::before {
    animation: chatbot-waves 2s ease-out;
}

#chatbot-button.with-waves::after {
    animation: chatbot-waves 2s ease-out 0.5s;
}

#chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(212, 0, 0, 0.4);
}

#chatbot-button.active {
    background: linear-gradient(135deg, #b80000, #a00000);
}

#chatbot-button i {
    font-size: 24px;
    color: white;
}

.chat-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#chatbot-button:hover .chat-tooltip {
    opacity: 1;
    visibility: visible;
}

.chat-tooltip::before {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(212, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(212, 0, 0, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(212, 0, 0, 0.3);
    }
}

@keyframes chatbot-waves {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

#chatbot-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transform: translateY(20px) scale(0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

#chatbot-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chatbot-header {
    background: linear-gradient(135deg, #d40000, #b80000);
    color: white;
    padding: 15px 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-avatar i {
    font-size: 18px;
}

.chatbot-info {
    flex: 1;
}

.chatbot-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chatbot-info p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

#chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    transition: background 0.3s ease;
}

#chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.message {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-content {
    background: #d40000;
    color: white;
    padding: 12px 16px;
    border-radius: 18px 18px 4px 18px;
    max-width: 80%;
    word-wrap: break-word;
}

        .bot-message .message-avatar {
            width: 32px;
            height: 32px;
            background: linear-gradient(135deg, #d40000, #b80000);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
            flex-shrink: 0;
        }.bot-message .message-content {
    background: #f5f5f5;
    color: #333;
    padding: 12px 16px;
    border-radius: 4px 18px 18px 18px;
    max-width: 80%;
    word-wrap: break-word;
    line-height: 1.5;
}

.chatbot-input {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    align-items: center;
}

#chatbot-input-field {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

#chatbot-input-field:focus {
    border-color: #d40000;
}

#chatbot-send {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #d40000, #b80000);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#chatbot-send:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(212, 0, 0, 0.3);
}

.chatbot-typing {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 12px;
    border-top: 1px solid #eee;
}

.typing-indicator {
    display: flex;
    gap: 2px;
}

.typing-indicator span {
    width: 4px;
    height: 4px;
    background: #d40000;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive for Chatbot */
@media (max-width: 768px) {
    #chatbot-window {
        width: calc(100vw - 40px);
        height: 400px;
        bottom: 80px;
        left: 20px;
        right: 20px;
    }
    
    .chatbot-messages {
        padding: 15px;
    }
    
    .message {
        margin-bottom: 12px;
    }
    
    .user-message .message-content,
    .bot-message .message-content {
        max-width: 85%;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #chatbot-button {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
    
    #chatbot-button i {
        font-size: 20px;
    }
    
    #chatbot-window {
        width: calc(100vw - 30px);
        height: 350px;
        bottom: 75px;
        left: 15px;
        right: 15px;
    }
}

/* Services Features Section */
.services-features-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
}

.services-features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
}

.service-item {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.1);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: rgba(212, 0, 0, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d40000, #b80000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 24px;
    color: white;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #b80000, #9a0000);
}

.service-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 12px 0;
    line-height: 1.3;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin: 0;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Mobile responsive */
@media (max-width: 1024px) {
    .services-row {
        gap: 15px;
    }
    
    .service-item {
        padding: 25px 15px;
        min-height: 180px;
    }
    
    .service-item h4 {
        font-size: 15px;
        min-height: 45px;
    }
    
    .service-item p {
        font-size: 12px;
        min-height: 50px;
    }
}

@media (max-width: 768px) {
    .services-features-section {
        padding: 40px 0;
    }
    
    .services-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .service-item {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .services-features-container {
        padding: 0 15px;
    }
    
    .service-item {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon i {
        font-size: 20px;
    }
}

/* Mobile specific rules */
@media (max-width: 768px) {
    /* Hide chatbot on mobile */
    #chatbot-button,
    #chatbot-window {
        display: none !important;
    }
    
    /* Hide entire filter section on mobile */
    .filter-section {
        display: none !important;
    }
}

/* Load More Button Styles */
.load-more-btn {
    display: block;
    margin: 30px auto;
    padding: 12px 30px;
    background: linear-gradient(135deg, #d40000, #ff4444);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 0, 0, 0.3);
    min-width: 200px;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #b30000, #e63333);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 0, 0, 0.4);
}

.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.load-more-btn i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .load-more-btn {
        margin: 20px auto;
        padding: 10px 25px;
        font-size: 14px;
        min-width: 180px;
    }
}

/* Google Translate Widget Styles */
#google_translate_element {
    font-family: 'Poppins', sans-serif !important;
}

.goog-te-gadget {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    color: #333 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.goog-te-gadget-simple {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    cursor: pointer !important;
    transition: color 0.3s ease !important;
}

.goog-te-gadget-simple:hover {
    color: #007bff !important;
}

.goog-te-menu-value {
    color: #333 !important;
    font-weight: 500 !important;
}

.goog-te-menu-value span:first-child {
    display: none !important;
}

.goog-te-menu-value span:last-child:before {
    content: "Çeviri ▼" !important;
    color: #333 !important;
    font-weight: 500 !important;
}

.goog-te-menu-frame {
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    margin-top: 5px !important;
}

.goog-te-menu2 {
    border: none !important;
    background: #ffffff !important;
    border-radius: 8px !important;
}

.goog-te-menu2-item div, .goog-te-menu2-item:link div, .goog-te-menu2-item:visited div, .goog-te-menu2-item:active div {
    color: #333 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    padding: 10px 16px !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}

.goog-te-menu2-item:hover div {
    background: #f8f9fa !important;
    color: #007bff !important;
}

.goog-te-menu2-item-selected div {
    background: #007bff !important;
    color: #ffffff !important;
    font-weight: 500 !important;
}

/* Google Translate Banner'ı Gizle */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame *,
iframe.goog-te-banner-frame,
iframe.goog-te-banner-frame *,
body > .goog-te-banner-frame,
body > iframe.goog-te-banner-frame,
#goog-gt-tt,
#goog-gt-tt *,
.goog-te-banner-frame.skiptranslate.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Body margin/padding sıfırla */
body.translated-ltr,
body.translated-rtl {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    gap: 5px;
    z-index: 1000;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.hamburger-menu span {
    width: 24px;
    height: 2.5px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translateY(12px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-12px);
}

/* Mobile Menu - Slide from left */
@media (max-width: 768px) {
    nav {
        padding: 0 1rem;
        gap: 0;
        max-width: none;
        flex-wrap: nowrap;
    }
    
    .hamburger-menu {
        display: flex;
        position: static;
        background: none;
        padding: 8px 12px;
        border-radius: 0;
        box-shadow: none;
        order: 2;
        flex: 0 0 auto;
        margin-left: auto;
    }
    
    .logo {
        flex: 0 0 auto;
        text-align: left;
        margin: 0;
        order: 1;
    }
    
    .logo-img {
        height: 40px;
        margin: 0;
    }
    
    nav ul.nav-main {
        position: fixed;
        right: -100%;
        left: auto;
        top: 50px;
        flex-direction: column;
        background-color: white;
        width: 280px;
        text-align: left;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        max-height: calc(100vh - 50px);
        overflow-y: auto;
        z-index: 999;
    }
    
    nav ul.nav-main.show {
        right: 0;
    }
    
    nav ul.nav-main li {
        width: 100%;
    }
    
    nav ul.nav-main li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }
    
    nav ul.nav-main li.dropdown ul.dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        background-color: #f9f9f9;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 10px 0;
        display: none;
    }
    
    nav ul.nav-main li.dropdown.show ul.dropdown-menu {
        display: block;
    }
    
    nav ul.nav-main li.dropdown.show > a {
        background-color: #f0f0f0;
    }
    
    nav ul.nav-main li.dropdown ul.dropdown-menu li a {
        padding: 10px 40px;
        font-size: 14px;
    }
}
