@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');

:root {
   /* Typography */
   --font-heading: 'Poppins', sans-serif; /* ExtraBold */
   --font-body: 'Inter', sans-serif;
   --font-accent: 'Montserrat', sans-serif; /* SemiBold */
    
   
    /* Colors */
    --coral: #FF5A7A;
    --pink: #FF2F9B;
    --peach: #FFB39B;
    --lavender: #C7A7FF;
    --mint: #87F4D0;
    --black: #1A1A1F;
    --white: #FFF9F8;

/* Brand Signature Gradient */
--brand-gradient: linear-gradient(135deg, var(--peach) 0%, var(--coral) 50%, var(--pink) 100%);    
--lavender-gradient: linear-gradient(135deg, var(--lavender) 0%, var(--coral) 50%, var(--pink) 100%);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: var(--black);
    background-color: var(--white);
    font-family: var(--font-body);
}

main{
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800; /* Poppins ExtraBold */
}


.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}


.main-bg {
    background-color: var(--white);
}


/* LOGO & NAVBAR */

.matchup-logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--black);
    text-decoration: none;
}
.matchup-logo:hover {
    color: var(--black);
    text-decoration: none;
}

.matchup-logo img {
    height: 45px;
    padding: 10px;

}

.navbar-nav .nav-link {
    font-family: var(--font-accent);
    font-weight: 600;
    opacity: 0.8;
    transition: color 0.3s, opacity 0.3s;
    background: var(--black);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 90, 122, 0.3);
    opacity: 1;
}

.navbar-nav .nav-link.active {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 90, 122, 0.3);
    opacity: 1;
}


/* HERO SECTION */

.hero-headline {
    color: var(--black);
    line-height: 1;
    font-size: 3rem; /* Large and bold */
}

.lead {
    font-size: 1rem;
    font-weight: 200;
}

/* Primary CTA Button (Passion Coral Gradient) */
.cta {
    font-size: 1rem;
    font-family: var(--font-accent);   
    padding: 0.5rem 1.5rem;
    border-radius: 50px; /* Bubbly shape */   
    transition: all 0.3s ease;
    /* Micro-Animation: Gentle pulse/shift on hover */
   
}
.primary {
    background: var(--brand-gradient);
    border: none;
    color: var(--white);
    box-shadow: 0 8px 15px rgba(255, 90, 122, 0.3);
   
}

.primary:hover {
   
    transform: translateY(-2px); /* Soft lift */
    box-shadow: 0 12px 20px rgba(255, 90, 122, 0.4);
}

/* Secondary CTA Button (Outline Lavender) */
.secondary {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--lavender);
}

.secondary:hover {
    background: var(--lavender-gradient);
    background-position:right center;
    transform: translateY(-2px); /* Soft lift */
    color: var(--white);
    box-shadow: 0 12px 20px rgba(199, 167, 255, 0.5);
}

/* Hero Visual (Abstract Shapes) */

.hero-visual-heart {
    position: relative;
    width: 450px;
    height: 400px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-heart::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--peach), var(--coral));
    border-radius: 50%;
    transform: rotate(-15deg);
    filter: blur(10px);
    opacity: 0.7;
    animation: gradientShift 5s ease-in-out infinite alternate;
    z-index: 1;
}

.hero-visual-heart img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 3;
    
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(5px);
    z-index: 2;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: -20px;
    left: -50px;
    background-color: var(--white);
    opacity: 0.3;
}

.shape-2 {
    width: 100px;
    height: 100px;
    bottom: 20px;
    right: 50px;
    background-color: var(--mint);
    opacity: 0.5;
}

/* Remove the old .img-fluid rule if it conflicts */
/* KEY FEATURES SECTION */

.soft-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), var(--lavender), rgba(0, 0, 0, 0));
    opacity: 0.3;
}
.feature-title {
    font-size: 1.5rem;
    color: var(--black);
}
/* Override Bootstrap card styles for feature cards */
.features-section .card {
    border: none;
    background: transparent;
}

.feature-card {
    padding: 2rem;
    border-radius: 20px;
    color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 250px;
    position: relative;
    overflow: hidden;
    border: none;
    background: transparent;
}

/* Override Bootstrap card-body default padding */
.feature-card.card-body {
    padding: 2rem;
}

/* Gradients for Feature Cards */
.coral-gradient {
    background: linear-gradient(135deg, var(--coral), var(--pink));
    box-shadow: 0 10px 20px rgba(255, 90, 122, 0.2);
}

.peach-gradient {
    background: linear-gradient(135deg, var(--peach), var(--coral));
    box-shadow: 0 10px 20px rgba(255, 179, 155, 0.2);
}

.pink-gradient {
    background: linear-gradient(135deg, var(--pink), var(--lavender));
    box-shadow: 0 10px 20px rgba(255, 47, 155, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px); /* Soft lift on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
   
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Bootstrap card classes within feature cards */
.card-title {
    font-family: var(--font-accent);
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.card-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--white);
    font-weight: 200;
    opacity: 0.9;
    margin-bottom: 0;
   
}

.footer a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    color: var(--black);
}

/* About page logo */
.logo {
    max-width: 9rem;
}

/* About page styling */
.about-page .text-primary {
    color: var(--coral) !important;
}

.about-page .auth-card {
    padding: 1.5rem;
}

.about-page .auth-card .card-body {
    padding: 2rem;
}



/* AUTH FORMS */
/*sign up and sign in pages*/

.auth-card {
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.auth-card h1{
    color: var(--black);
    font-family: var(--font-heading);
}


.form-control {
    border: 2px solid rgba(26, 26, 31, 0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 0.2rem rgba(255, 90, 122, 0.25);
    outline: none;
}

.form-label {
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}
.form-check-label {
    font-family: var(--font-body);
}

.small a {
    color: var(--black); 
    text-decoration: none; opacity: 0.7;

}


.signup-link {
    color: var(--coral); 
    text-decoration: none; 
    font-weight: 600;
}

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

.form-text {
    font-size: 0.875rem;
    color: rgba(26, 26, 31, 0.6);
    font-family: var(--font-body);
}

.alert {
    border-radius: 10px;
    font-family: var(--font-body);
}

.alert-danger {
    background-color: rgba(255, 90, 122, 0.1);
    border-color: var(--coral);
    color: var(--black);
}

/* PROFILE DETAIL PAGE */
.profile-detail-card {
    border-left: 4px solid var(--coral);
}

/* Profile Buttons - Responsive with border radius */
.btn-edit,
.btn-delete
 {
    background: var(--white);
    border-color: var(--coral);
    color: var(--coral);
    box-shadow: 0 4px 15px rgba(255, 90, 122, 0.3);
    font-family: var(--font-accent);
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border: 2px solid;
    font-size: 0.75rem;
    min-width: 140px;
    max-width: 400px;
       
}

.btn-edit:hover,
.btn-delete:hover {
    background: var(--coral);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 90, 122, 0.3);
}

/* Profile List Buttons - Like, Pass, View */
.like-btn,
.pass-btn,
.view-btn {
    background: var(--white);
    color: var(--coral);
    border-radius: 50px;
    font-family: var(--font-accent);
    font-weight: 200;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
    align-items: center;
    justify-content: center;
 
}

.like-btn:hover,
.pass-btn:hover,
.view-btn:hover {
    background: var(--coral);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 90, 122, 0.4);
}

#icon, .icon {
    color: var(--coral);
}

/* Profile Photo */
.profile-photo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--black);
}

/* Profile Information Layout */
.profile-info {
    color: var(--black);
}

/* Basic Info Badges (Age, Gender, Location) - Top Row */

.info-badge {
    background: var(--peach);
    border: 2px solid var(--pink);
    border-radius: 15px;
    padding: 0.5rem 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}


.info-label {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--black);
    font-weight: 600;
}

/* Profile Boxes (Bio and Interests) */
.profile-box {
    background: var(--white);
    border: 2px solid var(--coral);
    border-radius: 20px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 90, 122, 0.1);
    transition: all 0.3s ease;
}



.profile-box-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--coral);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-box-content {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--black);
    line-height: 1.7;
    margin: 0;
    opacity: 0.9;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}


.profile-bio {
    border-color: var(--coral);
}

.profile-interests {
    border-color: var(--pink);
}

.profile-interests .profile-box-title {
    color: var(--pink);
}

.gender-M h3, 
.gender-M .info-label {  
        color: var(--black) !important;
    }

.gender-M .info-badge {
    
        color: var(--black);
    }

.gender-M .profile-box-title {
        color: var(--black);
       
    }

.gender-M .profile-box-content {
        color: var(--black);
    }

/* Pagination buttons */

.page-item.active .page-link {
    background-color: var(--coral);
    border-color: var(--coral);
    color: var(--white);
}
.page-item .page-link {
    background-color: var(--white);
    border-color: var(--coral);
    color: var(--coral);
}

/* Profile images size */
.img-fluid {
    width: 120px; 
    height: 120px; 
    object-fit: cover;
}

/* form style*/
#id_age {
width: 50px;
}

#id_location {
width: 120px;
}

#id_bio{

width:150px;
height:100px;
}
#id_interests {

width:100px;
height:50px;
}


/* Override Bootstrap d-grid for full-width layout */
.d-grid {
    display: flex !important;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* 404 Page layout */
  .height{
        min-height: 70vh
    }
    
    .title{
        font-size: 120px; 
        font-weight: 800; 
        color: var(--coral); 
        margin-bottom: 20px
    }
    .page {
        max-width: 700px; 
        height:200px;
        margin: 0 auto;
    }

     .page p {
        font-size: 1rem; 
        color: var(--black);
         margin-bottom: 15px;
         font-weight: bold;
    }

    .profile-card {
        transition: opacity 0.4s ease, transform 0.4s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    
    .profile-card.fade-out {
        opacity: 0;
        transform: scale(0.95);
    }

    .profile-name {
        word-break: break-all;
    }
    


@media (min-width: 425px) {
    .matchup-logo { 
        gap: 0.75rem;
        font-size: 2rem;
    }
    .matchup-logo img {
        height: 55px;
    
    }
    .hero-headline {
        color: var(--black);
        line-height: 1;
        font-size: 5rem; /* Large and bold */
    }
    .lead {
        font-size: 1.25rem;
        font-weight: 400;
    }
    .cta {
        font-size: 1.25rem;
        padding: 1rem 2.5rem;
        border-radius: 50px; 
       
    }   
    .feature-title {
        font-size: 2.5rem;
    } 
    .feature-card {
        padding: 2.5rem; 
    }

    .feature-icon {
        font-size: 2rem;
    }

    .card-title {
        font-weight: 700;
        font-size: 2rem;
    }
    

    .btn-edit,
    .btn-delete {
        padding: 0.75rem 2.5rem;
        font-size: 0.9rem;
    }
  
    .btn-view {
        min-width: 60px;
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
 
   
    .profile-photo {
        width: 200px;
        height: 200px;
        border-width: 4px;
    }
    .info-badge {
        padding: 1rem 0rem;
    }
    
    .info-label {
        font-size: 0.85rem;
    }
    .info-value {
        font-size: 1rem;
    }
    .profile-box {
        padding: 1.5rem 2rem;
        border-width: 3px;
    }
    .profile-box-title {
        font-size: 1.5rem;
    }
    
    .profile-box-content {
        font-size: 1rem;
    }

    .img-fluid {
    width: 200px; 
    height: 200px; 
   }

   #id_bio  {
    width:300px;
    height:200px;
   }
    #id_interests  {
        width:150px;
        height:100px;
    }
    .auth-card {
        padding: 2rem !important;
    }
    
    
    .btn-view {
        width: 100%;
        min-width: auto;
        margin-bottom: 0.5rem;
    }
    
    .profile-photo {
        width: 150px;
        height: 150px;
    }
}

/* Add padding for screens larger than 425px */

@media (min-width: 425px) and (max-width: 767px) {
    .card-text {
       font-size: 1.25rem;
        
    }
}

@media (min-width: 768px) {
    .profile-photo {
        width: 150px;
        height: 150px;
    }
    
    .btn-edit,
    .btn-delete {
        width: 100%;
        min-width: auto;
    }
    
    .info-badge {
        padding: 0.875rem 1.25rem;
    }
    
    .info-value {
        font-size: 1.1rem;
    }
    
    .profile-box {
        padding: 1.25rem 1.5rem;
    }
    
    .profile-box-title {
        font-size: 1.25rem;
    }
   #id_bio {
    width:400px;
    }
    #id_interests {
        width:250px;
    }

   
}

@media (min-width: 1024px) {
.card-text {
    font-size: 1.25rem;
    font-weight: 400;
}
}