:root {
  --cream: #f4f1eb;
  --white: #ffffff;
  --black: #0a1a2b;
  --muted: #6f6f6f;
  --border: #dcd7c9;
  --accent: #c5bca4;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Prata", serif;
  background: var(--cream);
  color: #111;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: clamp(60px, 8vw, 120px) clamp(20px, 8vw, 120px);
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("assets/images/Crownsy108.jpg") center/cover no-repeat;
}

.hero-content {
  max-width: 650px;
  color: var(--white);
  animation: fadeUp 1s ease forwards;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  opacity: 0.9;
}

/* Wrapper */
.wrapper {
  max-width: 1200px;
  margin: auto;
  padding: clamp(80px, 8vw, 140px) clamp(20px, 8vw, 100px);
}

/* Timeline */
.timeline {
  position: relative;
  margin-left: 10px;
  padding-left: 30px;
  border-left: 2px solid var(--accent);
}

.timeline-item {
  margin-bottom: clamp(30px, 4vw, 55px);
  position: relative;
  cursor: pointer;
  transition: 0.3s;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 10px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: 50%;
  transition: 0.3s;
}

.timeline-item:hover::before {
  background: var(--accent);
  transform: scale(1.1);
}

.timeline-title {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.timeline-arrow {
  font-size: 1.3rem;
  transition: 0.3s;
  flex-shrink: 0;
}

.timeline-desc {
  color: #444;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.6s ease,
    opacity 0.4s ease;
  margin-top: 12px;
}

.timeline-item.active .timeline-desc {
  max-height: 800px;
  opacity: 1;
}

.timeline-item.active .timeline-arrow {
  transform: rotate(90deg);
}

.small {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Animations */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    min-height: 55vh;
  }
  .timeline {
    padding-left: 25px;
  }
  .timeline-item::before {
    left: -32px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 50vh;
    text-align: center;
    align-items: center;
  }
  .hero-content {
    margin: auto;
  }
  .timeline {
    margin-left: 0;
    padding-left: 20px;
  }
  .timeline-item::before {
    left: -28px;
    width: 14px;
    height: 14px;
  }
  .timeline-title {
    flex-direction: row;
    font-size: 1.15rem;
  }
  .timeline-desc {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 45vh;
    padding: 60px 20px;
  }
  .timeline {
    padding-left: 18px;
  }
  .timeline-item::before {
    left: -25px;
  }
  .timeline-title {
    font-size: 1rem;
  }
  .small {
    font-size: 0.8rem;
  }
}

/* WhatsApp Floating Button */
.floating-wa {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--white);
  color: var(--black);
  padding: 12px 18px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 300;
  z-index: 999;
}

.wa-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.wa-box {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}

.wa-box button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: none;
  background: var(--black);
  color: var(--white);
  border-radius: 6px;
  cursor: pointer;
}

.close {
  display: block;
  margin-top: 40px;
  cursor: pointer;
  color: var(--black);
}
