/*
 * Ginko Modern Homepage Styles
 */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --bokifa-green: #006637;
    --bokifa-orange: #ff6128;
    --bokifa-bg-soft: #fbfaf8;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --font-heading: 'EB Garamond', serif;
    --font-body: 'Jost', sans-serif;
}

body {
    margin: 0;
    padding: 0;
}

.modern-home-wrapper {
    font-family: var(--font-body);
    background-color: #fff;
    color: var(--text-dark);
}

a {
    transition: all 0.3s ease;
    text-decoration: none !important;
}

section {
    padding: 5rem 1.5rem;
}

/* Hero Section (Rev Style) */
.hero-rev {
    background-color: var(--bokifa-bg-soft);
    padding: 8rem 2rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.hero-rev-icon {
    margin-bottom: 2rem;
}

.hero-rev-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1;
    color: #000;
    margin-bottom: 2rem;
    font-weight: 700;
}

.hero-rev-desc {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.btn-rev {
    display: inline-block;
    padding: 1rem 3rem;
    background: #fff;
    color: #000;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-rev:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.btn-rev .arrow {
    margin-left: 10px;
}

/* Categories */
.category-flex {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.category-item {
    padding: 0.8rem 2rem;
    background: #fff;
    border: 1px solid #eee;
    color: #333;
    font-weight: 600;
    border-radius: 4px;
}

.category-item:hover {
    border-color: var(--bokifa-green);
    color: var(--bokifa-green);
}

/* Featured Books */
.section-title h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.book-card {
    text-align: center;
}

.book-card-image {
    background: #f9f9f9;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.book-card-image img {
    height: 350px;
    object-fit: contain;
}

/* Membership Card */
.single-plan-section {
    background: var(--bokifa-green);
    color: #fff;
    text-align: center;
    padding: 6rem 2rem;
}

.btn-bokifa {
    padding: 1rem 3rem;
    font-weight: 700;
    display: inline-block;
}

/* HEADER FIXES */
.home .amberd-main-header-bg {
    background: #fff !important;
    border-bottom: 1px solid #eee !important;
}

.main-menu-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.main-menu-list li a {
    color: #1a1a1a !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: block;
    padding: 10px 0;
}

.main-menu-list li a:hover {
    color: var(--bokifa-green) !important;
}

@media (max-width: 768px) {
    .hero-rev-title {
        font-size: 3rem;
    }
}

/* ==========================================================================
   Elementor / HFE (Header Footer Elementor) Menu Styling
   ========================================================================== */

/* Target the menu links */
.hfe-nav-menu li a.hfe-menu-item,
.hfe-nav-menu .menu-item a {
    color: var(--text-dark) !important;
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    transition: all 0.3s ease !important;
    position: relative;
    padding: 10px 15px !important;
}

/* Hover effect */
.hfe-nav-menu li a.hfe-menu-item:hover,
.hfe-nav-menu .menu-item a:hover {
    color: var(--bokifa-green) !important;
}

/* Fix for mobile toggle color */
.hfe-nav-menu__toggle i {
    color: var(--bokifa-green);
}

/* Ensure the container is aligned to the FAR right */
.elementor-element-ab15bcf,
.elementor-widget-navigation-menu,
.hfe-nav-menu-layout-horizontal,
.hfe-nav-menu-layout-horizontal nav {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
    text-align: right !important;
}

.hfe-nav-menu {
    display: flex !important;
    justify-content: flex-end !important;
    list-style: none !important;
    margin-left: auto !important;
}

.hfe-nav-menu li {
    margin-left: 25px !important;
}

@media (max-width: 768px) {
    .hero-rev-title {
        font-size: 3rem;
    }
}