/*
Theme Name: Tatvant
Theme URI: https://example.com/tatvant
Author: OpenAI
Description: A clean, plugin-safe WordPress theme for the Tatvant website with shared and page-specific styles.
Version: 1.0.0
Text Domain: tatvant
*/

html { font-size: 16px; }
body { margin: 0; font-family: Inter, Arial, sans-serif; line-height: 1.6; color: #243b2f; background: #f7faf7; }
* { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site { min-height: 100vh; display: flex; flex-direction: column; }
.container { width: min(1200px, calc(100% - 2rem)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid #e7efe8; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1rem; }
.site-brand { display: inline-flex; align-items: center; gap: 0.7rem; font-weight: 800; font-size: 1.35rem; color: #256d3b; }
.brand-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #e8f5eb; color: #2f7d32; }
.site-nav ul { display: flex; align-items: center; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: #35553d; font-weight: 600; padding: 0.45rem 0.75rem; border-radius: 999px; }
.site-nav a:hover, .site-nav .current-menu-item > a { background: #e8f5eb; color: #256d3b; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: #256d3b; color: #fff; border-radius: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px auto; }

.site-main { flex: 1; width: 100%; }
.site-main .container { width: min(1400px, calc(100% - 2rem)); }
.site-footer { background: #134d24; color: #f3f7f3; padding: 3rem 0 2rem; margin-top: 4rem; }
.site-footer .container { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer h3, .site-footer h4 { color: #fff; margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0.55rem; }
.site-footer a { color: #dcefe0; }
.site-footer .copyright { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2rem; padding-top: 1rem; color: #dcefe0; }

.page-hero { background: linear-gradient(135deg, #1f5a2c, #2f7d32); color: #fff; padding: 4.5rem 0; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 0.75rem; color: #fff; }
.page-hero p { font-size: 1.05rem; max-width: 700px; margin: 0; color: #eaf7eb; }
.section-block { padding: var(--tatvant-section, 4rem) 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.card { background: #fff; border-radius: 18px; padding: 1.5rem; box-shadow: 0 10px 25px rgba(0,0,0,0.05); border: 1px solid #e6efe7; }
.card h3 { margin-top: 0; color: #1f5a2c; }
.btn{ display:inline-flex; align-items:center; justify-content:center; padding:0.8rem 1.2rem; border-radius:999px; background:#2f7d32; color:#fff; font-weight:700; }
.btn.secondary{ background:transparent; color:#2f7d32; border:1px solid #2f7d32; }

.entry-content, .content-full { width: 100%; max-width: 100%; padding: 2rem 0 4rem; }
.entry-content p, .entry-content li { color: #45604d; }

@media (max-width: 768px) {
  .menu-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 78px; left: 0; width: 100%; padding: 1rem; background: #fff; border-bottom: 1px solid #e6efe7; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap");

body.page-about-us {
  --primary-green: #2e7d32;
  --dark-green: #1b5e20;
  --light-green: #e8f5e9;
  --white: #ffffff;
  --bg-gray: #f8f9fa;
  --heading-primary: var(--primary-green);
  --heading-secondary: var(--dark-green);
  --paragraph-color: #666666;
  --border-color: #e5e7eb;
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
  --spacing-section: 100px;
  --container-width: 1320px;
  --radius-card: 20px;
  --radius-btn: 12px;
  --radius-img: 20px;
  --transition: all 0.3s ease;
  background-color: var(--white);
  color: var(--paragraph-color);
  font-family: var(--font-body);
  line-height: 1.6;
}

body.page-about-us h1,
body.page-about-us h2,
body.page-about-us h3,
body.page-about-us h4 {
  font-family: var(--font-heading);
  color: var(--heading-primary);
  line-height: 1.2;
}

body.page-about-us h3,
body.page-about-us h4 {
  color: var(--heading-secondary);
}

body.page-about-us p {
  font-size: 18px;
  color: var(--paragraph-color);
}

body.page-about-us .container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

body.page-about-us .hero {
  /* height comes from the shared banner rule in assets/css/common.css */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

body.page-about-us .hero .heroBackground {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(17, 24, 39, 0.7), rgba(21, 71, 52, 0.85)), url('About us/About us/image/about_factory.jpg') center/cover no-repeat;
  background-attachment: fixed;
}

body.page-about-us .hero .heroContent {
  max-width: 900px;
  padding: 0 20px;
}

body.page-about-us .hero .heroTitle {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
}

body.page-about-us .hero .heroSubtitle {
  font-size: 24px;
  font-weight: 400;
  opacity: 0.9;
  color: var(--white);
  line-height: 1.5;
}

body.page-about-us .statsSection {
  background: var(--dark-green);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 -20px 50px rgba(0,0,0,0.2);
}

body.page-about-us .statsGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

body.page-about-us .statItem {
  padding: 20px;
}

body.page-about-us .statNumber {
  font-size: 56px;
  font-weight: 800;
  color: var(--light-green);
  margin-bottom: 8px;
  display: block;
}

body.page-about-us .statLabel {
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

body.page-about-us .section {
  padding: 100px 0;
  background-color: var(--white);
}

body.page-about-us .overlapGrid,
body.page-about-us .overlapGridReverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

body.page-about-us .overlapGrid { margin-bottom: 100px; }

body.page-about-us .overlapImage {
  position: relative;
  height: 500px;
  z-index: 1;
}

body.page-about-us .overlapImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-img);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}

body.page-about-us .overlapImage:hover img { transform: translateY(-5px); }

body.page-about-us .overlapImage::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary-green);
  border-radius: var(--radius-img);
  z-index: 1;
  transition: var(--transition);
}

body.page-about-us .overlapGridReverse .overlapImage::before { left: -20px; }
body.page-about-us .overlapImage:hover::before { top: 15px; left: 15px; }
body.page-about-us .overlapGridReverse .overlapImage:hover::before { left: -15px; }

body.page-about-us .overlapContent {
  position: relative;
  z-index: 2;
}

body.page-about-us .overlapGridReverse .overlapImage { order: 2; }

body.page-about-us .preHeader {
  color: var(--primary-green);
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

body.page-about-us .preHeader::before {
  content: '';
  width: 40px;
  height: 2px;
  background-color: var(--primary-green);
}

body.page-about-us .overlapContent h2 {
  font-size: 48px;
  font-weight: 800;
  color: var(--heading-secondary);
  margin-bottom: 32px;
  line-height: 1.2;
}

body.page-about-us .overlapContent p {
  color: #000000;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 24px;
}

body.page-about-us .valuesSection {
  background: linear-gradient(135deg, var(--dark-green), #0f3020);
  padding: 120px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

body.page-about-us .valuesHeader { text-align: center; margin-bottom: 80px; }
body.page-about-us .valuesHeader h2 { font-size: 48px; font-weight: 700; color: var(--white); }
body.page-about-us .valuesGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; z-index: 2; }
body.page-about-us .valueCard {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 48px 32px;
  border-radius: var(--radius-card);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
body.page-about-us .valueCard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px; background: var(--light-green); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
body.page-about-us .valueCard:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
body.page-about-us .valueCard:hover::before { transform: scaleX(1); }
body.page-about-us .valueIcon {
  width: 80px; height: 80px; background: rgba(255,255,255,0.1); color: var(--light-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 32px; transition: all 0.4s ease;
}
body.page-about-us .valueCard:hover .valueIcon {
  background: var(--light-green); color: var(--dark-green); transform: scale(1.1);
}
body.page-about-us .valueCard h3 { font-size: 28px; color: var(--white); margin-bottom: 16px; }
body.page-about-us .valueCard p { color: rgba(255,255,255,0.85); font-size: 16px; line-height: 1.7; }

body.page-about-us .trustSection { padding: 120px 0; background-color: var(--bg-gray); }
body.page-about-us .trustHeader { text-align: center; margin-bottom: 64px; }
body.page-about-us .trustHeader h2 { font-size: 40px; font-weight: 700; color: var(--primary-green); margin-bottom: 16px; }
body.page-about-us .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
body.page-about-us .highlightCard {
  background: var(--white); padding: 48px 24px; border-radius: var(--radius-card); text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.04); transition: var(--transition); border: 1px solid var(--border-color); position: relative; overflow: hidden;
}
body.page-about-us .highlightCard:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: var(--primary-green); }
body.page-about-us .iconWrapper {
  width: 80px; height: 80px; background: transparent; color: var(--primary-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 32px; border: 2px solid var(--primary-green); transition: all 0.4s ease;
}
body.page-about-us .highlightCard:hover .iconWrapper { background: var(--primary-green); color: var(--white); transform: rotateY(180deg); }
body.page-about-us .highlightCard h4 { font-size: 22px; font-weight: 700; color: var(--primary-green); }

@media (max-width: 1200px) {
  body.page-about-us .overlapContent { padding: 60px; margin-left: -50px; }
  body.page-about-us .overlapGridReverse .overlapContent { margin-right: -50px; }
}

@media (max-width: 992px) {
  body.page-about-us .statsGrid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  body.page-about-us .overlapGrid,
  body.page-about-us .overlapGridReverse { grid-template-columns: 1fr; }
  body.page-about-us .overlapContent,
  body.page-about-us .overlapGridReverse .overlapContent { margin: -60px 20px 0; padding: 40px; }
  body.page-about-us .overlapGridReverse .overlapImage { order: 0; }
  body.page-about-us .valuesGrid { grid-template-columns: repeat(2, 1fr); }
  body.page-about-us .grid4 { grid-template-columns: repeat(2, 1fr); }
  body.page-about-us .hero .heroTitle { font-size: 48px; }
}

@media (max-width: 768px) {
  body.page-about-us .valuesGrid { grid-template-columns: 1fr; }
  body.page-about-us .grid4 { grid-template-columns: 1fr; }
  body.page-about-us .hero .heroTitle { font-size: 40px; }
  body.page-about-us .overlapImage { height: 400px; }
  body.page-about-us .overlapContent h2 { font-size: 36px; }
}

/* Quality page banner: height, typography and badge come from the shared rule in
   assets/css/common.css; the background image lives in Quality/style.css. */
