/* Custom CSS for SoulMate Matrimonial Website */

:root {
    --primary-color: #e11d48;
    --secondary-color: #ec4899;
    --gradient: linear-gradient(135deg, #e11d48, #ec4899);
    --light-bg: #fff1f2;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Utility Classes */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-gradient {
    background: var(--gradient);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.4);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Header Styles */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    transition: all 0.3s ease;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fff1f2, #fce7f3, #f3e8ff);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f472b6' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.hero-image-container {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
}

.floating-card-1 {
    top: -20px;
    left: -20px;
}

.floating-card-2 {
    bottom: -20px;
    right: -20px;
}

.floating-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Profile Cards */
.profile-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

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

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

.profile-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.verified-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.heart-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.heart-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

.profile-content {
    padding: 1.5rem;
}

.profile-name {
    font-weight: 700;
    margin-bottom: 1rem;
}

.profile-details {
    margin-bottom: 1rem;
}

.profile-detail {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

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

.profile-interests {
    margin-bottom: 1rem;
}

.interest-tag {
    background: #fce7f3;
    color: #be185d;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Success Stories */
.success-section {
    background: linear-gradient(135deg, #fff1f2, #fce7f3, #f3e8ff);
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.story-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

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

.story-image-container {
    position: relative;
    overflow: hidden;
}

.story-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.story-names {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: white;
}

.story-names h5 {
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.story-names p {
    margin: 0;
    opacity: 0.9;
}

.quote-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 2rem;
}

.story-content {
    padding: 1.5rem;
}

.story-text {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1rem;
}

.story-date {
    font-size: 0.875rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.stats-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* About Section */
.about-image-container {
    position: relative;
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.about-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--gradient);
    color: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.badge-number {
    font-size: 2rem;
    font-weight: 800;
}

.badge-text {
    font-size: 0.875rem;
}

.about-features {
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-dot {
    width: 24px;
    height: 24px;
    background: var(--gradient);
    border-radius: 50%;
    margin-right: 1rem;
    position: relative;
}

.feature-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.feature-card {
    background: linear-gradient(135deg, #fff1f2, #fce7f3);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    margin: 0;
}

.mission-card {
    background: var(--gradient);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-top: 3rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f9fafb, #fff1f2);
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-item h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-muted);
    margin: 0;
}

.quick-contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.contact-form-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

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

.faq-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-muted);
    margin: 0;
}

/* Footer */
.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-bottom: 0.5rem;
    display: block;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.contact-info-footer p {
    color: #9ca3af;
    margin: 0;
}

.newsletter .form-control {
    background: #374151;
    border: 1px solid #4b5563;
    color: white;
}

.newsletter .form-control::placeholder {
    color: #9ca3af;
}

.newsletter .form-control:focus {
    background: #374151;
    border-color: var(--primary-color);
    color: white;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .floating-card-1,
    .floating-card-2 {
        position: static;
        margin: 1rem 0;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .about-badge {
        position: static;
        margin-top: 1rem;
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .feature-card,
    .story-card,
    .profile-card {
        margin-bottom: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #be185d, #db2777);
}