/**
 * Nanny Jones Custom Homepage Styles
 * Version: 1.0
 */

/* ========================================
   Variables & Base Styles
   ======================================== */
:root {
    --nj-primary: #FF6344;        /* Coral/Orange */
    --nj-secondary: #1a2332;      /* Navy/Dark Blue */
    --nj-blue: #4A90E2;           /* Learn icon */
    --nj-purple: #9B59B6;         /* Market icon */
    --nj-pink: #E84393;           /* Connect icon */
    --nj-orange: #FF8C42;         /* Events icon */
    --nj-text: #2c3e50;
    --nj-text-light: #6c757d;
    --nj-bg-light: #f8f9fa;
    --nj-border: #e9ecef;
}

#nj-homepage {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.nj-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Hero Section
   ======================================== */
.nj-hero {
    background: linear-gradient(135deg, #fff5f2 0%, #fff 100%);
    padding: 80px 0 100px;
    overflow: hidden;
}

.nj-hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.nj-hero-left {
    flex: 1;
    max-width: 550px;
}

.nj-hero-right {
    flex: 1;
    max-width: 500px;
}

.nj-badge {
    display: inline-block;
    background: #fff;
    color: var(--nj-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.nj-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--nj-secondary);
    margin: 0 0 24px;
}

.nj-highlight {
    color: var(--nj-primary);
    display: block;
}

.nj-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--nj-text-light);
    margin: 0 0 32px;
}

.nj-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.nj-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    border: 2px solid transparent;
}

.nj-btn-primary {
    background: linear-gradient(135deg, var(--nj-primary) 0%, #ff8566 100%);
    color: white;
}

.nj-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 99, 68, 0.3);
}

.nj-btn-secondary {
    background: white;
    color: var(--nj-secondary);
    border-color: var(--nj-border);
}

.nj-btn-secondary:hover {
    border-color: var(--nj-primary);
    color: var(--nj-primary);
}

.nj-hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ========================================
   Services Section
   ======================================== */
.nj-services {
    padding: 80px 0;
    background: white;
}

.nj-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.nj-section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--nj-secondary);
    margin: 0 0 12px;
}

.nj-section-header p {
    font-size: 18px;
    color: var(--nj-text-light);
    margin: 0;
}

.nj-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.nj-service-card {
    background: white;
    border: 1px solid var(--nj-border);
    border-radius: 12px;
    padding: 32px 24px;
    transition: all 0.3s ease;
    text-align: left;
}

.nj-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border-color: transparent;
}

.nj-service-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.nj-icon-blue { background: #E3F2FD; color: var(--nj-blue); }
.nj-icon-purple { background: #F3E5F5; color: var(--nj-purple); }
.nj-icon-pink { background: #FCE4EC; color: var(--nj-pink); }
.nj-icon-orange { background: #FFF3E0; color: var(--nj-orange); }

.nj-service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--nj-secondary);
    margin: 0 0 12px;
}

.nj-service-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--nj-text-light);
    margin: 0 0 20px;
}

.nj-card-link {
    display: inline-flex;
    align-items: center;
    color: var(--nj-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.nj-card-link:hover {
    gap: 8px;
    color: #ff8566;
}

/* ========================================
   Why Choose Section
   ======================================== */
.nj-why-choose {
    background: var(--nj-secondary);
    color: white;
    padding: 80px 0;
}

.nj-why-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.nj-why-text {
    flex: 1.5;
}

.nj-why-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.nj-why-choose h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 12px;
    color: white;
}

.nj-tagline {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin: 0 0 40px;
}

.nj-features {
    margin-bottom: 40px;
}

.nj-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.nj-feature-icon {
    width: 28px;
    height: 28px;
    background: var(--nj-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.nj-feature-text h4 {
    font-size: 18px;
    margin: 0 0 6px;
    font-weight: 600;
    color: white;
}

.nj-feature-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin: 0;
    line-height: 1.5;
}

.nj-stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.nj-stat-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--nj-primary);
    margin-bottom: 8px;
}

.nj-stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.nj-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.nj-btn-outline:hover {
    background: white;
    color: var(--nj-secondary);
}

.nj-link-arrow {
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-left: 24px;
    transition: all 0.3s ease;
}

.nj-link-arrow:hover {
    color: var(--nj-primary);
}

/* ========================================
   Testimonials Section
   ======================================== */
.nj-testimonials {
    padding: 80px 0;
    background: var(--nj-bg-light);
}

.nj-testimonials h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--nj-secondary);
    margin: 0 0 60px;
}

.nj-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.nj-testimonial {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: relative;
}

.nj-quote {
    font-size: 60px;
    line-height: 1;
    color: var(--nj-primary);
    opacity: 0.2;
    position: absolute;
    top: 16px;
    left: 24px;
}

.nj-testimonial p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--nj-text);
    margin: 24px 0 20px;
    font-style: italic;
}

.nj-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--nj-text-light);
}

/* ========================================
   Final CTA Section
   ======================================== */
.nj-final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--nj-primary) 0%, #ff8566 100%);
    color: white;
    text-align: center;
}

.nj-final-cta h2 {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 16px;
}

.nj-final-cta p {
    font-size: 20px;
    margin: 0 0 40px;
    opacity: 0.95;
}

.nj-btn-white {
    background: white;
    color: var(--nj-primary);
}

.nj-btn-white:hover {
    background: var(--nj-secondary);
    color: white;
}

.nj-btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    .nj-hero-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .nj-hero-left {
        max-width: 100%;
    }
    
    .nj-hero-title {
        font-size: 36px;
    }
    
    .nj-why-content {
        flex-direction: column;
    }
    
    .nj-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 640px) {
    .nj-hero {
        padding: 40px 0 60px;
    }
    
    .nj-hero-title {
        font-size: 32px;
    }
    
    .nj-hero-subtitle {
        font-size: 16px;
    }
    
    .nj-hero-buttons {
        flex-direction: column;
    }
    
    .nj-btn {
        width: 100%;
        text-align: center;
    }
    
    .nj-services,
    .nj-why-choose,
    .nj-testimonials,
    .nj-final-cta {
        padding: 60px 0;
    }
    
    .nj-section-header h2,
    .nj-why-choose h2,
    .nj-testimonials h2 {
        font-size: 28px;
    }
    
    .nj-services-grid {
        grid-template-columns: 1fr;
    }
    
    .nj-why-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .nj-testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .nj-final-cta h2 {
        font-size: 28px;
    }
    
    .nj-final-cta p {
        font-size: 16px;
    }
    
    .nj-cta-buttons {
        flex-direction: column;
    }
}
