/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1D1B5B;
    --secondary-color: #E2211C;
    --accent-light: rgba(226, 33, 28, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 40px rgba(29, 27, 91, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
    padding: 0 !important;
}

/* Base Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
    line-height: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #151345;
    border-color: #151345;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: #c41e1a;
    border-color: #c41e1a;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--text-dark);
    border-color: #dee2e6;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
}


/* Navbar */
.navbar {
    padding: 15px 0;
    background: white !important;
    z-index: 1100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #f1f3f5;
}

.navbar-brand span {
    font-weight: 800;
    font-size: 1.6rem;
}

.navbar-brand span:first-child {
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    margin: 0 15px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    color: var(--primary-color);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Offcanvas Mobile Menu */
#mobileMenu {
    width: 300px;
}

#mobileMenu .nav-link {
    font-size: 1.1rem;
    padding: 10px 0;
    margin: 0;
    border-bottom: 1px solid #f8f9fa;
}

#mobileMenu .nav-link::after {
    display: none;
}

#mobileMenu .nav-link:hover {
    padding-left: 10px;
    color: var(--secondary-color) !important;
}

#mobileMenu .offcanvas-title {
    font-size: 1.4rem;
}

@media (max-width: 991px) {
    .navbar-collapse {
        display: none !important;
    }
}

/* Hero Slider */
.hero-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-slider .item {
    height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 60px 60px;
    /* Alt köşelere radius eklendi */
}

.hero-box {
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    margin-top: 50px;
}

.hero-box h1 {
    color: #ffffff !important;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.4);
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
}

.hero-box p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 1.25rem;
    max-width: 650px;
}

.btn-outline-dark {
    border: 2px solid white !important;
    color: white !important;
    background: transparent !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    line-height: 1;
    transition: var(--transition);
}

.btn-outline-dark:hover {
    background: white !important;
    color: var(--primary-color) !important;
}

/* Inner Page Hero */
.inner-hero {
    padding: 120px 0 80px;
    margin-top: 0;
    border-radius: 0 0 50px 50px;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* About Section Enhancements */
.about-img-wrapper {
    z-index: 1;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    min-width: 140px;
    border-bottom: 5px solid var(--secondary-color);
}

.about-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--accent-light);
    z-index: -1;
    border-radius: 20px;
}

.icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.icon-box-sm {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.9rem;
}

.bg-accent-light {
    background-color: var(--accent-light);
}

/* Selling Page Styles */
.selling-process .icon-box-sm {
    font-weight: 700;
    width: 35px;
    height: 35px;
}

#offerForm .form-control:focus,
#offerForm .form-select:focus {
    background-color: #fff !important;
    box-shadow: 0 0 0 4px rgba(226, 33, 28, 0.1) !important;
}

.input-group-text {
    border-radius: 12px 0 0 12px !important;
}

#offerForm .form-control,
#offerForm .form-select {
    border-radius: 0 12px 12px 0 !important;
}

.counter-box {
    padding: 20px 10px;
    background: white;
    border-radius: 15px;
    transition: var(--transition);
}

.counter-box:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
}

.hero-slider .owl-nav {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 100;
}

.hero-slider .owl-nav button.owl-prev,
.hero-slider .owl-nav button.owl-next {
    width: 50px;
    height: 50px;
    background: white !important;
    color: var(--primary-color) !important;
    border: 1px solid #eee !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hero-slider .owl-nav button:hover {
    background: var(--secondary-color) !important;
    color: white !important;
    border-color: var(--secondary-color) !important;
    transform: translateY(-3px);
}

.hero-slider .owl-nav button:hover {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    transform: scale(1.1);
}

.hero-slider .owl-dots {
    display: none;
    /* Noktaları gizleyip okları ön plana çıkarıyoruz */
}

.search-filter {
    background: white;
    padding: 30px;
    border-radius: 24px;
    margin-top: 30px;
    /* Slider'ın biraz daha aşağısına çektim */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2000;
    /* Kesinlikle en üstte olması için yükseltildi */
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-filter .form-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

.search-filter .form-select,
.search-filter .form-control {
    border: 1px solid #f1f3f5;
    background-color: #f8f9fa;
    padding: 12px 16px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    border-radius: 12px;
}

.search-filter .form-select:focus,
.search-filter .form-control:focus {
    background-color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(29, 27, 91, 0.05);
    outline: none;
}

#toggleFilters {
    background-color: var(--accent-light);
    color: var(--secondary-color);
    border: none;
    font-weight: 600;
    border-radius: 12px;
}

#toggleFilters.active {
    background-color: var(--secondary-color);
    color: white;
}

.advanced-filter-card {
    background: #fdfdfd;
    padding: 25px;
    border-radius: 20px;
    border: 1px dashed #dee2e6;
}

/* Filter Radio Group Styles */
.filter-btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn-group .btn-check+.btn {
    border-radius: 12px;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid #dee2e6;
    background: #fff;
    color: var(--text-dark);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.filter-btn-group .btn-check:checked+.btn {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(29, 27, 91, 0.25);
}

.filter-btn-group .btn:hover {
    border-color: #dee2e6;
    background: #f8f9fa;
    color: var(--primary-color);
}

.filter-btn-group .btn-check:checked+.btn:hover {
    color: #fff !important;
}

.feature-tag {
    cursor: pointer;
    display: block;
}

.feature-tag .form-check-input {
    display: none;
}

.feature-tag .form-check-label {
    padding: 10px 16px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 30px;
    font-size: 0.85rem;
    transition: var(--transition);
    width: 100%;
    text-align: center;
    color: var(--text-muted);
}

.feature-tag .form-check-input:checked+.form-check-label {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(29, 27, 91, 0.2);
}

/* Property Cards */
.property-card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    background: white;
}

.property-card .card-body {
    padding: 1.5rem 1.5rem 0.5rem !important;
}

.property-slider .item {
    height: 100%;
    padding: 10px;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .property-image img {
    scale: 1.1;
}

.badge-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-tag {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.card-features span {
    margin-right: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Agent Cards */
.agent-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #f1f3f5;
}

.agent-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.agent-img {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.agent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.agent-card:hover .agent-img img {
    scale: 1.05;
}

.agent-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(29, 27, 91, 0.9);
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    transition: var(--transition);
}

.agent-card:hover .agent-social {
    bottom: 0;
}

.agent-social a {
    color: white;
    font-size: 1.2rem;
}

.agent-social a:hover {
    color: var(--secondary-color);
}

.agent-info {
    padding: 25px;
}

.agent-info h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.agent-info .btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-wrap: nowrap;
}


/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.section-title .divider {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 20px auto;
    border-radius: 2px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 80px 0 20px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 10px;
}

.footer-link:hover {
    color: white;
    padding-left: 5px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 12px;
    transition: var(--transition);
    border: 1px solid #eee;
    text-decoration: none;
}

/* Brand Colors by Default */
.social-links a .fa-facebook-f {
    color: #1877F2;
}

.social-links a .fa-instagram {
    color: #E4405F;
}

.social-links a .fa-twitter {
    color: #1DA1F2;
}

.social-links a .fa-whatsapp {
    color: #25D366;
}

.social-links a .fa-linkedin-in {
    color: #0077B5;
}

/* Hover Effects - Background fills with brand color, icon turns white */
.social-links a:hover {
    transform: translateY(-5px);
    border-color: transparent;
}

.social-links a:hover i {
    color: white !important;
}

.social-links a:has(.fa-facebook-f):hover {
    background: #1877F2 !important;
}

.social-links a:has(.fa-instagram):hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
}

.social-links a:has(.fa-twitter):hover {
    background: #1DA1F2 !important;
}

.social-links a:has(.fa-whatsapp):hover {
    background: #25D366 !important;
}

.social-links a:has(.fa-linkedin-in):hover {
    background: #0077B5 !important;
}

/* Agent Social Overrides (keeping original style but with colors) */
.agent-social a {
    color: white !important;
    background: transparent !important;
    font-size: 1.25rem;
}

.agent-social a:hover .fa-facebook-f {
    color: #1877F2 !important;
}

.agent-social a:hover .fa-instagram {
    color: #E4405F !important;
}

.agent-social a:hover .fa-twitter {
    color: #1DA1F2 !important;
}

.agent-social a:hover .fa-whatsapp {
    color: #25D366 !important;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(15deg);
    color: white;
}

section {
    padding: 100px 0;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Glassmorphism Effect */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    position: relative;
    border-top: 5px solid var(--secondary-color);
    box-shadow: var(--shadow-soft);
}

.testimonial-card::after {
    content: '\f10e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--accent-light);
}

/* Custom Checkbox/Radio */
.form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Property Slider Customization */
.property-slider {
    position: relative;
}

.property-slider .owl-nav {
    position: absolute;
    top: -95px;
    right: 0;
    margin: 0 !important;
    display: flex;
    gap: 10px;
}

.property-slider .owl-nav button.owl-prev,
.property-slider .owl-nav button.owl-next {
    width: 45px;
    height: 45px;
    background: white !important;
    color: var(--primary-color) !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.property-slider .owl-nav button:hover {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-3px);
}

.property-slider .item {
    padding: 15px 10px;
}

.owl-theme .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: #dee2e6;
    transition: var(--transition);
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--secondary-color);
    width: 30px;
}