/* Global Styles */
:root {
    --primary-color: #e40046;
    --secondary-color: #2c3e50;
    --accent-color: #ff4081;
    --dark-color: #880e4f;
    --light-color: #f8bbd0;
    --text-color: #333;
    --light-text: #fff;
    --light-bg: #f8f9fa;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--light-gray);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.8rem 0;
}

.navbar-brand {
    color: #ffffff !important;
    font-weight: bold;
    font-size: 1.4rem;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link i {
    font-size: 1.1rem;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-item i {
    font-size: 1rem;
    width: 1.2rem;
}

.dropdown-item:hover, .dropdown-item.active {
    background-color: var(--primary-color);
    color: white;
}

.dropdown-divider {
    margin: 0.5rem 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    margin-bottom: 50px;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #c3003d;
    border-color: #c3003d;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(228, 0, 70, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 30px;
}

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

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--dark-color);
}

/* Feature Cards */
.feature-card {
    padding: 30px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

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

.feature-card i {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #343a40;
}

footer a {
    color: white;
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 8px;
    padding: 0.6rem 1rem;
    border: 1px solid #ddd;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(228, 0, 70, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--secondary-color);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-text {
    color: #6c757d;
}

/* Profile Cards */
.profile-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 0;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.profile-info {
    margin-top: 1rem;
}

.profile-info h5 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.profile-info p {
    color: #6c757d;
    margin-bottom: 0.25rem;
}

/* Match Card */
.match-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

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

.match-photo {
    width: 120px;
    height: 120px;
    border-radius: 0;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.match-info {
    margin-top: 1rem;
}

.match-info h5 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.match-info p {
    color: #6c757d;
    margin-bottom: 0.25rem;
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Range Labels */
.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.range-value {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Preference Section */
.preference-section {
    margin-bottom: 2rem;
}

.preference-section:last-child {
    margin-bottom: 0;
}

/* Search Results */
.search-results {
    padding: 20px 0;
}

.filter-sidebar {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
}

/* Custom Checkbox */
.custom-checkbox {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 5px;
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

/* Banner Carousel */
.banner-carousel {
    margin-bottom: 2rem;
}

.banner-carousel .carousel-item {
    height: 400px;
}

.banner-carousel .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.banner-carousel .carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

/* Banner Section for Login/Register */
.banner-section {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.banner-section h1 {
    font-weight: 700;
    margin-bottom: 20px;
}

.banner-section p {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

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

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

/* Section Title */
.section-title {
    color: var(--secondary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

/* Feature Icon */
.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Testimonial Card */
.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card .testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card .testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

.testimonial-card .testimonial-location {
    font-size: 0.85rem;
    color: #999;
}

/* Stats Counter */
.stats-counter {
    text-align: center;
    padding: 30px 0;
}

.stats-counter .counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stats-counter .counter-text {
    font-size: 1rem;
    color: #666;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin: 40px 0;
}

.cta-section h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-section .btn-light {
    background-color: #fff;
    color: var(--primary-color);
    border: none;
    padding: 0.6rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.footer h5 {
    color: var(--light-color);
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 991.98px) {
    .banner-carousel .carousel-item {
        height: 300px;
    }
    
    .stats-counter .counter-number {
        font-size: 2rem;
    }
    
    .profile-card .card-img-top {
        height: 180px;
    }
}

@media (max-width: 767.98px) {
    .banner-carousel .carousel-item {
        height: 250px;
    }
    
    .banner-section {
        padding: 40px 0;
    }
    
    .banner-section h1 {
        font-size: 1.8rem;
    }
    
    .stats-counter {
        padding: 20px 0;
    }
    
    .stats-counter .counter-number {
        font-size: 1.8rem;
    }
    
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
}

@media (max-width: 575.98px) {
    .banner-carousel .carousel-item {
        height: 200px;
    }
    
    .banner-section {
        padding: 30px 0;
    }
    
    .banner-section h1 {
        font-size: 1.5rem;
    }
    
    .banner-section p {
        font-size: 1rem;
    }
    
    .stats-counter .counter-number {
        font-size: 1.5rem;
    }
    
    .profile-card .card-img-top {
        height: 160px;
    }
    
    .cta-section {
        padding: 30px 0;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}

/* Profile Card Blur Effects */
.profile-card.blurred {
    position: relative;
    overflow: hidden;
}

.profile-photo.blur-effect {
    filter: blur(8px);
    transition: filter 0.3s ease;
}

.blur-text {
    filter: blur(4px);
    user-select: none;
}

.watermark-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-card.blurred:hover .login-overlay {
    opacity: 1;
}

.login-overlay h5 {
    color: white;
    margin-bottom: 10px;
}

.login-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.login-overlay .btn {
    min-width: 120px;
} 