:root {
    --primary-gold: #D4AF37;
    --primary-gray: #333333;
    --light-gray: #f5f5f5;
    --dark-gray: #222222;
}

/* Genel Stiller */
body {
    background-color: var(--light-gray);
    color: var(--primary-gray);
    position: relative;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    overflow-x: hidden; /* Yatay kaymayı engelle */
}

/* Navbar */
.navbar {
    background-color: var(--primary-gray);
}

/* Listings Container */
.listings-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    position: relative;
}

.property-card {
    width: 100%;
    height: 400px;
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.property-type {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.9rem;
}

.property-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.property-info {
    padding: 15px;
}

.property-info h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--primary-gray);
}

/* Featured Listings */
.featured-listings h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Search Bar Styles */
.search-bar {
    background: white;
    padding: 20px;
    border-radius: 50px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    display: flex;
    max-width: 800px;
    margin: 30px auto;
}

.search-bar input {
    flex: 1;
    padding: 10px 20px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-bar button {
    background: var(--primary-gold);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background: var(--dark-gray);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(51, 51, 51, 0.5), rgba(51, 51, 51, 0.5)), url('https://images.ctfassets.net/s4ybdu2ld1ox/4iGrU7mReGVZB2WV4x0YDF/6d7704ac48417104740061e858447afd/mordern-home.jpeg?w=1200&h=630&fl=progressive&q=100&fm=jpg&bg=transparent');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
    max-width: 100%;
    overflow-x: hidden;
}

.services h2 {
    text-align: center;
    color: var(--primary-gray);
    margin-bottom: 50px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.services h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-gold);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 25px 15px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--primary-gray);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Footer */
.main-footer {
    background-color: var(--primary-gray);
    color: white;
    padding: 40px 0;
}

/* Responsive Updates */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .service-card {
        padding: 20px 15px;
    }
}

.section-title {
    text-align: center;
}

/* Sayfa Geçiş Animasyonları */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out forwards;
}

.slide-out-right {
    animation: slideOutRight 0.5s ease-out forwards;
}

.slide-out-left {
    animation: slideOutLeft 0.5s ease-out forwards;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link i {
    font-size: 24px;
}

.social-link:hover {
    background: white;
    color: #D4AF37;
    transform: translateY(-3px);
}

.social-link:hover img {
    filter: brightness(0) saturate(100%) invert(0) sepia(0) saturate(1) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.social-link img {
    transition: all 0.3s ease;
}

.footer-section {
    text-align: center;
    padding: 20px 0;
}

.footer-title {
    text-align: center;
    margin-bottom: 15px;
    color: #fff;
}

.footer-text {
    text-align: center;
    margin-bottom: 15px;
}

/* Genel contact-info stilleri */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Contact sayfası için özel stiller */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-info-item i {
    width: 40px;
    height: 40px;
    background: #D4AF37;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-info-text {
    flex: 1;
}

.contact-info-text h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.contact-info-text p {
    margin: 5px 0 0;
    color: #666;
}

.footer-bottom {
    background: #f8f9fa;
    padding: 15px 0;
    margin-top: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #666;
}
