/* ==========================================================================
   1. जनरल सेटिंग्स और रीसेट
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f7f4eb;
    color: #333;
    overflow-x: hidden;
}

/* ==========================================================================
   2. हेडर और नेविगेशन मेनू
   ========================================================================== */
header {
    background-color: #111a24;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 4%;
    border-bottom: 3px solid #d4af37;
    position: relative;
    z-index: 100;
}

nav {
    display: flex;
    align-items: center;
    order: 1;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a,
.nav-auth-btn {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

nav ul li a:hover,
nav ul li a.active,
.nav-auth-btn:hover {
    color: #d4af37;
}

.menu-trigger {
    font-size: 22px;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    margin-right: 15px;
    padding: 5px;
    transition: 0.3s;
}

.menu-trigger:hover {
    color: #d4af37;
}

/* ==========================================================================
   3. कॉर्पोरेट ब्रैंडिंग (लोगो कंटेनर)
   ========================================================================== */
.logo-container {
    display: flex;
    align-items: center;
    order: 2;
    text-align: right;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.brand-name {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1;
}

.sub-text {
    color: #bdc3c7;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

/* ==========================================================================
   4. स्लाइडिंग साइडबार मेनू
   ========================================================================== */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: #111a24;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: 0.4s ease-in-out;
    padding: 80px 30px 30px 30px;
    display: flex;
    flex-direction: column;
}

.sidebar.open {
    left: 0;
}

.sidebar-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

.sidebar-close:hover {
    color: #d4af37;
}

.sidebar-menu {
    list-style: none;
    margin-top: 20px;
}

.sidebar-menu li {
    margin-bottom: 20px;
}

.sidebar-menu li a,
.sidebar-menu li button {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: 0.3s;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
}

.sidebar-menu li a:hover,
.sidebar-menu li button:hover {
    background-color: rgba(212, 175, 55, 0.2);
    color: #d4af37;
}

.sidebar-menu li button.delete-btn {
    color: #ff4d4d;
}

.sidebar-menu li button.delete-btn:hover {
    background-color: rgba(255, 77, 77, 0.2);
}

/* ==========================================================================
   5. डायनामिक ट्रांजिशन हीरो बैनर (index.html के लिए)
   ========================================================================== */
.hero {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
    border-bottom: 5px solid #d4af37;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 26, 36, 0.75);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 40px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.tagline {
    font-size: 16px;
    color: #d4af37;
    margin-bottom: 25px;
    letter-spacing: 3px;
}

/* ==========================================================================
   6. मुख्य लेआउट ग्रिड और बटन कंटेनर
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.action-explore-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    background-color: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    letter-spacing: 1.5px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
    z-index: 5;
}

.action-explore-btn:hover {
    background-color: #d4af37;
    color: #111a24;
    box-shadow: 0 0 15px rgba(214, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* ==========================================================================
   7. सुंदर लॉगिन / ऑथेंटिकेशन इंटरफ़ेस डिज़ाइन
   ========================================================================== */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 160px);
    padding: 40px 20px;
}

.auth-card {
    background: #fff;
    width: 100%;
    max-width: 480px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #d4af37;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #111a24;
    position: relative;
    padding-bottom: 8px;
}

.auth-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #d4af37;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111a24;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: 0.3s;
    background: #fafafa;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #d4af37;
    outline: none;
    background: #fff;
}

.auth-btn {
    width: 100%;
    padding: 14px;
    background: #111a24;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.auth-btn:disabled {
    cursor: wait;
}

.auth-btn:hover {
    background: #d4af37;
    color: #111a24;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.auth-links a {
    color: #111a24;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.auth-links a:hover {
    color: #d4af37;
}

.auth-divider {
    margin: 5px 0;
    color: #ccc;
    display: inline-block;
    padding: 0 8px;
}

/* ==========================================================================
   8. फुटर एवं रिस्पॉन्सिव मीडिया क्वेरीज़
   ========================================================================== */
footer {
    background-color: #0b1118;
    color: #a0aab5;
    padding: 25px 6%;
    font-size: 14px;
    border-top: 4px solid #d4af37;
    text-align: center;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .logo-container {
        order: 1;
    }

    .logo-text {
        align-items: center;
    }

    nav {
        order: 2;
        justify-content: center;
        width: 100%;
    }

    .container {
        grid-template-columns: 1fr;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 8px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .auth-card {
        padding: 25px 18px;
        overflow-x: auto;
    }
}

/* ==========================================================================
   9. प्रोफेशनल बॉक्स टॉगल और एनिमेटेड क्लासेस
   ========================================================================== */
.hidden-card {
    display: none !important;
    opacity: 0;
    transform: translateY(15px);
}

.active-card {
    display: block !important;
    animation: professionalFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes professionalFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* एक्टिव मेनू स्टेट फिक्सर क्लास */
nav ul li a.active,
.sidebar-menu li a.active,
.nav-auth-btn.active {
    color: #d4af37 !important;
    font-weight: 700;
}
/* ==========================================================================
   10. Home / About कंटेंट कार्ड्स
   ========================================================================== */
.info-block,
.content-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #d4af37;
    line-height: 1.7;
}

.info-block h2,
.content-box h2 {
    color: #111a24;
    font-size: 22px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.content-box p + p {
    margin-top: 8px;
}
