/* assets/css/style.css */ /* Rustic/Earthy Theme for Better Living Skills */ :root { --forest-deep: #1a3a1a; --forest-soft: #2d5a2c; --sage: #6b7c4a; --cream: #fefcf5; --warm-stone: #e8e0d0; --bark: #8b6946; --driftwood: #c4a77d; --charcoal: #2c2c28; --urgent-red: #c0392b; --warning-orange: #e67e22; --safe-green: #27ae60; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--cream); color: var(--charcoal); line-height: 1.6; } h1, h2, h3, h4, .logo { font-family: 'Playfair Display', Georgia, serif; } .container { max-width: 1000px; margin: 0 auto; padding: 0 1.5rem; } /* ============================================ */ /* HEADER */ /* ============================================ */ .site-header { background: var(--forest-deep); color: white; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 6px rgba(0,0,0,0.1); } .header-inner { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; } .logo a { text-decoration: none; color: white; } .logo-main { display: block; font-size: 1.1rem; font-weight: 700; letter-spacing: 1px; } .logo-sub { display: block; font-size: 0.6rem; letter-spacing: 1.5px; color: var(--driftwood); } .main-nav ul { display: flex; gap: 1.25rem; list-style: none; } .main-nav a { color: white; text-decoration: none; font-size: 0.8rem; font-weight: 500; transition: color 0.2s; } .main-nav a:hover { color: var(--driftwood); } .mobile-nav-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; } /* ============================================ */ /* HERO SECTION */ /* ============================================ */ .hero { background: linear-gradient(rgba(26,58,26,0.85), rgba(26,58,26,0.85)); color: white; text-align: center; padding: 2rem 1.5rem; } .hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 3rem; font-weight: 700; letter-spacing: 1px; text-shadow: 2px 2px 8px rgba(0,0,0,0.3); margin-bottom: 0.75rem; } .hero p { font-size: 0.95rem; margin-bottom: 0; opacity: 0.9; letter-spacing: 0.5px; } /* ============================================ */ /* BUTTONS */ /* ============================================ */ .btn { display: inline-block; padding: 0.5rem 1.25rem; border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 0.8rem; transition: all 0.2s; cursor: pointer; border: none; } .btn-primary { background: var(--driftwood); color: var(--forest-deep); } .btn-primary:hover { background: var(--bark); color: white; } .btn-register { background: var(--forest-soft); color: white; padding: 0.4rem 1rem; font-size: 0.75rem; white-space: nowrap; } .btn-register:hover { background: var(--forest-deep); } .btn-disabled { background: #ccc; color: #666; cursor: not-allowed; } .btn-link { background: none; color: var(--sage); padding: 0; font-size: 0.7rem; } .btn-link:hover { color: var(--forest-soft); text-decoration: underline; } /* ============================================ */ /* SECTIONS */ /* ============================================ */ .section { padding: 3rem 0; } .section.alt-bg { background: var(--warm-stone); } .section h2 { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--forest-deep); border-left: 4px solid var(--driftwood); padding-left: 1rem; } /* ============================================ */ /* EVENT LIST - COMPACT */ /* ============================================ */ .events-list { display: flex; flex-direction: column; gap: 0.75rem; } .event-item { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); transition: box-shadow 0.2s; } .event-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); } .event-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; cursor: pointer; } .event-icon { flex-shrink: 0; width: 36px; height: 36px; background: var(--warm-stone); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; } .event-info { flex: 3; min-width: 0; } .event-title-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; margin-bottom: 0.2rem; } .event-title { font-weight: 700; font-size: 0.85rem; color: var(--forest-deep); } .event-meta { font-size: 0.7rem; color: #6b6b60; display: flex; flex-wrap: wrap; gap: 0.5rem; } .event-stats { flex: 2; min-width: 150px; } .price-urgency-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; } .event-price { font-weight: 600; font-size: 0.75rem; color: var(--forest-deep); } .urgency-badge { font-size: 0.65rem; font-weight: 600; padding: 0.15rem 0.4rem; border-radius: 12px; } .urgency-safe { background: #e6f4e6; color: var(--safe-green); } .urgency-warning { background: #fff3e0; color: var(--warning-orange); } .urgency-urgent { background: #fee; color: var(--urgent-red); } .progress-compact { display: flex; align-items: center; gap: 0.5rem; } .progress-bar-small { flex: 1; background: #e0ddd0; border-radius: 4px; height: 4px; overflow: hidden; } .progress-fill-small { height: 100%; border-radius: 4px; } .progress-fill-small.safe { background: var(--safe-green); } .progress-fill-small.warning { background: var(--warning-orange); } .progress-fill-small.urgent { background: var(--urgent-red); } .progress-text-small { font-size: 0.65rem; color: #6b6b60; white-space: nowrap; } .event-action { flex-shrink: 0; } .expand-toggle { background: none; border: none; color: var(--sage); font-size: 0.7rem; cursor: pointer; padding: 0.25rem; margin-right: 0.5rem; } .expand-toggle:hover { color: var(--forest-soft); } .event-expanded { display: none; padding: 0 0.75rem 0.75rem 0.75rem; border-top: 1px solid var(--warm-stone); background: #fefcf5; } .event-expanded.visible { display: block; } .full-description { font-size: 0.8rem; line-height: 1.5; color: var(--charcoal); max-height: 300px; overflow-y: auto; padding: 0.75rem 0; } .full-description p { margin-bottom: 0.5rem; } .full-description ul { margin-left: 1.25rem; margin-bottom: 0.5rem; } .full-description strong { color: var(--forest-deep); } /* ============================================ */ /* CLASS TYPE GRID */ /* ============================================ */ .class-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; } .class-type-btn { background: white; border: 1px solid var(--driftwood); color: var(--forest-deep); padding: 0.4rem 0.8rem; border-radius: 30px; font-size: 0.7rem; font-weight: 500; cursor: pointer; transition: all 0.2s; } .class-type-btn:hover { background: var(--forest-soft); border-color: var(--forest-soft); color: white; } .class-type-btn.has-events { background: var(--sage); border-color: var(--sage); color: white; } .class-type-btn.has-events:hover { background: var(--forest-soft); } /* ============================================ */ /* EXPANDABLE SECTIONS (Testimonials, About) */ /* ============================================ */ .expandable-wrapper { margin-bottom: 1rem; } .expandable-header { background: var(--forest-soft); color: white; padding: 0.6rem 1rem; border: none; border-radius: 8px; cursor: pointer; width: 100%; text-align: left; font-size: 0.9rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; } .expandable-header:hover { background: var(--forest-deep); } .expandable-icon { transition: transform 0.2s; } .expandable-content { display: none; padding: 1rem; background: white; border-radius: 8px; margin-top: 0.5rem; } /* ============================================ */ /* TESTIMONIALS */ /* ============================================ */ .testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; } .testimonial-card { background: var(--warm-stone); padding: 1rem; border-radius: 8px; font-style: italic; font-size: 0.8rem; } .testimonial-author { font-size: 0.7rem; font-weight: 600; color: var(--forest-soft); margin-top: 0.5rem; } /* ============================================ */ /* ABOUT SECTION - ENHANCED */ /* ============================================ */ .about-text { background: white; padding: 1.5rem; border-radius: 12px; font-size: 0.9rem; line-height: 1.6; } .about-text .instructor-intro { margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.6; } .about-text .skills-section { margin-bottom: 1.5rem; background: var(--warm-stone); padding: 1rem 1.25rem; border-radius: 10px; } .about-text .skills-section h3 { color: var(--forest-deep); font-size: 1rem; margin-bottom: 0.75rem; font-family: 'Playfair Display', Georgia, serif; } .about-text .skills-section ul { margin-left: 1.25rem; margin-bottom: 0; } .about-text .skills-section li { margin-bottom: 0.25rem; line-height: 1.4; } .about-text .credentials-row { background: #e6f4e6; padding: 0.75rem 1rem; border-radius: 8px; margin: 1rem 0; text-align: center; font-size: 0.85rem; display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; } .about-text .instructor-story { margin-top: 1.5rem; } .about-text .instructor-story p { margin-bottom: 1rem; line-height: 1.6; } .about-text .signature { margin-top: 1.5rem; font-style: italic; color: var(--sage); font-size: 1rem; text-align: right; font-family: 'Playfair Display', Georgia, serif; } /* ============================================ */ /* CONTACT SECTION */ /* ============================================ */ .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; } .contact-info, .contact-form { background: white; padding: 1rem; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); font-size: 0.85rem; } .contact-info p { margin-bottom: 0.5rem; } .contact-form input, .contact-form textarea { width: 100%; padding: 0.5rem; margin-bottom: 0.75rem; border: 1px solid var(--warm-stone); border-radius: 6px; font-size: 0.8rem; font-family: inherit; } .contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 2px rgba(107,124,74,0.2); } /* ============================================ */ /* MODAL */ /* ============================================ */ .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: none; align-items: center; justify-content: center; z-index: 1000; } .modal-content { background: white; border-radius: 12px; max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; position: relative; padding: 1.5rem; } .modal-close { position: absolute; top: 0.5rem; right: 1rem; font-size: 1.5rem; cursor: pointer; color: #999; } .modal-close:hover { color: #333; } /* ============================================ */ /* FOOTER */ /* ============================================ */ .site-footer { background: var(--forest-deep); color: white; text-align: center; padding: 1.5rem; font-size: 0.7rem; } .site-footer a { color: var(--driftwood); text-decoration: none; } .site-footer a:hover { text-decoration: underline; } /* ============================================ */ /* EMPTY STATE */ /* ============================================ */ .empty-events { text-align: center; padding: 2rem; background: white; border-radius: 12px; color: #8b8b7a; font-size: 0.85rem; } /* ============================================ */ /* MOBILE RESPONSIVE */ /* ============================================ */ @media (max-width: 768px) { .container { padding: 0 1rem; } .hero { padding: 1.5rem 1rem; } .hero h1 { font-size: 2rem; text-shadow: 1px 1px 4px rgba(0,0,0,0.3); } .hero p { font-size: 0.8rem; } .event-row { flex-wrap: wrap; } .event-stats { flex: 100%; margin-top: 0.25rem; } .event-action { margin-left: auto; } .contact-grid { grid-template-columns: 1fr; } .main-nav ul { display: none; } .mobile-nav-toggle { display: block; } .main-nav.active ul { display: flex; flex-direction: column; gap: 0.5rem; padding: 1rem 0; } .testimonials-grid { grid-template-columns: 1fr; } .class-grid { gap: 0.4rem; } .class-type-btn { font-size: 0.65rem; padding: 0.3rem 0.6rem; } .section { padding: 2rem 0; } .section h2 { font-size: 1.25rem; } .about-text .credentials-row { flex-direction: column; gap: 0.5rem; text-align: center; } } /* ============================================ */ /* PRINT STYLES */ /* ============================================ */ @media print { .site-header, .hero, .expandable-header, .modal, .site-footer, .event-action, .expand-toggle, .class-grid { display: none; } .expandable-content { display: block !important; } .event-expanded { display: block !important; } .event-row { cursor: default; } }