/* Base Styles */
:root {
  --primary-color: #6a4c93;
  --secondary-color: #8ac926;
  --accent-color: #1982c4;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333333;
  --border-color: #e0e0e0;
  --success-color: #28a745;
  --error-color: #dc3545;
  --grey-color: #6c757d;
  --grey-light-color: #e9ecef;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease-in-out;
  --border-radius: 8px;
  --border-radius-sm: 4px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

p {
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  font-size: 2.2rem;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-sm);
}

section {
  padding: 5rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: transparent;
  color: var(--dark-color);
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #fff;
}

.btn-secondary:hover {
  background-color: transparent;
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-light {
  background-color: #fff;
  color: var(--dark-color);
}

.btn-light:hover {
  background-color: var(--light-color);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  background: var(--primary-color);
  color: #fff;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 2px 8px rgba(106,76,147,0.10);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn-sm i {
  font-size: 1.1em;
  margin-right: 0.3em;
}
.btn-sm:hover, .btn-sm:focus {
  background: var(--secondary-color);
  color: #fff;
  box-shadow: 0 4px 16px rgba(138,201,38,0.15);
  text-decoration: none;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.desktop-nav ul {
  display: flex;
}

.desktop-nav li {
  margin-left: 1.5rem;
}

.desktop-nav a {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
}

.desktop-nav a:hover {
  color: var(--primary-color);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--dark-color);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: #fff;
  z-index: 1001;
  padding: 2rem;
  transition: var(--transition);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav .close-btn {
  text-align: right;
  margin-bottom: 2rem;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--dark-color);
}

.mobile-nav ul li {
  margin-bottom: 1.5rem;
}

.mobile-nav a {
  color: var(--dark-color);
  font-weight: 500;
  font-size: 1.1rem;
}

.mobile-nav a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(106, 76, 147, 0.85), rgba(106, 76, 147, 0.85)), url('../img/hero-bg.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  padding-top: 70px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-buttons {
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.hero-buttons .btn {
  margin: 0 0.5rem;
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Featured Books */
.featured-books {
  background-color: var(--light-color);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.book-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.book-card:hover {
  transform: translateY(-10px);
}

.book-image {
  height: 250px;
  overflow: hidden;
}

.book-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.book-card:hover .book-image img {
  transform: scale(1.05);
}

.book-info {
  padding: 1.5rem;
}

.book-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.read-more i {
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover i {
  transform: translateX(5px);
}

.center-button {
  text-align: center;
  margin-top: 3rem;
}

/* P4C Intro */
.p4c-intro {
  background-color: #fff;
}

.p4c-two-column {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.p4c-main-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(106,76,147,0.07);
  padding: 2.5rem 2rem;
}

.p4c-side-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: stretch;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(106,76,147,0.10);
  padding: 2.2rem 1.5rem;
}

.p4c-side-buttons .btn {
  width: 100%;
  font-size: 1.08rem;
  padding: 1.1rem 0.5rem;
  margin-bottom: 0.2rem;
}

.two-column .content {
  order: 1;
}

.two-column .image {
  order: 2;
}

.two-column .image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.two-column .section-title {
  text-align: left;
}

.two-column .section-title:after {
  left: 0;
  transform: none;
}

.two-column .buttons {
  margin-top: 2rem;
}

.two-column .buttons .btn {
  margin-right: 1rem;
  margin-bottom: 1rem;
}

/* Workshops */
.workshops {
  background-color: var(--light-color);
}

.workshop-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.workshop-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.workshop-card:hover {
  transform: translateY(-10px);
}

.workshop-card .icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.workshop-card h3 {
  margin-bottom: 1rem;
}

.workshop-card p {
  margin-bottom: 1.5rem;
  color: var(--grey-color);
}

.workshop-card.workshop-children {
  background: #e3f6fd;
  border: 2px solid #90caf9;
}
.workshop-card.workshop-children:hover {
  background: #b3e5fc;
  border-color: #42a5f5;
}
.workshop-card.workshop-youth {
  background: #f3e8fd;
  border: 2px solid #ce93d8;
}
.workshop-card.workshop-youth:hover {
  background: #e1bee7;
  border-color: #8e24aa;
}
.workshop-card.workshop-parents {
  background: #fffde7;
  border: 2px solid #ffe082;
}
.workshop-card.workshop-parents:hover {
  background: #fff9c4;
  border-color: #ffd600;
}
.workshop-card.workshop-teachers {
  background: #f5f7fa;
  border: 2px solid #b0bec5;
}
.workshop-card.workshop-teachers:hover {
  background: #eceff1;
  border-color: #607d8b;
}

/* Contact Banner */
.contact-banner {
  background: linear-gradient(rgba(25, 130, 196, 0.9), rgba(25, 130, 196, 0.9)), url('../img/contact-bg.jpg') no-repeat center center/cover;
  padding: 4rem 0;
  text-align: center;
  color: #fff;
}

.contact-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-banner p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

footer h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: var(--secondary-color);
}

.footer-about p {
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--secondary-color);
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-contact p i {
  margin-right: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page Header */
.page-header {
  background: linear-gradient(rgba(106, 76, 147, 0.85), rgba(106, 76, 147, 0.85));
  padding: 150px 0 80px;
  text-align: center;
  color: #fff;
}

.page-header h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 0;
}

/* About Page Styles */
.about-content {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.signature {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-top: 2rem;
}

.social-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  justify-content: center;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
}

.social-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Books Page Styles */
.book-detail {
  margin-bottom: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--border-color);
}

.book-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.book-detail-grid {
  display: grid;
  grid-template-rows: auto auto auto;
  row-gap: 2rem;
}

.book-row-1 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: flex-start;
}

.book-row-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: flex-start;
}

.book-row-3 {
  grid-column: 1 / -1;
}

.book-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.book-gallery img {
  max-width: 120px;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--box-shadow);
  background: #fff;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.book-gallery img:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.book-cover-top {
  text-align: center;
  margin-bottom: 0;
}

.book-cover-top img {
  display: block;
  margin: 0 auto;
  max-width: 350px;
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.book-info-detail h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.book-info-detail .book-meta {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.book-meta span {
  display: inline-block;
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
}

.book-meta i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.book-description {
  margin-bottom: 2rem;
  line-height: 1.8;
}

.book-video {
  margin-top: 2rem;
}

.book-video iframe {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius);
}

/* P4C Page Styles */
.p4c-content-section {
  padding: 5rem 0;
  background-color: #fff;
}

.p4c-content {
  max-width: 1200px;
  margin: 0 auto;
}

.p4c-content h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.p4c-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.p4c-content p:first-of-type {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-color);
}

.cta-buttons {
  margin-top: 3rem;
  text-align: center;
}

.cta-buttons .btn {
  margin: 0 0.5rem 1rem;
}

/* Training Levels */
.training-level {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.training-level-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.8rem;
}

.training-level-header h3 {
  margin: 0;
  display: flex;
  align-items: center;
}

.training-level p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.training-level h4 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
}

.training-level ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.training-level ul li {
  margin-bottom: 0.5rem;
  position: relative;
  list-style-type: disc;
}

.training-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.training-info-item {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: var(--border-radius-sm);
}

.training-info-item h4, .training-info-item h4 i {
  color: #1565c0;
}

.training-info-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cta {
  text-align: center;
  margin-top: 4rem;
  padding: 2rem;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Resources Page */
.resources-section {
  margin-bottom: 4rem;
}

.resources-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.8rem;
}

.resources-list {
  padding-left: 1.5rem;
}

.resources-list li {
  margin-bottom: 0.8rem;
  list-style-type: disc;
}

/* Workshop Page */
.workshop-type {
  font-size: 1rem;
  color: #6a4c93;
  font-weight: bold;
  position: relative;
  display: block;
  margin-bottom: 1.5em;
}

.workshop-type::after {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background: #3ec28f;
  border-radius: 2px;
  margin-top: 0.3em;
}

.workshop-details {
  margin-top: 2rem;
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: var(--border-radius-sm);
}

.workshop-details h4 {
  margin-bottom: 1rem;
  color: var(--dark-color);
  font-size: 1.3rem;
}

.workshop-age-group {
  margin-bottom: 1.5rem;
}

.workshop-age-group span {
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-right: 0.5rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* FAQ Page */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.faq-question {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.faq-answer {
  line-height: 1.8;
}

/* Events Page */
.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin: 40px 0;
}
.event-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
  min-height: 350px;
}
.event-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.event-imgs img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #f4f4f4;
}
.event-info {
  padding: 20px 18px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.event-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
  text-transform: none;
}
.event-date {
  font-size: 1rem;
  font-weight: 400;
  color: #888;
  margin-bottom: 8px;
}
.event-desc {
  font-size: 1rem;
  color: #444;
  margin-top: auto;
}
@media (max-width: 600px) {
  .event-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .event-card {
    min-height: 280px;
  }
  .event-imgs img {
    height: 120px;
  }
  .event-info {
    padding: 12px 10px 10px 10px;
  }
}

/* Contact Page */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  margin-bottom: 3rem;
}

.contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-item i {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.3rem;
}

.contact-text h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.contact-form {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
}

.contact-form h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-btn {
  width: 100%;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.form-btn:hover {
  background-color: var(--accent-color);
}

/* Media Queries */
@media (max-width: 992px) {
  .desktop-nav {
      display: none;
  }
  
  .mobile-menu-btn {
      display: block;
  }
  
  .hero h1 {
      font-size: 2.8rem;
  }
  
  .two-column {
      grid-template-columns: 1fr;
      gap: 2rem;
  }
  
  .two-column .content,
  .two-column .image {
      order: 0;
  }
  
  .two-column .section-title {
      text-align: center;
  }
  
  .two-column .section-title:after {
      left: 50%;
      transform: translateX(-50%);
  }
  
  .two-column .buttons {
      text-align: center;
  }
  
  .about-grid,
  .book-detail-grid,
  .contact-content {
      grid-template-columns: 1fr;
      gap: 2rem;
  }
  
  .about-image {
      text-align: center;
  }
  
  .about-image img {
      max-width: 400px;
  }
  
  .book-cover {
      text-align: center;
  }
  
  .event-item {
      grid-template-columns: 1fr;
      text-align: center;
  }
  
  .event-date {
      max-width: 200px;
      margin: 0 auto;
  }
  
  .book-row-1 {
      grid-template-columns: 1fr;
  }
  
  .book-gallery {
      justify-content: flex-start;
  }
  
  .book-row-2 {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
      height: auto;
      min-height: 600px;
      padding: 150px 0 100px;
  }
  
  .hero h1 {
      font-size: 2.2rem;
  }
  
  .hero p {
      font-size: 1rem;
  }
  
  .section-title {
      font-size: 1.8rem;
  }
  
  .workshop-cards {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .page-header h1 {
      font-size: 2.2rem;
  }
  
  .about-text h2,
  .book-info-detail h2,
  .p4c-content h2,
  .training-level h3,
  .resources-section h2,
  .workshop-type h3,
  .contact-info h2,
  .contact-form h2 {
      font-size: 1.6rem;
  }
  
  .book-video iframe {
      height: 300px;
  }
}

@media (max-width: 576px) {
  .hero-buttons .btn {
      display: block;
      width: 100%;
      margin: 0 0 1rem;
  }
  
  .books-grid,
  .workshop-cards {
      grid-template-columns: 1fr;
  }
  
  .footer-grid {
      grid-template-columns: 1fr;
  }
  
  .social-contact {
      flex-direction: column;
      gap: 1rem;
      align-items: center;
  }
  
  .book-meta span {
      display: block;
      margin-bottom: 0.5rem;
  }
  
  .book-video iframe {
      height: 250px;
  }
}

/* Training Content */
.training-content {
  padding: 5rem 0;
}

.intro-text {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.intro-text h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.book-info-col {
  min-width: 0;
}

.book-desc-col {
  min-width: 0;
}

.img-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}
.img-modal-content {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  background: #fff;
  display: block;
}
.close-modal {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.2s;
}
.close-modal:hover {
  color: var(--secondary-color);
}
@media (max-width: 768px) {
  .img-modal-content {
      max-width: 98vw;
      max-height: 60vh;
  }
  .close-modal {
      top: 10px;
      right: 20px;
      font-size: 2.2rem;
  }
}

.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 3.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 2100;
  user-select: none;
  padding: 0 18px;
  transition: color 0.2s, background 0.2s;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  line-height: 1;
}
.modal-arrow.left {
  left: 30px;
}
.modal-arrow.right {
  right: 30px;
}
.modal-arrow:hover {
  color: var(--secondary-color);
  background: rgba(0,0,0,0.4);
}
@media (max-width: 768px) {
  .modal-arrow {
      font-size: 2.2rem;
      left: 10px;
      right: 10px;
      padding: 0 10px;
  }
  .modal-arrow.left {
      left: 10px;
  }
  .modal-arrow.right {
      right: 10px;
  }
}

.video-thumbnail-link {
  display: block;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
  transition: box-shadow 0.2s;
}
.video-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.video-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.2s;
  z-index: 2;
  pointer-events: none;
}
.video-thumbnail-link:hover .video-play-icon {
  transform: translate(-50%, -50%) scale(1.15);
}
.video-thumbnail-link:hover .video-thumbnail::after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.08);
  z-index: 1;
}
@media (max-width: 600px) {
  .video-thumbnail-link {
      max-width: 100%;
  }
  .video-thumbnail {
      aspect-ratio: 16/9;
  }
  .video-play-icon svg {
      width: 44px;
      height: 44px;
  }
}

.training-level.level-1 {
  background: #e3f6fd;
  border: 2px solid #90caf9;
}
.training-level.level-2 {
  background: #f3e8fd;
  border: 2px solid #ce93d8;
}
.training-level.level-3 {
  background: #fffde7;
  border: 2px solid #ffe082;
}
.level-crown {
  margin-left: 20px;
  font-size: 1.2em;
  vertical-align: middle;
}
.training-level h3 .level-crown:first-of-type {
  margin-left: 10px;
}
.level-crown-1 {
  color: #1976d2;
}
.level-crown-2 {
  color: #8e24aa;
}
.level-crown-3 {
  color: #ffd600;
}
.training-level.level-1 h3 {
  color: #1976d2;
}
.training-level.level-2 h3 {
  color: #8e24aa;
}
.training-level.level-3 h3 {
  color: #ffd600;
}

.training-level.level-1 .training-info-item {
  background: #bbdefb;
}
.training-level.level-2 .training-info-item {
  background: #e1bee7;
}
.training-level.level-3 .training-info-item {
  background: #ffe082;
}

.training-level.level-1 .training-info-item h4, .training-level.level-1 .training-info-item h4 i {
  color: #0d47a1;
}
.training-level.level-2 .training-info-item h4, .training-level.level-2 .training-info-item h4 i {
  color: #4a148c;
}
.training-level.level-3 .training-info-item h4, .training-level.level-3 .training-info-item h4 i {
  color: #ff8f00;
}

.training-level.level-1 .training-level-header {
  border-bottom: 2px solid #1976d2;
}
.training-level.level-2 .training-level-header {
  border-bottom: 2px solid #8e24aa;
}
.training-level.level-3 .training-level-header {
  border-bottom: 2px solid #ffd600;
}
.training-level.level-1 .training-register-btn {
  background-color: #1976d2;
  color: #fff;
}
.training-level.level-1 .training-register-btn:hover {
  background: transparent;
  color: #1976d2;
  border: 2px solid #1976d2;
}
.training-level.level-2 .training-register-btn {
  background-color: #8e24aa;
  color: #fff;
}
.training-level.level-2 .training-register-btn:hover {
  background: transparent;
  color: #8e24aa;
  border: 2px solid #8e24aa;
}
.training-level.level-3 .training-register-btn {
  background-color: #ffd600;
  color: #fff;
}
.training-level.level-3 .training-register-btn:hover {
  background: transparent;
  color: #ffd600;
  border: 2px solid #ffd600;
}

.training-register-btn {
  padding: 0.4rem 1.2rem;
  font-size: 1rem;
  border-radius: var(--border-radius-sm);
}

.resource-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
  border: 1.5px solid var(--border-color);
  transition: box-shadow 0.2s, border 0.2s;
}
.resource-card:hover {
  box-shadow: 0 8px 32px rgba(106,76,147,0.13);
  border-color: var(--primary-color);
}
.resource-card h2 {
  font-size: 1.3rem;
  color: var(--primary-color);
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.7rem;
  margin-bottom: 1.2rem;
}

.resources-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .resources-card-grid {
      grid-template-columns: 1fr;
  }
}

.uygulama-kitap-list {
  display: block !important;
  columns: 3 250px;
  -webkit-columns: 3 250px;
  -moz-columns: 3 250px;
  column-gap: 2rem;
  padding-left: 0 !important;
  list-style: none !important;
}
@media (max-width: 900px) {
  .uygulama-kitap-list {
      columns: 2 200px;
  }
}
@media (max-width: 600px) {
  .uygulama-kitap-list {
      columns: 1 100%;
  }
}
.uygulama-kitap-list li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  list-style-type: disc !important;
  margin-left: 1.2em;
}

.resource-card, .resources-section {
  display: block !important;
}

.four-col-list {
  columns: 4 180px;
  -webkit-columns: 4 180px;
  -moz-columns: 4 180px;
}
@media (max-width: 900px) {
  .four-col-list {
      columns: 2 200px;
  }
}
@media (max-width: 600px) {
  .four-col-list {
      columns: 1 100%;
  }
}

.kitap-list a, .film-list a, .uygulama-kitap-list a, .four-col-list a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .p4c-two-column {
      grid-template-columns: 1fr;
  }
  .p4c-main-content {
      margin-bottom: 2rem;
  }
}

.p4c-btn-desc {
  font-size: 0.98rem;
  color: #666;
  margin: 0.3rem 0 1.1rem 0;
  line-height: 1.5;
  padding-left: 2px;
} 
.desktop-nav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.2em;
  padding: 0;
  margin: 0;
  list-style: none;
}

.desktop-nav ul li {
  font-size: 0.85rem;
  margin-left: 0 !important; /* Menüdeki gereksiz boşluğu sıfırlar */
}

.desktop-nav ul li a {
  font-size: 0.85rem;
  padding: 0.4em 0.7em;
  display: block;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .desktop-nav ul li,
  .desktop-nav ul li a {
    font-size: 0.75rem;
    padding: 0.3em 0.4em;
  }
}

.desktop-nav ul li.has-submenu {
  position: relative;
}
.desktop-nav ul li .submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 2px 8px #0001;
  z-index: 100;
  padding: 0.5em 0;
}
.desktop-nav ul li.has-submenu:hover > .submenu {
  display: block;
}
.desktop-nav ul li .submenu li a {
  padding: 0.5em 1em;
  font-size: 0.95em;
  color: #333;
  white-space: nowrap;
}
.desktop-nav ul li .submenu li a:hover {
  background: #f3f3f3;
}

.submenu-arrow {
  font-size: 0.7em;
  margin-left: 0.3em;
  vertical-align: middle;
}

.vurgulu-baslik {
  color: #6a4c93;
  font-weight: bold;
  position: relative;
  display: inline-block;
  margin-bottom: 0.5em;
}
.vurgulu-baslik::after {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background: #3ec28f;
  border-radius: 2px;
  margin-top: 0.3em;
}

.events-section {
  max-width: 1200px;
  margin: 60px auto 60px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(106,76,147,0.10);
  padding: 3rem 2rem;
}

.section-subtitle {
  color: #fff;
  background: linear-gradient(90deg, #6a4c93 0%, #3ec28f 100%);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2.5rem 0 1.5rem 0;
  text-align: center;
  display: inline-block;
  padding: 0.7em 2.2em;
  border-radius: 2em;
  box-shadow: 0 2px 12px rgba(106,76,147,0.10);
  letter-spacing: 0.02em;
}

/* Kitaplarım kartları için modern grid ve kart stili */
.kitap-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 40px 0;
}
.kitap-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
  min-height: 400px;
}
.kitap-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.kitap-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #f4f4f4;
}
.kitap-info {
  padding: 20px 18px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.kitap-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}
.kitap-author {
  font-size: 1rem;
  color: #888;
  margin-bottom: 6px;
}
.kitap-pub {
  font-size: 0.98rem;
  color: #666;
  margin-bottom: 6px;
}
.kitap-age {
  font-size: 0.98rem;
  color: #007bff;
  margin-bottom: 6px;
}
.kitap-desc {
  font-size: 1rem;
  color: #444;
  margin-bottom: 12px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.kitap-detail-btn {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 8px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  margin-top: 8px;
  transition: background 0.2s;
  text-align: center;
}
.kitap-detail-btn:hover {
  background: #0056b3;
}
@media (max-width: 1200px) {
  .kitap-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .kitap-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .kitap-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .kitap-card {
    min-height: 320px;
  }
  .kitap-img img {
    height: 140px;
  }
  .kitap-info {
    padding: 12px 10px 10px 10px;
  }
}

.kitaplar-section {
  max-width: 1200px;
  margin: 0 auto;
}