/*
=================================================================
Raahgiri Theme - THE ONE, FINAL, AND COMPLETE STYLESHEET
Version: 3.0
This file contains all unified styles for the entire website.
=================================================================
*/

/* --- 1. VARIABLES & GLOBAL RESETS --- */
:root {
    --primary-color: #FF9933; /* Saffron */
    --secondary-color: #138808; /* India Green */
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); background-color: var(--light-color); color: var(--dark-color); line-height: 1.6; }
.container { max-width: 1100px; margin: auto; padding: 0 20px; }
h1, h2, h3 { font-weight: 600; }
a { text-decoration: none; }

/* --- 2. HEADER & NAVIGATION --- */
header { background: var(--white-color); padding: 1rem 0; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1000; }
header .container { display: flex; justify-content: space-between; align-items: center; }
header .logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); }
header nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
header nav li { margin-left: 2rem; }
header nav a { color: var(--dark-color); font-weight: 500; padding-bottom: 5px; }
header nav .current-menu-item a { color: var(--primary-color); border-bottom: 2px solid var(--primary-color); }

/* --- 3. Home Page Styles (IMPROVED HERO SECTION) --- */

.cta-button { display: inline-block; background: var(--primary-color); color: var(--white-color); padding: 1rem 2.5rem; border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 600; margin-top: 25px; }
.hero { background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1548013146-72479768bada?auto=format&fit=crop&q=80&w=2070') no-repeat center center/cover; height: 80vh; display: flex; justify-content: center; align-items: center; text-align: center; color: var(--white-color); }
.hero h1 { font-size: 3.5rem; }
.hero p { font-size: 1.25rem; }
.info-section { padding: 5rem 0; }
.info-section h2 { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; }
.steps-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2.5rem; }
.step-card { text-align: center; }
.step-icon { font-size: 3rem; color: var(--primary-color); background: #fff; width: 80px; height: 80px; line-height: 80px; border-radius: 50%; margin: 0 auto 1.5rem auto; box-shadow: var(--shadow); }
.stories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.story-card { background: var(--white-color); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.3s; }
.story-card:hover { transform: translateY(-10px); }
.story-card img { width: 100%; height: 220px; object-fit: cover; }
.story-content { padding: 1.5rem; }
.read-more { color: var(--primary-color); font-weight: 600; margin-top: 1rem; display: inline-block; }


}

/* --- 4. AI TOOL PAGE STYLES --- */
#tool-page { padding: 4rem 0; }
#multi-step-container { max-width: 700px; margin: 0 auto; background: var(--white-color); padding: 2rem 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-step { display: none; } .form-step.active-step { display: block; }
#progress-bar { display: flex; justify-content: space-between; margin-bottom: 2.5rem; }
.progress-step { width: 100%; text-align: center; }
.progress-step .step-icon { width: 40px; height: 40px; border-radius: 50%; background: #e0e0e0; color: #fff; display: inline-flex; justify-content: center; align-items: center; font-weight: 600; }
.progress-step.active .step-icon { background: var(--primary-color); }
.progress-step.completed .step-icon { background: var(--secondary-color); }
.step-title { font-size: 1.8rem; text-align: center; margin-bottom: 2rem; }
.form-group input { width: 100%; padding: 1rem; border: 2px solid #ccc; border-radius: 8px; font-size: 1.1rem; text-align: center; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.choice-box { border: 2px solid #ddd; border-radius: 8px; padding: 1rem; text-align: center; cursor: pointer; }
.choice-box i { font-size: 2rem; color: var(--primary-color); margin-bottom: 0.5rem; }
.choice-box.selected { border-color: var(--primary-color); background: #fff8f0; }
.form-navigation { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; }
.nav-btn { background: #e0e0e0; color: #333; padding: 0.8rem 2rem; border: none; border-radius: 8px; cursor: pointer; }
.nav-btn.next-btn { background: var(--primary-color); color: var(--white-color); }

/* --- 5. BLOG & CONTENT PAGE STYLES --- */
.page-container { padding: 3rem 20px; }
.page-title { font-size: 2.8rem; text-align: center; margin-bottom: 3rem; }
.blog-posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.blog-post-card { background: var(--white-color); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.post-thumbnail-link img { display: block; width: 100%; height: 220px; object-fit: cover; }
.post-content { padding: 1.5rem; }
.post-title { font-size: 1.4rem; margin-bottom: 0.75rem; }
.post-title a { color: var(--dark-color); }
.read-more-link { color: var(--primary-color); font-weight: 700; }
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white-color); border-radius: var(--radius); margin-bottom: 1rem; border: 1px solid #eee; }
.faq-question { padding: 1rem 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.faq-question i { color: var(--primary-color); transition: transform 0.3s ease; }
.faq-question.active i { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.5rem 1.5rem; border-top: 1px solid #eee; }

/* --- 6. FOOTER STYLES --- */
.site-footer { background-color: var(--dark-color); color: #bdc3c7; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .logo-text { font-size: 1.8rem; color: var(--primary-color); }
.footer-brand .tagline { margin-top: 1rem; }
.social-links { margin-top: 1.5rem; }
.social-links a { color: var(--white-color); font-size: 1.3rem; margin-right: 1rem; }
.footer-links h4 { color: var(--white-color); margin-bottom: 1rem;} 
.footer-links ul { list-style: none; padding: 0;} .footer-links ul li { margin-bottom: 0.7rem; }
.footer-links ul li a { color: #bdc3c7; }
.footer-bottom { text-align: center; padding: 1.5rem 0; margin-top: 2rem; border-top: 1px solid #444; }

/* --- 7. MOBILE RESPONSIVE & HAMBURGER MENU --- */
#mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--dark-color); cursor: pointer; }
@media (max-width: 768px) {
    header .container { flex-direction: row; }
    #mobile-menu-toggle { display: block; }
    header nav#main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--white-color); box-shadow: var(--shadow); }
    header nav#main-nav ul { flex-direction: column; }
    header nav#main-nav li { margin: 0; }
    header nav#main-nav a { display: block; padding: 1rem 1.5rem; border-bottom: 1px solid #f0f0f0; }
    .hero h1 { font-size: 2.5rem; }
    .steps-container, .stories-grid, .footer-grid { grid-template-columns: 1fr; }
}
/* --- NEW: Footer Link Hover Effect --- */

.footer-links ul li a {
    /* Adding a smooth transition */
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links ul li a:hover {
    /* Change color to the brand's primary color */
    color: var(--primary-color);
    /* Move the text slightly to the right for a nice effect */
    transform: translateX(5px);
}
/* --- NEW: Visual "How It Works" Section Styles --- */

.visual-steps-container {
    margin-top: 4rem;
}

.visual-step {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

/* Alternate layout for the second step */
.visual-step.alt-layout .step-text-content {
    order: 2; /* Text comes second */
}
.visual-step.alt-layout .step-image-content {
    order: 1; /* Image comes first */
}

.step-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-text-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.step-text-content p {
    color: #555;
    line-height: 1.7;
}

.step-image-content img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive styles for the new section */
@media (max-width: 768px) {
    .visual-step,
    .visual-step.alt-layout {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        text-align: center;
    }
    .visual-step.alt-layout .step-text-content,
    .visual-step.alt-layout .step-image-content {
        order: initial; /* Reset order on mobile */
    }
}
/*
=================================================================
--- FINAL: Journey Inspirations Grid Styles (with Image Overlay) ---
=================================================================
*/

.inspiration-grid {
    display: grid;
    /* This creates the Pinterest-style masonry layout */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 250px; /* Base height for rows */
    gap: 1.5rem;
}

.inspiration-card {
    position: relative; /* This is the anchor for the text overlay */
    display: block;
    border-radius: var(--radius);
    overflow: hidden; /* Important for the zoom effect */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* This makes some cards taller for the masonry effect */
.inspiration-card:nth-child(2),
.inspiration-card:nth-child(3) {
    grid-row: span 2; /* Make the 2nd and 3rd cards twice as tall */
}

.inspiration-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out; /* Zoom effect transition */
}

/* ZOOM EFFECT ON HOVER */
.inspiration-card:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay to make text readable */
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    z-index: 1; /* Below the text */
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    color: var(--white-color);
    z-index: 2; /* On top of the overlay */
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.card-excerpt {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
}

/* Responsive styles for the grid */
@media (max-width: 768px) {
    .inspiration-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
        grid-auto-rows: 300px; /* Give a fixed height on mobile */
    }
    /* Reset the masonry effect on mobile */
    .inspiration-card:nth-child(2),
    .inspiration-card:nth-child(3) {
        grid-row: auto;
    }
}
=================================================================
--- FINAL: Mobile Hamburger Menu Styles ---
=================================================================
*/

/* Hide hamburger button on desktop */
#mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    z-index: 1001;
}

/* Styles for Mobile and Tablet (768px and smaller) */
@media (max-width: 768px) {
    
    /* Make sure logo and button are on the same line */
    header .container {
        flex-direction: row; 
    }

    /* Show the hamburger button */
    #mobile-menu-toggle {
        display: block;
    }

    /* On mobile, the desktop menu is hidden completely */
    header nav#main-nav {
        display: none;
        position: absolute;
        top: 75px; /* Adjust if your header height changes */
        left: 0;
        width: 100%;
        background: var(--white-color);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    /* Style the list inside the mobile menu */
    header nav#main-nav ul {
        flex-direction: column;
    }

    header nav#main-nav li {
        margin: 0;
        width: 100%;
    }

    header nav#main-nav a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #f0f0f0;
    }

    header nav .current-menu-item a {
        border-bottom: 1px solid #f0f0f0;
        color: var(--primary-color);
    }
}
/* --- NEW: SEO Content Section on AI Tool Page --- */

#tool-seo-content {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--white-color);
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

#tool-seo-content .section-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
}

.seo-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: left;
}

.seo-content-text h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.seo-content-text p {
    color: #555;
    line-height: 1.7;
}
/*
=================================================================
--- FINAL FIX: Improved SEO Content Section Styles ---
=================================================================
*/

#tool-seo-content {
    padding: 3rem 0; /* Adding some vertical space */
    background: none; /* Removing the old white background */
    box-shadow: none; /* Removing the old shadow */
}

/* This is the main grid container */
.visual-seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

/* This will be our new "card" for each item */
.visual-seo-item {
    background: var(--white-color);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    text-align: center; /* Center align all content */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visual-seo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.seo-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: #fff8f0; /* Light orange background */
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto; /* Center the icon */
}

.visual-seo-item h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.visual-seo-item p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}
/*
==================================================
--- FINAL CSS FIX FOR AI TOOL PAGE ---
==================================================
*/

/* This ensures the entire tool page has the correct padding */
#tool-page { 
    padding: 4rem 20px; 
}

/* This fixes the alignment of the input field text */
.form-group input {
    text-align: center;
}

/* This fixes the layout of the choice boxes (Adventure, Spiritual, etc.) */
.choice-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 1rem; 
}
.choice-box { 
    border: 2px solid #ddd; 
    border-radius: 8px; 
    padding: 1rem; 
    text-align: center; 
    cursor: pointer; 
}
.choice-box i { 
    font-size: 2rem; 
    color: var(--primary-color); 
    margin-bottom: 0.5rem; 
}
.choice-box.selected { 
    border-color: var(--primary-color); 
    background: #fff8f0; 
}

/* This fixes the layout of the "Back" and "Continue" buttons */
.form-navigation { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: 2rem; 
}
.nav-btn { 
    background: #e0e0e0; 
    color: #333; 
    padding: 0.8rem 2rem; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
}
.nav-btn.next-btn { 
    background: var(--primary-color); 
    color: var(--white-color); 
}
/*
=================================================================
--- FINAL POLISH & ALIGNMENT FIXES ---
=================================================================
*/

/* --- 1. "How It Works" - Number Alignment Fix --- */
.step-text-content {
    overflow: hidden; /* This is a modern way to clear floats */
}
.step-number {
    float: left; /* Pull the number to the left */
    margin-right: 1.5rem; /* Add space between number and text */
    font-size: 2.5rem; /* Make the number a bit bigger */
    line-height: 1; /* Adjust line height for perfect alignment */
}
.visual-step.alt-layout .step-number {
    float: right; /* For the alternate layout, pull it to the right */
    margin-left: 1.5rem;
    margin-right: 0;
}
.step-text-content h3 {
    text-align: left; /* Align heading to the left */
}
.step-text-content p {
    text-align: left; /* Align paragraph to the left */
}
/* Mobile fix for this section */
@media (max-width: 768px) {
    .step-number {
        float: none; /* Remove float on mobile */
        margin: 0 auto 1rem auto; /* Center the number */
    }
    .visual-step .step-text-content,
    .visual-step.alt-layout .step-text-content {
        text-align: center; /* Center everything on mobile */
    }
    .step-text-content h3,
    .step-text-content p {
        text-align: center;
    }
}


/* --- 2. General Polish for a Premium Look --- */

/* Slightly smaller and more elegant section titles */
.info-section h2, .page-title {
    font-size: 2.2rem;
}

/* Add a subtle hover effect to the main CTA button */
.cta-button {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Add a hover effect to footer links */
.footer-links ul li a {
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-links ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}