@charset "UTF-8";
/* ============================================================
   Bocskai Hungarian School - Main Stylesheet
   Fonts: Open Sans, Annie Use Your Telescope, Love Ya Like A Sister
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Annie+Use+Your+Telescope&family=Love+Ya+Like+A+Sister&display=swap");
/* ---- Variables ---- */
:root {
  --color-primary: #388D00;
  --color-secondary: #c8102e;
  --color-accent: #f0a500;
  --color-bg: #ffffff;
  --color-bg-light: #f7f7f7;
  --color-bg-dark: #2a2a2a;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #e0e0e0;
  --font-body: "Open Sans", sans-serif;
  --font-display: "Annie Use Your Telescope", cursive;
  --font-fun: "Love Ya Like A Sister", cursive;
  --max-width: 1140px;
  --nav-height: 70px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

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

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.3;
  color: var(--color-primary);
}

h1 {
  font-size: 2.6rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1.2em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   SITE HEADER & NAVIGATION
   ============================================================ */
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  display: block;
}

/* Primary Nav */
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.primary-nav a:hover,
.primary-nav a.active {
  background: var(--color-primary);
  color: #fff;
}

.primary-nav .nav-external a::after {
  content: " ↗";
  font-size: 0.75em;
  opacity: 0.7;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded=true] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded=true] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded=true] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: radial-gradient(at center center, #388D00 0%, #225600 100%);
  color: #fff;
  min-height: 622px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem;
}

/* Children illustration — positioned right, matching source at 73% width */
.hero-overlay-img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 73%;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.hero h1 {
  font-family: var(--font-fun); /* Love Ya Like A Sister */
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero CTA button — red with dashed border, Annie Use Your Telescope */
.btn-hero-cta {
  display: inline-block;
  background: #FF003C;
  color: #fff;
  font-family: var(--font-display); /* Annie Use Your Telescope */
  font-size: 1.9em;
  font-weight: 700;
  letter-spacing: 2.4px;
  padding: 0.55rem 1.6rem;
  border: 3px dashed rgba(255, 255, 255, 0.7);
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-hero-cta:hover,
.btn-hero-cta:focus {
  background: #fff;
  color: #FF003C;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-primary:hover {
  background: #a50d26;
  color: #fff;
  border-color: #a50d26;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

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

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

/* ============================================================
   INFO BAR
   ============================================================ */
.info-bar {
  background: var(--color-secondary);
  color: #fff;
  padding: 0.85rem 1.5rem;
  text-align: center;
  font-size: 0.92rem;
}

.info-bar strong {
  font-weight: 700;
}

.info-bar a {
  color: #fff;
  text-decoration: underline;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 5rem 0;
}

.section-light {
  background: var(--color-bg-light);
}

.section-dark {
  background: var(--color-bg-dark);
  color: #fff;
}

.section-dark h2, .section-dark h3 {
  color: #fff;
}

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

.section-primary h2, .section-primary h3 {
  color: #fff;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.section-dark .section-header p,
.section-primary .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.section-label {
  display: inline-block;
  font-family: var(--font-fun);
  font-size: 0.9rem;
  color: var(--color-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-dark .section-label,
.section-primary .section-label {
  color: var(--color-accent);
}

/* ============================================================
   GRID & CARDS
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-body {
  padding: 1.75rem;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Age badge on class cards */
.class-age {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   HIGHLIGHT / FEATURE STRIP
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feature-item {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:last-child {
  border-right: none;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.feature-item p {
  font-size: 0.88rem;
  opacity: 0.85;
  margin-bottom: 0;
}

/* ============================================================
   ABOUT / SPLIT SECTION
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

.split-text h2 {
  margin-bottom: 1rem;
}

.split-text p {
  color: var(--color-text-light);
}

.split-image {
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg-light);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.milestone-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.milestone {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.milestone-year {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-secondary);
  font-weight: 700;
  min-width: 48px;
}

.milestone-text {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 2.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.05rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--color-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.timeline-item h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
  margin-bottom: 0.2rem;
}

.contact-detail p, .contact-detail a {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(44, 95, 138, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

/* ============================================================
   MAP PLACEHOLDER
   ============================================================ */
.map-placeholder {
  background: var(--color-bg-light);
  border: 2px dashed var(--color-border);
  border-radius: 8px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #225600 100%);
  color: #fff;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
  justify-content: center;
  margin-bottom: 0.75rem;
  opacity: 0.75;
}

.breadcrumb a {
  color: #fff;
}

.breadcrumb-sep {
  opacity: 0.5;
}

/* ============================================================
   ENROLMENTS
   ============================================================ */
.enrol-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.enrol-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.step-number {
  counter-increment: step;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 0.4rem;
}

.step-content p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* Fee table */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.93rem;
}

.fee-table th {
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}

.fee-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.fee-table tr:nth-child(even) td {
  background: var(--color-bg-light);
}

/* ============================================================
   SCHOOL LIFE / GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-bg-light);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

/* ============================================================
   COMMUNITY
   ============================================================ */
.social-card {
  background: var(--color-primary);
  color: #fff;
  border-radius: 10px;
  padding: 2.5rem;
  text-align: center;
}

.social-card h3 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.social-card p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.facebook-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1877f2;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.facebook-btn:hover {
  background: #1464d8;
  color: #fff;
}

/* ============================================================
   LIBRARY
   ============================================================ */
.library-categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.lib-cat {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--color-primary);
}

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

.book-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.book-item img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}

.book-item img:hover {
  transform: translateY(-3px);
  box-shadow: 4px 8px 20px rgba(0, 0, 0, 0.22);
}

.book-item-title {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--color-text-light);
}

.lib-cat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.lib-cat h4 {
  font-size: 0.85rem;
  color: var(--color-text);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-logo {
  display: inline-flex;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
}

.footer-tagline {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  opacity: 0.7;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item span:first-child {
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .feature-item:nth-child(2) {
    border-right: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .library-categories {
    grid-template-columns: repeat(3, 1fr);
  }
  .book-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .primary-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem;
  }
  .primary-nav.open {
    display: block;
  }
  .primary-nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }
  .primary-nav a {
    padding: 0.65rem 1rem;
  }
  .nav-toggle {
    display: flex;
  }
  .hero {
    min-height: 0;
    padding: 3rem 1.5rem 14rem;
  }
  .hero-overlay-img {
    width: 90%;
    height: auto;
    top: auto;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    opacity: 0.35;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .grid-2, .grid-3, .split, .contact-grid {
    grid-template-columns: 1fr;
  }
  .split-reverse {
    direction: ltr;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .feature-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .feature-item:last-child {
    border-bottom: none;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .library-categories {
    grid-template-columns: repeat(2, 1fr);
  }
  .book-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.6rem;
  }
}
@media (max-width: 480px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid, .library-categories {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=main.css.map */