/*
Theme Name: Mini Alims
Theme URI: https://minialims.com
Author: Mini Alims
Author URI: https://minialims.com
Description: Fun Islamic Learning for Kids - Official Mini Alims WordPress Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mini-alims
Tags: education, kids, islamic, landing-page, custom-colors
*/

/* ============================================================
   CUSTOM ANIMATIONS & EFFECTS
   ============================================================ */

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.bouncy-hover:hover {
    transform: scale(1.05) translateY(-5px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.squish-active:active {
    transform: scale(0.92);
}

@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Blob shapes */
.blob-1 { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
.blob-2 { border-radius: 60% 40% 30% 70% / 50% 30% 70% 50%; }
.blob-3 { border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%; }
.blob-4 { border-radius: 30% 70% 40% 60% / 50% 60% 30% 40%; }

/* Feature cards */
.feature-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.feature-card:hover {
    transform: scale(1.08) rotate(1deg);
}

/* FAQ Accordion */
.faq-item input:checked ~ .faq-content {
    max-height: 500px;
    padding-bottom: 1.5rem;
    opacity: 1;
}
.faq-item input:checked ~ label .faq-icon {
    transform: rotate(180deg);
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    opacity: 0;
}

/* Signup Blob */
@keyframes morph {
    0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50%  { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}
.morphing-blob {
    animation: morph 8s ease-in-out infinite;
}

/* Mobile Menu */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
}
#mobile-menu.active {
    max-height: 400px;
    opacity: 1;
}

/* WordPress body padding for admin bar */
.admin-bar .site-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* ============================================================
   DEFAULT PAGE / POST CONTENT STYLES
   (used for pages created inside WordPress)
   ============================================================ */

.page-content,
.entry-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 6rem 1.5rem 4rem;
    font-family: 'Work Sans', sans-serif;
    color: #181d17;
    line-height: 1.75;
    font-size: 1.05rem;
}

.page-content h1,
.entry-content h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.25rem;
    color: #181d17;
    line-height: 1.15;
}

.page-content h2,
.entry-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #181d17;
}

.page-content h3,
.entry-content h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1c6d24;
}

.page-content p,
.entry-content p {
    margin-bottom: 1.25rem;
}

.page-content a,
.entry-content a {
    color: #1c6d24;
    text-decoration: underline;
}

.page-content a:hover,
.entry-content a:hover {
    color: #a8277b;
}

.page-content ul,
.entry-content ul,
.page-content ol,
.entry-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.page-content li,
.entry-content li {
    margin-bottom: 0.5rem;
}

.page-entry-header {
    max-width: 860px;
    margin: 0 auto;
    padding: 7rem 1.5rem 0;
}

.page-entry-header .entry-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #181d17;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}
