/* Reset ve temel stiller */
:root {
    /* Mobile-first CSS variables - mobile_test.html'den alınan değerler */
    --mobile-padding: 20px;
    --mobile-padding-small: 15px;
    --mobile-padding-xs: 10px;
    --mobile-border-radius: 15px;
    --mobile-border-radius-small: 12px;
    --mobile-border-radius-xs: 8px;
    --mobile-font-size-base: 16px; /* iOS zoom önleme için */
    --mobile-font-size-small: 14px;
    --mobile-font-size-xs: 13px;
    --mobile-transition: 0.3s ease;
    --mobile-transition-fast: 0.2s ease;
    --mobile-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --mobile-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.15);
    --mobile-z-index-menu: 9999;
    --mobile-z-index-overlay: 9998;
    
    /* mobile_test.html'den alınan renkler */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #2c3e50;
    --border-color: #e9ecef;
    --background-light: #f8f9fa;
    --background-card: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Customer Reviews Section */
.customer-reviews {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.customer-reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.reviews-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.customer-reviews .section-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.customer-reviews .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 2px;
}

.reviews-intro {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Reviews Carousel */
.reviews-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 2;
    overflow: hidden;
    padding: 0 80px;
}

.reviews-container {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    padding: 20px 0;
}

.review-card {
    flex: 0 0 calc((100% - 90px) / 4);
    min-width: 300px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    transform: scale(0.95);
    opacity: 0.8;
}

.review-card:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.review-card:hover::before {
    opacity: 1;
}

.review-card::after {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 4rem;
    color: rgba(243, 156, 18, 0.1);
    font-family: serif;
    line-height: 1;
}

.review-stars {
    display: flex;
    gap: 6px;
    margin-bottom: 25px;
}

.review-stars .fas.fa-star {
    color: #ddd;
    font-size: 20px;
    transition: color 0.3s ease;
}

.review-stars .fas.fa-star.filled {
    color: #f39c12;
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.review-text {
    color: #2c3e50;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
    word-wrap: break-word;
    overflow-wrap: break-word;
    position: relative;
    z-index: 1;
}

.reviewer-name {
    color: #7f8c8d;
    font-weight: 600;
    font-size: 14px;
    text-align: right;
    position: relative;
    z-index: 1;
}

/* No reviews state */
.review-card.no-reviews {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
}

.review-card.no-reviews .review-text {
    font-style: normal;
    color: #7f8c8d;
}

/* Carousel Navigation */
.reviews-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #667eea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.reviews-carousel .carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: #f39c12;
}

.reviews-carousel .carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

.reviews-carousel .carousel-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.reviews-carousel .prev-btn {
    left: 0;
}

.reviews-carousel .next-btn {
    right: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .reviews-carousel {
        padding: 0 70px;
    }
    
    .review-card {
        flex: 0 0 calc((100% - 60px) / 3);
        min-width: 320px;
    }
}

@media (max-width: 768px) {
    .customer-reviews {
        padding: 60px 0;
    }
    
    .customer-reviews .section-title {
        font-size: 2rem;
    }
    
    .reviews-intro {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .reviews-carousel {
        padding: 0 60px;
    }
    
    .reviews-container {
        gap: 20px;
    }
    
    .review-card {
        flex: 0 0 calc((100% - 40px) / 2);
        min-width: 280px;
        padding: 25px;
    }
    
    .reviews-carousel .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .review-stars {
        margin-bottom: 20px;
    }
    
    .review-stars .fas.fa-star {
        font-size: 18px;
    }
    
    .review-text {
        font-size: 15px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .customer-reviews {
        padding: 50px 0;
    }
    
    .customer-reviews .section-title {
        font-size: 1.8rem;
    }
    
    .reviews-intro {
        font-size: 0.95rem;
        padding: 0 15px;
    }
    
    .reviews-carousel {
        padding: 0 50px;
    }
    
    .reviews-container {
        gap: 15px;
    }
    
    .review-card {
        flex: 0 0 100%;
        min-width: 260px;
        padding: 20px;
    }
    
    .reviews-carousel .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .review-stars {
        margin-bottom: 18px;
    }
    
    .review-stars .fas.fa-star {
        font-size: 16px;
    }
    
    .review-text {
        font-size: 14px;
        margin-bottom: 18px;
    }
}

@media (max-width: 360px) {
    .customer-reviews .section-title {
        font-size: 1.6rem;
    }
    
    .reviews-intro {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .reviews-carousel {
        padding: 0 45px;
    }
    
    .review-card {
        min-width: 240px;
        padding: 18px;
    }
    
    .reviews-carousel .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .review-stars {
        margin-bottom: 15px;
    }
    
    .review-stars .fas.fa-star {
        font-size: 15px;
    }
    
    .review-text {
        font-size: 13px;
        margin-bottom: 15px;
    }
}

/* Smooth scrolling for the container */
.reviews-container {
    scroll-behavior: smooth;
}

/* Enhanced hover effects */
.review-card:hover .review-stars .fas.fa-star.filled {
    animation: starTwinkle 0.6s ease-in-out;
}

@keyframes starTwinkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(5deg); }
}

/* Loading animation for cards */
.review-card {
    animation: cardSlideIn 0.6s ease-out;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 0.8;
        transform: translateY(0) scale(0.95);
    }
}

/* Progressive loading for multiple cards */
.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }
.review-card:nth-child(5) { animation-delay: 0.5s; }
.review-card:nth-child(6) { animation-delay: 0.6s; }
.review-card:nth-child(7) { animation-delay: 0.7s; }
.review-card:nth-child(8) { animation-delay: 0.8s; }


/* Footer Top - Newsletter Section */
.footer-top {
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    padding: 40px 0;
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.footer-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.newsletter-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.newsletter-form input {
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.newsletter-form button {
    padding: 15px 25px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.4);
}

.newsletter-form button i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.newsletter-form button:hover i {
    transform: translateX(3px);
}

/* Footer Main Content */
.footer-main {
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3.section-title {
    color: #ecf0f1;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}



.footer-section h3.section-title i {
    color: #f39c12;
    font-size: 20px;
}

/* Footer Logo Section */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-logo .logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

.footer-logo:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 28px;
    font-weight: 800;
    color: #ecf0f1;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 14px;
    color: #bdc3c7;
    font-weight: 500;
    letter-spacing: 1px;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 16px;
}

/* Footer Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-radius: 8px;
    padding-left: 12px;
}

.footer-links li a:hover {
    color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
    transform: translateX(5px);
}

.footer-links li a i {
    color: #f39c12;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Additional Footer Styles */
.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--social-color), var(--social-color-dark));
    transition: all 0.3s ease;
}

.social-link i {
    position: relative;
    z-index: 1;
    font-size: 18px;
}

.social-link.facebook {
    --social-color: #3b5998;
    --social-color-dark: #2d4373;
}

.social-link.instagram {
    --social-color: #e4405f;
    --social-color-dark: #c13584;
}

.social-link.twitter {
    --social-color: #1da1f2;
    --social-color-dark: #0d8bd9;
}

.social-link.youtube {
    --social-color: #ff0000;
    --social-color-dark: #cc0000;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-link:hover::before {
    transform: scale(1.1);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(243, 156, 18, 0.3);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 12px;
    color: #95a5a6;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 16px;
    color: #ecf0f1;
    font-weight: 600;
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom-left p {
    color: #bdc3c7;
    margin: 0;
    font-size: 14px;
}

.footer-features {
    display: flex;
    gap: 25px;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #bdc3c7;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    min-width: fit-content;
}

.feature-item i {
    color: #f39c12;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-newsletter {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-form input {
        min-width: auto;
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        text-align: center;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .footer-features {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .footer-top {
        padding: 30px 0;
    }
    
    .footer-main {
        padding: 50px 0 30px;
    }
    
    .newsletter-text h3 {
        font-size: 20px;
    }
    
    .newsletter-text p {
        font-size: 14px;
    }
    
    .footer-section h3.section-title {
        font-size: 20px;
    }
    
    .logo-title {
        font-size: 24px;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        gap: 15px;
    }
    
    .footer-features {
        gap: 10px;
    }
    
    .feature-item {
        font-size: 12px;
        gap: 6px;
    }
    
    .feature-item i {
        font-size: 14px;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a2a3a, #2c3e50, #34495e);
    color: white;
    position: relative;
    clear: both;
    margin-top: 0;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #f39c12, #27ae60, #3498db, #9b59b6);
    animation: rainbow 3s ease-in-out infinite;
}

@keyframes rainbow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Footer Top - Newsletter Section */
.footer-top {
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    padding: 40px 0;
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.footer-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.newsletter-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.newsletter-form input {
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.newsletter-form button {
    padding: 15px 25px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.4);
}

.newsletter-form button i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.newsletter-form button:hover i {
    transform: translateX(3px);
}

/* Footer Main Content */
.footer-main {
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3.section-title {
    color: #ecf0f1;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}



.footer-section h3.section-title i {
    color: #f39c12;
    font-size: 20px;
}

/* Footer Logo Section */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-logo .logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

.footer-logo:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 28px;
    font-weight: 800;
    color: #ecf0f1;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 14px;
    color: #bdc3c7;
    font-weight: 500;
    letter-spacing: 1px;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 16px;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    color: var(--accent-color);
    overflow-x: hidden;
    background: var(--background-card);
    /* Mobile optimizations - mobile_test.html'den alınan */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* Smooth scrolling on mobile */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Touch cihazlar için optimizasyon */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Mobile-specific body classes */
body.mobile-device {
    font-size: var(--mobile-font-size-base);
}

body.touch-device {
    /* Disable hover effects on touch devices */
    --hover-scale: 1;
    --hover-shadow: var(--mobile-shadow);
}

body.touch-device *:hover {
    transform: none !important;
    box-shadow: var(--mobile-shadow) !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
	width:100%;
}

/* Mobile container adjustments - mobile_test.html'den alınan */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--mobile-padding);
        max-width: 100%;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--mobile-padding-small);
        border-radius: 10px;
        margin: 8px;
    }
}

@media (max-width: 414px) {
    .container {
        padding: 0 12px 8px;
        border-radius: 8px;
        margin: 5px;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 10px 5px;
        border-radius: 8px;
        margin: 3px;
    }
}

/* Property Type Badges */
.property-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.property-type-badge.bungalow {
    background: rgba(46, 204, 113, 0.9);
}

.property-type-badge.villa {
    background: rgba(52, 152, 219, 0.9);
}

/* ===== CAMPAIGN VILLAS SECTION ===== */
.campaign-villas {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.campaign-villas::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    position: relative;
}


.villa-card {
    background: white;
    border-radius: var(--mobile-border-radius);
    overflow: hidden;
    box-shadow: var(--mobile-shadow);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.villa-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e, #ff6b35);
    z-index: 2;
}

.villa-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.villa-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.villa-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.villa-card:hover .villa-image::before {
    opacity: 1;
}

.villa-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.villa-card:hover .villa-image img {
    transform: scale(1.05);
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.image-placeholder::before {
    content: '🏠';
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    z-index: 3;
}

.discount-badge::before {
    content: '🎯';
    margin-right: 6px;
    animation: bounce 2s infinite;
}

.location-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(44, 62, 80, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.favorite-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.favorite-icon:hover {
    background: #ff6b35;
    transform: scale(1.1);
}

.favorite-icon i {
    color: #ccc;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.favorite-icon:hover i {
    color: white;
}

.villa-info {
    padding: 24px;
    background: #f8f9fa;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.villa-info::before {
    content: '✨';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 1.5rem;
    animation: twinkle 3s infinite;
}

.villa-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    padding: 0;
    line-height: 1.3;
}

.villa-info h3::before {
    content: '🏡';
    margin-right: 8px;
}

.location-info {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    color: #6c757d;
    font-size: 0.9rem;
}

.location-info i {
    color: #ff6b35;
    margin-right: 6px;
    font-size: 1rem;
}

.price-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.price-details {
    text-align: right;
}

.new-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b35;
    margin: 0;
    line-height: 1;
}

.new-price::before {
    content: '🔥';
    margin-right: 6px;
}

.price-unit {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

.price-note {
    font-size: 0.75rem;
    color: #adb5bd;
    margin: 2px 0 0 0;
}

.old-price {
    font-size: 0.9rem;
    color: #adb5bd;
    text-decoration: line-through;
    margin: 0;
}

.old-price::before {
    content: '❌';
    margin-right: 4px;
}

.villa-features {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    color: #2c3e50;
    font-size: 0.85rem;
    font-weight: 500;
}

.feature-item i {
    color: #ff6b35;
    margin-right: 6px;
    font-size: 1rem;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 16px;
    align-self: center;
}

.view-btn::before {
    content: '🚀';
    transition: transform 0.3s ease;
}

.view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.4);
    background: linear-gradient(135deg, #f7931e, #ff6b35);
}

.view-btn:hover::before {
    transform: scale(1.2);
}

.view-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.view-btn:hover::after {
    opacity: 1;
}

.no-data-message {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255,255,255,0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.no-data-message i {
    font-size: 3rem;
    color: #adb5bd;
    margin-bottom: 20px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.no-data-message p {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
}

/* Swiper Container Styles */
.campaign-villas-swiper {
    padding: 0 20px;
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(255,107,53,0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(255,107,53,0.4);
}

.swiper-pagination {
    margin-top: 30px;
    position: relative;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #dee2e6;
    border: 2px solid #fff;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255,107,53,0.5);
    border-color: #ff6b35;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .campaign-villas {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .villa-card {
        margin-bottom: 20px;
    }
    
    .villa-image {
        height: 220px;
    }
    
    .villa-info {
        padding: 20px;
    }
    
    .villa-info h3 {
        font-size: 1.2rem;
    }
    
    .new-price {
        font-size: 1.3rem;
    }
    
    .villa-features {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .villa-image {
        height: 200px;
    }
    
    .villa-info {
        padding: 16px;
    }
    
    .villa-info h3 {
        font-size: 1.1rem;
    }
    
    .new-price {
        font-size: 1.2rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
}

/* ===== MOST PREFERRED SECTION ===== */
.most-preferred {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.most-preferred .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    position: relative;
}




/* Most Preferred Swiper */
.most-preferred .most-preferred-swiper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.most-preferred .swiper-wrapper {
    padding: 20px 0;
    margin: 0 -10px;
}

.most-preferred .swiper-slide {
    height: auto;
    display: flex;
    margin-right: 10px;
    margin-left: 10px;
}

.most-preferred .swiper-button-next,
.most-preferred .swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255,107,53,0.3);
    z-index: 10;
}

.most-preferred .swiper-button-next:hover,
.most-preferred .swiper-button-prev:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(255,107,53,0.4);
}

.most-preferred .swiper-button-prev {
    left: 0;
}

.most-preferred .swiper-button-next {
    right: 0;
}

.most-preferred .swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.most-preferred .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    flex-shrink: 0;
}

.most-preferred .swiper-pagination-bullet-active {
    background: #ff6b35;
    transform: scale(1.2);
}

/* Most Preferred Villa Cards */
.most-preferred .villa-card {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px; /* Kartları biraz küçült */
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.most-preferred .villa-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e, #ff6b35);
    z-index: 2;
}

.most-preferred .villa-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.most-preferred .villa-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.most-preferred .villa-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.most-preferred .villa-card:hover .villa-image::before {
    opacity: 1;
}

.most-preferred .villa-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.most-preferred .villa-card:hover .villa-image img {
    transform: scale(1.05);
}

.most-preferred .image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.most-preferred .image-placeholder::before {
    content: '🏠';
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.most-preferred .discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    z-index: 3;
}

.most-preferred .discount-badge::before {
    content: '🎯';
    margin-right: 6px;
    animation: bounce 2s infinite;
}

.most-preferred .location-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(44, 62, 80, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.most-preferred .favorite-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.most-preferred .favorite-icon:hover {
    background: #ff6b35;
    transform: scale(1.1);
}

.most-preferred .favorite-icon i {
    color: #ccc;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.most-preferred .favorite-icon:hover i {
    color: white;
}

.most-preferred .property-type-badge {
    position: absolute;
    top: 15px;
    left: 60px;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.most-preferred .property-type-badge.villa {
    background: rgba(155, 89, 182, 0.9);
}

.most-preferred .property-type-badge.bungalow {
    background: rgba(46, 204, 113, 0.9);
}

.most-preferred .villa-info {
    padding: 24px;
    background: #f8f9fa;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.most-preferred .villa-info::before {
    content: '✨';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 1.5rem;
    animation: twinkle 3s infinite;
}

.most-preferred .villa-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    padding: 0;
    line-height: 1.3;
}

.most-preferred .villa-info h3::before {
    content: '🏡';
    margin-right: 8px;
}

.most-preferred .location-info {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    color: #6c757d;
    font-size: 0.9rem;
}

.most-preferred .location-info i {
    color: #ff6b35;
    margin-right: 6px;
    font-size: 1rem;
}

.most-preferred .price-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.most-preferred .price-details {
    text-align: right;
}

.most-preferred .new-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b35;
    margin: 0;
    line-height: 1;
}

.most-preferred .new-price::before {
    content: '🔥';
    margin-right: 6px;
}

.most-preferred .price-unit {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

.most-preferred .price-note {
    font-size: 0.75rem;
    color: #adb5bd;
    margin: 2px 0 0 0;
}

.most-preferred .old-price {
    font-size: 0.9rem;
    color: #adb5bd;
    text-decoration: line-through;
    margin: 0;
    text-align: right;
}

.most-preferred .old-price::before {
    content: '❌';
    margin-right: 4px;
}

.most-preferred .villa-features {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.most-preferred .feature-item {
    display: flex;
    align-items: center;
    color: #2c3e50;
    font-size: 0.85rem;
    font-weight: 500;
}

.most-preferred .feature-item i {
    color: #ff6b35;
    margin-right: 6px;
    font-size: 1rem;
}

.most-preferred .view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 16px;
    align-self: center;
    position: relative;
    overflow: hidden;
}

.most-preferred .view-btn::before {
    content: '🚀';
    transition: transform 0.3s ease;
}

.most-preferred .view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.4);
    background: linear-gradient(135deg, #f7931e, #ff6b35);
}

.most-preferred .view-btn:hover::before {
    transform: scale(1.2);
}

.most-preferred .view-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 25px;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.most-preferred .view-btn:hover::after {
    opacity: 1;
}

.most-preferred .view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
    background: linear-gradient(135deg, #e085e8, #e04a5f);
}

.most-preferred .view-btn::after {
    content: '→';
    font-size: 16px;
    transition: transform 0.3s ease;
}

.most-preferred .view-btn:hover::after {
    transform: translateX(3px);
}

/* Most Preferred Carousel Navigation */
.most-preferred .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255,107,53,0.3);
    z-index: 10;
}

.most-preferred .carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(255,107,53,0.4);
}

.most-preferred .prev-btn {
    left: 0;
}

.most-preferred .next-btn {
    right: 0;
}

/* Most Preferred No Data Message */
.most-preferred .no-data-message {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255,255,255,0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.most-preferred .no-data-message i {
    font-size: 3rem;
    color: #adb5bd;
    margin-bottom: 20px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.most-preferred .no-data-message p {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive Design for Most Preferred */
@media (max-width: 768px) {
    .most-preferred {
        padding: 40px 0;
    }
    
    .most-preferred .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .most-preferred .most-preferred-swiper {
        padding: 0 40px;
    }
    
    .most-preferred .swiper-button-next,
    .most-preferred .swiper-button-prev {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .most-preferred .villa-card {
        flex: 0 0 260px;
        min-width: 260px;
    }
    
    .most-preferred .villa-image {
        height: 220px;
    }
    
    .most-preferred .villa-info {
        padding: 20px;
    }
    
    .most-preferred .villa-info h3 {
        font-size: 1.2rem;
    }
    
    .most-preferred .new-price {
        font-size: 1.3rem;
    }
    
    .most-preferred .villa-features {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .most-preferred .section-title {
        font-size: 1.8rem;
    }
    
    .most-preferred .most-preferred-swiper {
        padding: 0 30px;
    }
    
    .most-preferred .swiper-button-next,
    .most-preferred .swiper-button-prev {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .most-preferred .villa-card {
        flex: 0 0 240px;
        min-width: 240px;
    }
    
    .most-preferred .villa-image {
        height: 200px;
    }
    
    .most-preferred .villa-info {
        padding: 16px;
    }
    
    .most-preferred .villa-info h3 {
        font-size: 1.1rem;
    }
    
    .most-preferred .new-price {
        font-size: 1.2rem;
    }
    
    .most-preferred .feature-item {
        font-size: 0.8rem;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -20px, 0);
    }
    70% {
        transform: translate3d(0, -10px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* No Data Message */
.no-data-message {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.no-data-message p {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.no-data-message i {
    font-size: 48px;
    color: #bdc3c7;
    margin-bottom: 15px;
    display: block;
}

/* Top Header - Modern Mobil Tasarım */
.top-header {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.top-header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.announcement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    overflow: hidden;
}

.announcement i {
    color: #f39c12;
    animation: pulse 2s infinite;
    font-size: 16px;
    flex-shrink: 0;
}

.announcement-scroll {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4px 12px;
    backdrop-filter: blur(5px);
}

.announcement-scroll span {
    display: inline-block;
    animation: scroll-text 15s linear infinite;
    padding-right: 50px; /* Space between repetitions */
    transition: all 0.3s ease;
}

/* Pause animation on hover */
.announcement-scroll:hover span {
    animation-play-state: paused;
}

/* Enhanced visual effects */
.announcement-scroll {
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.3);
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.announcement-scroll:hover {
    box-shadow: 0 0 30px rgba(243, 156, 18, 0.5);
    border-color: rgba(243, 156, 18, 0.4);
    transform: scale(1.02);
}

@keyframes scroll-text {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive announcement adjustments */
@media (max-width: 768px) {
    .announcement-scroll span {
        animation-duration: 12s; /* Faster on mobile */
        padding-right: 30px;
    }
    
    .announcement {
        gap: 6px;
    }
    
    .announcement i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .announcement-scroll span {
        animation-duration: 10s; /* Even faster on small screens */
        padding-right: 20px;
    }
    
    .top-header {
        font-size: 12px;
        padding: 10px 0;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Navigation - Modern Mobil Tasarım */
.navbar {
   background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(34, 139, 34, 0.1);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
   /*padding: 12px 0;*/
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
   gap: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
	transition: all 0.3s ease;
}

.logo-icon {
     width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #228b22, #32cd32);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 3px 12px rgba(34, 139, 34, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.logo:hover .logo-icon::before {
    transform: rotate(225deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px; /* Biraz daha fazla gap */
    align-items: center;
    flex-wrap: wrap; /* Gerekirse alt satıra geç */
    margin-left: auto; /* Sağa yasla */
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0px; /* İkon olmadığı için gap'i sıfırla */
    padding: 4px 8px; /* Biraz daha fazla padding */
    border-radius: 15px;
    position: relative;
    white-space: nowrap; /* Metni tek satırda tut */
    font-size: 12px; /* Biraz daha büyük font */
}

.nav-menu a i {
    font-size: 10px; /* Daha da küçük ikon */
    transition: transform 0.3s ease;
    margin-right: 2px; /* Daha da az margin */
    display: none !important; /* Masaüstünde ikonları tamamen gizle */
}

.nav-menu a:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.2);
}

.nav-menu a:hover i {
    transform: scale(1.1) rotate(3deg);
}

.nav-menu a:active {
    transform: translateY(0);
}

.campaign-link {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white !important;
    padding: 4px 10px; /* Biraz daha fazla padding */
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
    font-size: 11px; /* Biraz daha büyük font */
}

.campaign-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.login-btn, .register-btn {
    padding: 3px 8px; /* Daha da küçük padding */
    border-radius: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 10px; /* Daha da küçük font */
}

.login-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white !important;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.register-btn {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white !important;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.register-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.mobile-menu-btn {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    font-size: 24px;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    color: #e74c3c;
    transform: scale(1.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)), 
                url('/assets/img/afis-1912x300.jpg') center/cover;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Search form styling */
.search-form {
    width: 100%;
}

.search-inputs {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: end;
    flex-wrap: wrap;
}

.input-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 180px;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.input-group i {
    color: #e74c3c;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: var(--mobile-font-size-base); /* iOS zoom önleme */
    background: white;
    transition: all 0.3s ease;
    color: var(--accent-color);
    min-height: 44px; /* Touch-friendly boyut */
    box-sizing: border-box;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Touch cihazlar için input optimizasyonları */
@media (hover: none) and (pointer: coarse) {
    .input-group input,
    .input-group select {
        min-height: 44px;
        font-size: 16px; /* iOS zoom önleme */
    }
}

.search-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 45px;
    align-self: flex-end;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

/* Search Filters */
.search-filters {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.search-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}



/* Sections */
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
}



.popular-categories,
.campaign-villas,
.most-preferred,
.sapanca-bungalows,
.sapanca-villas {
    padding: 80px 0;
}

/* Modern Bungalows Section Styles */
.sapanca-bungalows {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.sapanca-bungalows::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.sapanca-bungalows .section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.sapanca-bungalows .section-title {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.sapanca-bungalows .section-title i {
    color: #27ae60;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.sapanca-bungalows .section-subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.bungalows-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.bungalow-card-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.bungalow-card-modern:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(39, 174, 96, 0.3);
}

.bungalow-image-modern {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.bungalow-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bungalow-card-modern:hover .bungalow-image-modern img {
    transform: scale(1.15);
}

.image-placeholder-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    padding: 20px;
    box-sizing: border-box;
}

.image-placeholder-modern i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.property-type-badge-modern {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(39, 174, 96, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.property-type-badge-modern i {
    font-size: 14px;
}

.discount-badge-modern {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.discount-badge-modern i {
    font-size: 14px;
}

.preferred-badge-modern {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.preferred-badge-modern i {
    font-size: 14px;
    animation: pulse 2s infinite;
}

.bungalow-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 30px 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bungalow-card-modern:hover .bungalow-overlay {
    opacity: 1;
}

.overlay-features {
    display: flex;
    justify-content: space-around;
    gap: 15px;
}

.overlay-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}

.overlay-feature i {
    font-size: 18px;
    color: #27ae60;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-feature span {
    font-size: 11px;
    font-weight: 500;
}

.bungalow-content-modern {
    padding: 25px;
}

.bungalow-header {
    margin-bottom: 20px;
}

.bungalow-title-modern {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.bungalow-location-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
}

.bungalow-location-modern i {
    color: #e74c3c;
    font-size: 16px;
}

.bungalow-features-modern {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feature-item-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #34495e;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 12px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.feature-item-modern i {
    color: #3498db;
    font-size: 14px;
}

.bungalow-price-modern {
    margin-bottom: 25px;
}

.price-old-modern {
    margin-bottom: 8px;
}

.old-price-text {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 14px;
    font-weight: 500;
}

.price-new-modern {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-label {
    color: #7f8c8d;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.new-price-text {
    color: #27ae60;
    font-weight: 800;
    font-size: 1.5rem;
}

.bungalow-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.view-btn-modern {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 15px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.view-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.view-btn-modern i {
    font-size: 16px;
}

.favorite-btn-modern {
    background: rgba(231, 76, 60, 0.1);
    border: 2px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.favorite-btn-modern:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
    transform: scale(1.1);
}

.favorite-btn-modern i {
    font-size: 18px;
}

.no-data-message-modern {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    backdrop-filter: blur(20px);
}

.no-data-icon {
    margin-bottom: 20px;
}

.no-data-icon i {
    font-size: 4rem;
    color: #bdc3c7;
}

.no-data-message-modern h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.no-data-message-modern p {
    color: #7f8c8d;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.bungalows-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.2);
    border: 2px solid transparent;
}

.cta-btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(44, 62, 80, 0.3);
    border-color: rgba(39, 174, 96, 0.5);
    background: linear-gradient(135deg, #34495e, #2c3e50);
}

.cta-btn-modern i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.cta-btn-modern:hover i {
    transform: translateX(5px);
}

/* Responsive Design for Modern Bungalows */
@media (max-width: 1200px) {
    .bungalows-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .sapanca-bungalows {
        padding: 60px 0;
    }
    
    .sapanca-bungalows .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .sapanca-bungalows .section-title i {
        font-size: 1.5rem;
    }
    
    .sapanca-bungalows .section-subtitle {
        font-size: 1rem;
    }
    
    .bungalows-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .bungalow-card-modern {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .bungalow-image-modern {
        height: 250px;
    }
    
    .bungalow-content-modern {
        padding: 20px;
    }
    
    .bungalow-title-modern {
        font-size: 1.3rem;
    }
    
    .bungalow-features-modern {
        gap: 10px;
    }
    
    .feature-item-modern {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .cta-btn-modern {
        padding: 15px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .sapanca-bungalows {
        padding: 50px 0;
    }
    
    .sapanca-bungalows .section-title {
        font-size: 1.8rem;
    }
    
    .sapanca-bungalows .section-subtitle {
        font-size: 0.9rem;
    }
    
    .bungalows-grid {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .bungalow-card-modern {
        border-radius: 20px;
    }
    
    .bungalow-image-modern {
        height: 220px;
    }
    
    .bungalow-content-modern {
        padding: 18px;
    }
    
    .bungalow-title-modern {
        font-size: 1.2rem;
    }
    
    .bungalow-features-modern {
        flex-direction: column;
        gap: 8px;
    }
    
    .feature-item-modern {
        justify-content: center;
    }
    
    .bungalow-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .view-btn-modern {
        width: 100%;
    }
    
    .favorite-btn-modern {
        align-self: center;
    }
    
    .cta-btn-modern {
        padding: 12px 20px;
        font-size: 13px;
        flex-direction: column;
        gap: 8px;
    }
}

/* Otomatik kaydırma animasyonu */
.sapanca-bungalows .villas-container,
.sapanca-villas .villas-container {
    animation: autoScroll 25s linear infinite;
}

@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Hover'da animasyonu durdur */
.sapanca-bungalows .villas-container:hover,
.sapanca-villas .villas-container:hover {
    animation-play-state: paused;
}

/* Carousel */
.categories-carousel,
.villas-carousel {
    position: relative;
    margin: 0 30px;
    overflow: hidden;
}

/* Swiper Categories Styles */
/* Popular Categories Section */
.popular-categories {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.03);
}

.popular-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.popular-categories .section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.popular-categories .section-title {
    color: #2c3e50;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.popular-categories .section-title i {
    color: #3498db;
    font-size: 1.8rem;
    animation: float 3s ease-in-out infinite;
}

.popular-categories .section-subtitle {
    color: #7f8c8d;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.8;
}

.popular-categories .categories-cta {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.popular-categories .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 14px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.25);
    border: none;
    cursor: pointer;
}

.popular-categories .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.35);
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
}

.popular-categories .cta-button i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.popular-categories .cta-button:hover i {
    transform: translateX(2px);
}

.categories-swiper {
    position: relative;
    margin: 0 25px;
    overflow: hidden;
    padding: 25px 0;
    margin-bottom: 25px;
    /* iPhone specific optimizations */
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.categories-swiper .swiper-wrapper {
    align-items: stretch;
    display: flex;
    flex-wrap: nowrap;
}

.categories-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
    width: auto !important;
    min-width: 320px;
    max-width: 320px;
    margin-right: 20px;
    /* Mobile touch optimizations */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.categories-swiper .swiper-slide .category-card-image {
    width: 100%;
    height: 100%;
    margin: 0;
    flex: 0 0 auto;
    min-width: 320px;
    max-width: 320px;
    transform: scale(1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Mobile touch optimizations */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}

/* Swiper Navigation Buttons */
.categories-swiper .swiper-button-next,
.categories-swiper .swiper-button-prev {
    width: 45px;
    height: 45px;
    background: rgba(52, 152, 219, 0.85);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.15);
    /* Mobile touch optimizations */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.categories-swiper .swiper-button-next:hover,
.categories-swiper .swiper-button-prev:hover {
    background: rgba(52, 152, 219, 0.95);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
}

.categories-swiper .swiper-button-next:after,
.categories-swiper .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

.categories-swiper .swiper-button-next {
    right: -22px;
}

.categories-swiper .swiper-button-prev {
    left: -22px;
}

/* Swiper Pagination */
.categories-swiper .swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    /* Mobile touch optimizations */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.categories-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(52, 152, 219, 0.25);
    opacity: 1;
    transition: all 0.3s ease;
    border-radius: 5px;
    min-width: 44px;
    min-height: 44px;
    display: inline-block;
    flex-shrink: 0;
}

.categories-swiper .swiper-pagination-bullet-active {
    background: rgba(52, 152, 219, 0.9);
    transform: scale(1.1);
}

.categories-swiper .swiper-pagination-bullet:hover {
    background: rgba(52, 152, 219, 0.4);
}

/* Swiper slide hover effects */
.categories-swiper .swiper-slide:hover .category-card-image {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Active slide enhancement */
.categories-swiper .swiper-slide-active .category-card-image {
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.15);
    border-color: rgba(52, 152, 219, 0.2);
}

/* Swiper autoplay animation */
.categories-swiper .swiper-slide {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile autoplay indicator */
.categories-swiper .swiper-slide-active .category-card-image {
    animation: pulse 2s infinite;
    border: 2px solid rgba(52, 152, 219, 0.3);
}

@keyframes pulse {
    0% {
        box-shadow: 0 20px 40px rgba(52, 152, 219, 0.15);
    }
    50% {
        box-shadow: 0 20px 40px rgba(52, 152, 219, 0.25);
    }
    100% {
        box-shadow: 0 20px 40px rgba(52, 152, 219, 0.15);
    }
}

/* Mobile touch feedback for autoplay */
.categories-swiper .swiper-slide-active .category-card-image:active {
    animation-play-state: paused;
}

/* Mobile swipe gesture indicator */
.categories-swiper .swiper-wrapper {
    cursor: grab;
}

.categories-swiper .swiper-wrapper:active {
    cursor: grabbing;
}

/* Mobile autoplay pause on touch */
.categories-swiper .swiper-wrapper:active .swiper-slide-active .category-card-image {
    animation-play-state: paused;
}

/* Mobile touch feedback for navigation */
.categories-swiper .swiper-button-next:active,
.categories-swiper .swiper-button-prev:active {
    transform: translateY(-50%) scale(0.95);
    transition: transform 0.1s ease;
}

/* Mobile pagination touch feedback */
.categories-swiper .swiper-pagination-bullet:active {
    transform: scale(1.3);
    transition: transform 0.1s ease;
}

/* Mobile slide touch feedback */
.categories-swiper .swiper-slide:active .category-card-image {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Mobile autoplay progress indicator */
.categories-swiper .swiper-slide-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    animation: autoplay-progress 5s linear infinite;
    z-index: 5;
    border-radius: 0 2px 2px 0;
}

/* Mobile touch pause for autoplay */
.categories-swiper:active .swiper-slide-active::before {
    animation-play-state: paused;
}

/* Mobile slide transition improvements */
.categories-swiper .swiper-slide {
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Mobile navigation button improvements */
.categories-swiper .swiper-button-next,
.categories-swiper .swiper-button-prev {
    will-change: transform, background-color;
    backface-visibility: hidden;
}

/* Mobile touch area improvements */
.categories-swiper .swiper-button-next,
.categories-swiper .swiper-button-prev {
    min-width: 44px;
    min-height: 44px;
}

/* Mobile autoplay pause on hover/touch */
.categories-swiper:hover .swiper-slide-active::before,
.categories-swiper:active .swiper-slide-active::before {
    animation-play-state: paused;
}

/* Mobile slide active state improvements */
.categories-swiper .swiper-slide-active .category-card-image {
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 15px 40px rgba(52, 219, 0.2);
}

/* Mobile touch feedback improvements */
.categories-swiper .swiper-slide:active .category-card-image {
    transform: scale(0.98) translateY(-4px);
    transition: all 0.1s ease;
}

/* Mobile autoplay visibility improvements */
.categories-swiper .swiper-slide-active .category-overlay {
    background: linear-gradient(135deg, rgba(44, 62, 80, 1), rgba(52, 73, 94, 1));
    border-top: 2px solid rgba(52, 152, 219, 0.5);
}

/* Mobile navigation button visibility improvements */
.categories-swiper .swiper-button-next,
.categories-swiper .swiper-button-prev {
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.categories-swiper:hover .swiper-button-next,
.categories-swiper:hover .swiper-button-prev {
    opacity: 1;
}

/* Mobile touch area improvements for pagination */
.categories-swiper .swiper-pagination-bullet {
    min-width: 44px;
    min-height: 44px;
    display: inline-block;
    align-items: center;
    justify-content: center;
}

/* Mobile autoplay pause on interaction */
.categories-swiper .swiper-button-next:active ~ .swiper-slide-active::before,
.categories-swiper .swiper-button-prev:active ~ .swiper-slide-active::before {
    animation-play-state: paused;
}

/* Mobile slide transition smoothness */
.categories-swiper .swiper-wrapper {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Mobile touch feedback for autoplay */
.categories-swiper .swiper-slide-active .category-card-image:active {
    animation-play-state: paused;
}

/* Mobile slide active state indicator */
.categories-swiper .swiper-slide-active .category-arrow {
    background: rgba(52, 152, 219, 0.9);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Mobile navigation button active state */
.categories-swiper .swiper-button-next:active,
.categories-swiper .swiper-button-prev:active {
    background: rgba(52, 152, 219, 1);
    transform: scale(0.95);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Mobile touch feedback for pagination */
.categories-swiper .swiper-pagination-bullet:active {
    background: rgba(52, 152, 219, 1);
    transform: scale(1.3);
}

/* Ensure pagination bullets are always horizontal */
.categories-swiper .swiper-pagination {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}

.categories-swiper .swiper-pagination-bullet {
    flex-shrink: 0 !important;
    margin: 0 4px !important;
}

/* Mobile autoplay pause on touch */
.categories-swiper .swiper-slide:active .swiper-slide-active::before {
    animation-play-state: paused;
}

/* Mobile slide transition improvements */
.categories-swiper .swiper-slide {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile touch feedback for slides */
.categories-swiper .swiper-slide:active .category-card-image {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Mobile navigation button hover state */
.categories-swiper .swiper-button-next:hover,
.categories-swiper .swiper-button-prev:hover {
    background: rgba(52, 152, 219, 1);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Mobile slide active state improvements */
.categories-swiper .swiper-slide-active .category-content h3 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Mobile autoplay pause on interaction */
.categories-swiper .swiper-button-next:active ~ .swiper-slide-active::before,
.categories-swiper .swiper-button-prev:active ~ .swiper-slide-active::before {
    animation-play-state: paused;
}

/* Mobile slide transition smoothness */
.categories-swiper .swiper-wrapper {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Mobile touch feedback for autoplay */
.categories-swiper .swiper-slide-active .category-card-image:active {
    animation-play-state: paused;
}

@keyframes autoplay-progress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 1px 8px rgba(0, 0, 0, 0.06);
    }
    50% {
        box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2), 0 2px 12px rgba(52, 152, 219, 0.1);
    }
    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 1px 8px rgba(0, 0, 0, 0.06);
    }
}

.categories-swiper .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}

.categories-swiper .swiper-slide-prev,
.categories-swiper .swiper-slide-next {
    opacity: 0.8;
    transform: scale(0.95);
}

/* Enhanced category card hover effects */
.category-card-image:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    border-color: rgba(52, 152, 219, 0.3);
}

/* Mobile touch feedback */
.category-card-image:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Mobile swipe indicator */
.categories-swiper .swiper-slide {
    position: relative;
    /* Mobile touch optimizations */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.categories-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(52, 152, 219, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.categories-swiper .swiper-slide-active::after {
    opacity: 1;
}

.category-card-image:hover .category-image img {
    transform: scale(1.15);
}

.category-card-image:hover .category-overlay {
    background: linear-gradient(135deg, rgba(44, 62, 80, 1), rgba(52, 73, 94, 1));
}

.category-card-image:hover .category-arrow {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.category-card-image:hover .category-arrow i {
    transform: translateX(3px);
}

/* Focus states for accessibility */
.category-card-image:focus {
    outline: 2px solid rgba(52, 152, 219, 0.5);
    outline-offset: 2px;
}

.category-card-image:focus .category-overlay {
    background: linear-gradient(135deg, rgba(44, 62, 80, 1), rgba(52, 73, 94, 1));
}

.category-card-image:focus .category-arrow {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* Swiper navigation button states */
.categories-swiper .swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.categories-swiper .swiper-button-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Ensure proper spacing for Swiper */
.categories-swiper .swiper-wrapper {
    padding: 15px 0;
}

/* Swiper responsive adjustments */
@media (max-width: 1200px) {
    .categories-swiper .swiper-button-next {
        right: -18px;
    }
    
    .categories-swiper .swiper-button-prev {
        left: -18px;
    }
    
    .categories-swiper .swiper-slide .category-card-image {
        min-width: 300px;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .categories-swiper {
        margin: 0 18px;
        padding: 12px 0;
    }
    
    .categories-swiper .swiper-slide .category-card-image {
        min-width: 280px;
        max-width: 280px;
    }
    
    .categories-swiper .swiper-button-next,
    .categories-swiper .swiper-button-prev {
        width: 42px;
        height: 42px;
    }
    
    .categories-swiper .swiper-button-next {
        right: -20px;
    }
    
    .categories-swiper .swiper-button-prev {
        left: -20px;
    }
}

@media (max-width: 480px) {
    .categories-swiper {
        margin: 0 12px;
        padding: 8px 0;
    }
    
    .categories-swiper .swiper-slide .category-card-image {
        min-width: 260px;
        max-width: 260px;
    }
    
    .categories-swiper .swiper-button-next,
    .categories-swiper .swiper-button-prev {
        width: 38px;
        height: 38px;
    }
    
    .categories-swiper .swiper-button-next {
        right: -16px;
    }
    
    .categories-swiper .swiper-button-prev {
        left: -16px;
    }
    
    .category-content h3 {
        font-size: 1.1rem;
    }
    
    .category-arrow {
        width: 32px;
        height: 32px;
    }
    
    .category-arrow i {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .categories-swiper {
        margin: 0 8px;
        padding: 6px 0;
    }
    
    .categories-swiper .swiper-slide .category-card-image {
        min-width: 240px;
        max-width: 240px;
    }
    
    .category-content h3 {
        font-size: 1rem;
    }
    
    .category-overlay {
        padding: 15px;
    }
}

/* Swiper touch optimizations */
.categories-swiper {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Ensure proper spacing between slides */
.categories-swiper .swiper-slide:not(:last-child) {
    margin-right: 20px;
    /* Mobile touch optimizations */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Fix for mobile devices */
@media (max-width: 768px) {
    .categories-swiper .swiper-slide:not(:last-child) {
        margin-right: 18px;
    }
}

@media (max-width: 480px) {
    .categories-swiper .swiper-slide:not(:last-child) {
        margin-right: 12px;
    }
}

.categories-container {
    display: flex;
    gap: 25px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
    width: 100%;
    padding: 20px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}



.categories-container::-webkit-scrollbar {
    display: none;
}

.categories-container > * {
    /* Normal direction for individual items */
    direction: ltr;
}

.category-card-image {
    flex: 0 0 320px;
    min-width: 320px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    transform: scale(1);
    opacity: 1;
    /* Ensure proper snapping */
    scroll-snap-align: start;
    /* Animation on load */
    animation: fadeInUp 0.6s ease-out;
}

.category-card-image:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    opacity: 1;
    border-color: rgba(52, 152, 219, 0.3);
}

.category-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.category-card-image:hover .category-image img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 73, 94, 0.95));
    padding: 20px;
    color: white;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.category-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-content h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.category-arrow {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.category-arrow i {
    color: white;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.category-card-image:hover .category-arrow {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.category-card-image:hover .category-arrow i {
    transform: translateX(3px);
}

/* Carousel Navigation Buttons */
.categories-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #2c3e50;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.categories-carousel .carousel-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 1);
    color: #27ae60;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.categories-carousel .carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.categories-carousel .carousel-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    transform: translateY(-50%) scale(1);
}

.categories-carousel .prev-btn {
    left: 20px;
}

.categories-carousel .next-btn {
    right: 20px;
}

.categories-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.4);
}

.cta-button i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: scale(1.1);
}

/* Responsive Design for Categories */
@media (max-width: 1200px) {
    .categories-carousel {
        padding: 0 60px;
    }
    
    .category-card-image {
        flex: 0 0 280px;
    }
}

/* Region Pages Styles */
.region-hero {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.8), rgba(46, 204, 113, 0.8)), 
                url('../images/hero-bg.jpg') center/cover;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

.region-hero .hero-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.region-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.region-hero .hero-title i {
    margin-right: 1rem;
    color: #f39c12;
}

.region-hero .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-item i {
    font-size: 2rem;
    color: #f39c12;
}

.stat-item span {
    font-size: 1.1rem;
    font-weight: 600;
}

.properties-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.section-title i {
    margin-right: 1rem;
    color: #3498db;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #e8f4fd, #d1ecf1);
    color: #3498db;
    border-radius: 20px;
    padding: 20px;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.image-placeholder span {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 0 1rem;
    line-height: 1.4;
    max-width: 100%;
}

.property-type-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.property-type-badge.bungalow {
    background: rgba(46, 204, 113, 0.9);
}

.property-type-badge.villa {
    background: rgba(52, 152, 219, 0.9);
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.preferred-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(241, 196, 15, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.property-content {
    padding: 1.5rem;
}

.property-header {
    margin-bottom: 1rem;
}

.property-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.property-location i {
    color: #e74c3c;
}

.property-description {
    color: #5a6c7d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.property-price {
    margin-bottom: 1.5rem;
}

.old-price {
    display: block;
    color: #95a5a6;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.new-price {
    display: block;
    color: #27ae60;
    font-size: 1.3rem;
    font-weight: 700;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    animation: bounce 2s infinite;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.property-actions {
    display: flex;
    gap: 1rem;
}

.view-btn, .book-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.view-btn {
    background: #3498db;
    color: white;
}

.view-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.book-btn {
    background: #27ae60;
    color: white;
}

.book-btn:hover {
    background: #229954;
    transform: translateY(-2px);
}

.no-properties {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.no-properties-icon {
    margin-bottom: 2rem;
}

.no-properties-icon i {
    font-size: 4rem;
    color: #bdc3c7;
}

.no-properties h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.no-properties p {
    color: #7f8c8d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: var(--mobile-font-size-base);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    cursor: pointer;
    min-height: 44px; /* Touch-friendly boyut */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Touch cihazlar için buton optimizasyonları */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        width: 100%; /* Mobilde tam genişlik */
        margin: 5px 0;
    }
}

.region-info {
    padding: 4rem 0;
    background: white;
}

.region-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.region-text h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.region-text p {
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.region-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #2c3e50;
    font-weight: 500;
}

.feature i {
    color: #3498db;
    font-size: 1.2rem;
}

.region-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.related-regions {
    padding: 4rem 0;
    background: #f8f9fa;
}

.related-regions .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.region-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.region-icon {
    margin-bottom: 1.5rem;
}

.region-icon i {
    font-size: 3rem;
    color: #3498db;
}

.region-card h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.region-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .region-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .region-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .region-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .region-features {
        grid-template-columns: 1fr;
    }
    
    .regions-grid {
        grid-template-columns: 1fr;
    }
    
    .property-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .region-hero .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .property-card {
        margin: 0 1rem;
    }
    
    .region-card {
        margin: 0 1rem;
    }
}

/* Villa butonları container stili */
.villa-buttons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    align-items: center;
}

.villa-buttons .view-btn,
.villa-buttons .book-btn {
    flex: 1;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.villa-buttons .view-btn {
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #e9ecef;
}

.villa-buttons .view-btn:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Villa butonları responsive stilleri */
@media (max-width: 768px) {
    .villa-buttons {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .villa-buttons .view-btn,
    .villa-buttons .book-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .villa-buttons {
        gap: 0.5rem;
    }
    
    .villa-buttons .view-btn,
    .villa-buttons .book-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        border-radius: 20px;
    }
}

/* Categories Carousel Responsive Styles */
@media (max-width: 1200px) {
    .categories-carousel {
        padding: 0 60px;
    }
    
    .category-card-image {
        flex: 0 0 280px;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .popular-categories {
        padding: 60px 0;
    }
    
    .popular-categories .section-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .popular-categories .section-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    /* Swiper Mobile Styles */
    .categories-swiper {
        margin: 0 20px;
        padding: 15px 0;
        /* iPhone specific optimizations */
        -webkit-overflow-scrolling: touch;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .categories-swiper .swiper-button-next,
    .categories-swiper .swiper-button-prev {
        width: 45px;
        height: 45px;
    }
    
    .categories-swiper .swiper-button-next {
        right: -22px;
    }
    
    .categories-swiper .swiper-button-prev {
        left: -22px;
    }
    
    .categories-swiper .swiper-button-next:after,
    .categories-swiper .swiper-button-prev:after {
        font-size: 16px;
    }
    
    .categories-swiper .swiper-slide .category-card-image {
        min-width: 260px;
        /* iPhone specific optimizations */
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }
    
    .category-card-image {
        flex: 0 0 260px;
        min-width: 260px;
    }
    
    .category-image {
        height: 180px;
    }
    
    .category-overlay {
        padding: 15px;
    }
    
    .category-content h3 {
        font-size: 1.1rem;
    }
    
    .category-arrow {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .popular-categories {
        padding: 50px 0;
    }
    
    .popular-categories .section-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .popular-categories .section-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    /* Swiper Small Mobile Styles */
    .categories-swiper {
        margin: 0 15px;
        padding: 10px 0;
        /* iPhone specific optimizations */
        -webkit-overflow-scrolling: touch;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .categories-swiper .swiper-button-next,
    .categories-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .categories-swiper .swiper-button-next {
        right: -20px;
    }
    
    .categories-swiper .swiper-button-prev {
        left: -20px;
    }
    
    .categories-swiper .swiper-button-next:after,
    .categories-swiper .swiper-button-prev:after {
        font-size: 14px;
    }
    
    .categories-swiper .swiper-slide .category-card-image {
        min-width: 240px;
        /* iPhone specific optimizations */
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }
    
    .category-card-image {
        flex: 0 0 240px;
        min-width: 240px;
    }
    
    .category-image {
        height: 160px;
    }
    
    .category-overlay {
        padding: 12px;
    }
    
    .category-content h3 {
        font-size: 1rem;
    }
    
    .category-arrow {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 360px) {
    .popular-categories .section-title {
        font-size: 1.6rem;
    }
    
    .popular-categories .section-subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .categories-carousel {
        padding: 0 35px;
    }
    
    .categories-container {
        /* Ensure reversed direction works on mobile */
        flex-direction: row-reverse;
        justify-content: flex-start;
    }
    
    .category-card-image {
        min-width: 220px;
    }
    
    .categories-carousel .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .category-image {
        height: 140px;
    }
    
    .category-overlay {
        padding: 10px;
    }
    
    .category-content h3 {
        font-size: 0.9rem;
    }
    
    .category-arrow {
        width: 22px;
        height: 22px;
    }
}

.categories-carousel .next-btn {
    right: 20px;
}

.categories-carousel .carousel-btn i {
    color: #3498db;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.categories-carousel .carousel-btn:hover:not(:disabled) i {
    color: #27ae60;
}

/* Auto-scroll responsive adjustments */
@media (max-width: 768px) {
    .categories-carousel {
        padding: 15px 60px;
    }
    
    .categories-container {
        scroll-behavior: smooth;
    }
}

/* Auto-scroll indicator */
.categories-carousel::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(52, 152, 219, 0.3) 0%, 
        rgba(52, 152, 219, 0.8) 50%, 
        rgba(52, 152, 219, 0.3) 100%);
    border-radius: 2px;
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@media (max-width: 480px) {
    .categories-carousel {
        padding: 10px 50px;
    }
    
    .categories-container {
        scroll-behavior: smooth;
    }
    
    /* Hide auto-scroll indicator on small screens */
    .categories-carousel::before {
        display: none;
    }
}

@media (max-width: 360px) {
    .categories-carousel {
        padding: 8px 40px;
    }
}

/* Android-specific optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .categories-container {
        /* Ensure smooth scrolling on Android WebView */
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .category-card-image {
        /* Prevent text selection on Android */
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

/* High DPI Android devices */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    .categories-container {
        /* Optimize for high DPI displays */
        transform: translateZ(0);
        backface-visibility: hidden;
    }
}

/* Android Chrome specific */
@media screen and (max-width: 768px) {
    .categories-container {
        /* Optimize touch scrolling for Android */
        touch-action: pan-x;
        overscroll-behavior-x: contain;
    }
}

/* Pause animation when user is interacting */
.categories-container.user-interacting {
    animation-play-state: paused;
}

/* Ensure manual scrolling works when animation is paused */
.categories-container[style*="animation-play-state: paused"] {
    overflow-x: auto !important;
    scroll-behavior: smooth;
}

/* Smooth scrolling for auto-scroll */
.categories-container.auto-scrolling {
    scroll-behavior: smooth;
}

/* ===== COMPREHENSIVE MOBILE OPTIMIZATIONS ===== */

/* Mobile-First Responsive Design */
@media (max-width: 768px) {
    /* Global mobile optimizations */
    body {
        font-size: 14px;
        line-height: 1.5;
    }
	
	 /* Prevent body scroll when mobile menu is open */
    body.mobile-menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* Top Header Mobile */
    .top-header {
        padding: 8px 0;
        font-size: 11px;
    }
    
    .top-header-content {
        flex-direction: column;
        gap: 5px;
    }
    
    .announcement {
        font-size: 10px;
        gap: 4px;
    }
    
    .announcement i {
        font-size: 12px;
    }
    
    .contact-info {
        font-size: 10px;
    }
    
    /* Navigation Mobile */
    .navbar {
        padding: 0;
    }
    
    .nav-content {
        padding: 10px 0;
        position: relative;
    }
    
    .logo {
        font-size: 12px;
        gap: 8px;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding-top: 80px !important;
        gap: 20px !important;
        /*z-index: 99999 !important;*/
        overflow-y: auto !important;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1) !important;
        transform: translateX(-100%) !important;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        display: flex !important;
    }
    
    .nav-menu.active {
        transform: translateX(0) !important;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu a {
        display: block;
        padding: 16px 24px;
        font-size: 16px;
        font-weight: 500;
        border-radius: 12px;
        width: 90%;
        justify-content: center;
         gap: 12px;
        text-decoration: none;
        color: #2c3e50;
        transition: all 0.3s ease;
		border: 1px solid transparent;
        background: rgba(255, 255, 255, 0.5);
    }
    
    .nav-menu a:hover {
       background: rgba(34, 139, 34, 0.1);
        color: #228b22;
        border-color: rgba(34, 139, 34, 0.2);
        transform: translateX(5px);
    }
    
    .nav-menu a i {
        display: inline-block !important;
        font-size: 18px;
        margin-right: 8px;
    }
    
    .campaign-link {
        background: linear-gradient(135deg, #ff6b35, #f7931e);
        color: white !important;
        padding: 16px 24px;
        font-size: 15px;
        border-radius: 25px;
       margin: 15px 0;
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .login-btn, .register-btn {
        padding: 14px 22px;
        font-size: 14px;
        border-radius: 25px;
        margin: 8px 0;
        border: 1px solid transparent;
    }
    
    .mobile-menu-btn {
        display: block !important;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        background: linear-gradient(135deg, #c71a08, #de5547);
        color: white;
        border: none;
       width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 30px;
        z-index: 10000;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .mobile-menu-btn:active {
        transform: translateY(-50%) scale(0.95);
        box-shadow: 0 2px 10px rgba(34, 139, 34, 0.4);
    }
    
    .mobile-menu-btn:hover {
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 5px 15px rgba(34, 139, 34, 0.35);
        background: linear-gradient(135deg, #32cd32, #228b22);
    }
    
    /* Hero Section Mobile */
    .hero-section {
        min-height: 80vh;
        padding: 20px 0;
    }
    
    .search-filters {
        padding: 20px 15px;
    }
    
    .search-card {
        border-radius: 20px;
        padding: 20px;
    }
    
    .search-inputs {
        flex-direction: column;
        gap: 15px;
    }
    
    .input-group {
        min-width: 100%;
    }
    
    .input-group label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .input-group select,
    .input-group input {
        padding: 12px 15px;
        font-size: 14px;
        border-radius: 12px;
    }
    
    .search-btn {
        width: 100%;
        padding: 15px;
        font-size: 16px;
        border-radius: 12px;
        margin-top: 10px;
    }
    
    /* Popular Categories Mobile */
    .popular-categories {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 20px;
    }
    
    .categories-carousel {
        padding: 0 50px;
        margin: 0 15px;
    }
    
    .categories-container {
        gap: 15px;
        padding: 10px 0;
    }
    
    .category-card-image {
        flex: 0 0 280px;
        min-width: 280px;
    }
    
    .category-image {
        height: 180px;
    }
    
    .category-overlay {
        padding: 15px;
    }
    
    .category-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .category-arrow {
        width: 30px;
        height: 30px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    /* Campaign Villas Mobile */
    .campaign-villas {
        padding: 40px 0;
    }
    
    .campaign-villas .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .campaign-villas .section-subtitle {
        font-size: 0.9rem;
        padding: 0 20px;
    }
    
    .villas-carousel {
        padding: 0 50px;
        margin: 0 15px;
    }
    
    .villas-container {
        gap: 15px;
        padding: 10px 0;
    }
    
    .villa-card {
        flex: 0 0 300px;
        min-width: 300px;
    }
    
    .villa-image {
        height: 200px;
    }
    
    .villa-content {
        padding: 15px;
    }
    
    .villa-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .villa-features {
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .feature-item {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .villa-actions {
        gap: 10px;
    }
    
    .view-btn, .favorite-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    /* Sapanca Bungalows Mobile */
    .sapanca-bungalows {
        padding: 40px 0;
    }
    
    .sapanca-bungalows .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .sapanca-bungalows .section-subtitle {
        font-size: 0.9rem;
        padding: 0 20px;
    }
    
    .bungalows-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .bungalow-card-modern {
        max-width: 100%;
        margin: 0;
    }
    
    .bungalow-image-modern {
        height: 220px;
    }
    
    .bungalow-content-modern {
        padding: 20px;
    }
    
    .bungalow-title-modern {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .bungalow-features-modern {
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .feature-item-modern {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .bungalow-actions {
        gap: 10px;
    }
    
    .view-btn-modern, .favorite-btn-modern {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .cta-btn-modern {
        padding: 15px 25px;
        font-size: 14px;
        margin-top: 20px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 14px;
    }
    
    .footer-bottom {
        padding: 20px 0;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
    
    /* WhatsApp Button Mobile */
    .whatsapp-float {
        width: 60px;
        height: 60px;
        right: 20px;
        bottom: 20px;
        font-size: 28px;
    }
    
    /* Property Cards Mobile */
    .property-card {
        margin-bottom: 20px;
    }
    
    .property-image {
        height: 200px;
    }
    
    .property-content {
        padding: 15px;
    }
    
    .property-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .property-features {
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .feature-item {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .property-actions {
        gap: 10px;
    }
    
    .view-btn, .favorite-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Top Header Small Mobile */
    .top-header {
        padding: 6px 0;
        font-size: 10px;
    }
    
    .announcement {
        font-size: 9px;
    }
    
    .announcement i {
        font-size: 11px;
    }
    
    .contact-info {
        font-size: 9px;
    }
    
    /* Navigation Small Mobile */
    .logo {
        font-size: 11px;
        gap: 6px;
    }
    
    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .nav-menu {
        padding-top: 70px;
        gap: 15px;
    }
    
    .nav-menu a {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .campaign-link {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .login-btn, .register-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* Hero Section Small Mobile */
    .hero-section {
        min-height: 70vh;
        padding: 15px 0;
    }
    
    .search-filters {
        padding: 15px 10px;
    }
    
    .search-card {
        padding: 15px;
        border-radius: 15px;
    }
    
    .search-inputs {
        gap: 12px;
    }
    
    .input-group label {
        font-size: 13px;
    }
    
    .input-group select,
    .input-group input {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 10px;
    }
    
    .search-btn {
        padding: 12px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    /* Popular Categories Small Mobile */
    .popular-categories {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        padding: 0 15px;
    }
    
    .categories-carousel {
        padding: 0 40px;
        margin: 0 10px;
    }
    
    .categories-container {
        gap: 12px;
        padding: 8px 0;
    }
    
    .category-card-image {
        flex: 0 0 260px;
        min-width: 260px;
    }
    
    .category-image {
        height: 160px;
    }
    
    .category-overlay {
        padding: 12px;
    }
    
    .category-content h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .category-arrow {
        width: 26px;
        height: 26px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    /* Campaign Villas Small Mobile */
    .campaign-villas {
        padding: 30px 0;
    }
    
    .campaign-villas .section-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .campaign-villas .section-subtitle {
        font-size: 0.85rem;
        padding: 0 15px;
    }
    
    .villas-carousel {
        padding: 0 40px;
        margin: 0 10px;
    }
    
    .villas-container {
        gap: 12px;
        padding: 8px 0;
    }
    
    .villa-card {
        flex: 0 0 280px;
        min-width: 280px;
    }
    
    .villa-image {
        height: 180px;
    }
    
    .villa-content {
        padding: 12px;
    }
    
    .villa-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .villa-features {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .feature-item {
        padding: 5px 8px;
        font-size: 10px;
    }
    
    .villa-actions {
        gap: 8px;
    }
    
    .view-btn, .favorite-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    /* Sapanca Bungalows Small Mobile */
    .sapanca-bungalows {
        padding: 30px 0;
    }
    
    .sapanca-bungalows .section-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .sapanca-bungalows .section-subtitle {
        font-size: 0.85rem;
        padding: 0 15px;
    }
    
    .bungalows-grid {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .bungalow-image-modern {
        height: 200px;
    }
    
    .bungalow-content-modern {
        padding: 15px;
    }
    
    .bungalow-title-modern {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .bungalow-features-modern {
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .feature-item-modern {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .bungalow-actions {
        gap: 8px;
    }
    
    .view-btn-modern, .favorite-btn-modern {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .cta-btn-modern {
        padding: 12px 20px;
        font-size: 13px;
        margin-top: 15px;
    }
    
    /* Footer Small Mobile */
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 13px;
    }
    
    .footer-bottom {
        padding: 15px 0;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
    
    /* WhatsApp Button Small Mobile */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        right: 15px;
        bottom: 15px;
        font-size: 24px;
    }
    
    /* Property Cards Small Mobile */
    .property-image {
        height: 180px;
    }
    
    .property-content {
        padding: 12px;
    }
    
    .property-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .property-features {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .feature-item {
        padding: 5px 8px;
        font-size: 10px;
    }
    
    .property-actions {
        gap: 8px;
    }
    
    .view-btn, .favorite-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    
    /* Top Header Extra Small Mobile */
    .top-header {
        padding: 5px 0;
        font-size: 9px;
    }
    
    .announcement {
        font-size: 8px;
    }
    
    .announcement i {
        font-size: 10px;
    }
    
    .contact-info {
        font-size: 8px;
    }
    
    /* Navigation Extra Small Mobile */
    .logo {
        font-size: 10px;
        gap: 5px;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .nav-menu {
        padding-top: 65px;
        gap: 12px;
    }
    
    .nav-menu a {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .campaign-link {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .login-btn, .register-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .mobile-menu-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    /* Hero Section Extra Small Mobile */
    .hero-section {
        min-height: 65vh;
        padding: 12px 0;
    }
    
    .search-filters {
        padding: 12px 8px;
    }
    
    .search-card {
        padding: 12px;
        border-radius: 12px;
    }
    
    .search-inputs {
        gap: 10px;
    }
    
    .input-group label {
        font-size: 12px;
    }
    
    .input-group select,
    .input-group input {
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 8px;
    }
    
    .search-btn {
        padding: 10px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    /* Popular Categories Extra Small Mobile */
    .popular-categories {
        padding: 25px 0;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        padding: 0 12px;
    }
    
    .categories-carousel {
        padding: 0 35px;
        margin: 0 8px;
    }
    
    .categories-container {
        gap: 10px;
        padding: 6px 0;
    }
    
    .category-card-image {
        flex: 0 0 240px;
        min-width: 240px;
    }
    
    .category-image {
        height: 140px;
    }
    
    .category-overlay {
        padding: 10px;
    }
    
    .category-content h3 {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .category-arrow {
        width: 24px;
        height: 24px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    /* Campaign Villas Extra Small Mobile */
    .campaign-villas {
        padding: 25px 0;
    }
    
    .campaign-villas .section-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .campaign-villas .section-subtitle {
        font-size: 0.8rem;
        padding: 0 12px;
    }
    
    .villas-carousel {
        padding: 0 35px;
        margin: 0 8px;
    }
    
    .villas-container {
        gap: 10px;
        padding: 6px 0;
    }
    
    .villa-card {
        flex: 0 0 260px;
        min-width: 260px;
    }
    
    .villa-image {
        height: 160px;
    }
    
    .villa-content {
        padding: 10px;
    }
    
    .villa-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .villa-features {
        gap: 5px;
        margin-bottom: 10px;
    }
    
    .feature-item {
        padding: 4px 6px;
        font-size: 9px;
    }
    
    .villa-actions {
        gap: 6px;
    }
    
    .view-btn, .favorite-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    /* Sapanca Bungalows Extra Small Mobile */
    .sapanca-bungalows {
        padding: 25px 0;
    }
    
    .sapanca-bungalows .section-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .sapanca-bungalows .section-subtitle {
        font-size: 0.8rem;
        padding: 0 12px;
    }
    
    .bungalows-grid {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .bungalow-image-modern {
        height: 180px;
    }
    
    .bungalow-content-modern {
        padding: 12px;
    }
    
    .bungalow-title-modern {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .bungalow-features-modern {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .feature-item-modern {
        padding: 5px 8px;
        font-size: 10px;
    }
    
    .bungalow-actions {
        gap: 6px;
    }
    
    .view-btn-modern, .favorite-btn-modern {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .cta-btn-modern {
        padding: 10px 15px;
        font-size: 12px;
        margin-top: 12px;
    }
    
    /* Footer Extra Small Mobile */
    .footer {
        padding: 25px 0 12px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 12px;
    }
    
    .footer-bottom {
        padding: 12px 0;
    }
    
    .footer-bottom p {
        font-size: 10px;
    }
    
    /* WhatsApp Button Extra Small Mobile */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 12px;
        bottom: 12px;
        font-size: 20px;
    }
    
    /* Property Cards Extra Small Mobile */
    .property-image {
        height: 160px;
    }
    
    .property-content {
        padding: 10px;
    }
    
    .property-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .property-features {
        gap: 5px;
        margin-bottom: 10px;
    }
    
    .feature-item {
        padding: 4px 6px;
        font-size: 9px;
    }
    
    .property-actions {
        gap: 6px;
    }
    
    .view-btn, .favorite-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* ===== TOUCH OPTIMIZATIONS ===== */

/* Touch-friendly button sizes */
@media (hover: none) and (pointer: coarse) {
    .carousel-btn,
    .search-btn,
    .view-btn,
    .favorite-btn,
    .cta-btn-modern,
    .mobile-menu-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .input-group select,
    .input-group input {
        min-height: 44px;
    }
}

/* ===== ANDROID SPECIFIC OPTIMIZATIONS ===== */

/* Android WebView optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .categories-container,
    .villas-container {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .category-card-image,
    .villa-card {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    .nav-menu {
        -webkit-overflow-scrolling: touch;
    }
}

/* High DPI Android devices */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    .categories-container,
    .villas-container {
        transform: translateZ(0);
        backface-visibility: hidden;
    }
}

/* Android Chrome specific */
@media screen and (max-width: 768px) {
    .categories-container,
    .villas-container {
        touch-action: pan-x;
        overscroll-behavior-x: contain;
    }
    
    .nav-menu {
        touch-action: pan-y;
        overscroll-behavior-y: contain;
    }
}

/* ===== iOS SPECIFIC OPTIMIZATIONS ===== */

/* iOS Safari optimizations */
@supports (-webkit-touch-callout: none) {
    .categories-container,
    .villas-container {
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu {
        -webkit-overflow-scrolling: touch;
    }
    
    .search-card,
    .category-card-image,
    .villa-card,
    .bungalow-card-modern {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* iOS safe area support */
@supports (padding: max(0px)) {
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
    
    .nav-menu {
        padding-top: max(80px, calc(80px + env(safe-area-inset-top)));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
    
    .whatsapp-float {
        bottom: max(20px, calc(20px + env(safe-area-inset-bottom)));
        right: max(20px, calc(20px + env(safe-area-inset-right)));
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .categories-container,
    .villas-container,
    .nav-menu,
    .search-card,
    .category-card-image,
    .villa-card,
    .bungalow-card-modern {
        transition: none !important;
        animation: none !important;
    }
    
    .carousel-btn:hover,
    .search-btn:hover,
    .view-btn:hover,
    .favorite-btn:hover,
    .cta-btn-modern:hover,
    .mobile-menu-btn:hover {
        transform: none !important;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */

/* Focus indicators for keyboard navigation */
.carousel-btn:focus,
.search-btn:focus,
.view-btn:focus,
.favorite-btn:focus,
.cta-btn-modern:focus,
.mobile-menu-btn:focus,
.nav-menu a:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .carousel-btn,
    .search-btn,
    .view-btn,
    .favorite-btn,
    .cta-btn-modern,
    .mobile-menu-btn {
        border: 2px solid currentColor;
    }
    
    .nav-menu a {
        border: 1px solid currentColor;
    }
}

/* ===== PRINT STYLES ===== */

@media print {
    .top-header,
    .navbar,
    .carousel-btn,
    .whatsapp-float,
    .mobile-menu-btn {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 20px 0;
    }
    
    .search-filters {
        display: none;
    }
    
    .categories-carousel,
    .villas-carousel {
        overflow: visible;
    }
    
    .categories-container,
    .villas-container {
        transform: none !important;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .category-card-image,
    .villa-card,
    .bungalow-card-modern {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ===== ADDITIONAL MOBILE ENHANCEMENTS ===== */

/* Mobile loading states */
.mobile-loading {
    position: relative;
    overflow: hidden;
}

.mobile-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: mobileLoading 1.5s infinite;
}

@keyframes mobileLoading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Mobile-specific hover effects (only on non-touch devices) */
@media (hover: hover) and (pointer: fine) {
    .category-card-image:hover,
    .villa-card:hover,
    .bungalow-card-modern:hover {
        transform: translateY(-5px);
        box-shadow: var(--mobile-shadow-hover);
    }
    
    .carousel-btn:hover:not(:disabled) {
        transform: scale(1.1);
        box-shadow: var(--mobile-shadow-hover);
    }
    
    .search-btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--mobile-shadow-hover);
    }
    
    .nav-menu a:hover {
        background: rgba(52, 152, 219, 0.1);
        transform: translateY(-1px);
    }
}

/* Mobile-specific focus states */
.mobile-device .category-card-image:focus,
.mobile-device .villa-card:focus,
.mobile-device .bungalow-card-modern:focus,
.mobile-device .carousel-btn:focus,
.mobile-device .search-btn:focus,
.mobile-device .nav-menu a:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
    border-radius: var(--mobile-border-radius);
}

/* Mobile-specific active states */
.mobile-device .category-card-image:active,
.mobile-device .villa-card:active,
.mobile-device .bungalow-card-modern:active {
    transform: scale(0.98);
    transition: transform var(--mobile-transition-fast);
}

.mobile-device .carousel-btn:active:not(:disabled),
.mobile-device .search-btn:active {
    transform: scale(0.95);
    transition: transform var(--mobile-transition-fast);
}

/* Mobile-specific loading animations */
.mobile-device .categories-container,
.mobile-device .villas-container {
    transition: transform var(--mobile-transition);
}

.mobile-device .nav-menu {
    transition: left var(--mobile-transition);
}

/* Mobile-specific scrollbar styling */
.mobile-device .categories-container::-webkit-scrollbar,
.mobile-device .villas-container::-webkit-scrollbar {
    height: 6px;
}

.mobile-device .categories-container::-webkit-scrollbar-track,
.mobile-device .villas-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.mobile-device .categories-container::-webkit-scrollbar-thumb,
.mobile-device .villas-container::-webkit-scrollbar-thumb {
    background: rgba(52, 152, 219, 0.6);
    border-radius: 3px;
}

.mobile-device .categories-container::-webkit-scrollbar-thumb:hover,
.mobile-device .villas-container::-webkit-scrollbar-thumb:hover {
    background: rgba(52, 152, 219, 0.8);
}

/* Mobile-specific image optimizations */
.mobile-device img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile-specific form optimizations */
.mobile-device input,
.mobile-device select,
.mobile-device textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: var(--mobile-border-radius-small);
}

.mobile-device input:focus,
.mobile-device select:focus,
.mobile-device textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Mobile-specific button optimizations */
.mobile-device button {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Mobile-specific link optimizations */
.mobile-device a {
    -webkit-tap-highlight-color: rgba(52, 152, 219, 0.3);
    text-decoration: none;
}

/* Mobile-specific animation optimizations */
@media (prefers-reduced-motion: no-preference) {
    .mobile-device .category-card-image,
    .mobile-device .villa-card,
    .mobile-device .bungalow-card-modern {
        transition: all var(--mobile-transition);
    }
    
    .mobile-device .carousel-btn,
    .mobile-device .search-btn {
        transition: all var(--mobile-transition);
    }
    
    .mobile-device .nav-menu a {
        transition: all var(--mobile-transition);
    }
}

/* Mobile-specific dark mode support */
@media (prefers-color-scheme: dark) {
    .mobile-device {
        --mobile-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
        --mobile-shadow-hover: 0 6px 20px rgba(255, 255, 255, 0.15);
    }
    
    .mobile-device .navbar {
        background: rgba(0, 0, 0, 0.95);
        color: white;
    }
    
    .mobile-device .nav-menu {
        background: rgba(0, 0, 0, 0.98);
        color: white;
    }
    
    .mobile-device .nav-menu a {
        color: white;
    }
    
    .mobile-device .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Mobile-specific high contrast mode */
@media (prefers-contrast: high) {
    .mobile-device .category-card-image,
    .mobile-device .villa-card,
    .mobile-device .bungalow-card-modern {
        border: 2px solid currentColor;
    }
    
    .mobile-device .carousel-btn,
    .mobile-device .search-btn {
        border: 2px solid currentColor;
    }
    
    .mobile-device .nav-menu a {
        border: 1px solid currentColor;
    }
}

/* Mobile-specific landscape optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .mobile-device .hero-section {
        min-height: 60vh;
    }
    
    .mobile-device .search-filters {
        padding: 15px 20px;
    }
    
    .mobile-device .search-inputs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .mobile-device .input-group {
        min-width: calc(50% - 5px);
    }
    
    .mobile-device .search-btn {
        width: auto;
        min-width: 120px;
    }
}

/* Mobile-specific portrait optimizations */
@media (max-width: 768px) and (orientation: portrait) {
    .mobile-device .hero-section {
        min-height: 80vh;
    }
    
    .mobile-device .search-inputs {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-device .input-group {
        min-width: 100%;
    }
    
    .mobile-device .search-btn {
        width: 100%;
    }
}

/* Mobile-specific accessibility improvements */
.mobile-device .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobile-specific error states */
.mobile-device .error-state {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
}

.mobile-device .error-message {
    color: #e74c3c;
    font-size: var(--mobile-font-size-xs);
    margin-top: 5px;
}

/* Mobile-specific success states */
.mobile-device .success-state {
    border-color: #27ae60;
    background-color: rgba(39, 174, 96, 0.1);
}

.mobile-device .success-message {
    color: #27ae60;
    font-size: var(--mobile-font-size-xs);
    margin-top: 5px;
}

/* Mobile-specific loading states */
.mobile-device .loading-state {
    position: relative;
    pointer-events: none;
}

.mobile-device .loading-state::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: mobileSpin 1s linear infinite;
}

@keyframes mobileSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile-specific empty states */
.mobile-device .empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

.mobile-device .empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #bdc3c7;
}

.mobile-device .empty-state h3 {
    font-size: var(--mobile-font-size-base);
    margin-bottom: 10px;
}

.mobile-device .empty-state p {
    font-size: var(--mobile-font-size-small);
    line-height: 1.5;
}

/* Mobile-specific tooltip styles */
.mobile-device .tooltip {
    position: relative;
    display: inline-block;
}

.mobile-device .tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: white;
    text-align: center;
    border-radius: var(--mobile-border-radius-small);
    padding: 8px 12px;
    position: absolute;
    z-index: var(--mobile-z-index-overlay);
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity var(--mobile-transition);
    font-size: var(--mobile-font-size-xs);
}

.mobile-device .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Mobile-specific modal styles */
.mobile-device .modal {
    display: none;
    position: fixed;
    z-index: var(--mobile-z-index-overlay);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.mobile-device .modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: var(--mobile-border-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: mobileModalSlideIn 0.3s ease;
}

@keyframes mobileModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-device .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
}

.mobile-device .close:hover,
.mobile-device .close:focus {
    color: #000;
}

/* Mobile-specific notification styles */
.mobile-device .notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #3498db;
    color: white;
    padding: 15px 20px;
    border-radius: var(--mobile-border-radius);
    box-shadow: var(--mobile-shadow);
    z-index: var(--mobile-z-index-overlay);
    max-width: 300px;
    animation: mobileNotificationSlideIn 0.3s ease;
}

@keyframes mobileNotificationSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-device .notification.success {
    background-color: #27ae60;
}

.mobile-device .notification.error {
    background-color: #e74c3c;
}

.mobile-device .notification.warning {
    background-color: #f39c12;
}

/* Mobile-specific progress bar */
.mobile-device .progress-bar {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.mobile-device .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #27ae60);
    border-radius: 4px;
    transition: width var(--mobile-transition);
}

/* Mobile-specific skeleton loading */
.mobile-device .skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: mobileSkeletonLoading 1.5s infinite;
    border-radius: var(--mobile-border-radius-small);
}

@keyframes mobileSkeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.mobile-device .skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.mobile-device .skeleton-text:last-child {
    width: 60%;
}

.mobile-device .skeleton-image {
    height: 200px;
    margin-bottom: 15px;
}

/* Mobile-specific floating action button */
.mobile-device .fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: var(--mobile-shadow-hover);
    cursor: pointer;
    z-index: var(--mobile-z-index-overlay);
    transition: all var(--mobile-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-device .fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.mobile-device .fab:active {
    transform: scale(0.95);
}

/* Mobile-specific bottom sheet */
.mobile-device .bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: var(--mobile-border-radius) var(--mobile-border-radius) 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: var(--mobile-z-index-overlay);
    transition: bottom var(--mobile-transition);
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-device .bottom-sheet.active {
    bottom: 0;
}

.mobile-device .bottom-sheet-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-device .bottom-sheet-content {
    padding: 20px;
}

.mobile-device .bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 0 auto 15px;
}

/* Mobile-specific swipe gestures */
.mobile-device .swipeable {
    touch-action: pan-y pinch-zoom;
}

.mobile-device .swipeable.swiping {
    transition: none;
}

/* Mobile-specific haptic feedback simulation */
@media (hover: none) and (pointer: coarse) {
    .mobile-device .haptic-feedback:active {
        animation: mobileHapticFeedback 0.1s ease;
    }
}

@keyframes mobileHapticFeedback {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.98); }
}

/* Mobile-specific network status indicator */
.mobile-device .network-status {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #e74c3c;
    color: white;
    text-align: center;
    padding: 8px;
    font-size: var(--mobile-font-size-xs);
    z-index: var(--mobile-z-index-overlay);
    transform: translateY(-100%);
    transition: transform var(--mobile-transition);
}

.mobile-device .network-status.offline {
    transform: translateY(0);
}

/* Mobile-specific battery optimization */
.mobile-device .battery-optimized {
    will-change: auto;
}

.mobile-device .battery-optimized * {
    will-change: auto;
}

/* Mobile-specific print optimization */
@media print {
    .mobile-device .no-print {
        display: none !important;
    }
    
    .mobile-device .print-only {
        display: block !important;
    }
    
    .mobile-device .categories-container,
    .mobile-device .villas-container {
        transform: none !important;
        overflow: visible !important;
    }
}

/* Mobile-specific RTL support */
.mobile-device[dir="rtl"] .categories-container,
.mobile-device[dir="rtl"] .villas-container {
    direction: rtl;
}

.mobile-device[dir="rtl"] .carousel-btn.prev-btn {
    right: auto;
    left: 20px;
}

.mobile-device[dir="rtl"] .carousel-btn.next-btn {
    left: auto;
    right: 20px;
}

/* Mobile-specific reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .mobile-device * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile-specific high DPI display optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .mobile-device .high-dpi-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Mobile-specific landscape phone optimization */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
    .mobile-device .hero-section {
        min-height: 50vh;
    }
    
    .mobile-device .search-filters {
        padding: 10px 20px;
    }
    
    .mobile-device .search-inputs {
        gap: 8px;
    }
    
    .mobile-device .input-group label {
        font-size: var(--mobile-font-size-xs);
        margin-bottom: 4px;
    }
    
    .mobile-device .input-group select,
    .mobile-device .input-group input {
        padding: 8px 12px;
        font-size: var(--mobile-font-size-small);
    }
    
    .mobile-device .search-btn {
        padding: 8px 16px;
        font-size: var(--mobile-font-size-small);
    }
}

/* Mobile-specific tablet optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .mobile-device .container {
        padding: 0 30px;
    }
    
    .mobile-device .search-inputs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .mobile-device .input-group {
        min-width: calc(50% - 10px);
    }
    
    .mobile-device .search-btn {
        width: auto;
        min-width: 150px;
    }
    
    .mobile-device .categories-carousel,
    .mobile-device .villas-carousel {
        padding: 0 60px;
    }
    
    .mobile-device .category-card-image,
    .mobile-device .villa-card {
        flex: 0 0 320px;
        min-width: 320px;
    }
}

/* Mobile-specific large phone optimization */
@media (min-width: 481px) and (max-width: 768px) {
    .mobile-device .search-inputs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .mobile-device .input-group {
        min-width: calc(50% - 7.5px);
    }
    
    .mobile-device .search-btn {
        width: auto;
        min-width: 120px;
    }
}

/* Mobile-specific small phone optimization */
@media (max-width: 480px) {
    .mobile-device .search-inputs {
        flex-direction: column;
        gap: 12px;
    }
    
    .mobile-device .input-group {
        min-width: 100%;
    }
    
    .mobile-device .search-btn {
        width: 100%;
    }
    
    .mobile-device .categories-carousel,
    .mobile-device .villas-carousel {
        padding: 0 40px;
    }
    
    .mobile-device .category-card-image,
    .mobile-device .villa-card {
        flex: 0 0 260px;
        min-width: 260px;
    }
}

/* Mobile-specific extra small phone optimization */
@media (max-width: 360px) {
    .mobile-device .search-inputs {
        gap: 10px;
    }
    
    .mobile-device .categories-carousel,
    .mobile-device .villas-carousel {
        padding: 0 35px;
    }
    
    .mobile-device .category-card-image,
    .mobile-device .villa-card {
        flex: 0 0 240px;
        min-width: 240px;
    }
}

/* ===== RESPONSIVE STYLES FOR CAMPAIGN & MOST PREFERRED ===== */

/* Large Desktop */
@media (min-width: 1400px) {
    .campaign-villas,
    .most-preferred {
        padding: 100px 0;
    }
    
    .campaign-villas .section-title,
    .most-preferred .section-title {
        font-size: 3rem;
    }
    

    
    .campaign-villas .villa-card,
    .most-preferred .villa-card {
        flex: 0 0 280px;
        min-width: 280px;
    }
    
    .campaign-villas .villa-image,
    .most-preferred .villa-image {
        height: 250px;
    }
}

/* === Mobile card layout - screenshot uyumu === */
@media (max-width: 480px) {
  /* Genel kart sıkılaştırma */
  .villa-card {
    margin: 12px 10px;
    border-radius: 16px;
    border: 1px solid #eef1f4;
    box-shadow: 0 10px 20px rgba(0,0,0,.06);
    overflow: hidden;
  }

  /* Görsel oranı ve badge konumları */
  .villa-image { height: 200px; }
  .discount-badge { left: 12px; right: auto; top: 10px; }
  .property-type-badge { right: 12px; left: auto; top: 10px; }
  .favorite-icon { right: 12px; left: auto; top: 58px; }

  /* Başlık ve konum */
  .villa-info { background:#fff; padding:14px 14px 10px; }
  .villa-info h3 { font-size: 1.05rem; margin-bottom: 6px; }
  .location-info { font-size:.85rem; margin-bottom: 12px; }

  /* Özellik satırları (kişi/oda/banyo) */
  .villa-features {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 8px;
    margin: 0 0 12px 0;
  }
  .feature-item { font-size:.82rem; }

  /* Fiyat kutusu (gri kutu) */
  .price-box {
    background: #f3f6f9;
    border: 1px solid #e7edf3;
    border-radius: 14px;
    padding: 10px 12px;
    margin: 0 0 12px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
  }
  .price-box .old-price { 
    text-decoration: line-through;
    color:#98a6b3; 
    font-size:.85rem;
  }
  .price-box .new-price { 
    color:#2aae5a; 
    font-weight:800; 
    font-size:1.15rem; 
    margin:0;
  }
  .price-box .price-note,
  .price-unit { font-size:.78rem; color:#8a97a5; }

  /* Alttaki üçlü aksiyon barı */
  .villa-actions {
    display: grid;
    grid-template-columns: 1fr 40px 40px;
    gap: 10px;
    padding: 0 14px 14px;
  }
  .btn-pill {
    display:flex; align-items:center; justify-content:center;
    gap:8px; padding:10px 14px; border-radius:999px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color:#fff; text-decoration:none; font-weight:600; font-size:.9rem;
    box-shadow: 0 6px 16px rgba(255,107,53,.35);
  }
  .btn-icon {
    display:flex; align-items:center; justify-content:center;
    width:40px; height:40px; border-radius:999px;
    background:#fff; border:1px solid #e7edf3; color:#7a8794;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
  }
  .btn-icon:active,
  .btn-pill:active { transform: translateY(1px); }

  /* Var olan butonun (view-btn) mobilde yeni stile uyması */
  .view-btn { display:none; } /* eski butonu gizle */
}


/* Desktop */
@media (max-width: 1200px) {
    .campaign-villas,
    .most-preferred {
        padding: 70px 0;
    }
    
    .campaign-villas .section-title,
    .most-preferred .section-title {
        font-size: 2.2rem;
    }
    

    
    .campaign-villas .villa-card,
    .most-preferred .villa-card {
        flex: 0 0 280px;
        min-width: 280px;
    }
    
    .campaign-villas .villa-image,
    .most-preferred .villa-image {
        height: 200px;
    }
    

}

/* Tablet */
@media (max-width: 768px) {
    .campaign-villas,
    .most-preferred {
        padding: 50px 0;
    }
    
    .campaign-villas .section-title,
    .most-preferred .section-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .campaign-villas .section-title::before,
    .campaign-villas .section-title::after,
    .most-preferred .section-title::before,
    .most-preferred .section-title::after {
        font-size: 1.5rem;
    }
    

    
    .campaign-villas .villas-container,
    .most-preferred .villas-container {
        gap: 20px;
        padding: 15px 0;
    }
    
    .campaign-villas .villa-card,
    .most-preferred .villa-card {
        flex: 0 0 280px;
        min-width: 280px;
    }
    
    .campaign-villas .villa-image,
    .most-preferred .villa-image {
        height: 180px;
    }
    
    .campaign-villas .villa-info,
    .most-preferred .villa-info {
        padding: 20px;
    }
    
    .campaign-villas .villa-info h3,
    .most-preferred .villa-info h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .campaign-villas .price-info,
    .most-preferred .price-info {
        gap: 12px;
        margin-bottom: 18px;
    }
    
    .campaign-villas .old-price,
    .most-preferred .old-price {
        font-size: 1rem;
    }
    
    .campaign-villas .new-price,
    .most-preferred .new-price {
        font-size: 1.1rem;
    }
    
    .campaign-villas .view-btn,
    .most-preferred .view-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    

    
    .campaign-villas .discount-badge,
    .most-preferred .property-type-badge {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .campaign-villas,
    .most-preferred {
        padding: 40px 0;
    }
    
    .campaign-villas .section-title,
    .most-preferred .section-title {
        font-size: 1.5rem;
        padding: 0 15px;
    }
    
    .campaign-villas .section-title::before,
    .campaign-villas .section-title::after,
    .most-preferred .section-title::before,
    .most-preferred .section-title::after {
        font-size: 1.2rem;
    }
    

    
    .campaign-villas .villas-container,
    .most-preferred .villas-container {
        gap: 15px;
        padding: 10px 0;
    }
    
    .campaign-villas .villa-card,
    .most-preferred .villa-card {
        flex: 0 0 250px;
        min-width: 250px;
    }
    
    .campaign-villas .villa-image,
    .most-preferred .villa-image {
        height: 160px;
    }
    
    .campaign-villas .villa-info,
    .most-preferred .villa-info {
        padding: 15px;
    }
    
    .campaign-villas .villa-info h3,
    .most-preferred .villa-info h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .campaign-villas .price-info,
    .most-preferred .price-info {
        gap: 10px;
        margin-bottom: 15px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .campaign-villas .old-price,
    .most-preferred .old-price {
        font-size: 0.9rem;
    }
    
    .campaign-villas .new-price,
    .most-preferred .new-price {
        font-size: 1rem;
    }
    
    .campaign-villas .view-btn,
    .most-preferred .view-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .campaign-villas .carousel-btn,
    .most-preferred .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .campaign-villas .prev-btn {
        left: -17px;
    }
    
    .campaign-villas .next-btn {
        right: -17px;
    }
    
    .most-preferred .prev-btn {
        left: -17px;
    }
    
    .most-preferred .next-btn {
        right: -17px;
    }
    
    .campaign-villas .discount-badge,
    .most-preferred .property-type-badge {
        padding: 5px 10px;
        font-size: 11px;
        top: 10px;
        right: 10px;
    }
    
    .most-preferred .property-type-badge {
        top: 10px;
        left: 10px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .campaign-villas,
    .most-preferred {
        padding: 30px 0;
    }
    
    .campaign-villas .section-title,
    .most-preferred .section-title {
        font-size: 1.3rem;
        padding: 0 10px;
    }
    
    .campaign-villas .section-title::before,
    .campaign-villas .section-title::after,
    .most-preferred .section-title::before,
    .most-preferred .section-title::after {
        font-size: 1rem;
    }
    
    .campaign-villas .villas-carousel,
    .most-preferred .villas-carousel {
        margin: 0 15px;
        padding: 8px 0;
    }
    
    .campaign-villas .villas-container,
    .most-preferred .villas-container {
        gap: 12px;
        padding: 8px 0;
    }
    
    .campaign-villas .villa-card,
    .most-preferred .villa-card {
        flex: 0 0 220px;
        min-width: 220px;
    }
    
    .campaign-villas .villa-image,
    .most-preferred .villa-image {
        height: 140px;
    }
    
    .campaign-villas .villa-info,
    .most-preferred .villa-info {
        padding: 12px;
    }
    
    .campaign-villas .villa-info h3,
    .most-preferred .villa-info h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .campaign-villas .price-info,
    .most-preferred .price-info {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .campaign-villas .old-price,
    .most-preferred .old-price {
        font-size: 0.8rem;
    }
    
    .campaign-villas .new-price,
    .most-preferred .new-price {
        font-size: 0.9rem;
    }
    
    .campaign-villas .view-btn,
    .most-preferred .view-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    

}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .campaign-villas .villa-card:hover,
    .most-preferred .villa-card:hover {
        transform: none;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }
    
    .campaign-villas .villa-card:active,
    .most-preferred .villa-card:active {
        transform: scale(0.98);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
    

    
    .campaign-villas .view-btn:hover,
    .most-preferred .view-btn:hover {
        transform: none;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    }
    
    .campaign-villas .view-btn:active,
    .most-preferred .view-btn:active {
        transform: scale(0.98);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
    }
}

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .campaign-villas .villa-card,
    .most-preferred .villa-card {
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    .campaign-villas .villa-image img,
    .most-preferred .villa-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .campaign-villas,
    .most-preferred {
        background: white !important;
        color: black !important;
    }
    
    .campaign-villas .section-title,
    .most-preferred .section-title {
        color: black !important;
        text-shadow: none !important;
    }
    
    .campaign-villas .section-title::before,
    .campaign-villas .section-title::after,
    .most-preferred .section-title::before,
    .most-preferred .section-title::after {
        display: none !important;
    }
    
    .campaign-villas .carousel-btn,
    .most-preferred .carousel-btn {
        display: none !important;
    }
    
    .campaign-villas .villas-container,
    .most-preferred .villas-container {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 20px !important;
        overflow: visible !important;
    }
    
    .campaign-villas .villa-card,
    .most-preferred .villa-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ===== ADDITIONAL MODERN ENHANCEMENTS ===== */

/* Enhanced Campaign Villas */
.campaign-villas .villa-card.active {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.campaign-villas .villa-card.active .villa-image img {
    transform: scale(1.05);
}

.campaign-villas .villa-card.active .discount-badge {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Enhanced Most Preferred */
.most-preferred .villa-card.active {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(240, 147, 251, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.most-preferred .villa-card.active .villa-image img {
    transform: scale(1.05);
}

.most-preferred .villa-card.active .property-type-badge {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(240, 147, 251, 0.3);
}

/* Enhanced Loading States */
.campaign-villas .villa-card.loading,
.most-preferred .villa-card.loading {
    position: relative;
    overflow: hidden;
}

.campaign-villas .villa-card.loading::before,
.most-preferred .villa-card.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Enhanced Focus States */
.campaign-villas .villa-card:focus-within,
.most-preferred .villa-card:focus-within {
    outline: 3px solid #3498db;
    outline-offset: 3px;
    transform: scale(1.02);
}

.campaign-villas .view-btn:focus,
.most-preferred .view-btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
    transform: scale(1.05);
}

/* Enhanced Carousel Button States */
.campaign-villas .carousel-btn:disabled,
.most-preferred .carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

.campaign-villas .carousel-btn:not(:disabled):active,
.most-preferred .carousel-btn:not(:disabled):active {
    transform: translateY(-50%) scale(0.95);
}

/* Enhanced Image Placeholder */
.campaign-villas .image-placeholder,
.most-preferred .image-placeholder {
    position: relative;
    overflow: hidden;
}

.campaign-villas .image-placeholder::before,
.most-preferred .image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

/* Enhanced Price Display */
.campaign-villas .price-info,
.most-preferred .price-info {
    position: relative;
}

.campaign-villas .old-price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    transform: translateY(-50%);
    border-radius: 1px;
}

/* Enhanced Discount Badge */
.campaign-villas .discount-badge {
    position: relative;
    overflow: hidden;
}

.campaign-villas .discount-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

/* Enhanced Property Type Badge */
.most-preferred .property-type-badge {
    position: relative;
    overflow: hidden;
}

.most-preferred .property-type-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite 1s;
}

/* Enhanced Section Backgrounds */
.campaign-villas::after,
.most-preferred::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Enhanced Hover Effects */
.campaign-villas .villa-card:hover .villa-image::after,
.most-preferred .villa-card:hover .villa-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Enhanced Button Hover Effects */
.campaign-villas .view-btn:hover::before,
.most-preferred .view-btn:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 25px;
    animation: fadeIn 0.3s ease forwards;
}

/* Enhanced Section Title Animations */
.campaign-villas .section-title::before,
.campaign-villas .section-title::after,
.most-preferred .section-title::before,
.most-preferred .section-title::after {
    display: inline-block;
    transition: transform 0.3s ease;
}

.campaign-villas:hover .section-title::before,
.campaign-villas:hover .section-title::after,
.most-preferred:hover .section-title::before,
.most-preferred:hover .section-title::after {
    transform: scale(1.2) rotate(5deg);
}

/* Enhanced Card Transitions */
.campaign-villas .villa-card,
.most-preferred .villa-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, box-shadow;
}

.campaign-villas .villa-card:hover,
.most-preferred .villa-card:hover {
    will-change: transform, box-shadow;
}

/* Enhanced Image Transitions */
.campaign-villas .villa-image img,
.most-preferred .villa-image img {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Enhanced Button Transitions */
.campaign-villas .view-btn,
.most-preferred .view-btn {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, box-shadow;
}

.campaign-villas .carousel-btn,
.most-preferred .carousel-btn {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, background, box-shadow;
}

/* Enhanced Accessibility */
.campaign-villas .villa-card[tabindex]:focus,
.most-preferred .villa-card[tabindex]:focus {
    outline: 3px solid #3498db;
    outline-offset: 3px;
}

.campaign-villas .carousel-btn:focus,
.most-preferred .carousel-btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Enhanced Mobile Touch Feedback */
@media (hover: none) and (pointer: coarse) {
    .campaign-villas .villa-card:active,
    .most-preferred .villa-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .campaign-villas .carousel-btn:active,
    .most-preferred .carousel-btn:active {
        transform: translateY(-50%) scale(0.95);
        transition: transform 0.1s ease;
    }
    
    .campaign-villas .view-btn:active,
    .most-preferred .view-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Enhanced Performance Optimizations */
.campaign-villas .villa-card,
.most-preferred .villa-card {
    backface-visibility: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.campaign-villas .villa-image,
.most-preferred .villa-image {
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Enhanced Print Styles */
@media print {
    .campaign-villas .villa-card,
    .most-preferred .villa-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .campaign-villas .villa-image img,
    .most-preferred .villa-image img {
        filter: grayscale(100%);
    }
    
    .campaign-villas .discount-badge,
    .most-preferred .property-type-badge {
        background: #f0f0f0 !important;
        color: #333 !important;
        border: 1px solid #ccc;
    }
}

/* Enhanced Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .campaign-villas .villa-card,
    .most-preferred .villa-card {
        background: #2c3e50;
        color: #ecf0f1;
    }
    
    .campaign-villas .villa-info h3,
    .most-preferred .villa-info h3 {
        color: #ecf0f1;
    }
    
    .campaign-villas .old-price,
    .most-preferred .old-price {
        color: #bdc3c7;
    }
}

/* Enhanced Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .campaign-villas .villa-card,
    .most-preferred .villa-card,
    .campaign-villas .villa-image img,
    .most-preferred .villa-image img,
    .campaign-villas .view-btn,
    .most-preferred .view-btn,
    .campaign-villas .carousel-btn,
    .most-preferred .carousel-btn {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
    
    .campaign-villas .section-title::before,
    .campaign-villas .section-title::after,
    .most-preferred .section-title::before,
    .most-preferred .section-title::after {
        animation: none !important;
    }
}

/* ===== MOBILE_TEST.HTML'DEN ALINAN MOBİL OPTİMİZASYONLAR ===== */

/* Responsive Grid Layout - mobile_test.html'den */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.responsive-grid .test-card {
    background: white;
    padding: 20px;
    border-radius: var(--mobile-border-radius-small);
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--mobile-shadow);
}

/* Mobil cihazlarda tam genişlik kartlar */
@media (max-width: 768px) {
    .responsive-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .responsive-grid .test-card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .responsive-grid .test-card {
        padding: 10px;
    }
}

/* Touch cihazlar için kart optimizasyonları */
@media (hover: none) and (pointer: coarse) {
    .responsive-grid .test-card {
        min-height: 44px;
    }
}

/* Mobil cihazlarda input focus'ta zoom önleme */
@media (max-width: 768px) {
    .input-group input:focus,
    .input-group select:focus {
        font-size: 16px; /* iOS zoom önleme */
    }
}

/* Buton touch efektleri - mobile_test.html'den */
.btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* Mobil cihazlarda tam genişlik butonlar */
@media (max-width: 768px) {
    .btn {
        width: 100%;
        margin: 5px 0;
        justify-content: center;
    }
}

/* iPhone ve Android özel optimizasyonları */
@media (max-width: 414px) {
    .container {
        padding: 12px 8px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .villa-card {
        margin-bottom: 15px;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 10px 5px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .villa-card {
        margin-bottom: 10px;
    }
}

/* Touch cihazlar için genel optimizasyonlar */
@media (hover: none) and (pointer: coarse) {
    * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    .villa-card {
        min-height: 44px;
    }
    
    .btn {
        min-height: 44px;
    }
    
    .input-group input,
    .input-group select {
        min-height: 44px;
        font-size: 16px; /* iOS zoom önleme */
    }
}

/* Mobil cihazlarda smooth scrolling */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/* ===== MOBİL TEST SECTION STİLLERİ ===== */
.mobile-test-section {
    padding: 80px 0;
    background: var(--background-light);
}

.mobile-test-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.mobile-test-section .section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-top: 10px;
}

.mobile-test-section .test-card {
    background: white;
    padding: 25px;
    border-radius: var(--mobile-border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--mobile-shadow);
    margin-bottom: 20px;
}

.mobile-test-section .test-card h4 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.mobile-test-section .test-card p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.mobile-test-section .test-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: var(--mobile-font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
    min-height: 44px;
}

.mobile-test-section .test-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.mobile-test-section .input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: var(--mobile-font-size-base);
    background: white;
    transition: all 0.3s ease;
    color: var(--accent-color);
    min-height: 44px;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.mobile-test-section .input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Mobil cihazlarda mobil test section optimizasyonları */
@media (max-width: 768px) {
    .mobile-test-section {
        padding: 60px 0;
    }
    
    .mobile-test-section .test-card {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .mobile-test-section .test-button {
        width: 100%;
        margin: 5px 0;
    }
    
    .mobile-test-section .input {
        font-size: 16px; /* iOS zoom önleme */
    }
}

@media (max-width: 480px) {
    .mobile-test-section {
        padding: 40px 0;
    }
    
    .mobile-test-section .test-card {
        padding: 15px;
        margin-bottom: 10px;
    }
    
    .mobile-test-section .section-title {
        font-size: 20px;
    }
    
    .mobile-test-section .section-subtitle {
        font-size: 1rem;
    }
}

/* ===== MODERN VILLA CARD STYLES ===== */
.villas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.villa-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    backdrop-filter: blur(10px);
}

.villa-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.villa-image-modern {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.villa-image-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

.villa-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.villa-card-modern:hover .villa-image-modern img {
    transform: scale(1.08);
}

.image-placeholder-modern {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.image-placeholder-modern i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* Property Type Badge */
.property-type-badge-modern {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    z-index: 2;
}

.property-type-badge-modern.villa {
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
}

.property-type-badge-modern.bungalow {
    background: rgba(255, 255, 255, 0.95);
    color: #28a745;
}

/* Discount Badge */
.discount-badge-modern {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    z-index: 2;
}

/* Preferred Badge */
.preferred-badge-modern {
    position: absolute;
    background: linear-gradient(135deg, #ffd93d 0%, #f6c90e 100%);
    color: #2c3e50;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.3);
    z-index: 2;
}


/* Villa Overlay */
.villa-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.villa-card-modern:hover .villa-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
}

.overlay-features {
    display: flex;
    justify-content: space-around;
    gap: 15px;
}

.overlay-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}

.overlay-feature i {
    font-size: 1.2rem;
    color: #667eea;
}

/* Villa Content */
.villa-content-modern {
    padding: 25px;
}

.villa-header {
    margin-bottom: 20px;
}

.villa-title-modern {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.3;
}

.villa-location-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-size: 0.95rem;
    font-weight: 500;
}

.villa-location-modern i {
    font-size: 1rem;
}

/* Villa Features */
.villa-features-modern {
    display: grid;
    /*grid-template-columns: repeat(3, 1fr);*/
    gap: 12px;
    margin-bottom: 25px;
    min-width: 0;
}	

.feature-item-modern {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.feature-item-modern:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.feature-item-modern i {
    font-size: 1.2rem;
    color: #667eea;
    margin-bottom: 8px;
    display: block;
}

.feature-item-modern span {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Villa Price */
.villa-price-modern {
    margin-bottom: 20px;
    padding: 18px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 1px solid #dee2e6;
}

.price-old-modern {
    text-align: center;
    margin-bottom: 10px;
}

.old-price-text {
    color: #6c757d;
    text-decoration: line-through;
    font-size: 1rem;
    font-weight: 500;
}

.price-new-modern {
    text-align: center;
}

.price-label {
    display: block;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.new-price-text {
    color: #28a745;
    font-size: 1.8rem;
    font-weight: 700;
}

/* Villa Actions */
.villa-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.view-btn-modern {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.view-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

.favorite-btn-modern,
.whatsapp-btn-modern {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e9ecef;
    background: white;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorite-btn-modern:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
    transform: scale(1.1);
}

.whatsapp-btn-modern:hover {
    border-color: #25d366;
    color: #25d366;
    transform: scale(1.1);
}

/* CTA Button */
.villas-cta {
    text-align: center;
    margin: 40px 0;
}

.cta-btn-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.cta-btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

/* No Data Message */
.no-data-message-modern {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    border: 2px dashed #e9ecef;
}

.no-data-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.no-data-message-modern h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.no-data-message-modern p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .villas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0;
    }
    
    .villa-card-modern {
        border-radius: 15px;
    }
    
    .villa-image-modern {
        height: 200px;
    }
    
    .villa-content-modern {
        padding: 18px;
    }
    
    .villa-title-modern {
        font-size: 1.2rem;
    }
    
    .villa-features-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .feature-item-modern {
        padding: 10px 6px;
    }
    
    .feature-item-modern span {
        font-size: 0.7rem;
    }
    
    .villa-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .view-btn-modern {
        width: 100%;
    }
    
    .favorite-btn-modern,
    .whatsapp-btn-modern {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .villa-content-modern {
        padding: 15px;
    }
    
    .villa-title-modern {
        font-size: 1.1rem;
    }
    
    .new-price-text {
        font-size: 1.5rem;
    }
    
    .cta-btn-modern {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Touch Optimizations */
@media (hover: none) and (pointer: coarse) {
    .villa-card-modern {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    .villa-card-modern:active {
        transform: scale(0.98);
    }
    
    .view-btn-modern:active {
        transform: scale(0.98);
    }
    
    .favorite-btn-modern:active,
    .whatsapp-btn-modern:active {
        transform: scale(0.95);
    }
}