/* ===== Radien Coffee — B2B Coffee Trading ===== */
/*     Clean, professional, warm tones              */

:root {
  --cream: #faf6f0;
  --cream-dark: #f0e8dc;
  --brown-900: #1a1410;
  --brown-800: #2c2420;
  --brown-700: #3d322c;
  --brown-600: #5c4b44;
  --brown-500: #7c6b64;
  --brown-400: #9c8b84;
  --brown-200: #d4c8be;
  --brown-100: #e8ddd4;
  --gold: #c7a17a;
  --gold-light: #dbb894;
  --gold-dark: #a8845e;
  --white: #ffffff;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--brown-800);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== Navigation ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

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

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 20px; color: var(--brown-800);
  letter-spacing: -0.02em;
}

.nav-logo img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }

.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--brown-600);
  letter-spacing: 0.3px; text-transform: uppercase;
  padding: 4px 0; position: relative;
}

.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.25s;
}

.nav-links a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-toggle span { width: 24px; height: 2px; background: var(--brown-700); border-radius: 2px; transition: 0.25s; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--brown-900) 0%, var(--brown-700) 50%, var(--brown-800) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../assets/img/coffee-farm-01.png');
  background-size: cover; background-position: center;
  opacity: 0.12; mix-blend-mode: overlay;
}

.hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.08;
}

.hero .container {
  position: relative; z-index: 2;
  text-align: center; padding: 120px 24px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(199, 161, 122, 0.35);
  border-radius: 100px;
  font-size: 13px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700; letter-spacing: -0.03em;
  color: var(--white); line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--gold); }

.hero p {
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255,255,255,0.75);
  max-width: 580px; margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-stats {
  display: flex; gap: 48px; justify-content: center;
  margin-top: 48px; flex-wrap: wrap;
}

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

.hero-stat-number {
  font-size: 32px; font-weight: 700; color: var(--gold);
  display: block; margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 13px; color: rgba(255,255,255,0.5);
  letter-spacing: 1px; text-transform: uppercase;
}

.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px; font-weight: 600;
  transition: all 0.25s;
  cursor: pointer; border: none;
}

.btn-primary {
  background: var(--gold); color: var(--brown-900);
}
.btn-primary:hover {
  background: var(--gold-light); transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(199, 161, 122, 0.3);
}

.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--gold); color: var(--gold);
  transform: translateY(-1px);
}

/* ===== Section Common ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center; max-width: 640px; margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 12px;
}

.section-title {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700; letter-spacing: -0.02em;
  color: var(--brown-900); line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px; color: var(--brown-500);
  line-height: 1.7;
}

/* ===== About ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}

.about-image {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  background: var(--brown-100);
}

.about-image img {
  width: 100%; height: 420px; object-fit: cover;
}

.about-text h3 {
  font-size: 24px; font-weight: 700; color: var(--brown-800);
  margin-bottom: 16px;
}

.about-text p {
  color: var(--brown-600);
  margin-bottom: 16px; font-size: 16px;
}

.about-highlights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 24px;
}

.highlight-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: var(--cream-dark);
  border-radius: 12px;
}

.highlight-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--gold); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.highlight-text { font-size: 14px; color: var(--brown-600); }
.highlight-text strong { color: var(--brown-800); display: block; }

/* ===== Products ===== */
#products { background: var(--white); }

.products-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}

.product-card {
  border-radius: 16px; overflow: hidden;
  background: var(--cream);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.product-card-image {
  height: 280px; overflow: hidden;
}

.product-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}

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

.product-card-body { padding: 32px; }

.product-card-body h3 {
  font-size: 22px; font-weight: 700; color: var(--brown-800);
  margin-bottom: 8px;
}

.product-card-body .origin {
  font-size: 13px; color: var(--gold-dark); font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px;
}

.product-card-body p {
  font-size: 15px; color: var(--brown-500); line-height: 1.7;
  margin-bottom: 16px;
}

.product-specs {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--brown-200);
}

.product-specs li {
  font-size: 13px; color: var(--brown-600);
  display: flex; align-items: center; gap: 6px;
}

.product-specs li::before { content: '▸'; color: var(--gold); font-weight: 700; }

/* ===== Why Radien ===== */
#why { background: var(--brown-900); }

#why .section-tag { color: var(--gold); }
#why .section-title { color: var(--white); }
#why .section-desc { color: rgba(255,255,255,0.6); }

.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}

.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 40px 32px;
  text-align: center; transition: all 0.3s;
}

.value-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(199, 161, 122, 0.3);
  transform: translateY(-4px);
}

.value-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: rgba(199, 161, 122, 0.15);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}

.value-card h3 {
  font-size: 18px; font-weight: 600; color: var(--white);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px; color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ===== Contact ===== */
#contact { background: var(--white); }

.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
}

.contact-info h3 {
  font-size: 24px; font-weight: 700; color: var(--brown-800);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--brown-500); margin-bottom: 32px;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--brown-100);
}

.contact-details li:last-child { border-bottom: none; }

.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--cream); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.contact-label {
  font-size: 12px; color: var(--brown-400); letter-spacing: 1px;
  text-transform: uppercase; font-weight: 600;
}

.contact-value {
  font-size: 16px; color: var(--brown-700); font-weight: 500;
  margin-top: 2px;
}

.contact-form {
  background: var(--cream);
  border-radius: 16px; padding: 40px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--brown-600); margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--brown-200);
  border-radius: 8px; font-size: 15px; font-family: var(--font-sans);
  background: var(--white); color: var(--brown-800);
  transition: border-color 0.2s; outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea { min-height: 120px; resize: vertical; }

#formStatus { margin-bottom: 16px; }

/* ===== Footer ===== */
footer {
  background: var(--brown-900);
  padding: 60px 0 32px;
  color: rgba(255,255,255,0.5);
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-brand .nav-logo { color: var(--white); margin-bottom: 12px; }

.footer-brand p {
  font-size: 14px; line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 13px; font-weight: 600; color: var(--white);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  font-size: 14px; color: rgba(255,255,255,0.5);
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  text-align: center; font-size: 13px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid,
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 300px; }
  .products-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

  .nav-links.active {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--brown-200);
    padding: 24px; gap: 16px;
  }

  .hero-stats { gap: 32px; }
  .hero-stat-number { font-size: 26px; }

  .values-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .section { padding: 72px 0; }
  .hero .container { padding: 100px 24px; }
}

/* ===== Mobile nav toggle ===== */
.nav-links.show { display: flex; }

/* ===== Smooth fade-in on scroll (optional) ===== */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }