/*
 Theme Name:   GeneratePress Child
 Template:     generatepress
 Description:  Child theme for GeneratePress
 Version:      1.1.0
*/


/* =============================================
   1. HIDE REDUNDANT "HOME" TITLE ON FRONT PAGE
   ============================================= */

.home .entry-header {
    display: none;
}


/* =============================================
   2. ENHANCED SITE TITLE
   ============================================= */

.main-title {
    font-size: 55px !important;
    letter-spacing: 0.03em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .main-title {
        font-size: 36px !important;
    }
}


/* =============================================
   3. REFINED NAVIGATION
   ============================================= */

/* Smoother nav link transitions */
.main-navigation .main-nav ul li a {
    transition: color 0.25s ease, background-color 0.25s ease;
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 14.5px;
    letter-spacing: 0.02em;
}

/* Hover — very subtle purple tint */
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a {
    background-color: rgba(100, 40, 100, 0.06) !important;
    box-shadow: inset 0 -3px 0 #8b1a1a;
}

/* Selected/current — slightly warmer gold tint (distinct from hover) */
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
    background-color: rgba(200, 132, 45, 0.12) !important;
    box-shadow: inset 0 -3px 0 #8b1a1a;
}


/* =============================================
   4. WIDER CONTENT AREA
   ============================================= */

body .grid-container {
    max-width: 980px;
}


/* =============================================
   5. CONTENT AREA POLISH
   ============================================= */

.separate-containers .inside-article {
    padding: 50px 60px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(59, 35, 20, 0.06);
}

@media (max-width: 768px) {
    .separate-containers .inside-article {
        padding: 30px 24px;
    }
}

/* Better paragraph spacing and readability */
.entry-content p {
    line-height: 1.75;
    margin-bottom: 1.4em;
}


/* =============================================
   6. IMAGE GALLERY ENHANCEMENTS
   ============================================= */

/* Subtle shadow and hover lift on gallery images */
.wp-block-gallery .wp-block-image img,
.wp-block-image img {
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(59, 35, 20, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-gallery .wp-block-image a:hover img,
.wp-block-image a:hover img {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 35, 20, 0.18);
}

/* Ensure the Shri Yantra hero image has some breathing room */
.entry-content > .wp-block-image {
    margin-top: 0.5em;
    margin-bottom: 2em;
}




/* =============================================
   7. DECORATIVE SEPARATORS
   ============================================= */

hr.wp-block-separator {
    border: none !important;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #c8842d 20%,
        #8b1a1a 50%,
        #c8842d 80%,
        transparent
    );
    opacity: 0.5;
    margin: 2.5em auto !important;
    max-width: 80%;
}


/* =============================================
   8. TESTIMONIAL / BLOCKQUOTE STYLING
   ============================================= */

/* Style the italic testimonial paragraphs (centered em text) */
.entry-content p em {
    display: inline;
}

/* Blockquote if used */
blockquote,
.wp-block-quote {
    border-left: 4px solid #c8842d;
    background: rgba(232, 213, 181, 0.2);
    padding: 1.2em 1.8em;
    margin: 1.5em 0;
    border-radius: 0 4px 4px 0;
    font-style: italic;
}


/* =============================================
   9. CONTACT SECTION CTA
   ============================================= */

/* Make the email link more prominent */
.entry-content a[href^="mailto:"] {
    display: inline-block;
    background-color: #8b1a1a;
    color: #fff !important;
    padding: 10px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 15px;
    letter-spacing: 0.03em;
    transition: background-color 0.25s ease, transform 0.2s ease;
    margin-top: 0.3em;
}

.entry-content a[href^="mailto:"]:hover {
    background-color: #6b1010;
    color: #fff !important;
    transform: translateY(-1px);
}

.entry-content a[href^="mailto:"]:visited {
    color: #fff !important;
}


/* =============================================
   10. FOOTER ENHANCEMENTS
   ============================================= */

.site-info {
    text-align: center;
    padding: 28px 20px !important;
    font-size: 13px;
    letter-spacing: 0.03em;
    border-top: 1px solid rgba(139, 26, 26, 0.15);
}


/* =============================================
   11. SMOOTH SCROLLING & TRANSITIONS
   ============================================= */

html {
    scroll-behavior: smooth;
}

/* Smoother font rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* =============================================
   12. SECTION HEADINGS
   ============================================= */

/* Add subtle spacing above section headings */
.entry-content .wp-block-heading {
    margin-top: 1em;
    margin-bottom: 0.6em;
}

/* "Contact me at" heading — make it feel warmer */
.entry-content h3.wp-block-heading {
    font-size: 22px;
    color: #8b1a1a;
}


/* =============================================
   13. MOBILE MENU
   ============================================= */

@media (max-width: 768px) {

    /* Menu toggle button */
    .main-navigation .menu-toggle {
        font-family: Verdana, Geneva, sans-serif;
        font-size: 13px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        padding: 10px 20px !important;
    }

    /* Expanded menu container */
    .main-navigation.toggled .inside-navigation {
        background-color: #fff4d6 !important;
        border-bottom: 2px solid rgba(200, 132, 45, 0.3);
        box-shadow: 0 4px 12px rgba(59, 35, 20, 0.1);
    }

    /* Hide the orange dots on mobile — too cluttered */
    .main-navigation .main-nav ul li a::before {
        display: none !important;
    }

    /* Menu item links */
    .main-navigation .main-nav ul li a {
        padding: 12px 24px !important;
        font-size: 15px !important;
        font-family: Georgia, "Times New Roman", serif;
        font-style: italic;
        color: #3b2314 !important;
        border-bottom: 1px solid rgba(200, 132, 45, 0.15);
        text-align: center;
        letter-spacing: 0.03em;
    }

    /* Last item — no bottom border */
    .main-navigation .main-nav ul li:last-child a {
        border-bottom: none;
    }

    /* Active page highlight */
    .main-navigation .main-nav ul li.current-menu-item > a,
    .main-navigation .main-nav ul li.current_page_item > a {
        color: #8b1a1a !important;
        background-color: rgba(200, 132, 45, 0.12) !important;
        border: none !important;
        border-bottom: 1px solid rgba(200, 132, 45, 0.15) !important;
        border-radius: 0 !important;
        box-shadow: inset 3px 0 0 #8b1a1a !important;
    }

    /* Hover state */
    .main-navigation .main-nav ul li:not(.current-menu-item) a:hover {
        background-color: rgba(200, 132, 45, 0.08) !important;
        color: #8b1a1a !important;
    }

    /* Remove desktop underline effects on mobile */
    .main-navigation .main-nav ul li:hover > a,
    .main-navigation .main-nav ul li[class*="current-menu-"] > a {
        box-shadow: none;
    }

    /* Re-apply the active indicator only */
    .main-navigation .main-nav ul li.current-menu-item > a {
        box-shadow: inset 3px 0 0 #8b1a1a !important;
    }
}
