/*
Theme Name: Rishtaghar.online
Theme URI: https://rishtaghar.online
Author: Rishty Team
Author URI: https://rishtaghar.online
Description: Professional Matrimonial Theme - Find Your Perfect Life Partner
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: rishty
*/

/* ========== RESET CSS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background: #f8f9ff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== HEADER ========== */
.site-header {
    background: linear-gradient(135deg, #6B21A8 0%, #4C1D95 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-logo {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
}

.site-logo span {
    color: #FBBF24;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav ul li a {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
}

.main-nav ul li a:hover {
    color: #FBBF24;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: #7C3AED;
    color: #ffffff;
}

.btn-primary:hover {
    background: #6D28D9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

.btn-outline {
    border: 2px solid #7C3AED;
    color: #7C3AED;
    background: transparent;
}

.btn-outline:hover {
    background: #7C3AED;
    color: #ffffff;
}

.btn-white {
    background: #ffffff;
    color: #7C3AED;
}

.btn-white:hover {
    background: #F3E8FF;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ========== HERO SECTION ========== */
.hero-section {
    background: linear-gradient(135deg, #6B21A8 0%, #4C1D95 50%, #312E81 100%);
    padding: 100px 0;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 50px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* ========== SEARCH BOX ========== */
.search-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.form-row select,
.form-row input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    color: #333333;
    transition: 0.3s;
}

.form-row select:focus,
.form-row input:focus {
    outline: none;
    border-color: #7C3AED;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* ========== SECTIONS ========== */
.section {
    padding: 80px 0;
}

.section-gray {
    background: #F8F9FF;
}

.section-white {
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 50px;
}

/* ========== STATS ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h2 {
    font-size: 48px;
    color: #7C3AED;
    font-weight: 800;
}

.stat-item p {
    font-size: 18px;
    color: #6B7280;
    margin-top: 5px;
}

/* ========== PROFILE CARDS ========== */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.profile-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

.profile-card .card-body {
    padding: 20px;
    text-align: center;
}

.profile-card .card-body h3 {
    font-size: 20px;
    color: #1F2937;
    margin-bottom: 8px;
}

.profile-card .card-body p {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 15px;
}

/* ========== PACKAGE CARDS ========== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.package-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #7C3AED;
}

.package-card.featured {
    border-color: #7C3AED;
    transform: scale(1.05);
    background: linear-gradient(135deg, #ffffff 0%, #F3E8FF 100%);
}

.package-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #FBBF24;
    color: #1F2937;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.package-name {
    font-size: 28px;
    font-weight: 700;
    color: #7C3AED;
    margin-bottom: 20px;
}

.package-price {
    font-size: 48px;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 5px;
}

.package-price span {
    font-size: 18px;
    font-weight: 400;
    color: #6B7280;
}

.package-credits {
    font-size: 18px;
    color: #7C3AED;
    font-weight: 600;
    margin-bottom: 30px;
}

.package-features {
    list-style: none;
    margin-bottom: 30px;
}

.package-features li {
    padding: 10px 0;
    color: #4B5563;
    border-bottom: 1px solid #F3F4F6;
}

.package-features li:before {
    content: "✓";
    color: #10B981;
    margin-right: 10px;
    font-weight: bold;
}

/* ========== HOW IT WORKS ========== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.step-item .step-icon {
    width: 80px;
    height: 80px;
    background: #7C3AED;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #ffffff;
}

.step-item h3 {
    margin-bottom: 10px;
    color: #1F2937;
}

.step-item p {
    color: #6B7280;
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #F8F9FF;
    padding: 30px;
    border-radius: 16px;
}

.testimonial-stars {
    color: #FBBF24;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #4B5563;
}

.testimonial-author {
    color: #1F2937;
    font-weight: 600;
}

.testimonial-location {
    color: #6B7280;
    font-size: 14px;
}

/* ========== FOOTER ========== */
.site-footer {
    background: #1F2937;
    color: #D1D5DB;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 20px;
}

.footer-widget p {
    margin-bottom: 15px;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #D1D5DB;
    transition: 0.3s;
}

.footer-widget ul li a:hover {
    color: #7C3AED;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .header-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .package-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .search-box {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}