/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --primary-color: #E5A946; /* Turuncu/Altın */
    --dark-color: #1a1a1a; /* Koyu siyah */
    --light-color: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --border-color: #e9ecef;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Header Styles */
.header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.logo-img {
    height: 65px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.logo i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.logo-text {
    color: var(--white);
}

.logo-x {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 2px;
}

.logo-emlak {
    color: var(--primary-color);
    margin-left: 0.5rem;
    font-weight: 500;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--dark-color) 0%, #2d2d2d 100%);
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/ofis.webp') center center;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--light-color);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Search Form */
.search-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.search-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-color);
}

.tab-btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.search-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 120px;
    gap: 1rem;
    align-items: end;
}

/* Loading state for search button */
.search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.search-btn .fa-spin {
    animation: spin 1s linear infinite;
}

.input-field {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    min-height: 48px;
    box-sizing: border-box;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    min-height: 48px;
    white-space: nowrap;
    font-size: 0.9rem;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.2;
}

.search-btn:hover {
    background: #d4941f;
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #f4c15d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.8rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--gray);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Featured Properties */
.featured-properties {
    padding: 6rem 0;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 0.3;
}

.property-image::after {
    content: '\f015';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--primary-color);
    z-index: 2;
    opacity: 0.5;
}

.property-image img:not([src]),
.property-image img[src=""],
.property-image img[src*="placeholder"] {
    display: none;
}

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.property-content {
    padding: 1.5rem;
}

.property-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.property-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.property-location {
    color: var(--gray);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.view-all-btn {
    text-align: center;
    margin-top: 2rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #d4941f;
    color: var(--white);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Express Konut Section Responsive */
.express-konut-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.express-konut-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.express-konut-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.express-konut-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.express-konut-plans {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.plans-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.plan-preview {
    background: var(--primary-color);
    padding: 1rem;
    border-radius: 10px;
    color: var(--white);
}

.plan-value {
    font-weight: 700;
    color: var(--primary-color);
}

.how-it-works {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.how-it-works h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.how-it-works p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Stats Section */
.stats {
    background: var(--dark-color);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-number:not([class*="number"]) {
    font-size: 2rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 75px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.footer-logo i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.footer-section p {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: #d4941f;
    transform: translateY(-2px);
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: var(--light-color);
}

/* Large screens optimization */
@media (min-width: 1600px) {
    .services-grid {
        max-width: 1600px;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2.2rem 1.8rem;
        min-height: 300px;
    }
    
    .service-icon {
        width: 75px;
        height: 75px;
        font-size: 1.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .search-inputs {
        grid-template-columns: 1fr;
    }
    
    .search-btn {
        justify-content: center;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .property-card {
        max-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Express Konut Responsive */
    .express-konut-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .express-konut-feature {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .express-konut-icon {
        width: 50px;
        height: 50px;
    }
    
    .plans-preview {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .express-konut-plans {
        order: -1;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .search-form {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .plans-preview {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
        min-height: 240px;
    }
}

/* Ensure plan-value color is gold */
/* .plan-value {
    color: var(--primary-color) !important;
} */

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.6s ease forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hover Effects */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Properties List Views */
.properties-list {
    display: grid;
    gap: 2rem;
}

.properties-list.grid-view {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.properties-list.list-view {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Property Card List View Styles */
.property-card-list {
    display: flex !important;
    flex-direction: row;
    align-items: stretch;
    height: auto !important;
    max-width: none !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.property-card-list:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.property-card-list .property-image {
    width: 280px !important;
    height: 200px !important;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.property-card-list .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-card-list .property-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
}

.property-card-list .property-price {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: #E5A946;
    margin-bottom: 0.5rem;
}

.property-card-list .property-title {
    font-size: 1.25rem !important;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.property-card-list .property-location {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-card-list .property-location i {
    color: #E5A946;
}

.property-card-list .property-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.property-card-list .property-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5a6c7d;
    font-size: 0.9rem;
    font-weight: 500;
}

.property-card-list .property-features i {
    color: #E5A946;
    font-size: 1rem;
}

.property-card-list .property-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.property-card-list .property-actions button {
    padding: 0.6rem 1.2rem;
    border: 2px solid #E5A946;
    background: transparent;
    color: #E5A946;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.property-card-list .property-actions button:hover {
    background: #E5A946;
    color: white;
    transform: translateY(-1px);
}

.property-card-list .property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #E5A946, #d4941f);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

/* Responsive Design for List View */
@media (max-width: 768px) {
    .property-card-list {
        flex-direction: column !important;
        height: auto !important;
    }
    
    .property-card-list .property-image {
        width: 100% !important;
        height: 200px !important;
    }
    
    .property-card-list .property-content {
        padding: 1rem;
    }
    
    .property-card-list .property-features {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .property-card-list .property-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .property-card-list .property-actions button {
        width: 100%;
        text-align: center;
    }
}

/* Grid View Property Card Colors - Logo Color */
.property-card .property-price {
    color: #E5A946 !important;
}

.property-card .property-location i {
    color: #E5A946 !important;
}

.property-card .property-features i {
    color: #E5A946 !important;
}

.property-card .property-badge {
    background: linear-gradient(135deg, #E5A946, #d4941f) !important;
}

/* Ensure consistency across all property cards */
.property-price {
    color: #E5A946 !important;
}

.property-location i,
.listing-location i {
    color: #E5A946 !important;
}

.property-features i,
.listing-features i {
    color: #E5A946 !important;
}

.property-badge,
.listing-badge {
    background: linear-gradient(135deg, #E5A946, #d4941f) !important;
}

/* Listing card colors for consistency */
.listing-card .listing-price {
    color: #E5A946 !important;
}

.listing-card .listing-location i {
    color: #E5A946 !important;
}

.listing-card .listing-features i {
    color: #E5A946 !important;
}

.listing-card .listing-badge {
    background: linear-gradient(135deg, #E5A946, #d4941f) !important;
}

/* Specific rule for plan prices within plan cards */
.plan-card .plan-price {
    color: var(--primary-color) !important;
}

/* Specific rule for plan values within plan cards */
.plan-card .plan-value {
    color: var(--primary-color) !important;
}

/* ===============================
   ENHANCED RESPONSIVE DESIGN
   =============================== */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .search-form {
        max-width: 90%;
    }
    
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .section-padding {
        padding: 4rem 0;
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Reset existing styles */
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* Header */
    .header {
        padding: 0.8rem 0;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        border-radius: 0 0 10px 10px;
    }
    
    .nav.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 1.2rem;
    }
    
    /* Hero Section */
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* Search Form */
    .search-form {
        padding: 2rem 1.5rem;
        margin-top: 1rem;
    }
    
    .search-inputs {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .search-btn {
        width: 100%;
        margin-top: 1rem;
        padding: 0.8rem;
    }
    
    /* Properties Grid */
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }
    
    .property-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Plans Grid */
    .plans-preview {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Section Padding */
    .section-padding {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

/* Large Mobile Phones */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 10px;
    }
    
    /* Header */
    .logo-img {
        height: 45px;
        max-width: 180px;
    }
    
    .header {
        padding: 0.6rem 0;
    }
    
    /* Hero Section */
    .hero {
        height: 60vh;
        min-height: 450px;
    }
    
    .hero-content {
        padding: 1.5rem 0.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Search Form */
    .search-form {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .input-field {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .search-btn {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    /* Properties */
    .properties-grid {
        padding: 0 5px;
    }
    
    .property-card {
        border-radius: 12px;
    }
    
    .property-content {
        padding: 1rem;
    }
    
    .property-title {
        font-size: 1.1rem;
    }
    
    .property-price {
        font-size: 1.3rem;
    }
    
    .property-features {
        gap: 0.8rem;
        flex-wrap: wrap;
    }
    
    .property-features span {
        font-size: 0.8rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 10px;
    }
    
    .service-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin: 0 auto 1rem;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Plans */
    .plan-card {
        padding: 1.5rem;
        margin: 0 5px;
    }
    
    .plan-price {
        font-size: 1.8rem;
    }
    
    /* Buttons */
    .btn-primary {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    /* Section Spacing */
    .section-padding {
        padding: 2.5rem 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-logo-img {
        height: 40px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.85rem;
    }
    
    .contact-info p {
        margin-bottom: 0.5rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile Phones */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .search-form {
        margin: 0.2rem;
        padding: 1.2rem 0.8rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .property-price {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .plan-price {
        font-size: 1.6rem;
    }
    
    .container {
        padding: 0 8px;
    }
}

/* Landscape Mobile Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .search-form {
        padding: 1.5rem;
    }
}