/* Naya CuteJodi Custom CSS - Clean & Fast */

/* ==========================================================================
   1. GLOBAL VARIABLES & FONTS
   ========================================================================== */
:root {
    --primary-cyan: #00c4da;
    --primary-red: #ec3434;
    --accent-yellow: #ffef1b;
    --text-dark: #212121;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
}

/* ==========================================================================
   2. CUSTOM BUTTONS
   ========================================================================== */
.btn-cutejodi-primary {
    background-color: var(--primary-cyan);
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cutejodi-primary:hover {
    background-color: var(--primary-red);
    color: #ffffff;
}


/* ==========================================================================
   3. Hero Section Background - Professional Premium Handling
   ========================================================================== */
.hero-section {
    /* Step 1: Use a much DARKER overlay (rgba(15, 23, 42, 0.6)) for premium contrast */
    /* This forces the photo to become a background, and the text to become the focus */
    background-image: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.6)), url('../images/couple4n.jpg');
    
    background-position: center center;
    background-repeat: no-repeat;
    
    /* Step 2: IMPORTANT - Isse photo kabhi stretch nahi hogi, automatic fit hogi */
    background-size: cover; 
    
    /* Step 3: Subtle Parallax Effect (Desktop par image scroll par halka move karegi) */
    background-attachment: fixed; 
    
    /* Responsive minimum height */
    min-height: 85vh; 
    
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Glow effect for extra premium touch */
.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 196, 218, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-1: 0;
}

/* Fallback for mobile devices that don't handle fixed background well */
@media (max-width: 991.98px) {
    .hero-section {
        background-attachment: scroll;
        min-height: auto;
        padding: 80px 0;
    }
}

/* ==========================================================================
   4. MULTI-LEVEL SUBMENU HANDLING (WITH LONG LIST SCROLLING FIX)
   ========================================================================== */
.dropdown-menu .dropdown-submenu {
    position: relative;
}

.dropdown-menu .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
    
    /* SCROLLING FIX: Isse lambi list screen se bahar nahi kategi */
    max-height: 380px;      
    overflow-y: auto;       
    min-width: 220px;       
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* Mouse hover karne par side menu khulega */
.dropdown-menu .dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Submenu dropdown ke liye sleek custom scrollbar */
.dropdown-menu .dropdown-submenu .dropdown-menu::-webkit-scrollbar {
    width: 4px;
}

.dropdown-menu .dropdown-submenu .dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dropdown-menu .dropdown-submenu .dropdown-menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.dropdown-menu .dropdown-submenu .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: var(--primary-cyan);
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
    .dropdown-menu .dropdown-submenu .dropdown-menu {
        position: relative;
        left: 0;
        top: 0;
        margin-left: 15px;
        box-shadow: none !important;
        border: none;
        max-height: 300px; /* Mobile layout optimization */
    }
}

/* ==========================================================================
   5. HOW IT WORKS / STEP CARDS HOVER EFFECTS
   ========================================================================== */
.step-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important;
}

/* ==========================================================================
   6. FEATURED PROFILES MODERN LAYOUT & GLASS OVERLAY
   ========================================================================== */
.modern-profile-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

.profile-overlay-modern {
    background: rgba(15, 23, 42, 0.85); /* Dark semi-transparent background */
    backdrop-filter: blur(3px); /* Glassmorphism effect */
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.modern-profile-card:hover .profile-overlay-modern {
    opacity: 1;
}

.profile-overlay-modern ul li {
    color: #e2e8f0;
}

.profile-overlay-modern ul li strong {
    color: #ffffff;
}

/* ==========================================================================
   7. MATCHMAKING LINK TAGS CLOUD & SCROLLBAR
   ========================================================================== */
.custom-browse-scroll {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Designing a clean modern scrollbar for tags */
.custom-browse-scroll::-webkit-scrollbar {
    width: 4px;
}

.custom-browse-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-browse-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.custom-browse-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary-cyan);
}

/* Button smooth scale on hover */
.transition-sm {
    transition: all 0.2s ease-in-out;
}

.transition-sm:hover {
    background-color: var(--primary-cyan) !important;
    color: #ffffff !important;
    border-color: var(--primary-cyan) !important;
    transform: scale(1.03);
}

/* ==========================================================================
   8. FOOTER NAVIGATION & BRANDING TWEAKS
   ========================================================================== */
.hover-cyan {
    transition: color 0.2s ease-in-out;
}

.hover-cyan:hover {
    color: var(--primary-cyan) !important;
}

footer .btn-outline-light:hover {
    background-color: var(--primary-cyan) !important;
    border-color: var(--primary-cyan) !important;
    color: #fff !important;
    transform: scale(1.1);
}

footer li {
    margin-bottom: 10px;
}