/* Professional Dating Site Aesthetics - Red & Baby Pink Theme */
:root {
    --primary-red: #ff2d55;
    /* Vibrant Red-Pink */
    --baby-pink: #ffebef;
    /* Soft Baby Pink Background */
    --hover-pink: #ffbdc9;
    --dark-text: #2c0b0e;
    --card-bg: #ffffff;
    --border-color: #ffd1da;
}

body {
    background-color: var(--baby-pink);
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-text);
}

.home-bg {
    background-image: radial-gradient(125% 125% at 50% 90%, #ffffff 40%, #ec4899 100%);
    background-size: 100% 100%;
    min-height: 100vh;
    background-attachment: fixed;
    /* Ensures gradient covers scrolling area */
}

/* Navbar */
.navbar {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Subtle shadow like login header */
}

/* Navbar Links */
.navbar-nav .nav-link {
    color: var(--dark-text) !important;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-red) !important;
}

.navbar-brand {
    font-weight: bold;
    color: var(--dark-text) !important;
    /* Dark brand text */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ff2d55 0%, #ff9a9e 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(255, 45, 85, 0.25);
}

.hero h1 {
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    opacity: 0.95;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.section-title {
    border-bottom: 3px solid var(--primary-red);
    padding-bottom: 12px;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--primary-red);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Enhancements: User Icon */
.user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid black;
    box-shadow: 0 2px 5px rgba(255, 45, 85, 0.4);
    transition: transform 0.2s;
    object-fit: cover;
    /* FILTER REMOVED: Icon stays black on white background */
}

.user-icon:hover {
    transform: scale(1.1);
    border-color: var(--primary-red);
}

/* Enhancements: Post Ad Button */
.btn-post-ad {
    background: linear-gradient(45deg, #ff2d55, #ff5b77);
    color: white !important;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    padding: 8px 25px;
    box-shadow: 0 4px 10px rgba(255, 45, 85, 0.3);
    transition: all 0.3s ease;
}

.btn-post-ad:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 45, 85, 0.4);
    background: linear-gradient(45deg, #ff0f3b, #ff4060);
}

/* Dashboard Styles */
.dashboard-card {
    background: white;
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 20px rgba(255, 45, 85, 0.08);
    /* Soft pink shadow */
    overflow: hidden;
}

.dashboard-sidebar .list-group-item {
    border: none;
    padding: 15px 20px;
    margin-bottom: 5px;
    border-radius: 10px !important;
    color: #555;
    font-weight: 500;
    transition: all 0.2s;
}

.dashboard-sidebar .list-group-item:hover {
    background-color: var(--baby-pink);
    color: var(--primary-red);
    padding-left: 25px;
}

.dashboard-sidebar .list-group-item.active {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 45, 85, 0.3);
}

/* Accordion Styles */
.accordion-item {
    border: 1px solid white;
    margin-bottom: 15px;
    background: white;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 45, 85, 0.05);
    /* Soft pink shadow */
    transition: transform 0.2s;
}

.accordion-item:hover {
    transform: translateY(-2px);
}

.accordion-button {
    background-color: white;
    border: none;
    font-weight: 600;
    color: var(--dark-text);
    padding: 20px 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: #fff0f3;
    /* Very light pink active state */
    color: var(--primary-red);
    box-shadow: inset 0 -3px 0 var(--primary-red);
    /* Bottom border effect */
}

.accordion-button:hover {
    background-color: #fff5f8;
    color: var(--primary-red);
    padding-left: 35px;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    content: '+';
    color: var(--primary-red);
    background-image: none;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    transform: scale(1);
    transition: transform 0.3s ease;
    margin-left: auto;
}

.accordion-button:not(.collapsed)::after {
    content: '-';
    transform: rotate(180deg);
}

.accordion-body {
    background-color: white;
    border-top: 1px solid var(--baby-pink);
    padding: 25px 35px;
}

/* City List */
.city-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.city-list li {
    width: 25%;
    padding: 8px;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .city-list li {
        width: 33.33%;
    }
}

@media (max-width: 768px) {
    .city-list li {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .city-list li {
        width: 100%;
    }
}

.city-list a {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}

.city-list a:hover {
    color: var(--primary-red);
    background-color: var(--baby-pink);
    font-weight: 500;
    transform: translateX(5px);
}

.badge-count {
    background-color: var(--primary-red);
    color: white;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    margin-left: 12px;
    box-shadow: 0 2px 5px rgba(255, 45, 85, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: #ddd;
    padding: 60px 0;
    margin-top: 80px;
    border-top: 5px solid var(--primary-red);
}

/* Ad Listing Cards (Horizontal - Oklute Style) */
.listing-card-horizontal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    border: 1px solid #ffd1da;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
}

.listing-card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(255, 45, 85, 0.12);
    border-color: var(--primary-red);
}

.listing-card-horizontal:last-child {
    margin-bottom: 0;
}

.listing-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 160px;
    width: 100%;
    background: #f8f9fa;
}

.listing-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.listing-card-horizontal:hover .listing-img-wrapper img {
    transform: scale(1.05);
}

.img-count {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
}

.vip-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: white;
    color: var(--primary-red);
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 0.7rem;
    z-index: 10;
    border: 1px solid var(--primary-red);
}

.listing-content {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
}

.listing-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    margin-bottom: 5px;
    line-height: 1.3;
}

.listing-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.listing-title a:hover {
    color: var(--primary-red);
    background-color: transparent !important;
}

/* Ensure no pink background on hover specifically for ad title link */
.listing-title a:hover {
    color: var(--primary-red) !important;
}

.new-badge {
    background: var(--primary-red);
    color: white;
    font-size: 0.65rem;
    padding: 1px 5px;
    border-radius: 3px;
    vertical-align: text-top;
    margin-right: 5px;
    text-transform: uppercase;
    font-weight: bold;
}

.listing-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.listing-desc i {
    color: var(--primary-red);
    margin: 0 2px;
}

.listing-meta {
    font-size: 0.85rem;
    color: #444;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.listing-meta i {
    color: #777;
    margin-right: 4px;
}

@media (max-width: 768px) {
    .listing-img-wrapper {
        height: 140px;
    }

    .listing-title {
        font-size: 1rem;
    }

    .listing-content {
        padding-left: 10px;
        min-height: 140px;
    }
}