/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --red: #d32f2f;
  --red-dark: #b71c1c;
  --black: #1a1a1a;
  --teal: #5195b2;
  --teal-dark: #3d7a94;
  --cream: #e3ddc8;
  --cream-light: #eee9d8;
  --gray-light: #f9f9f9;
  --gray-mid: #e0e0e0;
  --shadow-text: 1px 1px 3px rgba(0, 0, 0, 0.15);
  --shadow-box: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-box-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --max-width: 1100px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--black);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--red-dark);
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  text-shadow: var(--shadow-text);
  color: var(--black);
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  text-shadow: var(--shadow-text);
}

.subtitle {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 3px;
  color: var(--red);
  text-shadow: var(--shadow-text);
  margin-bottom: 1.5rem;
}

/* ===== NAV ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
  text-shadow: var(--shadow-text);
  letter-spacing: 1px;
}

.nav-logo:hover {
  color: var(--red);
}

.nav-links {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background: var(--white);
  flex-direction: column;
  gap: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 999;
}

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

.nav-links a {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: lowercase;
  color: var(--black);
  letter-spacing: 1px;
  display: block;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--gray-light);
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

.section-divider {
  width: 90%;
  height: 3px;
  background: var(--red);
  margin-bottom: 2rem;
  border-radius: 2px;
}

/* ===== HOME HERO ===== */
.hero {
  padding-top: 120px;
  padding-bottom: 5rem;
  background: var(--white);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 0.25rem;
}

.hero-text .subtitle {
  margin-bottom: 2rem;
}

.hero-text p {
  font-size: 1.05rem;
  color: #444;
  max-width: 500px;
}

/* Author photo placeholder */
.author-photo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.author-photo {
  width: 340px;
  height: 420px;
  background: var(--cream-light);
  border: 4px solid var(--teal);
  box-shadow: var(--shadow-box-lg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.author-photo::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 2px solid var(--teal);
  border-radius: 4px;
  pointer-events: none;
  opacity: 0.3;
}

.author-photo span {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: #aaa;
  text-transform: lowercase;
  letter-spacing: 2px;
}

/* ===== BOOK SECTION ===== */
.book-section {
  background: var(--cream);
}

.book-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.book-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-box-lg);
}

.book-text h2 {
  color: var(--red);
}

.book-text p {
  font-size: 1.05rem;
  color: #444;
}

.book-text .book-title {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 700;
  color: var(--black);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--white);
}

.cta-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cta-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-box);
  max-width: 380px;
}

.cta-text h2 {
  color: var(--teal);
}

.cta-text p {
  font-size: 1.1rem;
  color: #444;
}

.btn {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 1.5px;
  padding: 14px 36px;
  border-radius: 4px;
  transition: all var(--transition);
  cursor: pointer;
  text-shadow: none;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.btn-red:hover {
  background: var(--red-dark);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
  transform: translateY(-1px);
}

/* ===== ABOUT HERO ===== */
.about-hero .section-divider,
.awards-section .section-divider {
  background: var(--teal);
}

.about-hero {
  padding-top: 120px;
  padding-bottom: 5rem;
  background: var(--white);
}

.about-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-hero h1 {
  margin-bottom: 0.5rem;
}

.about-hero .subtitle {
  margin-bottom: 2rem;
}

.about-hero-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-box-lg);
}

.about-hero p {
  font-size: 1.1rem;
  color: #444;
}

/* ===== AWARDS SECTION ===== */
.awards-section {
  background: var(--cream);
}

.awards-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.awards-content h2 {
  color: var(--teal);
}

.awards-list {
  margin: 1.5rem 0;
}

.awards-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #444;
  text-shadow: var(--shadow-text);
  line-height: 1.6;
}

.awards-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--teal);
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.15);
}

.awards-note {
  font-size: 1rem;
  color: #444;
  margin-top: 1.5rem;
}

.awards-image {
  display: flex;
  justify-content: center;
  align-items: start;
  padding-top: 1rem;
}

.awards-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-box);
  max-width: 380px;
}

/* ===== CONNECT SECTION (MEET + COURSES CARDS) ===== */
.connect-section {
  background: var(--white);
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.connect-card {
  background: var(--white);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 2rem 2rem 1.5rem;
  box-shadow: var(--shadow-box);
}

.connect-card h3 {
  color: var(--teal);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.connect-card p {
  font-size: 0.95rem;
  color: #444;
}

.connect-card a.email-link {
  font-weight: 700;
  color: var(--teal);
}

.connect-card a.email-link:hover {
  color: var(--teal-dark);
}

.card-list {
  margin: 1rem 0 0;
}

.card-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  color: #444;
  text-shadow: var(--shadow-text);
  line-height: 1.5;
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--teal);
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.15);
}

/* ===== CONTACT CTA SECTION ===== */
.contact-cta-section {
  padding: 5rem 0;
  background-color: var(--cream-light);
  text-align: center;
}

.contact-cta-section h2 {
  color: var(--teal);
}

.contact-cta-section .section-divider {
  margin: 0 auto 2rem;
}

.contact-cta-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--black);
  font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--teal);
  background-image:
    radial-gradient(circle, var(--white) 18px, transparent 18px),
    radial-gradient(circle, var(--white) 18px, transparent 18px);
  background-size: 90px 90px;
  background-position: 0 0, 45px 45px;
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.footer p {
  font-size: 0.85rem;
  color: var(--teal);
  text-shadow: none;
  margin: 0;
  background: var(--white);
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 4px;
}

.footer a {
  color: var(--teal);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero .container,
  .book-section .container,
  .cta-section .container,
  .awards-section .container,
  .about-hero .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .hero .section-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text p {
    max-width: 100%;
  }

  .hero-text .subtitle {
    margin-bottom: 1.5rem;
  }

  .author-photo {
    width: 280px;
    height: 350px;
  }

  .cta-image img,
  .awards-image img {
    max-width: 320px;
    margin: 0 auto;
  }

  .cta-section .cta-image {
    order: -1;
    text-align: center;
  }

  .cta-image img {
    margin: 0 auto;
  }

  .awards-image {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 3.5rem;
  }

  .about-hero {
    padding-top: 100px;
    padding-bottom: 3.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.7rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .container {
    width: 92%;
  }

  .author-photo {
    width: 240px;
    height: 300px;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }
}


