/* ========================================
   TABLE OF CONTENTS
   ========================================
   1. Reset & Base Styles
   2. Animations & Keyframes
   3. Header & Navigation
   4. Hero Section
   5. Section Base Styles
   6. Movies Section
   7. Quotes Section
   8. Gallery Section
   9. Characters Section
   10. Timeline Section
   11. Miyazaki Section
   12. Ghibli Kitchen Section
   13. Footer
   14. Responsive Design
   ======================================== */


/* ========================================
   1. RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background: #e8f6e5;
  line-height: 1.6;
  overflow-x: hidden;
}


/* ========================================
   2. ANIMATIONS & KEYFRAMES
   ======================================== */
@keyframes dreamyGlow {
  0% { opacity: 0.5; }
  100% { opacity: 0.8; }
}

@keyframes floatIn {
  0% { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

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

@keyframes floatMagic {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-20px);
    opacity: 0.5;
  }
}


/* ========================================
   3. HEADER & NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0.8rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  z-index: 1000;
}

/* Glass Effect Styling */
.glass,
.logo,
.menu-icon {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1rem;
  border-radius: 999px;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.logo:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Menu Toggle */
.menu-checkbox {
  display: none;
}

.menu-icon {
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.6rem 0.9rem;
  border-radius: 0.8rem;
}

.menu-icon:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 100%;
  right: 1.2rem;
  margin-top: 0.6rem;
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.8rem;
  padding: 0.6rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  min-width: 190px;
}

.dropdown a {
  text-decoration: none;
  font-family: 'Newsreader', serif;
  font-size: 1.05rem;
  color: #333;
  font-weight: 500;
  padding: 0.6rem 0.8rem;
  margin: 0.25rem 0;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.dropdown a:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #000;
}

.menu-checkbox:checked ~ .dropdown {
  display: flex;
}


/* ========================================
   4. HERO SECTION
   ======================================== */
.hero {
  height: 100vh;
  background: url('hero-bg.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: right;
  position: relative;
  padding-right: 5%;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  animation: dreamyGlow 6s ease-in-out infinite alternate;
}

.hero-content {
  z-index: 2;
  max-width: 600px;
  padding: 2rem;
}

.hero h1 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  animation: floatIn 2s ease-out;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.3rem;
  color: #fff;
  font-style: italic;
  animation: fadeIn 2s ease-out 0.5s both;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}


/* ========================================
   5. SECTION BASE STYLES
   ======================================== */
.section {
  padding: 6rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  background: #e8f6e5;
  border-radius: 20px;
}

.section h2 {
  font-family: 'Caveat', cursive;
  font-size: 3rem;
  color: #3e4d2f;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #6d9773, #c4a381);
  border-radius: 2px;
}


/* ========================================
   6. MOVIES SECTION
   ======================================== */
.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.movie-card {
  perspective: 1000px;
  height: 420px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.movie-card:hover .card-inner {
  transform: rotateY(180deg);
}

.movie-card:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

/* Card Faces */
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-front {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
}

.card-front .movie-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-front .movie-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #3e4d2f;
  padding: 1rem;
  background: rgba(244, 241, 234, 0.9);
}

.card-back {
  background: linear-gradient(135deg, #6d9773, #c4a381);
  transform: rotateY(180deg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'Lato', sans-serif;
  color: #fff;
}


/* ========================================
   7. QUOTES SECTION
   ======================================== */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.quote-card {
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.quote-card:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.quote-text {
  font-family: "Merriweather", serif;
  font-size: 1.15rem;
  font-style: italic;
  color: #2c2c2c;
  margin-bottom: 1rem;
  text-align: left;
}

.quote-source {
  font-family: "Lato", sans-serif;
  color: #4b4b4b;
  font-weight: 600;
  text-align: left;
}


/* ========================================
   8. GALLERY SECTION
   ======================================== */
.gallery {
  background: #e8f6e5;
  padding: 3rem 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  aspect-ratio: 16/9;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(107, 141, 214, 0.2);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 1.2rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  font-size: 0.95rem;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}


/* ========================================
   9. CHARACTERS SECTION
   ======================================== */
.characters-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3rem;
}

.character-card {
  text-align: center;
  transition: all 0.3s ease;
  max-width: 220px;
}

.character-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffeef8, #b8e6cc);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid rgba(168, 213, 226, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 15px rgba(107, 141, 214, 0.15);
}

.character-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.character-card:hover .character-avatar {
  transform: scale(1.08);
  border-color: #a8d5e2;
  box-shadow: 0 12px 20px rgba(107, 141, 214, 0.25);
}

.character-name {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.2rem;
  color: #6b8dd6;
  margin-bottom: 0.5rem;
}

.character-description {
  color: #7a8fa3;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.4;
}

.character-card:hover .character-description {
  opacity: 1;
  transform: translateY(0);
}


/* ========================================
   10. TIMELINE SECTION
   ======================================== */
.timeline-section {
  padding: 6rem 5%;
  position: relative;
  max-width: 950px;
  margin: 0 auto;
  background: #e8f6e5;
  overflow: hidden;
}

.timeline-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Header */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.section-title {
  font-family: 'Caveat', cursive;
  font-size: 3rem;
  color: #3e4d2f;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #6d9773, #c4a381);
  border-radius: 2px;
}

.section-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: #6d9773;
  opacity: 0.9;
  margin-top: 1rem;
}

/* Timeline Layout */
.timeline-compact {
  margin: 3rem 0;
  position: relative;
  z-index: 2;
}

.timeline-track {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 0 1rem;
  gap: 1.5rem;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 70px;
  right: 70px;
  height: 3px;
  background: linear-gradient(90deg, rgba(109, 151, 115, 0.5), rgba(196, 163, 129, 0.8), rgba(109, 151, 115, 0.5));
  border-radius: 10px;
  z-index: 1;
}

/* Milestone Cards */
.milestone-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.milestone-compact:hover {
  transform: translateY(-5px);
}

/* Year Bubble */
.year-bubble {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  font-weight: 700;
  color: #3e4d2f;
  background: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  border: 2px solid #c4a381;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(62, 77, 47, 0.08);
  position: relative;
}

.year-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #c4a381;
  border-radius: 50%;
  border: 3px solid #e8f6e5;
}

/* Content Cards */
.content-compact {
  background: #ffffff;
  padding: 1.3rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(109, 151, 115, 0.2);
  box-shadow: 0 8px 18px rgba(62, 77, 47, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  min-width: 150px;
}

.title-compact {
  font-weight: 600;
  font-size: 1rem;
  color: #3e4d2f;
  margin-bottom: 0.3rem;
  font-family: 'Outfit', sans-serif;
}

.description-compact {
  font-size: 0.9rem;
  color: #5e6b53;
  opacity: 0.9;
  line-height: 1.5;
  font-family: 'Outfit', sans-serif;
}

.milestone-compact:hover .year-bubble {
  background: #6d9773;
  color: #fff;
  border-color: #6d9773;
  box-shadow: 0 6px 18px rgba(109, 151, 115, 0.3);
}

.milestone-compact:hover .content-compact {
  border-color: rgba(196, 163, 129, 0.4);
  box-shadow: 0 10px 30px rgba(62, 77, 47, 0.15);
}

/* Mini Quote */
.mini-quote {
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.mini-quote::before {
  content: '"';
  font-family: 'Caveat', cursive;
  font-size: 2.5rem;
  color: #c4a381;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
}

.mini-quote p {
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  color: #6d9773;
  margin-top: 1.2rem;
  font-weight: 500;
}


/* ========================================
   11. THE HEART BEHIND THE MAGIC SECTION
   ======================================== */
.miyazaki-section {
  padding: 6rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  background: #e8f6e5;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  animation: fadeUp 1s ease both;
}

.miyazaki-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(109, 151, 115, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(196, 163, 129, 0.05) 0%, transparent 50%);
  opacity: 0.5;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
}

/* Grid Layout */
.miyazaki-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

/* Text Area */
.miyazaki-text {
  line-height: 1.8;
  color: #4b3f33;
}

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

.miyazaki-text em {
  color: #6d9773;
  font-weight: 500;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #c4a381, transparent);
  margin: 2.5rem 0;
  opacity: 0.7;
}

/* Links */
.ghibli-links {
  margin-top: 2rem;
}

.links-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #3e4d2f;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.links-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.4rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(196, 163, 129, 0.3);
  border-radius: 14px;
  text-decoration: none;
  color: #5a4c3e;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.link-item:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(8px) scale(1.02);
  border-color: #6d9773;
  box-shadow: 0 8px 20px rgba(109, 151, 115, 0.15);
}

.link-arrow {
  color: #6d9773;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.link-item:hover .link-arrow {
  transform: translateX(4px);
}

/* Image */
.miyazaki-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2.5px solid #c4a381;
  background: #fff;
  box-shadow: 0 10px 30px rgba(62, 77, 47, 0.15);
  transition: all 0.4s ease;
  max-width: 380px;
  justify-self: center;
}

.miyazaki-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.miyazaki-image:hover img {
  transform: scale(1.03);
}

.miyazaki-image:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(62, 77, 47, 0.25);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(109, 151, 115, 0.15), rgba(196, 163, 129, 0.15));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.miyazaki-image:hover .image-overlay {
  opacity: 1;
}


/* ========================================
   12. GHIBLI KITCHEN SECTION
   ======================================== */
#ghibli-kitchen {
  padding: 6rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  background: #e8f6e5;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  animation: fadeUp 1s ease both;
}

#ghibli-kitchen::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(109, 151, 115, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(196, 163, 129, 0.05) 0%, transparent 50%);
  opacity: 0.5;
  z-index: 0;
}

.section-header h2 {
  font-family: 'Caveat', cursive;
  font-size: 3rem;
  color: #3e4d2f;
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #6d9773, #c4a381);
  border-radius: 2px;
}

.section-header p {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  color: #6d9773;
  font-style: italic;
}

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

/* Recipe Cards */
.recipe-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(196, 163, 129, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.recipe-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.recipe-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.recipe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.recipe-card:hover .recipe-image img {
  transform: scale(1.1);
}

.recipe-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(109, 151, 115, 0.2), rgba(196, 163, 129, 0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.recipe-card:hover .recipe-overlay {
  opacity: 1;
}

.film-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #3e4d2f;
  backdrop-filter: blur(10px);
}

.recipe-content {
  padding: 1.5rem;
}

.recipe-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  color: #3e4d2f;
  margin-bottom: 0.8rem;
}

.recipe-description {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: #5a4c3e;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.recipe-details {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.recipe-details span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: #6d9773;
  background: rgba(109, 151, 115, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
}

/* YouTube Button */
.recipe-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8rem;
  background: linear-gradient(135deg, #6d9773, #5a8361);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.recipe-btn:hover {
  background: linear-gradient(135deg, #5a8361, #6d9773);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(109, 151, 115, 0.3);
}

.recipe-btn i {
  font-size: 1.1rem;
}


/* ========================================
   13. FOOTER
   ======================================== */
.footer {
  background: #e8f6e5;
  color: #3e4d2f;
  padding: 3rem 5% 2rem;
  position: relative;
  overflow: hidden;
  font-family: 'Outfit', sans-serif;
  border-top: 1px solid rgba(196, 163, 129, 0.3);
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(109, 151, 115, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(196, 163, 129, 0.03) 0%, transparent 50%);
  z-index: 0;
}

/* Magic Circles */
.magic-circle {
  position: absolute;
  border-radius: 50%;
  animation: floatMagic 8s ease-in-out infinite;
  z-index: 1;
}

.circle-1 {
  width: 8px;
  height: 8px;
  top: 30%;
  left: 5%;
  background: rgba(109, 151, 115, 0.2);
  animation-delay: 0s;
}

.circle-2 {
  width: 6px;
  height: 6px;
  top: 60%;
  left: 10%;
  background: rgba(196, 163, 129, 0.2);
  animation-delay: 2s;
}

.circle-3 {
  width: 10px;
  height: 10px;
  top: 40%;
  right: 8%;
  background: rgba(109, 151, 115, 0.2);
  animation-delay: 4s;
}

/* Footer Content Layout */
.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

/* Left: Logo + Quote Section */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 1rem;
}

.footer-logo {
  width: 70px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
}

.footer-quote-section {
  text-align: left;
}

.footer-quote {
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  color: #3e4d2f;
  font-weight: 600;
  margin: 0 0 0.8rem;
  line-height: 1.3;
}

.credit p {
  color: #5a4c3e;
  font-size: 0.85rem;
  margin: 0.2rem 0;
}

.signature {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  color: #3e4d2f;
  font-weight: 600;
}

/* Center: Navigation Links */
.footer-nav {
  text-align: center;
}

.nav-columns {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.nav-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-column a {
  color: #5a4c3e;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.2rem 0;
  position: relative;
  font-family: 'Outfit', sans-serif;
}

.nav-column a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #6d9773;
  transition: width 0.3s ease;
}

.nav-column a:hover {
  color: #3e4d2f;
  transform: translateX(3px);
}

.nav-column a:hover::before {
  width: 100%;
}

/* Right: Social Links */
.social-links {
  text-align: right;
}

.social-icons {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(196, 163, 129, 0.3);
  border-radius: 50%;
  color: #5a4c3e;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #3e4d2f;
  transform: translateY(-2px);
  border-color: #6d9773;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Headings for Nav & Social */
.footer-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #3e4d2f;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.social-links .footer-heading {
  text-align: right;      
  margin-right: 1.5rem;   
}



/* ========================================
   14. RESPONSIVE DESIGN
   ======================================== */

/* Tablet - 768px and below */
@media (max-width: 768px) {
  /* Header */
  .header {
    padding: 1rem 3%;
  }
  
  /* Hero */
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  /* Sections */
  .section {
    padding: 4rem 3%;
  }
  
  .section h2 {
    font-size: 2rem;
  }
  
  /* Characters */
  .characters-grid {
    gap: 2rem;
  }

  /* Timeline Mobile */
  .timeline-track {
    flex-direction: column;
    gap: 2rem;
    padding: 0;
  }

  .timeline-track::before {
    top: 0;
    left: 35px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(196, 163, 129, 0.5), rgba(143, 166, 137, 0.8), rgba(196, 163, 129, 0.5));
  }

  .milestone-compact {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .year-bubble {
    margin-bottom: 0;
    min-width: 80px;
  }

  .year-bubble::after {
    bottom: 50%;
    left: -12px;
    transform: translateY(50%);
  }

  .content-compact {
    text-align: left;
  }

  /* Miyazaki Section */
  .miyazaki-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .miyazaki-image {
    order: -1;
    max-width: 300px;
    margin: 0 auto;
  }

  .section-title {
    font-size: 2.4rem;
  }

  /* Ghibli Kitchen */
  .recipes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .section-header h2 {
    font-size: 2.4rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 5% 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-left {
    align-items: center;
    padding-left: 0;
  }

  .footer-logo {
    margin: 0 auto 1rem;
  }

  .footer-quote-section {
    text-align: center;
  }

  .footer-nav {
    order: 2;
  }

  .nav-columns {
    justify-content: center;
  }

  .social-links {
    order: 3;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-quote {
    font-size: 1.3rem;
  }

  .credit p {
    font-size: 0.85rem;
  }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
  /* Grid Layouts */
  .movies-grid,
  .quotes-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Timeline Small Mobile */
  .section-title {
    font-size: 1.7rem;
  }

  .content-compact {
    padding: 1rem;
  }

  .title-compact {
    font-size: 0.9rem;
  }

  .description-compact {
    font-size: 0.75rem;
  }

  .mini-quote p {
    font-size: 1.1rem;
  }

  /* Miyazaki Section */
  .miyazaki-section {
    padding: 3rem 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .link-item {
    padding: 0.9rem 1.2rem;
  }

  /* Ghibli Kitchen */
  #ghibli-kitchen {
    padding: 3rem 1.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .recipe-content {
    padding: 1.2rem;
  }

  /* Footer */
  .nav-columns {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-column {
    gap: 0.3rem;
  }

  .social-icons {
    gap: 0.5rem;
  }

  .social-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .footer-quote {
    font-size: 1.2rem;
  }

  .credit p {
    font-size: 0.8rem;
  }
}