/* ========== JPS MAIN STYLESHEET ========== */

:root {
  --green: #0E764D;
  --green-dark: #095C3B;
  --green-light: #E8F3ED;
  --red: #BD261D;
  --dark: #1A1A1A;
  --gray: #666666;
  --gray-light: #999;
  --bg: #FFFFFF;
  --bg-alt: #F7FAF8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ---- CONSTRUCTION BANNER ---- */
.construction-banner {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 7px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.construction-banner span {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ---- TOP BAR ---- */
.top-bar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  padding: 6px 0;
  letter-spacing: 0.02em;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.top-bar a:hover { color: #fff; }
.lang-switch { display: flex; gap: 6px; }
.lang-switch a {
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
}
.lang-switch a.active {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* ---- HEADER ---- */
.site-header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(14,118,77,0.1);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img { height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.main-nav a:hover { background: var(--green-light); color: var(--green); }
.main-nav a.active { color: var(--green); font-weight: 600; }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger i { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; border-radius: 2px; }

/* ---- CONTAINER ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 85vh;
  min-height: 550px;
  max-height: 800px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,92,59,0.35) 0%, rgba(9,92,59,0.55) 50%, rgba(9,92,59,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 0 24px;
  animation: fadeUp 1s ease-out;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 50px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: #fff;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.2);
}
.hero h1 em { font-style: italic; color: rgba(255,255,255,0.85); }
.hero-text {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--green);
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  transition: all 0.3s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 48px rgba(0,0,0,0.22); }
.hero-cta svg { transition: transform 0.3s; }
.hero-cta:hover svg { transform: translateX(3px); }

/* ---- SECTION HEADERS ---- */
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-header p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- PRODUCTS GRID ---- */
.products-section { padding: 100px 0 80px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.product-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  display: block;
}
.product-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover img { transform: scale(1.08); }
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9,92,59,0.85) 0%, rgba(9,92,59,0.2) 50%, transparent 100%);
  transition: opacity 0.3s;
}
.product-card:hover::after {
  background: linear-gradient(0deg, rgba(9,92,59,0.95) 0%, rgba(9,92,59,0.4) 60%, rgba(9,92,59,0.2) 100%);
}
.product-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  z-index: 2;
  transform: translateY(8px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-card-content { transform: translateY(0); }
.product-card h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.product-card .sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  display: block;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}
.product-card:hover .sub { opacity: 1; transform: translateY(0); }
.product-card .arrow-icon {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .arrow-icon { opacity: 1; transform: translate(0, 0); }

/* ---- ABOUT STRIP ---- */
.about-strip {
  background: var(--bg-alt);
  padding: 80px 0;
  border-top: 1px solid rgba(14,118,77,0.06);
  border-bottom: 1px solid rgba(14,118,77,0.06);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--green);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.about-text .section-label { text-align: left; }
.about-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.25;
}
.about-text p { color: var(--gray); line-height: 1.7; margin-bottom: 14px; font-size: 1rem; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 2px;
}
.about-stat span { font-size: 0.82rem; color: var(--gray); line-height: 1.3; }

/* ---- NEWS ---- */
.news-section { padding: 100px 0 80px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s;
  background: var(--bg);
  display: block;
}
.news-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.news-card-image { aspect-ratio: 16/9; overflow: hidden; }
.news-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.news-card:hover .news-card-image img { transform: scale(1.05); }
.news-card-body { padding: 24px; }
.news-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--dark);
}
.news-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.5; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: var(--green);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-content {
  position: relative; z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  font-weight: 500;
  margin-bottom: 10px;
}
.cta-text p { color: rgba(255,255,255,0.8); font-size: 1.05rem; line-height: 1.5; max-width: 500px; }
.cta-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-white { background: #fff; color: var(--green); }
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); }

/* ---- FOOTER ---- */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { font-size: 0.9rem; line-height: 1.6; margin-top: 16px; max-width: 280px; }
.footer-logo { height: 40px; filter: brightness(0) invert(1); opacity: 0.9; }
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.2s; }
.site-footer ul a:hover { color: #fff; }
.footer-contact-item {
  display: flex; gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  align-items: flex-start;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; opacity: 0.5; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.12); }
.footer-social svg { fill: rgba(255,255,255,0.6); width: 16px; height: 16px; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .main-nav a { padding: 8px 10px; font-size: 0.85rem; }
}
@media (max-width: 768px) {
  .top-bar { display: none; }
  .main-nav { display: none; }
  .hamburger { display: block; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-content { flex-direction: column; text-align: center; }
  .cta-buttons { justify-content: center; }
  .hero { height: 70vh; min-height: 450px; }
  .hero h1 { font-size: 2rem; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card .sub { display: none; }
}
