/* landing-hero.css */
@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Caveat:wght@400..700&family=Karla:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --ej-white: #ffffff;
    --ej-red: #ec202a;
    --ej-indigo: #44459c;
    --ej-green: #70bf44;
    --ej-dark-gray: #515351;
    --ej-light-blue: #70caf2;
    --ej-magenta: #bc2454;
    --ej-orange: #f26824;
    --ej-yellow: #f8d856;
    --ej-slate: #69797c;
    --ej-pink: #c436a9;
    --font-text: 'Century Gothic', sans-serif;
    --font-title: 'Arvo', serif;
    --font-subtitle: 'Karla', sans-serif;
    --font-highlight: 'Caveat', cursive;
}


.moka-landing-section {
    background-color: var(--ej-indigo); /* Updated to EJ Indigo */
    color: #ffffff;
    font-family: var(--font-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Header */
.moka-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
}

.moka-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.moka-logo-1, .moka-logo-2 {
    height: 40px;
    object-fit: contain;
}

.moka-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.moka-lang-btn, .moka-contrast-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.moka-lang-btn:hover, .moka-contrast-btn:hover {
    transform: scale(1.05);
}

/* Main Hero Content */
.moka-hero {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 4rem;
    gap: 4rem;
}

.moka-hero-content {
    flex: 1;
    max-width: 650px;
    padding-bottom: 4rem;
}

.moka-hero-title {
    font-size: 5rem;
    font-family: var(--font-title);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.moka-text-yellow {
    color: var(--ej-yellow);
}

.moka-hero-subtitle {
    font-size: 1.15rem;
    font-family: var(--font-subtitle);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 500;
    max-width: 90%;
}

.moka-underline-pink {
    text-decoration: underline;
    text-decoration-color: var(--ej-pink);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.moka-underline-yellow {
    text-decoration: underline;
    text-decoration-color: var(--ej-yellow);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.moka-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--ej-yellow);
    color: var(--ej-indigo);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.moka-btn:hover {
    background-color: var(--ej-orange); /* Changed hover to EJ orange */
    transform: translateY(-2px);
}

/* Hero Image */
.moka-hero-image-wrapper {
    flex: 1;
    height: 100%;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: stretch;
}

.moka-hero-image {
    width: 100%;
    height: 100%;
    min-height: 70vh;
    object-fit: cover;
    border-top-left-radius: 350px;
    box-shadow: -10px 10px 40px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 1200px) {
    .moka-hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .moka-hero {
        flex-direction: column;
        padding: 2rem 4rem;
    }
    
    .moka-hero-image-wrapper {
        width: 100%;
        min-height: 400px;
    }
    
    .moka-hero-image {
        border-top-left-radius: 200px;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .moka-header {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .moka-hero {
        padding: 1.5rem;
    }
    
    .moka-hero-title {
        font-size: 3rem;
    }
    
    .moka-hero-image {
        border-top-left-radius: 100px;
    }
}


/* FAQ */
.moka-faq-section {
    background-color: var(--ej-indigo); /* Updated to EJ Indigo */
    color: #ffffff;
    font-family: var(--font-text);
    padding: 6rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Area */
.moka-faq-header {
    text-align: center;
    position: relative;
    margin-bottom: 2.5rem;
}

/* Background Question Mark */
.moka-faq-header::before {
    content: '?';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    z-index: 0;
    pointer-events: none;
}

.moka-faq-title {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.moka-faq-subtitle {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ej-yellow);
    margin: 0;
}

/* Tabs */
.moka-faq-tabs {
    display: flex;
    background-color: var(--ej-slate); /* Updated inactive tab bg */
    border-radius: 50px;
    padding: 0;
    margin-bottom: 4rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.moka-faq-tab {
    background: none;
    border: none;
    padding: 0.75rem 2rem;
    font-family: var(--font-text);
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.moka-faq-tab.active {
    background-color: var(--ej-yellow);
    color: var(--ej-indigo);
}

/* FAQ Accordion List */
.moka-faq-list {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.moka-faq-item {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.moka-faq-item:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.moka-faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    color: #ffffff;
    font-family: var(--font-text);
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.moka-faq-icon {
    width: 24px;
    height: 24px;
    background-color: var(--ej-yellow);
    color: var(--ej-indigo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.moka-faq-icon svg {
    width: 14px;
    height: 14px;
    stroke-width: 3;
}

.moka-faq-item.active .moka-faq-icon {
    transform: rotate(180deg);
}

.moka-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: rgba(0, 0, 0, 0.1);
    color: #d1d5db;
    line-height: 1.6;
    padding: 0 2rem;
}

.moka-faq-item.active .moka-faq-answer {
    max-height: 500px; /* Arbitrary large height for animation */
    padding: 0 2rem 1.5rem 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .moka-faq-title, .moka-faq-subtitle {
        font-size: 2rem;
    }
    
    .moka-faq-question {
        padding: 1.2rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .moka-faq-answer {
        padding: 0 1.5rem;
    }
    
    .moka-faq-item.active .moka-faq-answer {
        padding: 0 1.5rem 1.2rem 1.5rem;
    }
}


/* footer */



.moka-footer {
    background-color: var(--ej-dark-gray); /* Updated to EJ Dark Gray */
    color: #ffffff;
    font-family: var(--font-text);
    padding: 4rem 4rem 2rem 4rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.moka-footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logos Section */
.moka-footer-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.moka-footer-logo-box {
    display: flex;
    flex-direction: column;
}

.moka-footer-logo-separator {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
}

.moka-logo-text-1 {
    font-size: 2.5rem;
    font-family: var(--font-title);
    font-weight: 800;
    color: var(--ej-yellow);
    line-height: 1;
}

.moka-logo-sub-1 {
    font-size: 0.8rem;
    color: #fff;
    font-weight: 500;
}

.moka-logo-text-2 {
    color: var(--ej-yellow);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1;
    margin-top: -5px;
}

.moka-logo-sub-2 {
    font-size: 0.7rem;
    color: #fff;
    font-style: italic;
}

/* Contact & Address Sections */
.moka-footer-info {
    display: flex;
    gap: 4rem;
}

.moka-footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.moka-footer-heading {
    color: var(--ej-yellow);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.moka-footer-text {
    color: #ffffff;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.moka-footer-text a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.moka-footer-text a:hover {
    color: var(--ej-yellow);
}

/* SNJ Logo Section */
.moka-footer-snj {
    display: flex;
    align-items: center;
}

.moka-footer-snj-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.snj-box {
    background-color: #ffffff;
    color: #000000;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 5px 8px;
    border-radius: 2px;
}

.snj-text {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Bottom Bar */
.moka-footer-bottom {
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.moka-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.moka-footer-links li a {
    color: var(--ej-yellow);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.moka-footer-links li a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .moka-footer-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .moka-footer-info {
        gap: 2rem;
        flex-direction: column;
    }
}





/* Measures */

.moka-measures-layout {
    display: flex;
    height: 100vh;
    font-family: var(--font-text);
    overflow: hidden;
}

/* Sidebar - Categories */
.moka-sidebar {
    width: 320px;
    background-color: #44459c;
    color: #ffffff;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.moka-sidebar-logo {
    margin-bottom: 2rem;
}

.moka-sidebar-title {
    font-size: 1.5rem;
    font-family: var(--font-title);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.moka-sidebar-subtitle {
    font-size: 0.85rem;
    font-family: var(--font-subtitle);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.moka-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.moka-category-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.moka-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    justify-content: space-between;
}

.moka-category-header .left-side {
    display: flex;
    align-items: center;
    gap: 10px;
}

.moka-category-icon {
    width: 24px;
    height: 24px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
}

.moka-category-header.active {
    color: var(--ej-yellow);
}
.moka-category-header.active .moka-category-icon {
    border-color: #ffbc0d;
    color: var(--ej-yellow);
}

.moka-subcategory-list {
    list-style: none;
    padding-left: 34px;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.moka-subcategory-item {
    font-size: 0.85rem;
    color: #e2e8f0;
    cursor: pointer;
    position: relative;
    padding-left: 15px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.moka-subcategory-item::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--ej-yellow);
}

.moka-subcategory-item:hover,
.moka-subcategory-item.active {
    color: var(--ej-yellow);
    font-weight: 600;
}

/* Post List (Middle Column) */
.moka-post-list {
    width: 450px;
    background-color: #ffbc0d;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.moka-search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.moka-search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-text);
    font-size: 0.95rem;
    background-color: #fff9e6;
}

.moka-filter-btn {
    background-color: #44459c;
    color: #fff;
    border: none;
    padding: 0 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.moka-results-count {
    font-size: 0.85rem;
    color: #2b172a;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.moka-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.moka-post-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.moka-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.moka-post-card h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    color: #2b172a;
    line-height: 1.3;
}

.moka-post-card p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 1rem 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.moka-post-card .moka-card-footer {
    font-size: 0.75rem;
    color: var(--ej-yellow);
    font-weight: 600;
}

/* Post Detail (Right Column) */
.moka-post-detail {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    border-left: 1px solid #e2e8f0;
}

/* Empty State / Select a measure */
.moka-empty-state {
    text-align: center;
    color: #2b172a;
}

.moka-empty-state img {
    height: 80px;
    margin-bottom: 2rem;
    opacity: 0.5;
}

.moka-empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.moka-empty-state p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .moka-post-list {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .moka-measures-layout {
        flex-direction: column;
        height: auto;
    }
    
    .moka-sidebar, .moka-post-list, .moka-post-detail {
        width: 100%;
        height: auto;
    }
}
