* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inria Serif', serif;
  background-color: #EFE5DD;
  color: #1b1b1b;
}

html {
  scroll-behavior: smooth;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  width: 100%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  background-color: rgba(239, 229, 221, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo {
  width: 200px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  background-color: rgba(239, 229, 221, 0.9);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #2b1b1b;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #2b1b1b;
  font-size: 1.1rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0%;
  background-color: #a73625;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #a73625;
}

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

.dropdown-menu {
  position: fixed;
  top: 90px;
  left: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  background: rgba(239, 229, 221, 0.7);
  backdrop-filter: blur(20px);
  transition: height 0.4s ease;
  z-index: 1100;
  pointer-events: none;
}

.dropdown-menu.active {
  height: 100vh;
  pointer-events: auto;
}

.dropdown-menu ul {
  list-style: none;
  padding: 100px 0;
  text-align: center;
  margin: 0;
}

.dropdown-menu li {
  margin: 35px 0;
}

.dropdown-menu a {
  color: #1b1b1b;
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dropdown-menu a:hover {
  color: #a73625;
}

/* HERO */
.origami-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: url('../images/tets.png') center top / cover no-repeat;
  color: #F4DEA1;
  overflow: hidden;
  text-align: center;
  font-family: 'Inria Serif', serif;
}

.hero-text {
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-text .date {
  color: #F0E5DD;
  font-size: 11px;
  letter-spacing: 1.1px;
  margin-bottom: 5px;
}

.hero-text .subheading {
  font-size: 24px;
  color: #F4DEA1;
  margin: 12px 0 8px;
}

.hero-text .title {
  font-size: 64px;
  color: #BA4430;
  margin: 0 0 15px;
}

.hero-text .cta {
  font-size: 15px;
  color: #F4DEA1;
  letter-spacing: 1.5px;
}

.hero-text .cta a {
  color: #F4DEA1;
  text-decoration: none;
  letter-spacing: 1.5px;
  position: relative;
}

.hero-text .cta a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background-color: #F4DEA1;
  transition: width 0.3s ease;
}

.hero-text .cta a:hover::after {
  width: 100%;
}

/* HISTORY */
.origami-history {
  position: relative;
  width: 100vw;
  aspect-ratio: 1820/2500;
  background: url('../images/second-page.png') center top / cover no-repeat;
  background-color: #EFE5DD;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.history-text {
  position: absolute;
  top: 23%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(260px, 32vw, 640px);
  color: #EFE5DD;
  text-align: left;
  line-height: 1.6;
  font-size: clamp(12px, 0.9vw, 15px);
}

.history-text h3 {
  font-size: clamp(11px, 0.8vw, 13px);
  letter-spacing: 1.2px;
  margin-bottom: 10px;
  color: #EFE5DD;
}

/* TRADITION */
.tradition-text {
  position: absolute;
  top: 55%;
  left: 10%;
  width: 80%;
  color: #0d0d0d;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 72px);
  flex-wrap: wrap;
}

.tradition-text .description {
  width: min(420px, 42%);
  font-size: clamp(12px, 0.95vw, 15px);
  line-height: 1.6;
  color: #1b1b1b;
}

.tradition-text .titles {
  width: 100%;
  text-align: right;
  margin-top: clamp(-70px, -4vw, -70px);
}

.tradition-text .titles h2 {
  font-size: clamp(28px, 2.2vw, 40px);
  font-weight: 400;
  color: #1b1b1b;
  border-bottom: 2px solid #1b1b1b;
  margin-bottom: 10px;
}

/* TIMELINE */
.timeline-section {
  background-color: #EFE5DD;
  padding: 100px 0;
  color: #2a2a2a;
}

.timeline-container {
  position: relative;
  width: 85%;
  max-width: 1100px;
  margin: 0 auto;
  border-left: 2px solid #1b1b1b;
}

.timeline-block {
  position: relative;
  margin: 80px 0;
  padding-left: 40px;
}

.timeline-dot {
  position: absolute;
  left: -10px;
  top: 10px;
  width: 18px;
  height: 18px;
  background-color: #f6f2eb;
  border: 3px solid #1b1b1b;
  border-radius: 50%;
}

.timeline-line {
  position: absolute;
  left: -1px;
  top: 28px;
  width: 2px;
  height: calc(100% + 60px);
  background-color: #1b1b1b;
}

.timeline-content h2 {
  font-size: 72px;
  color: #a0462f;
  margin-bottom: 0;
  font-weight: 400;
}

.timeline-content h3 {
  font-size: 20px;
  color: #a0462f;
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-content .years,
.timeline-content .century {
  font-size: 12px;
  letter-spacing: 1px;
  margin-top: -10px;
  margin-bottom: 20px;
}

.timeline-content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.timeline-image {
  margin-top: 20px;
  text-align: left;
}

.timeline-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.timeline-image img:hover {
  transform: scale(1.02);
}

/* CRAFT */

.the-craft {
  padding: 80px 8vw;
  background: #EFE5DD;
}

.craft-title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: #9b4a32;
}

.craft-text {
  display: flex;
  justify-content: space-between;
  gap: 5vw;
  margin-bottom: 60px;
}

.left-col,
.right-col {
  flex: 1;
  max-width: 45%;
}

.right-col ul {
  margin-top: 10px;
  padding-left: 20px;
}

.folds-info {
  text-align: center;
  margin-top: 40px;
}

.fold-types {
  display: flex;
  justify-content: center;
  gap: 60px;
  font-size: 1.1rem;
  margin-top: 10px;
}


.flower-row {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.flower-row img {
  width: 80%;
  max-width: 900px;
}

/* MATERIALS */
.materials-guide {
  background-color: #EFE5DD;
  padding: 120px 8vw;
  text-align: center;
}

.materials-title {
  font-size: 60px;
  color: #a0442e;
  font-weight: 400;
  margin-bottom: 80px;
  text-align: left;
}

.materials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
}

.material {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.material img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.material-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: rgba(239, 229, 221, 0.95);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.material-info h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #a0442e;
}

.material-info p {
  font-size: 15px;
  line-height: 1.5;
  color: #1b1b1b;
}

.material:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.material:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.material:hover .material-info {
  opacity: 1;
}

/* FOLDING */
.folding-styles {
  background-color: #EFE5DD;
  padding: 100px 8vw;
  text-align: center;
}

.folding-title {
  font-size: 60px;
  color: #a0442e;
  font-weight: 400;
  margin-bottom: 80px;
  text-align: left;
}

.folding-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 80px;
}

.folding-item {
  width: 220px;
  position: relative;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.folding-item img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.folding-info {
  opacity: 0;
  transform: translateY(-15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: center;
  margin-top: 16px;
}

.folding-info h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 6px 0 2px;
}

.folding-info p {
  font-size: 16px;
  color: #333;
  margin: 0;
}

.folding-item:hover img {
  transform: translateY(-10px);
  filter: brightness(1.05);
}

.folding-item:hover .folding-info {
  opacity: 1;
  transform: translateY(0);
}

/* MODERN REACH */
.modern-reach {
  position: relative;
  background-color: #EFE5DD;
  background-image: url('../images/flower wall.png');
  background-repeat: repeat-y;
  background-size: 360px auto;
  background-position: left 60px top;
  padding: 120px 10vw;
  display: flex;
  justify-content: flex-end;
}

.reach-content {
  width: 55%;
  z-index: 2;
}

.reach-title {
  font-size: 60px;
  color: #a0442e;
  font-weight: 400;
  margin-bottom: 60px;
}

.reach-category {
  margin-bottom: 90px;
}

.reach-category h3 {
  font-size: 26px;
  color: #1b1b1b;
  font-weight: 400;
  margin-bottom: 15px;
}

.reach-category p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
  color: #2a2a2a;
}

/* FOOTER */
.site-footer {
  background-color: #EFE5DD;
  text-align: center;
  padding: 60px 0 40px;
  font-size: 18px;
  color: #a0462f;
  letter-spacing: 1px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #a0462f;
  text-decoration: none;
  border-bottom: 1px solid #a0462f;
  transition: all 0.3s ease;
}

.site-footer a:hover {
  color: #1b1b1b;
  border-bottom-color: #1b1b1b;
}

/* MEDIA QUERIES */
@media (max-width: 1200px) {
  .navbar {
    padding: 15px 30px;
  }

  .history-text {
    top: 24%;
    width: clamp(260px, 40vw, 560px);
  }

  .tradition-text {
    left: 8%;
  }

  .tradition-text .description {
    width: min(360px, 45%);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .dropdown-menu {
    top: 76px;
  }

  .origami-history {
    aspect-ratio: auto;
    padding: 120px 6vw 160px;
    background-size: cover;
  }

  .history-text,
  .tradition-text,
  .tradition-text .description,
  .tradition-text .titles {
    position: static;
    width: 100%;
    transform: none;
    text-align: left;
  }

  .history-text {
    color: #1b1b1b;
    margin-bottom: 40px;
  }

  .tradition-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .tradition-text .titles {
    text-align: left;
    margin-top: 0;
  }

  .craft-text {
    flex-direction: column;
  }

  .left-col,
  .right-col {
    width: 100%;
  }

  .fold-types {
    flex-direction: column;
    gap: 20px;
  }

  .reach-content {
    width: 100%;
  }

  .modern-reach {
    justify-content: center;
    background-position: left top;
    background-image: none !important;
  }
  
}

@media (max-width: 600px) {
  .hero-text .title {
    font-size: 48px;
  }

  .hero-text .subheading {
    font-size: 20px;
  }

  .materials-title,
  .folding-title,
  .reach-title,
  .craft-title {
    font-size: 40px;
  }

  .timeline-content h2 {
    font-size: 48px;
  }
}

@media (min-width: 901px) {
  .dropdown-menu {
    display: none !important;
  }
}

