/* =========================================
   STYLE.CSS - FULL EXPANDED VERSION
   ========================================= */

/* --- शाही वेरियबल्स (Variables) --- */
:root { 
    --royal-bg: #000033; 
    --paper-bg: #fffbf0; 
    --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c); 
    --maroon-text: #800000; 
    --dark-gold-line: #aa8c2c; 
    --theme-gold: #897148;
    --scroll-bg: #f4ecd8;
    --evidence-bg: #fdf5e6;
}

html { 
    background-color: var(--royal-bg); 
    min-height: 100%; 
    scroll-behavior: smooth; 
    width: 100%; 
    overflow-x: hidden; 
}

body { 
    margin: 0; 
    background-color: transparent; 
    color: #333; 
    font-family: 'Playfair Display', serif; 
    width: 100%; 
    overflow-x: hidden; 
    position: relative; 
}

/* --- Background Texture --- */
body::before { 
    content: ""; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-image: url('https://www.transparenttextures.com/patterns/black-scales.png'); 
    filter: invert(1); 
    opacity: 0.4; 
    pointer-events: none; 
    z-index: -1; 
}

/* ----------------------------- */
/* ☀️ PRELOADER & FRAME */
/* ----------------------------- */
#preloader { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: #000033; 
    z-index: 10000; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-direction: column; 
    transition: opacity 0.8s ease; 
}

.sun-container { 
    position: relative; 
    width: 140px; 
    height: 140px; 
    margin-bottom: 20px; 
    filter: drop-shadow(0 0 25px rgba(255, 140, 0, 0.8)); 
}

.sun-svg { 
    width: 100%; 
    height: 100%; 
    animation: spinSun 8s linear infinite; 
}

.sun-face { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 55px; 
    height: 55px; 
    z-index: 2; 
}

@keyframes spinSun { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}

.loading-text { 
    font-family: 'Cinzel', serif; 
    color: #fcf6ba; 
    font-size: 1.5em; 
    letter-spacing: 4px; 
    font-weight: 900; 
    text-shadow: 0 0 10px #bf953f; 
    margin-top: 10px; 
    animation: breathe 2s ease-in-out infinite; 
}

.sub-text { 
    margin-top: 8px; 
    color: #ffcc00; 
    font-size: 0.8em; 
    letter-spacing: 3px; 
    text-transform: uppercase; 
    font-weight: bold; 
}

@keyframes breathe { 
    0%, 100% { opacity: 1; transform: scale(1); } 
    50% { opacity: 0.7; transform: scale(0.98); } 
}

.progress-container { 
    width: 180px; 
    height: 3px; 
    background: rgba(255, 255, 255, 0.1); 
    margin-top: 25px; 
    border-radius: 2px; 
    overflow: hidden; 
}

.progress-bar { 
    height: 100%; 
    width: 0%; 
    background: linear-gradient(90deg, #ffcc00, #ff4500, #ffcc00); 
    animation: loadingFill 3s ease-in-out forwards; 
}

@keyframes loadingFill { 
    0% { width: 0%; } 
    100% { width: 100%; } 
}

/* --- Animated Frame Border --- */
.royal-frame { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    border: none; 
    box-sizing: border-box; 
    z-index: 9999; 
    pointer-events: none; 
    overflow: hidden; 
}

.royal-frame span { position: absolute; display: block; }

.royal-frame span:nth-child(1) { 
    top: 0; left: -100%; width: 100%; height: 4px; 
    background: linear-gradient(90deg, transparent, var(--dark-gold-line)); 
    animation: btn-anim1 4s linear infinite; 
}
@keyframes btn-anim1 { 0% { left: -100%; } 50%,100% { left: 100%; } }

.royal-frame span:nth-child(2) { 
    top: -100%; right: 0; width: 4px; height: 100%; 
    background: linear-gradient(180deg, transparent, var(--dark-gold-line)); 
    animation: btn-anim2 4s linear infinite; animation-delay: 1s; 
}
@keyframes btn-anim2 { 0% { top: -100%; } 50%,100% { top: 100%; } }

.royal-frame span:nth-child(3) { 
    bottom: 0; right: -100%; width: 100%; height: 4px; 
    background: linear-gradient(270deg, transparent, var(--dark-gold-line)); 
    animation: btn-anim3 4s linear infinite; animation-delay: 2s; 
}
@keyframes btn-anim3 { 0% { right: -100%; } 50%,100% { right: 100%; } }

.royal-frame span:nth-child(4) { 
    bottom: -100%; left: 0; width: 4px; height: 100%; 
    background: linear-gradient(360deg, transparent, var(--dark-gold-line)); 
    animation: btn-anim4 4s linear infinite; animation-delay: 3s; 
}
@keyframes btn-anim4 { 0% { bottom: -100%; } 50%,100% { bottom: 100%; } }


/* ----------------------------- */
/* 🏰 नेविगेशन (Navbar) */
/* ----------------------------- */
.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 20px; 
    background: #000033; 
    border-bottom: 2px solid #b38728; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.8); 
    position: sticky; 
    top: 0; 
    z-index: 2000; 
}

.navbar-brand-container { display: flex; align-items: center; }

#menu-logo { 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    border: 2px solid #fcf6ba; 
    box-shadow: 0 0 15px #bf953f; 
    background: white; 
}

.navbar-brand { 
    font-family: 'Cinzel', serif; 
    font-size: 1.4em; 
    font-weight: 900; 
    margin-left: 15px; 
    text-decoration: none; 
    color: #fcf6ba; 
    text-shadow: 0 0 2px #bf953f; 
    letter-spacing: 1px; 
}

.navbar-links { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: flex; 
}

.navbar-links li { margin-left: 15px; }

.navbar-links a { 
    color: #897148; 
    text-decoration: none; 
    padding: 8px 15px; 
    display: block; 
    font-family: 'Cinzel', serif; 
    font-weight: 700; 
    letter-spacing: 1px; 
    border: 1px solid transparent; 
    transition: all 0.5s ease; 
}

.navbar-links a:hover, .navbar-links a.active { 
    color: #fff; 
    text-shadow: 0 0 8px #897148; 
}

.menu-toggle { 
    color: #897148; 
    font-size: 35px; 
    cursor: pointer; 
    display: none; 
    user-select: none; 
}


/* ----------------------------- */
/* 👑 हेडर (Hero Section) */
/* ----------------------------- */
.hero-section { 
    height: 400px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    color: white; 
    background: linear-gradient(rgba(0,0,51,0.6), rgba(0,0,51,0.9)), url('1.png'); 
    background-size: cover; 
    background-position: center; 
    text-align: center; 
    border-bottom: 4px solid #b38728; 
    transition: background-image 1s ease-in-out;
}

.hero-title { 
    font-family: 'Cinzel', serif; 
    font-size: 3.2em; 
    margin: 0; 
    background: var(--gold-gradient); 
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent; 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8); 
}

.hero-welcome { 
    font-family: 'Great Vibes', cursive; 
    font-size: 2.2em; 
    color: #fcf6ba; 
    margin-bottom: 5px;
    
    /* 👇 यह लाइन जोड़ें (जादुई चमक के लिए) */
    text-shadow: 0 0 10px #b38728, 0 0 20px #b38728;
    animation: glow 3s infinite alternate; /* हल्का चमकेगा */
}

/* एनीमेशन के लिए */
@keyframes glow {
    from { text-shadow: 0 0 10px #b38728; }
    to { text-shadow: 0 0 20px #fcf6ba, 0 0 30px #b38728; }
}

.divider-ornament { 
    font-size: 30px; 
    color: #bf953f; 
    margin: 10px 0; 
}


/* ----------------------------- */
/* 📜 सामान्य कंटेंट (Common Content) */
/* ----------------------------- */
.main-content, .content-container { 
    max-width: 1000px; 
    margin: 40px auto; 
    padding: 0 20px; 
    text-align: center; 
}

/* --- Index Page Specific --- */
.intro-box { 
    max-width: 900px; 
    margin: 0 auto 40px auto; 
    padding: 30px; 
    background: var(--paper-bg); 
    border: 4px double var(--maroon-text); 
    border-radius: 20px; 
    box-shadow: 0 0 30px rgba(191, 149, 63, 0.2); 
}

.intro-layout { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 30px; 
    text-align: left; 
}

.intro-text { flex: 1; }

.intro-image-container { 
    flex: 0 0 200px; 
    position: relative; 
    text-align: center; 
}

.thakur-img { 
    width: 100%; 
    border-radius: 10px; 
    box-shadow: 5px 5px 15px rgba(0,0,0,0.4); 
    transition: transform 0.3s ease; 
}

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

.section-heading { 
    font-family: 'Cinzel', serif; 
    font-weight: 700; 
    color: var(--maroon-text); 
    font-size: 2em; 
    margin-bottom: 20px; 
    border-bottom: 2px solid #897148; 
    display: inline-block; 
}

/* Profile Grid */
.profile-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 15px; 
    max-width: 900px; 
    margin: 0 auto 10px auto; 
    padding: 20px; 
    border: 2px solid #897148; 
    
    /* 👇 पुराना बैकग्राउंड हटाकर यह ग्लास इफेक्ट लगाएं */
    background: rgba(1, 17, 22, 0.7); /* गहरा नीला पारदर्शी */
    backdrop-filter: blur(0px); /* पीछे का धुंधला दिखेगा */
    box-shadow: 0 0 20px rgba(0,0,0,0.5); /* 3D Shadow */
    
    border-radius: 10px; 
}

.profile-item { 
    border: 1px solid rgba(212, 175, 55, 0.3); 
    padding: 10px; 
    text-align: center; 
    transition: 0.3s; 
}

.profile-item:hover { 
    background: rgba(212, 175, 55, 0.1); 
    transform: translateY(-2px); 
}

.profile-label { 
    display: block; 
    color: #aa8c2c; 
    font-family: 'Cinzel', serif; 
    font-size: 0.9em; 
    font-weight: bold; 
    text-transform: uppercase; 
    margin-bottom: 5px; 
}

.profile-value { 
    color: #fff; 
    font-family: 'Playfair Display', serif; 
    font-size: 1.2em; 
    letter-spacing: 1px; 
}

/* Card Container (Home) */
.card-container { 
    display: flex; 
    justify-content: center; 
    gap: 40px; 
    flex-wrap: wrap; 
    margin-top: 5px; 
}

.jharokha-card { 
    width: 300px; 
    min-height: 400px; 
    padding: 180px 25px 40px 25px; 
    position: relative; 
    transition: all 0.4s ease; 
    text-align: center; 
    background-color: transparent; 
    border: none; 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 420'%3E%3Cpath d='M10,410 L10,180 C10,180 10,140 40,145 C60,150 75,125 65,105 C55,85 95,65 115,75 C135,85 140,50 150,40 C160,50 165,85 185,75 C205,65 245,85 235,105 C225,125 240,150 260,145 C290,140 290,180 290,180 L290,410 Z' fill='%23fffbf0' stroke='%23b38728' stroke-width='5' /%3E%3C/svg%3E"); 
    background-repeat: no-repeat; 
    background-size: 100% 100%; 
    filter: drop-shadow(0px 10px 10px rgba(0,0,0,0.5)); 
}

.jharokha-card:hover { 
    transform: translateY(-15px); 
    filter: drop-shadow(0px 15px 25px rgba(191, 149, 63, 0.7)); 
}

.card-icon { 
    font-size: 50px; 
    display: block; 
    margin-bottom: 10px; 
    color: var(--maroon-text); 
}

.card-title { 
    font-family: 'Cinzel', serif; 
    font-size: 1.6em; 
    color: #1a0505; 
    margin: 10px 0; 
    font-weight: 700; 
}

.card-btn { 
    display: inline-block; 
    margin-top: 15px; 
    padding: 10px 30px; 
    background: linear-gradient(to right, #000033, #000066); 
    color: #897148; 
    text-decoration: none; 
    font-family: 'Cinzel', serif; 
    border: 1px solid #897148; 
    border-radius: 50px; 
    transition: 0.3s; 
    font-weight: bold; 
}


/* ----------------------------- */
/* 📜 HISTORY PAGE STYLES */
/* ----------------------------- */
.history-card { 
    background: var(--paper-bg); 
    padding: 40px; 
    border: 3px double var(--maroon-text); 
    border-radius: 10px; 
    position: relative; 
    box-shadow: 0 0 25px rgba(191, 149, 63, 0.3); 
    text-align: justify; 
    line-height: 1.8; 
    font-size: 1.1em; 
}

/* ✅ LOGO FIX: Image instead of Emoji */
.history-card::before {
    content: "";
    position: absolute;
    top: -40px; 
    left: 50%; 
    transform: translateX(-50%);
    width: 80px; 
    height: 80px;
    background-color: #000033; 
    border-radius: 50%;
    border: 3px solid #b38728;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    
    /* 👇 अपनी इमेज का नाम यहाँ चेक करें */
    background-image: url('klogo1.png'); 
    background-size: 70%; 
    background-position: center; 
    background-repeat: no-repeat;
}

.history-heading { 
    color: var(--maroon-text); 
    font-family: 'Cinzel', serif; 
    font-size: 1.6em; 
    border-bottom: 2px solid #aa8c2c; 
    padding-bottom: 10px; 
    margin-top: 50px; 
    margin-bottom: 20px; 
    display: block; 
    width: 100%; 
    text-align: center; 
}

.sub-heading { 
    font-family: 'Cinzel', serif; 
    color: #aa8c2c; 
    font-size: 1.3em; 
    margin-top: 30px; 
    margin-bottom: 15px; 
    font-weight: bold; 
    display: flex; 
    align-items: center; 
}

.sub-heading::before { content: "❖"; margin-right: 10px; font-size: 1.2em; }

.drop-cap { 
    float: left; 
    font-size: 4.5em; 
    line-height: 0.8; 
    padding-right: 15px; 
    padding-top: 5px; 
    color: var(--maroon-text); 
    font-family: 'Yatra One', serif; 
    font-weight: bold; 
}

.info-box { 
    background: rgba(138, 28, 28, 0.04); 
    border: 1px solid #d4af37; 
    padding: 15px; 
    margin: 20px 0; 
    border-radius: 8px; 
    font-size: 0.95em; 
}

.evidence-box { 
    background-color: var(--evidence-bg); 
    color: #333; 
    padding: 25px; 
    margin: 30px 0; 
    border-left: 6px solid #b30000; 
    font-family: 'Playfair Display', serif; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}

.evidence-box h3 { 
    color: #b30000; 
    font-family: 'Cinzel', serif; 
    margin-top: 0; 
    border-bottom: 1px solid #d4af37; 
    padding-bottom: 10px; 
    margin-bottom: 15px; 
    font-size: 1.3em; 
}

.evidence-quote { 
    font-style: italic; 
    background: rgba(0,0,0,0.05); 
    padding: 10px; 
    border-radius: 4px; 
}

.timeline { 
    position: relative; 
    margin: 30px 0; 
    border-left: 3px solid #b38728; 
    padding-left: 20px; 
}

.timeline-item { position: relative; margin-bottom: 25px; }

.timeline-item::before { 
    content: "✦"; 
    position: absolute; 
    left: -29px; 
    top: 0; 
    background: #000033; 
    color: #b38728; 
    border: 2px solid #b38728; 
    border-radius: 50%; 
    width: 20px; 
    height: 20px; 
    text-align: center; 
    line-height: 20px; 
    font-size: 12px; 
}

.timeline-year { 
    font-family: 'Cinzel', serif; 
    font-weight: bold; 
    color: var(--maroon-text); 
    font-size: 1.1em; 
}

.arch-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 20px; 
    margin-top: 25px; 
}

@media(min-width: 768px) { 
    .arch-grid { grid-template-columns: repeat(2, 1fr); } 
}

.arch-item { 
    background: #fff; 
    border: 1px solid #e0c080; 
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    position: relative; 
    overflow: hidden; 
}

.arch-item::before { 
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 4px; 
    background: var(--gold-gradient); 
}

.arch-title { 
    color: var(--maroon-text); 
    font-family: 'Cinzel', serif; 
    font-weight: bold; 
    border-bottom: 1px dashed #aa8c2c; 
    padding-bottom: 8px; 
    margin-bottom: 10px; 
    display: block; 
    font-size: 1.2em; 
}

.scroll-doha { 
    background: var(--scroll-bg); 
    border: 1px solid #cbb57b; 
    padding: 25px; 
    margin: 30px 0; 
    text-align: center; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    position: relative; 
}

.scroll-doha::before, .scroll-doha::after { 
    content: ""; 
    position: absolute; 
    left: 0; 
    right: 0; 
    height: 8px; 
    background: linear-gradient(to right, #b38728, #fcf6ba, #b38728); 
}

.scroll-doha::before { top: 0; } 
.scroll-doha::after { bottom: 0; }

.doha-text { 
    font-family: 'Yatra One', serif; 
    color: var(--maroon-text); 
    font-size: 1.3em; 
    line-height: 1.6; 
}

.history-list { list-style: none; padding: 0; }

.history-list li { 
    margin-bottom: 15px; 
    padding-left: 30px; 
    position: relative; 
}

.history-list li::before { 
    content: "⚔️"; 
    position: absolute; 
    left: 0; 
    top: 4px; 
    color: var(--maroon-text); 
    font-size: 1em; 
}

.history-list li.om::before { content: "🕉️"; color: #ff9933; }
.history-list li.star::before { content: "✨"; color: #d4af37; }
.history-list li.scroll::before { content: "📜"; color: #d4af37; }

.photo-gallery { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px; 
    margin-top: 20px; 
}

@media(min-width: 768px) { 
    .photo-gallery { grid-template-columns: repeat(3, 1fr); } 
}

.photo-gallery img { 
    width: 100%; 
    height: 180px; 
    object-fit: cover; 
    border: 2px solid #b38728; 
    border-radius: 5px; 
    transition: transform 0.3s; 
    cursor: pointer; 
}

.photo-gallery img:hover { transform: scale(1.05); }

.map-container { 
    margin-top: 30px; 
    border: 3px solid #b38728; 
    border-radius: 8px; 
    overflow: hidden; 
    height: 350px; 
    position: relative; 
}

.map-container iframe { 
    width: 100%; 
    height: 100%; 
    border: none; 
}

.social-section { 
    margin-top: 40px; 
    padding: 30px 20px; 
    background: white; 
    border-radius: 10px; 
    border: 1px solid #d4af37; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
}

.interaction-bar { 
    display: flex; 
    justify-content: center; 
    gap: 40px; 
    align-items: center; 
    border-bottom: 1px solid #eee; 
    padding-bottom: 20px; 
    margin-bottom: 20px; 
}

.action-btn { 
    background: none; 
    border: none; 
    font-family: 'Cinzel', serif; 
    font-size: 1.1em; 
    cursor: pointer; 
    color: #555; 
    transition: all 0.3s; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    padding: 8px 15px; 
    border-radius: 50px; 
}

.action-btn:hover { 
    background: #f9f9f9; 
    color: var(--maroon-text); 
}

.action-btn i { font-size: 1.3em; }

.liked { 
    color: #e74c3c !important; 
    animation: pop 0.3s ease; 
}

.liked i { font-weight: 900; }

@keyframes pop { 50% { transform: scale(1.3); } }

.fb-comments { 
    width: 100% !important; 
    background: #fff; 
    border-radius: 5px; 
    min-height: 200px; 
}

/* --- Footer --- */
/* --- Footer (Royal Rounded Style) --- */
footer { 
    text-align: center; 
    color: #b38728; 
    
    /* 👇 कर्व के कारण पैडिंग थोड़ी बढ़ाई गई है */
    padding: 0px 15px 15px 15px; 
    
    /* मेनू जैसा गहरा नीला रंग */
    background-color: #000033; 
    /* अगर बैकग्राउंड इमेज रखनी है तो नीचे वाली लाइन रहने दें, वरना हटा दें */
    background-image: url('footerbg.png'); 
    
    /* 👇 यहाँ से जादू शुरू होता है (Top Curve) */
    border-top-left-radius: 50% 30px;
    border-top-right-radius: 50% 30px;
    
    /* मेनू जैसा बॉर्डर और शैडो */
    border-top: 2px solid #b8860b; 
    box-shadow: 0 -10px 15px rgba(0, 0, 0, 0.4), 
                inset 0 2px 5px rgba(0,0,0,0.5); 
    
    font-size: 0.9em; 
    position: relative;
    z-index: 10;
    margin-top: 30px; /* कंटेंट से थोड़ी दूरी */
}

.royal-name { 
    display: block;
    font 
    font-family: 'Cinzel', serif; 
    font-size: 1.4em; 
    font-weight: 900; 
    background: var(--gold-gradient); 
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent; 
    margin-bottom: 8px; 
    letter-spacing: 1px; 
    text-decoration: none; 
}

.fb-link { 
    color: #fff; 
    text-decoration: none; 
    font-size: 1em; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    margin-top: 5px; 
    padding: 5px 12px; 
    border: 1px solid #b38728; 
    border-radius: 20px; 
}

.royal-btn { 
    background: linear-gradient(135deg, #800000, #500000); 
    color: #fcf6ba; 
    padding: 12px 30px; 
    text-decoration: none; 
    border-radius: 50px; 
    font-family: 'Cinzel', serif; 
    border: 2px solid #d4af37; 
    display: inline-block; 
    margin: 10px; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
    font-weight: bold; 
    font-size: 1em; 
    letter-spacing: 1px; 
    text-transform: uppercase; 
}

/* =========================================
   MOBILE RESPONSIVE FIXES
   ========================================= */
@media (max-width: 768px) { 
    
    .navbar { padding: 5px 15px; } 
    .navbar-brand { font-size: 1.0em; margin-left: 10px; } 
    #menu-logo { width: 35px; height: 35px; } 
    .menu-toggle { display: block; font-size: 28px; } 
    
    .navbar-links { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background-color: #000033; 
        border-top: 1px solid #b38728; 
        border-bottom: 2px solid #b38728; 
        padding: 0; 
        text-align: center; 
        z-index: 1000; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.9); 
    } 
    
    .navbar-links.active { display: flex; } 
    .navbar-links li { margin: 0; border-bottom: 1px solid rgba(212, 175, 55, 0.2); } 
    .navbar-links a { padding: 12px 10px; font-size: 0.9em; } 

    .content-container, .main-content { padding: 0 10px; margin: 20px auto; }
    
    /* Intro Box Mobile Fix */
    .intro-box { padding: 15px; margin-bottom: 20px; }
    .intro-layout { flex-direction: column; text-align: center; }
    .intro-image-container { margin-top: 20px; }

    /* ✅ FIX: हिस्ट्री कार्ड का टॉप पैडिंग बढ़ाया ताकि लोगो टेक्स्ट को न ढके */
    .history-card { 
        padding-top: 70px !important; 
        padding-right: 15px; 
        padding-bottom: 20px; 
        padding-left: 15px; 
    }
    
    .social-section { padding: 20px 10px; margin-top: 20px; }
    .interaction-bar { gap: 10px; justify-content: space-around; } 

    .hero-title { font-size: 2.2em; }
    .hero-welcome { font-size: 1.8em; }
    .history-heading { font-size: 1.4em; margin-top: 30px; }
    .sub-heading { font-size: 1.1em; display: block; text-align: center; } 
    .sub-heading::before { display: none; } 
    
    .drop-cap { font-size: 3.5em; padding-right: 10px; }
    .action-btn { padding: 6px 10px; font-size: 0.9em; }

    /* ✅ FIX: कार्ड्स के बीच का गैप खत्म किया (Index Page) */
    .card-container { gap: 0px; }
    .jharokha-card { width: 75%; max-width: 300px; margin-bottom: 0px; }
    
    /* Small Footer Mobile */
    footer { padding: 5px 5px !important; }
    .royal-name { font-size: 0.85em !important; margin-bottom: 2px; }
    .fb-link { font-size: 0.75em !important; padding: 3px 10px; margin-top: 5px; }
}
/* =========================================
   GALLERY PAGE STYLES (Paste at bottom of mainstyle.css)
   ========================================= */

.gallery-wrapper { max-width: 1200px; margin: 50px auto; padding: 0 20px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }

.gallery-item { 
    position: relative; overflow: hidden; 
    border: 3px solid #b38728; border-radius: 8px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.5); 
    aspect-ratio: 1/1; cursor: pointer; 
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }

.overlay { 
    position: absolute; bottom: 0; left: 0; width: 100%; 
    background: rgba(0,0,51,0.8); padding: 10px; 
    text-align: center; transform: translateY(100%); 
    transition: 0.3s; 
}
.gallery-item:hover .overlay { transform: translateY(0); }
.img-caption { color: #fcf6ba; font-family: 'Cinzel', serif; font-size: 0.9em; margin: 0; }

/* ✨ LIGHTBOX CSS (IMAGE ZOOM) */
.lightbox { 
    display: none; position: fixed; z-index: 5000; 
    padding-top: 60px; left: 0; top: 0; width: 100%; height: 100%; 
    overflow: auto; background-color: rgba(0, 0, 0, 0.95); 
}
.lightbox-content { 
    margin: auto; display: block; width: 80%; max-width: 800px; 
    max-height: 80vh; object-fit: contain; 
    border: 2px solid #b38728; box-shadow: 0 0 20px #b38728; 
    animation: zoomIn 0.4s; 
}
.close-btn { 
    position: absolute; top: 20px; right: 35px; 
    color: #f1f1f1; font-size: 40px; font-weight: bold; 
    transition: 0.3s; cursor: pointer; 
}
.close-btn:hover { color: #b38728; }

@keyframes zoomIn { from {transform:scale(0)} to {transform:scale(1)} }
@media only screen and (max-width: 700px){ .lightbox-content { width: 95%; } }
/* =========================================
   👑 ROYAL WATERMARK (हर पेज के लिए)
   ========================================= */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* 👇 अपनी फाइल का नाम यहाँ सुनिश्चित करें */
    background-image: url('kasumalgarhlogo.png');
    
    background-position: center; /* लोगो बीच में रहेगा */
    background-repeat: no-repeat; /* बार-बार रिपीट नहीं होगा */
    background-size: 50%; /* स्क्रीन का आधा हिस्सा लेगा (मोबाइल पर छोटा, डेस्कटॉप पर बड़ा) */
    
    opacity: 0.1; /* ✅ सिर्फ 10% दिखेगा (Watermark जैसा) */
    z-index: -1; /* कंटेंट के पीछे रहेगा */
    pointer-events: none; /* इस पर क्लिक नहीं होगा */
}

/* मोबाइल पर लोगो थोड़ा बड़ा दिखे ताकि साफ़ नज़र आए */
@media (max-width: 768px) {
    body::after {
        background-size: 80%; 
    }
}
/* =========================================
   🌟 ULTRA ROYAL UI ENHANCEMENTS
   ========================================= */

/* 1. Custom Scrollbar (शाही स्क्रॉल बार) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000022; /* डार्क बैकग्राउंड */
    border-left: 1px solid #b38728;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #b38728, #fcf6ba, #b38728); /* गोल्डन ग्रेडिएंट */
    border-radius: 6px;
    border: 2px solid #000022;
}

::-webkit-scrollbar-thumb:hover {
    background: #fcf6ba; /* होवर पर चमकेगा */
}

/* 2. Custom Text Selection (टेक्स्ट सेलेक्ट करने का अंदाज़) */
::selection {
    background: #800000; /* मरून बैकग्राउंड */
    color: #fcf6ba; /* क्रीम टेक्स्ट */
    text-shadow: none;
}

/* Firefox के लिए */
::-moz-selection {
    background: #800000;
    color: #fcf6ba;
}
/* 🎵 Music Player Button */
.audio-player {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 2000;
}

#music-btn {
    background: rgba(0, 0, 34, 0.8);
    border: 2px solid #b38728;
    color: #fcf6ba;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(179, 135, 40, 0.5);
}

#music-btn:hover {
    background: #b38728;
    color: #000;
    transform: scale(1.05);
}

#music-btn.playing {
    background: linear-gradient(to right, #bf953f, #aa771c);
    color: #000;
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(179, 135, 40, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(179, 135, 40, 0); }
    100% { box-shadow: 0 0 0 0 rgba(179, 135, 40, 0); }
}
/* =========================================
   👑 FINAL LIVE COUNTER & DROPDOWN CSS
   (Paste this at the very bottom of mainstyle.css)
   ========================================= */

/* =========================================
   👑 UPDATED LIVE COUNTER (SMALL & CORNER)
   ========================================= */

/* Wrapper: कोने में चिपका दिया गया */
.live-counter-wrapper {
    position: fixed;
    bottom: 10px; /* ✅ नीचे से गैप कम (पहले 80px था) */
    left: 10px;   /* ✅ बाएं से गैप कम (कोने में) */
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* बटन का स्टाइल (छोटा किया गया) */
#counter-btn {
    background: rgba(0, 0, 34, 0.95);
    border: 1px solid #b38728; /* बॉर्डर पतला किया */
    color: #fcf6ba;
    
    /* 👇 साइज छोटा करने के लिए ये बदला */
    padding: 4px 10px;   
    font-size: 0.75em;   
    
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 5px rgba(179, 135, 40, 0.5);
    transition: all 0.3s ease;
    z-index: 2002;
}

#counter-btn:hover {
    background: #b38728;
    color: #f3e5e5;
    transform: scale(1.05);
}

#counter-btn.expanded {
    background: linear-gradient(to right, #000033, #000066);
    border-color: #fcf6ba;
}

/* लिस्ट का बॉक्स (छोटा किया गया) */
#live-details {
    background: rgba(0, 0, 34, 0.95);
    border: 1px solid #b38728;
    border-radius: 8px;
    margin-top: 3px;
    
    /* 👇 चौड़ाई और फॉन्ट छोटा किया */
    width: 80px;       
    font-size: 0.75em;  
    
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 10px; 
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    
    color: #fcf6ba;
    font-family: 'Cinzel', serif;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 2001;
}

#live-details.show {
    max-height: 300px !important;
    opacity: 1 !important;
    padding: 8px 10px !important;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    border-bottom: 1px dashed rgba(179, 135, 40, 0.3);
}

.detail-row:last-child {
    border-bottom: none;
}
.gold-dust {
    position: fixed;
    top: -10%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #ffd700;
    box-shadow: 0 0 10px #ffd700, 0 0 20px #b38728;
    border-radius: 50%;
    animation: fall 10s linear infinite;
    z-index: 1; /* कंटेंट के पीछे */
    opacity: 0.6;
}

.gold-dust:nth-child(2) { left: 20%; animation-duration: 15s; width: 6px; height: 6px; }
.gold-dust:nth-child(3) { left: 80%; animation-duration: 12s; width: 8px; height: 8px; }

@keyframes fall {
    0% { transform: translateY(-10vh) rotate(0deg); opacity: 0; }
    20% { opacity: 0.8; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}
/* =========================================
   🛑 NEW UPDATES (PASTE AT THE VERY BOTTOM)
   ========================================= */

/* 1. Navbar Height Correction (45px & Sleek) */
.navbar {
    padding: 0 15px !important; /* पैडिंग कम की */
    height: 35px !important;    /* पुरानी height को बदल दिया */
    min-height: 40px !important;
}

#menu-logo {
    width: 28px !important;
    height: 28px !important;
}

.navbar-brand {
    font-size: 1.1em !important;
}

/* 2. Desktop Dropdown Menu (Vanshawali) */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #000033;
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.8);
    border: 1px solid #b38728;
    border-top: 3px solid #b38728;
    z-index: 5000;
    top: 100%;
    left: 0;
    border-radius: 0 0 5px 5px;
}

.dropdown-content a {
    color: #fcf6ba !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9em;
    text-align: left;
    border-bottom: 1px solid rgba(179, 135, 40, 0.3);
}

.dropdown-content a:hover {
    background-color: #b38728;
    color: #000 !important;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 3. Footer Fix (Straight & No Curve) */
footer {
    border-radius: 0 !important; /* गोल कोना हटाया */
    margin-top: 30px !important;
    border-top: 2px solid #b8860b !important;
    background-color: #000033 !important;
    /* अगर पुरानी इमेज हटानी हो तो इसे अनकमेंट करें: */
    /* background-image: none !important; */
}

/* 4. Mobile Menu Popup (New Blue Style) */
/* पुराने मोबाइल मेनू लॉजिक को छिपाना */
@media (max-width: 768px) {
    .navbar-links { display: none !important; } /* पुरानी लिस्ट छुपाई */
    .menu-toggle { display: block !important; }
}

/* नया पॉपअप बॉक्स */
.mobile-menu-overlay {
    position: fixed;
    top: 40px; /* 45px पट्टी के नीचे */
    right: 0;
    width: 200px;
    background-color: #000033 !important; /* Blue Color */
    border: 1px solid #b8860b;
    border-right: none;
    border-radius: 0 0 0 10px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    padding: 0;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.5);
    z-index: 9999;
    display: block; 
}

.mobile-menu-overlay.open {
    transform: scaleX(1);
}

.mobile-links {
    list-style: none; padding: 0; margin: 0;
}

.mobile-links li a {
    display: block; padding: 8px 12px;
    color: #fcf6ba !important;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(184, 134, 11, 0.2);
    transition: 0.2s;
}

.mobile-links li a:hover {
    background-color: #b38728;
    color: #000 !important;
}

/* मोबाइल ड्रॉपडाउन इंडेंट */
.mobile-sub-link {
    background-color: #000022 !important;
    padding-left: 30px !important;
    font-size: 0.85em !important;
    color: #d4af37 !important;
    border-left: 3px solid #b8860b;
}

/* डेस्कटॉप पर मोबाइल मेनू न दिखे */
@media (min-width: 769px) {
    .mobile-menu-overlay { display: none !important; }
}
/* =========================================
   🛑 FINAL DESIGN UPDATE (Logo, Rounded Menu, Slider)
   Paste this at the VERY BOTTOM of mainstyle.css
   ========================================= */

/* 1. Navbar: Background Image + Rounded Bottom Corners */
.navbar {
    /* नीचे के कोने गोल (Rounded Corners) */
    border-radius: 0 0 20px 20px !important; /* 20px का घुमाव */
    
    /* बॉर्डर पतला (1px) और गोल्डन */
    border-bottom: 2px solid #b38728 !important; 
    
    /* बैकग्राउंड इमेज (bg.png) + डार्क लेयर (ताकि ओपेसिटी कम लगे) */
    background: linear-gradient(rgba(0, 0, 51, 0.85), rgba(0, 0, 51, 0.85)), url('bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    
    /* साइड से थोड़ा गैप ताकि गोल कोने साफ़ दिखें (Optional) */
    margin: 0 10px !important; 
    width: auto !important;
}

/* 2. Menu Logo: गोल घेरा और बैकग्राउंड हटाया */
#menu-logo {
    border-radius: 0 !important;        /* गोल हटाया */
    border: none !important;            /* बॉर्डर हटाया */
    box-shadow: none !important;        /* चमक हटाई */
    background: transparent !important; /* पीछे का सफेद रंग हटाया */
    padding: 0 !important;
    width: 90px !important;             /* साइज एडजस्टमेंट */
    height: 40px !important;
}

/* 3. Profile Item: हल्का ब्रोंज/गोल्डन ट्रांसपेरेंट */
.profile-item {
    background: rgba(184, 134, 11, 0.15) !important; /* Bronze tint */
    border: 1px solid rgba(184, 134, 11, 0.4) !important;
    backdrop-filter: blur(3px); /* हल्का धुंधला इफेक्ट */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
}
.profile-item:hover {
    background: rgba(184, 134, 11, 0.3) !important; 
}

/* 4. Mobile Slider: पूरी फोटो दिखाने के लिए */
@media (max-width: 768px) {
    .hero-section {
        /* ऊंचाई कम की ताकि फोटो ज्यादा न कटे */
        height: 250px !important; 
        
        /* फोटो को बॉक्स में फिट करना (पूरी दिखेगी) */
        background-size: 100% 100% !important;
        background-repeat: no-repeat !important;
    }

    /* टेक्स्ट एडजस्टमेंट ताकि फोटो पर सही दिखे */
    .hero-title { font-size: 1.8em !important; margin-top: 5px !important; }
    .hero-welcome { font-size: 1.2em !important; }
    .divider-ornament { font-size: 20px !important; margin: 5px 0 !important; }
}

/* 5. Mobile Menu Adjustment (Rounded Navbar के कारण) */
@media (max-width: 768px) {
    .navbar {
        margin: 0 !important; /* मोबाइल पर फुल width रहे */
        border-radius: 0 0 15px 15px !important; /* थोड़ा कम गोल */
    }
}
/* =========================================
   ✅ FINAL UPDATES (Slider Zoom & Footer)
   Paste at the VERY BOTTOM of mainstyle.css
   ========================================= */

/* --- 1. Footer Top Rounded (किले की दीवार जैसा) --- */
footer {
    /* ऊपर के कोने गोल, नीचे के सीधे */
    border-radius: 30px 30px 0 0 !important; 
    
    /* ऊपर गोल्डन बॉर्डर */
    border-top: 3px solid #b8860b !important;
    
    /* साइड और नीचे का बॉर्डर हटाया (ताकि अजीब न लगे) */
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    
    /* थोड़ा मार्जिन ताकि कंटेंट से दूर रहे */
    margin-top: 40px !important;
    padding-bottom: 20px !important;
}

/* --- 2. Slider Ken Burns Effect (Slow Zoom) --- */
@keyframes royalZoom {
    0% { background-size: 100% 100%; }
    100% { background-size: 110% 110%; } /* हल्का सा ज़ूम होगा */
}

.hero-section {
    /* एनीमेशन जोड़ें (20 सेकंड में धीरे-धीरे ज़ूम होगा और वापस आएगा) */
    animation: royalZoom 20s infinite alternate ease-in-out !important;
    
    /* मोबाइल के लिए इमेज फिटिंग (जैसा आपने तय किया था) */
    background-repeat: no-repeat !important;
}

/* मोबाइल पर थोड़ा कम ज़ूम (ताकि इमेज बाहर न भागे) */
@media (max-width: 768px) {
    @keyframes royalZoom {
        0% { background-size: 100% 100%; }
        100% { background-size: 105% 105%; }
    }
}
```css
/* =========================================
   FINAL ROYAL SEAL FIX (SMALLER SIZE)
   ========================================= */

.royal-seal {
    display: block !important;
    position: relative !important;
    
    /* 👇 साइज छोटा कर दिया (पहले 250px था) */
    width: 40px !important; 
    
    /* सेंटर में रखने के लिए */
    margin: 10px auto 0 auto !important; 
    
    /* स्पष्टता */
    opacity: 0.9 !important; 
    
    z-index: 2 !important;
    pointer-events: none !important;
}
/* =========================================
   FINAL FIX: MENU CUTTING ISSUE (Mobile & PC)
   ========================================= */

.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    
    /* ✅ चौड़ाई को स्क्रीन के बराबर फिक्स किया */
    width: 100% !important; 
    max-width: 100vw !important; /* स्क्रीन से बाहर नहीं जाने देगा */
    margin: 0 !important; /* मार्जिन हटाया ताकि कोनों से न कटे */
    
    /* ✅ पैडिंग सेट की ताकि कंटेंट किनारों से चिपके नहीं */
    padding: 5px 15px !important; 
    box-sizing: border-box !important; /* पैडिंग को चौड़ाई में ही गिनेगा */
    
    z-index: 9999 !important;
    
    /* फ्लैक्सबॉक्स सेटिंग्स (ताकि लोगो बाएं और लिंक दाएं रहें) */
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* 2. कंटेंट को मेनू के पीछे छिपने से बचाने के लिए */
body {
    padding-top: 70px !important;
    overflow-x: hidden !important; /* क्षैतिज स्क्रॉल बंद */
}

/* 3. मोबाइल सेटिंग्स: टॉगल बटन को स्क्रीन के अंदर लाना */
@media (max-width: 768px) {
    .navbar {
        padding: 5px 20px !important; /* मोबाइल पर दोनों तरफ 20px जगह छोड़ी */
    }
    
    .menu-toggle {
        margin-right: 5px !important; /* थोड़ा और अंदर खिसकाया */
    }
}

/* 4. डेस्कटॉप सेटिंग्स: गैलरी लिंक को अंदर लाना */
@media (min-width: 769px) {
    .navbar-links {
        padding-right: 20px !important; /* दाएँ तरफ जगह बनाई */
        display: flex;
        gap: 15px; /* लिंक्स के बीच गैप थोड़ा कम किया ताकि सब फिट हो जाएं */
    }
}
/* =========================================
   ✅ FIX: NAVBAR FULL WIDTH (Index Page)
   Paste at the VERY BOTTOM of mainstyle.css
   ========================================= */

.navbar {
    /* 1. पूरी चौड़ाई (Full Width) सेट करें */
    width: 100% !important;
    max-width: 100% !important;
    
    /* 2. साइड की खाली जगह (Gap) हटाएं */
    margin: 0 !important;
    padding: 5px 20px !important; /* अंदर थोड़ा स्पेस */
    
    /* 3. कोने सेट करें (नीचे से गोल, ऊपर से सीधे) */
    border-radius: 0 0 20px 20px !important; 
    
    /* 4. पोजीशन फिक्स */
    top: 0 !important;
    left: 0 !important;
}

/* मोबाइल के लिए भी एकदम फिट */
@media (max-width: 768px) {
    .navbar {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 0 15px 15px !important;
    }
}
/* =========================================
   🚀 FIX: REMOVE GAP BETWEEN MENU & SLIDER
   Paste at the VERY BOTTOM of mainstyle.css
   ========================================= */

/* 1. बॉडी की ऊपर की जगह (Padding) को एडजस्ट करें */
body {
    /* पहले यह 70px था, इसे कम करके 60px (मेनू की हाइट) कर दिया */
    padding-top: 40px !important; 
    overflow-x: hidden !important;
}

/* 2. स्लाइडर (Hero Section) को बिल्कुल ऊपर सटाएं */
.hero-section {
    margin-top: 0px !important;
    
    /* अगर अभी भी बाल बराबर गैप दिखे, तो इसे -1px कर दें */
    /* margin-top: -1px !important; */
}

/* 3. मोबाइल के लिए (क्योंकि मोबाइल मेनू थोड़ा छोटा हो सकता है) */
@media (max-width: 768px) {
    body {
        /* मोबाइल पर मेनू पतला होता है, इसलिए जगह कम छोड़ी */
        padding-top: 50px !important; 
    }
}
.qr-box {
    background: white;
    padding: 8px;
    border-radius: 10px;
    display: inline-block;
    border: 2px solid #897148;
    margin: 10px 0;
}

#main-qr {
    width: 110px;
    height: 110px;
    display: block;
}

.royal-install-btn {
    background: linear-gradient(135deg, #000046, #1cb5e0);
    color: #ffd700;
    border: 2px solid #897148;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.device-help {
    font-size: 0.65rem;
    color: #897148;
    margin-top: 10px;
    line-height: 1.4;
}
