/* Custom Styles for Mangal Bandhan Matrimony */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #b41e5a;         /* Crimson/Burgundy robes-inspired */
    --primary-hover: #961446;
    --accent: #d2a55a;          /* Gold/Saffron */
    --accent-hover: #b98e47;
    --navy: #0f2d5a;            /* Navy Blue for strong text & dark spaces */
    --cream: #fdf8ee;           /* Warm creamy background tint */
    --bg-light: #fff5f5;        /* Very light soft warm bg */
    --dark: #1e293b;
    --light-grey: #e2e8f0;
    --font-sans: 'Outfit', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--dark);
    line-height: 1.6;
}

/* Custom Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--navy);
}

.text-navy {
    color: var(--navy) !important;
}

.text-primary-color {
    color: var(--primary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.bg-navy {
    background-color: var(--navy) !important;
}

.bg-primary-color {
    background-color: var(--primary) !important;
}

.bg-cream {
    background-color: var(--cream) !important;
}

/* Custom Buttons */
.btn-primary-custom {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white, #fff);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white, #fff);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-custom {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-accent-custom {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-accent-custom:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Header/Navbar */
.navbar-custom {
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    padding: 0.25rem 1.5rem;
    border-bottom: 2px solid var(--cream);
}

.navbar-brand {
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.navbar-brand img {
    height: 60px;
    object-fit: contain;
    padding: 0 !important;
    margin: 0 !important;
}

.nav-link-custom {
    font-weight: 600;
    color: var(--navy);
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition);
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    width: 80%;
}

.nav-link-custom:hover {
    color: var(--primary);
}

/* Slider / Carousel */
.carousel-custom {
    max-height: 480px;
    overflow: hidden;
}

.carousel-custom .carousel-item img {
    height: 480px;
    object-fit: cover;
    filter: brightness(0.65);
}

.carousel-caption-custom {
    bottom: 30%;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.carousel-caption-custom h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.carousel-caption-custom p {
    font-size: 1.25rem;
    color: var(--cream);
}

/* How It Works Section */
.step-card {
    background-color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    border: 2px solid var(--accent);
    color: var(--primary);
    font-size: 2rem;
}

/* Success Story Section */
.success-card {
    background-color: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-grey);
    height: 100%;
    min-height: 460px;
    display: flex;
    flex-direction: column;
}

.success-card img {
    width: 100%;
    height: 250px;
    min-height: 250px;
    object-fit: cover;
}

.testimonial-card {
    height: 100%;
    min-height: 260px;
}

.success-story-badge {
    background-color: var(--cream);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid var(--accent);
}

/* Why Choose Section */
.why-choose-list li {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.why-choose-list li i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.25rem;
}

/* Featured Profiles Section */
.profile-card {
    background-color: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--light-grey);
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.profile-img-container {
    position: relative;
    overflow: hidden;
}

.profile-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.profile-card:hover img {
    transform: scale(1.05);
}

.profile-gender-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-boy {
    background-color: var(--navy);
    color: #fff;
}

.badge-girl {
    background-color: var(--primary);
    color: #fff;
}

.profile-body {
    padding: 1.25rem;
}

.profile-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.profile-meta {
    font-size: 0.85rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.profile-meta span {
    display: block;
    margin-bottom: 0.15rem;
}

/* Detail Profile Page */
.detail-profile-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    border: 5px solid #fff;
}

.detail-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

/* Footer styling */
.footer-custom {
    background-color: var(--navy);
    color: #cbd5e1;
    padding: 4rem 0 2rem 0;
    border-top: 5px solid var(--accent);
}

.footer-custom h5 {
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-custom h5::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-custom a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-custom a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

/* Search Form Panel */
.search-panel {
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

/* Login/Registration Card */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.auth-card {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: none;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
}

.auth-header {
    background-color: var(--navy);
    color: #fff;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.auth-header img {
    height: 45px;
    margin-bottom: 0.5rem;
}

.auth-body {
    padding: 2.5rem;
}

/* Micro-animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}
