@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* GENEL STİLLER */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #d62828;
    --primary-dark: #a91e1e;
    --primary-light: #ff6b35;
    --black: #1a1a1a;
    --gray-dark: #333333;
    --gray-light: #f5f5f5;
    --white: #ffffff;
    --text: #2c2c2c;
    --border: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(214, 40, 40, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-primary-large {
    padding: 16px 48px;
    font-size: 1.1rem;
}

/* Navigation Bar */
.navbar {
    background-color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.logo h2 {
    color: var(--primary);
    font-size: 1.8rem;
}

.logo span {
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.nav-links a.active {
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.search-form {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.search-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.search-input,
.search-group select {
    padding: 14px 16px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--white);
    color: var(--text);
}

.search-input::placeholder {
    color: #999;
}

.search-group .btn {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .search-group {
        grid-template-columns: repeat(4, 1fr);
    }

    .search-group .btn {
        grid-column: auto;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Featured Properties */
.featured-properties {
    padding: 60px 20px;
    background-color: var(--white);
}

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

.property-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.property-image {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.price-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
}

.property-info {
    padding: 1.5rem;
}

.property-info h3 {
    margin-bottom: 0.5rem;
    color: var(--black);
}

.location {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.property-details {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.85rem;
    color: #666;
}

.property-details span {
    background-color: var(--gray-light);
    padding: 4px 12px;
    border-radius: 4px;
}

/* Statistics */
.statistics {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 100%);
    color: var(--white);
    padding: 60px 20px;
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-card h3 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0;
}

/* Services */
.services {
    padding: 60px 20px;
    background-color: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--black);
}

.service-card p {
    color: #666;
    margin-bottom: 0;
}

/* Testimonials */
.testimonials {
    padding: 60px 20px;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.stars {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--black);
    font-weight: 700;
}

.testimonial-author span {
    color: #999;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .btn-primary-large {
    background-color: var(--white);
    color: var(--primary);
    font-weight: 700;
}

.cta-section .btn-primary-large:hover {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 40px 20px 20px;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-section p {
    opacity: 0.85;
    margin-bottom: 0.5rem;
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    opacity: 0.7;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    animation: none;
}

.whatsapp-icon {
    font-size: 2rem;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0;
}

/* Listings Page */
.listings-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    padding: 40px 20px;
}

.filters-sidebar {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters-sidebar h3 {
    margin-bottom: 1.5rem;
    color: var(--black);
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
}

.filters-sidebar .btn {
    width: 100%;
    margin-bottom: 0.5rem;
}

.listings-main {
    padding: 0 20px;
}

.properties-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .listings-wrapper {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
    }
}

/* Detail Page */
.detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 40px 20px;
}

.detail-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail {
    width: 100%;
    height: 100px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.detail-header {
    margin-bottom: 2rem;
}

.detail-header h1 {
    margin-bottom: 0.5rem;
}

.detail-header .price {
    color: var(--primary);
    margin-top: 1rem;
}

.info-table {
    background-color: var(--gray-light);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-weight: 600;
    color: var(--text);
}

.info-row .value {
    color: var(--primary);
    font-weight: 600;
}

.description-section,
.features-section {
    margin-bottom: 2rem;
}

.description-section h3,
.features-section h3 {
    margin-bottom: 1rem;
    color: var(--black);
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.features-list li {
    background-color: var(--gray-light);
    padding: 12px;
    border-radius: 6px;
    color: var(--primary);
    font-weight: 600;
}

.agent-card {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.agent-card h3 {
    margin-bottom: 1.5rem;
}

.agent-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.agent-info h4 {
    margin-bottom: 0.25rem;
}

.agent-info p {
    margin-bottom: 0.25rem;
    color: #666;
}

.experience {
    font-weight: 600;
    color: var(--primary);
}

.agent-card .btn {
    width: 100%;
    margin-bottom: 0.5rem;
}

.similar-properties {
    padding: 40px 20px;
    background-color: var(--gray-light);
    border-radius: 12px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .detail-wrapper {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 40px 20px;
}

.contact-form-section h2,
.contact-info-section h2 {
    margin-bottom: 2rem;
    color: var(--black);
}

.contact-form {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.1);
}

.form-group button {
    width: 100%;
}

.contact-info-card {
    background-color: var(--gray-light);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    margin-bottom: 0.5rem;
    color: var(--black);
}

.contact-info-card p {
    margin-bottom: 0.5rem;
}

.contact-info-card small {
    color: #999;
    display: block;
}

.contact-info-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.quick-contact {
    background-color: var(--primary);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.quick-contact h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.quick-contact .btn {
    width: 100%;
    margin-bottom: 0.5rem;
}

.map-section {
    padding: 40px 20px;
    background-color: var(--gray-light);
    border-radius: 12px;
    margin-top: 40px;
}

.map-placeholder {
    background-color: var(--white);
    height: 300px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border);
}

.map-placeholder p {
    margin-bottom: 0;
}

.faq-section {
    padding: 40px 20px;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: var(--gray-light);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--black);
    font-size: 1.1rem;
}

.faq-item p {
    color: #666;
    margin-bottom: 0;
}

/* About Page */
.about-section {
    padding: 40px 20px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    color: #666;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 40px 20px;
    margin-top: 40px;
}

.mission-card,
.vision-card {
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mission-card h3,
.vision-card h3 {
    margin-bottom: 1rem;
    color: var(--black);
}

.mission-card p,
.vision-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}

.team-section {
    padding: 40px 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
}

.team-member h3 {
    margin-bottom: 0.5rem;
    color: var(--black);
}

.member-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-contact {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.member-contact a {
    padding: 8px 12px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.member-contact a:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.values-section {
    padding: 40px 20px;
    background-color: var(--gray-light);
    border-radius: 12px;
    margin-top: 40px;
}

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

.value-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--black);
}

.value-card p {
    color: #666;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .search-group {
        grid-template-columns: 1fr;
    }

    .search-group .btn {
        grid-column: auto;
    }

    .mission-vision,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .properties-grid,
    .testimonials-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .nav-links {
        display: none;
    }

    .navbar-content {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar-content .btn {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .property-card,
    .properties-list {
        grid-template-columns: 1fr !important;
    }

    .detail-wrapper {
        grid-template-columns: 1fr;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .faq-list {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}
