/* ===========================
   Global Styles & Variables
   =========================== */
:root {
    /* Indian Heritage Colors */
    --saffron: #FF9933;
    --deep-orange: #FF6B35;
    --golden-yellow: #FFD700;
    --earthy-brown: #8B4513;
    --terracotta: #C14D36;
    --deep-red: #B22222;
    --warm-cream: #FFF8DC;
    --light-gold: #F5DEB3;
    --dark-brown: #3E2723;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --grey: #666666;
    --light-grey: #F5F5F5;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--saffron) 0%, var(--deep-orange) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(255, 153, 51, 0.9) 0%, rgba(193, 77, 54, 0.9) 100%);
    --gradient-overlay: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* ===========================
   Navigation Bar
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--saffron);
    font-family: 'Cinzel', serif;
}

.nav-brand i {
    font-size: 2rem;
    color: var(--deep-orange);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--saffron);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown .nav-link i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: var(--transition);
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 1rem;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--black);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-content a:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-content a:last-child {
    border-radius: 0 0 8px 8px;
}

.dropdown-content a:hover {
    background: var(--light-gold);
    border-left-color: var(--saffron);
    color: var(--deep-orange);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--saffron);
    transition: var(--transition);
    border-radius: 3px;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    background-image: 
        var(--gradient-overlay),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,100 600,300 T1200,300" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><path d="M0,350 Q300,150 600,350 T1200,350" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="200" cy="150" r="5" fill="rgba(255,215,0,0.3)"/><circle cx="800" cy="400" r="5" fill="rgba(255,215,0,0.3)"/><circle cx="1000" cy="200" r="5" fill="rgba(255,215,0,0.3)"/></svg>');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 215, 0, 0.03) 2px,
        rgba(255, 215, 0, 0.03) 4px
    );
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,215,0,0.1), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

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

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--golden-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-author {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-author span {
    color: var(--golden-yellow);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--white);
    color: var(--deep-orange);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--golden-yellow);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--deep-orange);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===========================
   Section Styles
   =========================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-brown);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--grey);
    margin-bottom: 1rem;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* ===========================
   Introduction Section
   =========================== */
.introduction {
    background: var(--light-grey);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-block {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.intro-icon {
    font-size: 3rem;
    color: var(--saffron);
    flex-shrink: 0;
}

.intro-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--deep-orange);
    line-height: 1.8;
}

.intro-story {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    border-left: 5px solid var(--saffron);
}

.intro-story h3 {
    font-size: 2rem;
    color: var(--dark-brown);
    margin-bottom: 1.5rem;
    font-family: 'Cinzel', serif;
}

.intro-story p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--black);
}

.highlight-text {
    background: linear-gradient(to right, rgba(255, 153, 51, 0.2), rgba(255, 215, 0, 0.2));
    padding: 1rem;
    border-left: 4px solid var(--saffron);
    border-radius: 5px;
    font-style: italic;
}

.emphasis {
    color: var(--deep-orange);
    font-weight: 700;
    font-size: 1.1em;
}

.quote {
    position: relative;
    background: var(--light-gold);
    padding: 2rem 3rem;
    margin: 2rem 0;
    border-radius: 10px;
    border-left: 5px solid var(--golden-yellow);
}

.quote .fa-quote-left {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 2rem;
    color: var(--saffron);
    opacity: 0.3;
}

.quote .fa-quote-right {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 2rem;
    color: var(--saffron);
    opacity: 0.3;
}

.quote-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--deep-red);
    font-style: italic;
    line-height: 1.8;
}

.revelation {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--deep-orange);
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 153, 51, 0.1);
    border-radius: 10px;
    margin: 2rem 0;
}

.think-text {
    text-align: center;
    font-size: 1.3rem;
    color: var(--terracotta);
    margin: 2rem 0;
}

.important-text {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.2), rgba(193, 77, 54, 0.2));
    padding: 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    color: var(--dark-brown);
}

.intro-truth {
    background: var(--warm-cream);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
}

.intro-truth h3 {
    font-size: 1.8rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.intro-truth p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.call-to-action-section {
    background: linear-gradient(135deg, var(--saffron), var(--deep-orange));
    padding: 3rem;
    border-radius: 15px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.call-to-action-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.call-to-action-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.explore-text {
    font-style: italic;
    font-weight: 500;
}

.series-announcement {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.series-announcement h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.series-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--golden-yellow);
    font-family: 'Cinzel', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.final-call {
    font-weight: 600;
    font-size: 1.2rem;
}

.closing-message {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

/* ===========================
   Chapters Section
   =========================== */
.chapters {
    background: var(--white);
}

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.chapter-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.chapter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.chapter-card:hover {
    transform: translateY(-10px);
    border-color: var(--saffron);
    box-shadow: var(--shadow-lg);
}

.chapter-card:hover::before {
    transform: scaleX(1);
}

.chapter-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-gold);
    font-family: 'Cinzel', serif;
    margin-bottom: 1rem;
}

.chapter-title {
    font-size: 1.5rem;
    color: var(--dark-brown);
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.chapter-description {
    color: var(--grey);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.chapter-icon {
    font-size: 2rem;
    color: var(--saffron);
    text-align: right;
}

/* ===========================
   Author Section
   =========================== */
.author {
    background: var(--light-grey);
}

.author-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.author-image {
    font-size: 10rem;
    color: var(--saffron);
    flex-shrink: 0;
}

.author-info h3 {
    font-size: 2rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.author-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 1rem;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    background: var(--white);
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--grey);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.contact-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--dark-brown);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--golden-yellow);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.footer-brand i {
    font-size: 2.5rem;
    color: var(--saffron);
}

.footer-tagline {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--light-gold);
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--grey);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        gap: 1rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 0.5rem;
        display: none;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .intro-block {
        flex-direction: column;
        text-align: center;
    }
    
    .intro-story {
        padding: 2rem;
    }
    
    .chapters-grid {
        grid-template-columns: 1fr;
    }
    
    .author-content {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        font-size: 6rem;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .intro-story h3 {
        font-size: 1.5rem;
    }
    
    .series-title {
        font-size: 2rem;
    }
}
