:root {
  --primary-color: #1A3626; /* Deep Forest Green */
  --primary-light: #B4C5A4; /* Soft Sage Green */
  --primary-dark: #0f2418; /* Darker green */
  --secondary-color: #D97746; /* Terracotta Orange */
  --text-dark: #2F3E33; /* Dark green/grey text */
  --text-light: #F4F6F4;
  --bg-color: #FAF7F0; /* Warm Cream */
  --bg-gradient: #FAF7F0;
  --card-bg: #FFFFFF;
  --gradient-btn: #D97746;
  --gradient-btn-hover: #C56335;
  --gradient-secondary: #1A3626;
  --gradient-nav: rgba(26, 54, 38, 0.9);
  --shadow-sm: 0 4px 15px rgba(26,54,38,0.05);
  --shadow-md: 0 10px 30px rgba(26,54,38,0.08);
  --shadow-glow: 0 8px 25px rgba(217, 119, 70, 0.35);
  --transition: all 0.3s ease;
  
  /* Organic borders */
  --radius-asym: 40px 8px 40px 8px;
  --radius-asym-alt: 8px 40px 8px 40px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Header & Nav */
header {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 1000;
  transition: var(--transition);
  border-radius: 50px;
  background: var(--card-bg);
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}

header.scrolled {
  position: fixed;
  top: 15px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.menu-toggle {
  display: none;
}

header.scrolled .logo {
  color: var(--primary-color);
}

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

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 30px;
}

header.scrolled .nav-links a {
  color: var(--text-dark);
}

.nav-links a:hover {
  background: rgba(180,197,164,0.3); /* Soft Sage */
  color: var(--primary-color);
  transform: translateY(-2px);
}

header.scrolled .nav-links a:hover {
  background: rgba(180,197,164,0.3);
  color: var(--primary-color);
}

/* Hero Carousel */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 5s ease-out;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,54,38,0.7) 0%, rgba(26,54,38,0.2) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  color: var(--text-light);
  max-width: 900px;
  padding: 0 5%;
  margin-top: 50px;
  margin-right: auto;
  margin-left: 5%;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: var(--gradient-btn);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-glow);
  text-transform: uppercase;
  font-size: 0.95rem;
}

.btn:hover {
  background: var(--gradient-btn-hover);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 30px rgba(217, 119, 70, 0.5);
  color: white;
}

.btn-secondary {
  background: var(--gradient-secondary);
  box-shadow: 0 10px 25px rgba(26, 54, 38, 0.35);
  color: white;
  border: none;
}

.btn-secondary:hover {
  background: var(--primary-dark);
  box-shadow: 0 15px 30px rgba(26, 54, 38, 0.5);
  color: white;
}

/* Sections */
section {
  padding: 6rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 4rem;
  position: relative;
  line-height: 1.3;
}

.section-title::after {
  display: none;
}

/* Profile Section */
.profile-content {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.profile-text {
  flex: 1;
}

.profile-text h3 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.profile-image {
  flex: 1;
  border-radius: var(--radius-asym);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  border: 4px solid var(--primary-light);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  display: block;
}

.profile-image:hover img {
  transform: scale(1.08);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--primary-light); /* Soft Sage background for cards */
  border-radius: var(--radius-asym-alt);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-md);
}

.product-img {
  height: 250px;
  border-radius: var(--radius-asym);
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.product-info {
  padding: 1.5rem 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-tagline {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  flex-grow: 1;
  line-height: 1.5;
}

.product-action {
  margin-top: auto;
  text-align: center;
}

.product-action .btn {
  width: 100%;
}

/* Testimonials */
.testimonials {
  background-color: var(--card-bg);
  color: var(--text-dark);
  border-radius: 20px;
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.testimonials .section-title {
  color: var(--primary-dark);
}

.testimonials .section-title::after {
  background-color: var(--secondary-color);
}

.testi-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testi-slide {
  display: none;
  animation: fade 0.5s;
}

.testi-slide.active {
  display: block;
}

.testi-content {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testi-author {
  font-weight: 700;
  font-size: 1.1rem;
}

.testi-role {
  font-size: 0.9rem;
  opacity: 0.8;
}

.stars {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Detail Page */
.detail-container {
  padding: 3rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #666;
}

.breadcrumb a {
  color: var(--primary-color);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.detail-gallery {
  border-radius: 15px;
  display: flex;
  flex-direction: column;
}

.detail-main-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
}

.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-info h1 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.detail-tagline {
  font-size: 1.1rem;
  color: #555;
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.detail-desc {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: #444;
}

.detail-extra {
  background: var(--bg-color);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--secondary-color);
}

.btn-wa {
  background-color: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-size: 1.1rem;
}

.btn-wa:hover {
  background-color: #128C7E;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: white;
  padding: 4rem 5% 2rem;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  width: 100%;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  letter-spacing: 0.5px;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-heading-small {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.footer-links a::before {
  content: "›";
  margin-right: 8px;
  color: var(--secondary-color);
  font-size: 1.5rem;
  line-height: 1;
}

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
  font-size: 0.9rem;
  font-weight: 600;
}

.social-icon:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.social-icon.fb-icon {
  background-color: #1877F2;
}

.social-icon.ig-icon {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon.wa-icon {
  background-color: #25D366;
}

.footer-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.2rem;
  border-radius: 8px;
  margin-top: auto;
}

.footer-badge strong {
  color: var(--secondary-color);
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.footer-badge p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.5;
}

.footer-badge-btn {
  margin-top: 0.8rem;
  display: block;
}

.btn-kkn-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #b85b28 100%);
  color: #ffffff !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(217, 119, 70, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
}

.btn-kkn-footer:hover {
  background: linear-gradient(135deg, #e88552 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 119, 70, 0.4);
  color: #ffffff !important;
}

/* KKN Member Structure Styles */
.kkn-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.kkn-badge-pill {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(217, 119, 70, 0.12);
  color: var(--secondary-color);
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.kkn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.kkn-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  border: 1px solid rgba(26,54,38,0.08);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.kkn-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--secondary-color));
  opacity: 0.8;
  transition: height 0.3s ease;
}

.kkn-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(26,54,38,0.12);
}

.kkn-card:hover::before {
  height: 6px;
}

.kkn-card-featured {
  background: linear-gradient(145deg, #ffffff 0%, #f4f8f5 100%);
  border: 2px solid rgba(217, 119, 70, 0.3);
  box-shadow: 0 15px 35px rgba(217, 119, 70, 0.1);
}

.kkn-avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.kkn-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  border: 3px solid #ffffff;
}

.kkn-role-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
}

.role-dpl { background: #e3f2fd; color: #1565c0; }
.role-kordes { background: #fff3e0; color: #e65100; }
.role-inti { background: #e8f5e9; color: #2e7d32; }
.role-humas { background: #fff8e1; color: #b78103; }
.role-media { background: #f3e5f5; color: #7b1fa2; }
.role-acara { background: #e0f2f1; color: #00695c; }

.kkn-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
}

.kkn-prodi {
  font-size: 0.88rem;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.kkn-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.kkn-meta-bar {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed rgba(0,0,0,0.08);
  width: 100%;
}

.kkn-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #777;
  font-weight: 600;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 35px;
  height: 35px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--secondary-color);
}

.contact-item strong {
  display: block;
  color: white;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.copyright {
  text-align: left;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 0;
  }

  nav {
    flex-wrap: wrap;
  }
  
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
  }

  .profile-content {
    flex-direction: column;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
  
  .detail-main-img {
    height: 300px;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    margin-bottom: 120px;
  }
  .floating-info-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    bottom: -130px !important;
    border-radius: 15px !important;
    gap: 1rem;
    padding: 1.5rem !important;
    width: 90% !important;
  }
  .floating-info-bar > div {
    flex-direction: row !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }
  .floating-info-bar .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  section {
    padding: 4rem 5%;
  }
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  .product-card {
    padding: 0.8rem;
    border-radius: 12px;
  }
  .product-img {
    height: 120px;
    border-radius: 8px;
  }
  .product-info {
    padding: 0.8rem 0 0 0;
  }
  .product-title {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
  .product-tagline {
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
  }
  .product-action .btn {
    padding: 0.5rem 0.4rem;
    font-size: 0.65rem;
    border-radius: 8px;
    letter-spacing: 0;
    width: 100%;
  }
  .hero {
    min-height: 500px;
  }
  .hero-content {
    margin-top: 100px;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  header {
    width: 95%;
  }
  nav {
    padding: 0.5rem 1rem;
  }
  .profile-text h3 {
    font-size: 1.5rem;
  }
  .profile-text div {
    flex-direction: column;
    gap: 1rem !important;
  }
  .detail-info h1 {
    font-size: 1.8rem;
  }
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* Facebook Button */
.btn-fb {
  background-color: #1877F2;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: 700;
}
.btn-fb:hover {
  background-color: #166FE5;
  color: white;
}

/* Timeline */
.timeline-container {
  position: relative;
  padding-left: 30px;
}
.timeline-container::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  border-left: 2px dashed rgba(26,54,38,0.2);
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -31px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  box-shadow: 0 0 0 6px var(--bg-color);
}
.timeline-content h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.timeline-content p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
}
