:root {
    --primary: #e63946;
    --primary-hover: #d62828;
    --primary-light: #ffccd5;
    --secondary: #1d3557;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-main: #2b2d42;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --radius-md: 12px;
    --radius-lg: 20px;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    background-color: var(--light-bg);
}

/* Utilities */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}
.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* General Layout & Buttons */
.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary) !important;
    letter-spacing: -0.5px;
}

.btn-primary-custom {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.btn-outline-custom {
    border: 2px solid var(--border-color);
    color: var(--text-main);
    border-radius: 8px;
    padding: 8px 22px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: transparent;
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary);
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.top-bar a:hover { color: white; }

/* Hero Section (Home) */
.hero-section {
    background: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    padding: 40px 0 50px;
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Kırmızımsı ve koyu degrade (Reddish dark overlay) */
    background: linear-gradient(135deg, rgba(176, 0, 32, 0.85) 0%, rgba(43, 45, 66, 0.75) 100%);
}

.search-box-container {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: var(--shadow-lg);
}

.search-nav-tabs .nav-link {
    color: var(--text-main);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    margin-right: 5px;
    transition: all 0.2s;
}

.search-nav-tabs .nav-link.active {
    background-color: var(--primary-light);
    color: var(--primary);
}

.search-nav-tabs .nav-link:hover:not(.active) {
    background-color: var(--light-bg);
}

.search-inner {
    padding: 20px;
}

.search-inner .form-select, .search-inner .form-control {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 15px;
    font-weight: 500;
}

.search-inner .form-select:focus, .search-inner .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(230, 57, 70, 0.15);
}

/* Category Quick Links (Pools) */
.pool-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: block;
    text-decoration: none;
    height: 100%;
}

.pool-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.pool-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 15px;
    transition: all 0.3s;
}

.pool-card:hover .pool-icon {
    transform: scale(1.1);
}

.pool-card h5 {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.pool-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Popular Locations Grid */
.location-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 250px;
    display: block;
    text-decoration: none;
}

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

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

.location-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.location-overlay h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 2px;
}

.location-overlay span {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
    backdrop-filter: blur(4px);
}

/* Property Cards */
.property-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.property-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

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

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

.property-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge-custom {
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.property-meta span {
    display: inline-flex;
    align-items: center;
    background: var(--light-bg);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
}

.property-meta span i {
    color: var(--text-muted);
    margin-right: 5px;
}

/* App Download Banner */
.app-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #0f1c2e 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    background: white;
    color: var(--secondary);
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s;
}
.app-store-btn:hover {
    transform: scale(1.05);
    color: var(--secondary);
}
.app-store-btn i { font-size: 2rem; margin-right: 12px; }
.app-store-btn small { display: block; font-size: 0.7rem; font-weight: 500; color: var(--text-muted); line-height: 1; }

/* Expanded Footer */
.footer-expanded {
    background-color: #0f1c2e;
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px;
}

.footer-expanded h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-expanded ul { list-style: none; padding: 0; }
.footer-expanded ul li { margin-bottom: 10px; }
.footer-expanded ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}
.footer-expanded ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* Ensure the rest is still there */
.list-card-horizontal { transition: all 0.3s ease; }
.list-card-horizontal:hover { transform: translateY(-3px); box-shadow: var(--shadow-md) !important; }
.list-img { height: 240px; }
@media (max-width: 768px) { .list-img { height: 200px; } }
.list-heart { font-size: 1.2rem; cursor: pointer; transition: color 0.2s; }
.list-heart:hover { color: var(--primary); }
.dashboard-nav .nav-link { transition: all 0.2s ease; }
.dashboard-nav .nav-link.active { background-color: var(--primary-light); color: var(--primary) !important; font-weight: 600; }
.dashboard-nav .nav-link:hover:not(.active) { background-color: var(--light-bg); }
.pricing-card { background: var(--card-bg); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); transition: all 0.4s ease; border: 1px solid var(--border-color); position: relative; height: 100%; display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.pricing-card.popular { border: 2px solid var(--primary); transform: scale(1.05); }
.pricing-card.popular:hover { transform: scale(1.05) translateY(-10px); }
.popular-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 6px 20px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; box-shadow: 0 4px 10px rgba(230, 57, 70, 0.4); }
.pricing-icon { width: 60px; height: 60px; border-radius: 50%; background-color: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
.pricing-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; color: var(--secondary); }
.pricing-price { font-size: 3rem; font-weight: 800; color: var(--primary); margin-bottom: 10px; display: flex; align-items: baseline; }
.pricing-price span { font-size: 1.2rem; color: var(--text-muted); font-weight: 500; margin-left: 5px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 30px 0; flex-grow: 1; }
.pricing-features li { padding: 10px 0; display: flex; align-items: flex-start; border-bottom: 1px solid rgba(0,0,0,0.03); }
.pricing-features li i { color: var(--primary); margin-top: 4px; margin-right: 12px; }
.checkout-card { background: var(--card-bg); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); }
.checkout-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 25px; color: var(--secondary); padding-bottom: 15px; border-bottom: 1px solid var(--border-color); }
.summary-box { background-color: var(--light-bg); border-radius: var(--radius-md); padding: 25px; }
.summary-item { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 1rem; color: var(--text-main); }
.summary-divider { border-top: 1px dashed #cbd5e1; margin: 20px 0; }
.summary-total { display: flex; justify-content: space-between; align-items: center; font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.form-floating > .form-control:focus ~ label { color: var(--primary); }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.15); }
.card-icons { display: flex; gap: 10px; margin-bottom: 20px; }
.card-icons img { height: 30px; opacity: 0.7; } .card-icons img.active { opacity: 1; }
.trust-item { text-align: center; padding: 20px; }
.trust-item i { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }
@media (max-width: 991px) { .pricing-card.popular { transform: scale(1); margin-top: 20px; margin-bottom: 20px; } }
