/* --- Basic Reset & Fonts --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Noto Sans Sinhala', sans-serif;
    background-color: #fff5f8;
    color: #333;
}

/* --- Color Variables --- */
:root {
    --primary-pink: #ff4d85;
    --dark-pink: #e6004c;
    --light-pink: #ffe6f0;
    --gradient-pink: linear-gradient(135deg, #ff7eb3 0%, #ff758c 100%);
}

/* --- Navigation Bar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    font-size: 24px;
    color: #333;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-pink);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-pink);
}

.btn-login {
    border: 2px solid var(--primary-pink);
    padding: 8px 20px;
    border-radius: 25px;
    color: var(--primary-pink) !important;
}

.btn-register {
    background: var(--gradient-pink);
    padding: 10px 25px;
    border-radius: 25px;
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 77, 133, 0.4);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 133, 0.6);
}

/* --- Hero Section --- */
.hero-section {
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--gradient-pink);
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 10;
    color: white;
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    font-size: 1.1rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 10px;
}

.btn-primary {
    background-color: white;
    color: var(--dark-pink);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--dark-pink);
}

/* --- Background Animations --- */
.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}
.circle-1 {
    width: 400px; height: 400px;
    top: -100px; left: -100px;
}
.circle-2 {
    width: 600px; height: 600px;
    bottom: -200px; right: -150px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* --- Quick Search Bar --- */
.search-bar-section {
    position: relative;
    margin-top: -50px;
    z-index: 20;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.search-container {
    background: white;
    padding: 25px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 77, 133, 0.15);
    max-width: 1000px;
    width: 100%;
}

.quick-search-form {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 200px;
}

.input-group label {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-group select, .input-group input {
    padding: 12px;
    border: 1px solid #ffccdd;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    color: #333;
    background-color: #fffafb;
}

.input-group select:focus, .input-group input:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 5px rgba(255, 77, 133, 0.3);
}

.btn-search {
    background: var(--primary-pink);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    height: 45px;
}

.btn-search:hover {
    background: var(--dark-pink);
}

/* --- Recent Profiles Section --- */
.recent-profiles {
    padding: 80px 50px;
    background-color: #fff5f8;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #333;
}

.section-title p {
    color: #666;
    margin-top: 10px;
    font-size: 1.1rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ffe6f0;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 77, 133, 0.2);
}

.card-image {
    height: 220px;
    background: #ffccdd;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-placeholder {
    font-size: 80px;
    color: white;
}

.badge.verified {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: #25d366;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.card-content {
    padding: 25px 20px;
}

.card-content h3 {
    color: var(--primary-pink);
    margin-bottom: 15px;
}

.profile-details {
    list-style: none;
    margin-bottom: 20px;
}

.profile-details li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.locked-number {
    background: #f8f9fa;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    color: #888;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px dashed #ccc;
}

.btn-view-profile {
    width: 100%;
    background: white;
    border: 2px solid var(--primary-pink);
    color: var(--primary-pink);
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-view-profile:hover {
    background: var(--primary-pink);
    color: white;
}

.view-all-container {
    text-align: center;
    margin-top: 50px;
}

.btn-view-all {
    background: var(--gradient-pink);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 77, 133, 0.4);
}

/* --- Pricing Packages Section --- */
.pricing-section {
    padding: 60px 20px;
    background-color: #fff5f8;
    min-height: 80vh;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: #ff4d85;
}

.pricing-card.popular {
    border-color: #ff4d85;
    box-shadow: 0 15px 40px rgba(255, 77, 133, 0.2);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff7eb3 0%, #ff758c 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    color: #555;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

.features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.features li {
    margin-bottom: 15px;
    color: #666;
    font-size: 1rem;
}

.features li i {
    color: #25d366;
    margin-right: 10px;
}

.btn-buy {
    display: inline-block;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: 0.3s;
    border: 2px solid #25d366;
    color: #25d366;
    background: white;
}

.btn-buy:hover {
    background: #25d366;
    color: white;
}

.btn-buy.btn-popular {
    background: #25d366;
    color: white;
}

.btn-buy.btn-popular:hover {
    background: #1ebc5a;
    border-color: #1ebc5a;
}

.payment-info {
    text-align: center;
    max-width: 800px;
    margin: 50px auto 0;
    color: #777;
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #ff4d85;
}

/* --- Mobile Menu Styles (Hamburger) --- */
.menu-toggle {
    display: none;
}

@media (max-width: 992px) {
    .navbar {
        padding: 15px 20px;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
    .quick-search-form {
        flex-direction: column;
        align-items: stretch;
    }
    .input-group, .btn-search {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: relative;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }

    .menu-toggle {
        display: inline-block !important;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-links {
        display: none; /* By default hidden on mobile */
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        top: 70px;
        left: 0;
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        padding: 20px 0;
        text-align: center;
        gap: 15px;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex !important; /* Shows when clicked */
    }

    .hero-section {
        height: auto !important;
        padding: 60px 20px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}