/* Art With Heart - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
  --primary-teal: #2a9d8f;
  --primary-teal-dark: #238b7e;
  --primary-orange: #e8985e;
  --background-gray: #f5f5f5;
  --white: #ffffff;
  --text-dark: #333333;
  --text-gray: #555555;
  --text-muted: #666666;
  --link-teal: #2a9d8f;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
  --border-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--background-gray);
  color: var(--text-dark);
  line-height: 1.8;
}

/* Navigation */
.navbar {
  background: var(--primary-teal);
  padding: 0.75rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: white;
}

/* Instagram icon in navbar */
.nav-instagram {
  display: flex;
  align-items: center;
  margin-left: 1.5rem;
}

.nav-instagram a {
  color: white;
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.nav-instagram a:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 400;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.85;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

/* Hero/Intro Section */
.hero {
  background: var(--background-gray);
  color: var(--text-dark);
  padding: 4rem 2rem;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.hero-text {
  text-align: center;
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.hero p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.hero-image-section {
  text-align: center;
}

.hero-image-section img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

.hero-image-section .caption {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.hero-image-section .caption a {
  color: var(--link-teal);
  text-decoration: none;
}

.hero-image-section .caption a:hover {
  text-decoration: underline;
}

/* Sections */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-alt {
  background: var(--white);
}

.section-title {
  font-family: 'Lora', serif;
  font-size: 2rem;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card h3 {
  font-family: 'Lora', serif;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 500;
}

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

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

.two-column img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

.two-column h2 {
  font-family: 'Lora', serif;
  color: var(--text-dark);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.two-column p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* CTA Button */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--primary-teal);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--primary-teal-dark);
}

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

.btn-outline:hover {
  background: var(--primary-teal);
  color: white;
}

/* Activity Books Page */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.book-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

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

.book-card .language {
  font-family: 'Lora', serif;
  font-size: 1.4rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 1rem;
}

.book-card .btn {
  margin-top: 1rem;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-teal);
}

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

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--primary-teal);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-teal-dark);
  transform: scale(1.1);
}

/* Gold Award Badge */
.gold-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  margin: 2rem auto;
}

.gold-badge img {
  height: 80px;
  width: auto;
}

/* Footer */
.footer {
  background: var(--primary-teal);
  color: white;
  padding: 1.5rem 2rem;
  text-align: center;
}

.footer p {
  font-size: 0.9rem;
}

.footer a {
  color: white;
  text-decoration: underline;
}

.footer a:hover {
  opacity: 0.85;
}

/* Page Header */
.page-header {
  background: var(--background-gray);
  color: var(--text-dark);
  padding: 3rem 2rem;
  text-align: center;
}

.page-header h1 {
  font-family: 'Lora', serif;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.page-header p {
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-teal);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    box-shadow: var(--shadow-soft);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .two-column.reverse {
    direction: ltr;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }
}
