/* style.css */
:root {
  --primary: #00a859;
  --dark: #1a1a1a;
  --light: #f5f5f5;
  --text: #ffffff;
  --accent: #00e676;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--dark); color: var(--text); line-height: 1.6; }
.header { background: var(--dark); padding: 1rem 2rem; position: fixed; width: 100%; top: 0; z-index: 999; }
.nav { display: flex; justify-content: space-between; align-items: center; }
.logo { color: var(--primary); font-size: 1.5rem; text-decoration: none; font-weight: bold; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.hamburger, .hamburger::before, .hamburger::after { width: 25px; height: 3px; background: var(--text); display: block; position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }
.nav-list { list-style: none; display: flex; }
.nav-list li { margin-left: 2rem; }
.nav-list a { color: var(--text); text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
.nav-list a:hover { color: var(--primary); }
section { padding: 4rem 2rem; }
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeIn 0.8s forwards; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); }}
.hero { height: 100vh; background: url('images/8.jpg') center/cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: -1; }
.hero-content h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero-content p { font-size: 1.2rem; margin-bottom: 1rem; }
.countdown { font-size: 2rem; margin-bottom: 1.5rem; }
.btn { background: var(--primary); padding: 0.75rem 1.5rem; color: var(--text); text-decoration: none; border-radius: 5px; font-weight: 600; transition: background 0.3s ease; }
.btn:hover { background: var(--accent); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature-item h3 { margin-bottom: 1rem; color: var(--primary); }
.video-container { max-width: 800px; margin: 0 auto; }
.video-container iframe { width: 100%; height: 450px; border: none; border-radius: 8px; }

/* Mini Carousel Styles */
.mini-carousel { position: relative; max-width: 90%; margin: 2rem auto; }
.carousel-track-container { overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; list-style: none; }
.carousel-item { min-width: 300px; margin-right: 1rem; }
.carousel-item img { width: 100%; border-radius: 5px; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); border: none; color: #fff; font-size: 2rem; padding: 0.5rem; cursor: pointer; border-radius: 50%; }
.carousel-btn.prev { left: -1rem; }
.carousel-btn.next { right: -1rem; }

.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 2rem; }
.testimonial-grid blockquote { background: #2a2a2a; padding: 1.5rem; border-radius: 8px; position: relative; }
.testimonial-grid cite { display: block; margin-top: 1rem; font-style: normal; text-align: right; color: var(--accent); }
.book-images { display: flex; gap: 1rem; justify-content: center; margin-bottom: 1.5rem; }
.book-images img { width: 150px; border-radius: 5px; cursor: pointer; transition: transform 0.3s ease; }
.book-images img:hover { transform: scale(1.05); }
.preorder, .contact, .footer { text-align: center; }
.contact-form { max-width: 400px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form button { padding: 0.75rem; border: none; border-radius: 5px; }
.footer { background: var(--dark); padding: 2rem; }
.social-share { margin-top: 1rem; }
.social-share span { margin-right: 0.5rem; }
.social-share button { background: none; border: 1px solid var(--text); padding: 0.5rem 1rem; margin: 0 0.25rem; border-radius: 5px; cursor: pointer; transition: background 0.3s ease; }
.social-share button:hover { background: rgba(255,255,255,0.1); }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-list { position: absolute; top: 100%; right: 0; background: var(--dark); flex-direction: column; width: 200px; transform: translateX(100%); transition: transform 0.3s ease; }
  .nav-list.show { transform: translateX(0); }
  .nav-list li { margin: 1.5rem 0; text-align: center; }
  .video-container iframe { height: 250px; }
  .book-images img { width: 100px; }
}


/* Mini YouTube Carousel Styles (Swipeable) */
.mini-carousel { position: relative; margin: 2rem auto; max-width: 90%; }
.carousel-track-container { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.carousel-track { display: flex; }
.carousel-item { flex: 0 0 auto; scroll-snap-align: center; min-width: 300px; margin-right: 1rem; }
.carousel-item iframe { width: 100%; height: 170px; border: none; border-radius: 5px; }
.carousel-btn { display: none; }
