/* 
    Side-immobilien - Main Stylesheet
    Design System & Global Styles
*/

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

:root {
    --primary-color: #98242A; /* Bordeaux */
    --primary-dark: #7a1d22;
    --secondary-color: #DBB765; /* Gold/Beige */
    --secondary-dark: #c5a35a;
    --text-color: #333333;
    --text-light: #777777;
    --white: #ffffff;
    --black: #000000;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --container-width: 1200px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    outline: none;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(152, 36, 42, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 23px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

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

/* Auth & Forms */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i, .input-with-icon svg {
    position: absolute;
    left: 15px;
    color: #94a3b8;
    pointer-events: none;
}

.input-with-icon input {
    width: 100%;
    padding: 14px 15px 14px 45px !important;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    transition: var(--transition);
    font-size: 0.95rem;
}

.input-with-icon input:focus {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(152, 36, 42, 0.05);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

/* Header & Top Bar */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.top-bar {
    background-color: #98242a;
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
}

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

.top-left, .top-right {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.top-right a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.header-main {
    padding: 15px 0;
}

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

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 65px;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-grow: 1;
    justify-content: flex-end;
}

.nav-menu > ul {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-weight: 700;
    font-size: 0.85rem;
    color: #444;
    text-transform: uppercase;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    height: 100%;
}

.nav-menu a i,
.nav-menu a svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: -2px; /* İkonların metne göre dikey ince ayarı */
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-sell {
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    margin-left: 20px;
}

.heart-icon {
    color: #98242a;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.mobile-menu-toggle {
    display: none !important;
}

.has-dropdown {
    position: relative;
}

.dropdown-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    list-style: none;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.has-dropdown:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-submenu li {
    width: 100%;
}

.dropdown-submenu a {
    padding: 10px 20px;
    display: block;
    color: #444 !important;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

.dropdown-submenu a:hover {
    background: #f8f8f8;
    color: var(--primary-color) !important;
}
.top-item.dropdown-toggle {
    position: relative;
    cursor: pointer;
    padding-bottom: 5px;
}

.top-item.dropdown-toggle:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 4px;
    min-width: 120px;
    z-index: 1001;
    padding: 10px 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    color: #444 !important;
    font-size: 0.8rem;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

/* Swiper Custom Navigation & Pagination */
.hero .swiper-button-next,
.hero .swiper-button-prev {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50% !important;
    color: var(--white) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.hero .swiper-button-next::after,
.hero .swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: bold !important;
}

.hero .swiper-button-next:hover,
.hero .swiper-button-prev:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
    transform: scale(1.08) !important;
    box-shadow: 0 8px 25px rgba(152, 36, 42, 0.4) !important;
}

.hero .swiper-button-next {
    right: 30px !important;
}

.hero .swiper-button-prev {
    left: 30px !important;
}

.hero .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6) !important;
    opacity: 0.7 !important;
    width: 10px !important;
    height: 10px !important;
    transition: all 0.3s ease !important;
}

.hero .swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1 !important;
    width: 28px !important;
    border-radius: 5px !important;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* Search Filter */
.search-container {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 1000px;
    width: 100%;
    margin-top: -80px;
    position: relative;
    z-index: 100;
    margin-left: auto;
    margin-right: auto;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 15px;
    align-items: end;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-light);
    text-transform: uppercase;
}

.form-group select, .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-light);
    font-size: 0.9rem;
}

.btn-search {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-search:hover {
    background-color: var(--primary-dark);
}

/* Property Cards */
.property-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-10px);
}

.property-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-img img {
    transform: scale(1.1);
}

/* Favorite Button on Cards */
.btn-favorite {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: var(--transition);
    color: var(--text-color);
}

.btn-favorite:hover {
    background: var(--white);
    transform: scale(1.1);
}

.btn-favorite.active {
    color: var(--primary-color);
}

/* Favorite Badge in Header */
.nav-actions {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    margin-left: 20px;
}

.fav-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none; /* JS will toggle */
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.property-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.property-price {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    z-index: 2;
}

/* Removed duplicate property-tag and property-price classes */

.property-info {
    padding: 20px;
}

.property-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.property-features {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Districts Section */
.districts-section {
    padding: 100px 0;
}

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

.district-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.district-img {
    height: 200px;
    overflow: hidden;
}

.district-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.district-title-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.district-info {
    padding: 20px;
}

.district-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Welcome Section */
.welcome-section {
    padding: 100px 0;
    background-color: #f0f0f0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M0 0 L50 50 L100 0 L100 100 L50 50 L0 100 Z' fill='%23e5e5e5' fill-opacity='0.4'/%3E%3C/svg%3E");
}

.welcome-card {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.team-member {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--secondary-color);
    overflow: hidden;
    transition: var(--transition);
}

.team-member:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-text {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
    line-height: 1.8;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow);
    border-color: transparent;
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 25px;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
}

.testimonials-content {
    position: relative;
    z-index: 10;
}

.testimonial-item {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.customer-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--secondary-color);
}

.customer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stars {
    color: #ffcc00;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    padding: 0 40px;
}

.testimonial-text::before, .testimonial-text::after {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-text::before {
    top: -20px;
    left: 0;
}

.testimonial-text::after {
    bottom: -60px;
    right: 0;
}

.customer-name {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 1px;
}

/* CTA Bar */
.cta-bar {
    background-color: #98242a;
    color: var(--white);
    position: relative;
    padding: 0;
    margin-top: 50px;
    overflow: visible;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

.cta-agent-img {
    position: absolute;
    bottom: 0;
    left: 10px;
    height: 220px;
    z-index: 10;
    filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.3));
}

.cta-content {
    margin-left: 200px;
    padding: 10px 0;
    z-index: 2;
    flex-grow: 1;
}

.cta-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2px;
    white-space: nowrap;
}

.cta-content p {
    font-size: 0.8rem;
    opacity: 0.85;
    white-space: nowrap;
}

.cta-actions {
    display: flex;
    gap: 50px;
    z-index: 2;
}

.cta-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cta-item .icon-box {
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-item h4 {
    margin-bottom: 0;
    font-size: 0.75rem;
    opacity: 0.8;
}

.cta-item p {
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

/* Footer */
.footer {
    background-color: #212121;
    background-image: linear-gradient(rgba(33, 33, 33, 0.93), rgba(33, 33, 33, 0.93)), url('../img/footer-bg-real.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-info .logo img {
    height: 90px;
    margin-bottom: 20px;
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #bbbbbb;
}

.contact-list i {
    color: var(--primary-color);
}

.footer-nav h3 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.links-grid a {
    font-size: 0.85rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
}

.links-grid i, .links-grid svg {
    color: var(--gold) !important;
}

.links-grid a:hover {
    color: var(--secondary-color);
}

.footer-social h3 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--secondary-color);
}

.social-icons a i {
    color: var(--gold);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.social-icons a:hover i {
    color: var(--white);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid #333;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.8rem;
    color: #888;
    text-align: center;
}

.bottom-links a {
    margin-right: 15px;
}

.bottom-links a:hover {
    color: var(--white);
}

@media (max-width: 992px) {
    .cta-agent-img { display: none; }
    .cta-content { margin-left: 0; }
    .cta-container { flex-direction: column; text-align: center; padding: 40px 0; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Form Styles (Login/Register) */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i, 
.input-with-icon svg {
    position: absolute;
    left: 15px;
    color: #999;
    width: 18px;
    height: 18px;
    pointer-events: none;
    z-index: 5;
}

.input-with-icon input {
    width: 100%;
    padding: 14px 15px 14px 45px !important;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #f9f9f9;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.input-with-icon input:focus {
    border-color: var(--primary-color);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(152, 36, 42, 0.05);
}

/* Page Header & Breadcrumb */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
    background-color: #666;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.breadcrumb {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: var(--gold);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: var(--white);
}

/* Page Section Padding */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #f9f9f9;
}

/* News & Blog Section */
.latest-news-section {
    background-color: var(--white);
    padding: 100px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.news-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-category {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.read-more:hover {
    gap: 12px;
}

.section-padding {
    padding: 100px 0;
}

.mobile-only-menu {
    display: none;
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Navbar (Hamburger Menu) */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        display: none;
        gap: 15px;
        z-index: 1000;
        border-top: 1px solid #eee;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu > ul {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        gap: 0;
    }
    
    .nav-menu > ul li {
        width: 100%;
    }
    
    .nav-menu a {
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .dropdown-submenu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 20px;
        border-left: 2px solid var(--primary-color);
        margin-top: 10px;
        background: #fafafa;
    }
    
    .has-dropdown.active .dropdown-submenu {
        display: flex;
    }

    
    .logo img {
        height: 38px; /* Sığması için küçültüldü */
        max-width: 100%;
        object-fit: contain;
    }
    
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .mobile-menu-toggle {
        display: block !important;
        cursor: pointer;
        padding: 5px;
        color: var(--primary-color) !important;
        background: transparent;
        border: none;
        flex-shrink: 0;
        z-index: 1001;
    }
    
    .mobile-menu-toggle svg {
        width: 32px !important;
        height: 32px !important;
    }
    
    .nav-actions {
        margin-left: 0;
        width: 100%;
        padding-top: 10px;
    }
    
    /* Top Bar Mobile Fix */
    .top-bar {
        padding: 5px 0;
        font-size: 0.70rem;
    }
    .top-bar-content {
        flex-direction: column;
        gap: 5px;
    }
    .top-right {
        display: none !important; /* Moved to hamburger menu */
    }
    .top-left {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .top-item {
        font-size: 0.70rem;
    }
    .top-item i, .top-item svg {
        width: 12px !important;
        height: 12px !important;
    }
    
    /* Mobile Only Menu Items (Inside Hamburger) */
    .mobile-only-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        border-top: 1px solid #ddd;
        padding-top: 15px;
        margin-top: 10px;
        gap: 15px;
    }
    .mobile-only-menu .mobile-top-item {
        width: 100%;
    }

    /* Mobile Layout Fixes for Homepage */
    .search-fields-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .search-fields-row button {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns instead of 4 */
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .districts-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Override Inline Grids & Flex */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    .flex.align-center.justify-between {
        flex-direction: column !important;
    }
    
    .welcome-card {
        flex-direction: column;
        padding: 20px;
    }
    
    .team-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .hero {
        height: 500px !important;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    /* Footer & CTA Overflow Fixes */
    .cta-content h2, .cta-content p {
        white-space: normal !important;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Custom Login Modal */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.custom-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    width: 90%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10001;
    padding: 30px 24px;
    text-align: center;
}

.custom-modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(152, 36, 42, 0.1);
    margin: 0 auto 20px auto;
}

.modal-icon i, .modal-icon svg {
    color: var(--primary-color) !important;
}

.modal-body h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.modal-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.modal-actions {
    display: flex;
    gap: 15px;
}

.btn-modal {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

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

.btn-primary-modal:hover {
    background: #7a1b20;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(152, 36, 42, 0.2);
}

.btn-secondary-modal {
    background: #f5f5f5;
    color: var(--text-dark);
}

.btn-secondary-modal:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

