@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Amiri:wght@400;700&display=swap');

/* =========================================
   1. GLOBAL RESET & BODY
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fdfbf7; /* Creamy White Background */
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

/* =========================================
   2. HEADER (WHITE DESIGN)
   ========================================= */
.branding-header {
    background-color: #ffffff; /* Pure White */
    padding: 10px 5%;
    border-bottom: 4px solid #c5a059; /* Gold Border */
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 130px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.brand-left-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-main-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.brand-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-name-text {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 700;
    color: #b91c1c; /* Deep Red */
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 5px;
}

.site-tagline {
    font-size: 13px;
    font-weight: 600;
    color: #b91c1c;
    letter-spacing: 0.5px;
}

/* Navigation Menu */
.header-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-nav a {
    color: #b91c1c;
    font-weight: 700;
    font-size: 16px;
    text-transform: capitalize;
}

.header-nav a:hover {
    color: #000;
    text-decoration: underline;
}

/* Login Button in Header */
.btn-auth-header {
    background-color: #b91c1c;
    color: white !important;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid #b91c1c;
}

.btn-auth-header:hover {
    background-color: #900000; /* Darker Red */
    border-color: #900000;
}

/* =========================================
   3. MAIN LAYOUT WRAPPER
   ========================================= */
.main-wrapper {
    max-width: 1400px;
    margin: 30px auto;
    display: flex;
    gap: 25px;
    padding: 0 15px;
}

/* Left Content (Profile Grid, etc.) */
.left-content-area {
    flex: 3;
    width: 100%;
}

/* Right Sidebar */
.right-sidebar-area {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* =========================================
   4. HERO BANNER (ROSE IMAGE)
   ========================================= */
.rose-banner {
    width: 100%;
    height: 550px;
    /* Apni banner image ka naam check karein (Yamahdiheader.webp) */
    background-image: url('Yamahdiheader.webp.webp'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 1px solid #ddd;
    position: relative;
}

/* Glass Effect Overlay */
.glass-overlay {
    background: rgba(255, 255, 255, 0.90); /* White Overlay */
    padding: 40px 50px;
    border-radius: 15px;
    border: 2px solid #c5a059;
    width: 85%;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.banner-title-red {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: #b91c1c;
    margin-bottom: 15px;
}

.banner-ayat {
    font-size: 28px;
    font-weight: 700;
    color: #b91c1c;
    margin-bottom: 15px;
    font-family: 'Amiri', serif;
    line-height: 1.6;
}

.banner-tarjuma {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-banner-action {
    background-color: #c5a059; /* Gold */
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
}

.btn-banner-action:hover {
    background-color: #b08d45;
}

/* =========================================
   5. PROFILE CARDS & GRIDS
   ========================================= */
.section-title-center {
    text-align: center;
    color: #b91c1c;
    margin-bottom: 30px;
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.profile-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    text-align: center;
    transition: 0.3s;
}

.profile-card:hover {
    transform: translateY(-5px);
    border-color: #c5a059;
}

.profile-img {
    height: 180px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.p-info {
    padding: 20px;
}

.p-info h3 {
    margin: 0 0 5px;
    color: #b91c1c;
    font-size: 18px;
}

.p-detail {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.btn-view-profile {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #c5a059;
    color: #c5a059;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.btn-view-profile:hover {
    background: #c5a059;
    color: white;
}

/* =========================================
   6. SIDEBAR WIDGETS
   ========================================= */
.widget-box {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    border-top: 4px solid #b91c1c;
    margin-bottom: 25px;
}

.w-title {
    color: #b91c1c;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sb-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.btn-sb {
    width: 100%;
    padding: 12px;
    border: none;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    font-size: 15px;
}

.btn-gold { background: #c5a059; }
.btn-red { background: #b91c1c; }

/* Helpline Box */
.hl-box {
    text-align: center;
    background: #fffbe6;
    border: 1px solid #eec956;
    border-top: 4px solid #c5a059;
}

.hl-num {
    font-size: 24px;
    color: #b91c1c;
    font-weight: 800;
    margin: 10px 0;
    display: block;
}

/* =========================================
   7. FOOTER ADS (Alignment Fixed)
   ========================================= */
.footer-ad-section {
    max-width: 1400px;
    margin: 0 auto 40px auto; /* Centered */
    padding: 0 15px;
}

.footer-ad-wrapper {
    /* FIX: Margin-left hata diya gaya hai taaki ye center rahe */
    margin: 0 auto; 
    width: 100%;
    background-color: #fff;
    border: 2px solid #c5a059;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.ad-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ad-brand-logo {
    width: 120px;
    height: 100px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.ad-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-call-now {
    background: #c5a059;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

/* =========================================
   8. FOOTER
   ========================================= */
footer {
    background: #222;
    color: #ddd;
    padding: 40px 0;
    text-align: center;
    border-top: 5px solid #c5a059;
    margin-top: auto;
}

/* =========================================
   9. FORMS (Login/Register)
   ========================================= */
.register-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    border-top: 5px solid #b91c1c;
    padding: 40px;
}

.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-weight: 600; margin-bottom: 8px; }
.form-row { display: flex; gap: 20px; margin-bottom: 10px; }
.form-row .input-group { flex: 1; }

.gender-options { display: flex; gap: 15px; margin: 10px 0; }
.gender-btn { padding: 5px 10px; cursor: pointer; font-weight: 600; }

/* =========================================
   10. RESPONSIVE (Mobile)
   ========================================= */
@media (max-width: 900px) {
    .branding-header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
        height: auto;
    }
    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .main-wrapper {
        flex-direction: column;
    }
    .sidebar-area {
        order: 2; /* Sidebar neeche chala jayega */
        width: 100%;
    }
    .footer-ad-wrapper {
        margin-left: 0;
    }
    .ad-flex-container {
        flex-direction: column;
        text-align: center;
    }
    .rose-banner {
        height: auto;
        min-height: 500px;
    }
}
/* Profile Card Styles */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.profile-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    border-top: 4px solid #b91c1c; /* Red top border */
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.profile-card:hover {
    transform: translateY(-10px); /* Card jumps up slightly */
    box-shadow: 0 12px 20px rgba(185, 28, 28, 0.15); /* Reddish shadow */
    border-color: #c5a059; /* Border turns gold on hover */
}

.profile-img {
    height: 230px;
    width: 100%;
    overflow: hidden;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-card:hover .profile-img img {
    transform: scale(1.1); /* Image zooms in slightly */
}

.p-info h3 {
    color: #333;
    font-size: 18px;
    margin: 15px 0 5px 0;
}

/* Custom Gold Button Style */
.btn-gold-outline {
    border: 1px solid #c5a059;
    color: #c5a059;
    background: transparent;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn-gold-outline:hover {
    background: #c5a059;
    color: #fff;
}