/* assets/css/style.css */

:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --text-color: #2D3436;
    --light-bg: #F7F9FC;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
}

.navbar {
    background-color: white !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 700;
    color: var(--text-color) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color), #2ab7a8);
    color: white;
    padding: 100px 0;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 50px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn-kid {
    background-color: var(--primary-color);
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 6px 0 #d9534f;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-kid:hover {
    background-color: #ff5252;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #d9534f;
}

.btn-kid:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #d9534f;
}

/* Cards */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--accent-color);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-card.primary { border-color: var(--primary-color); }
.feature-card.secondary { border-color: var(--secondary-color); }

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Page Turn Reader effect placeholder */
.book-container {
    perspective: 1500px;
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 600px;
    margin: 50px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    display: flex;
}

.book-page {
    width: 50%;
    height: 100%;
    background: #fdfaf6;
    position: absolute;
    top: 0;
    padding: 40px;
    overflow-y: auto;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    box-shadow: inset -5px 0 10px rgba(0,0,0,0.05);
    border-radius: 2px 10px 10px 2px;
}

/* Footer */
.site-footer {
    background-color: var(--text-color);
    color: white;
    padding: 40px 0 20px;
    margin-top: 80px;
}
