/* ========================================
   Bova Hayvancılık — Ana Stil Dosyası
   ======================================== */

:root {
  --green-950: #081c15;
  --green-900: #1b4332;
  --green-800: #2d6a4f;
  --green-700: #40916c;
  --green-600: #52b788;
  --green-100: #d8f3dc;
  --green-50: #f0faf2;

  --brown-900: #3d2914;
  --brown-700: #6b4423;
  --brown-500: #a67c52;
  --brown-300: #d4a373;
  --brown-100: #f0e6d8;

  --cream: #f7f4ef;
  --ivory: #fbfaf7;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --border: rgba(27, 67, 50, 0.12);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --shadow-sm: 0 2px 8px rgba(8, 28, 21, 0.06);
  --shadow-md: 0 8px 24px rgba(8, 28, 21, 0.1);
  --shadow-lg: 0 20px 48px rgba(8, 28, 21, 0.14);

  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-800);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--green-900);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-800);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--brown-700);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--brown-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--green-800);
  color: var(--green-800);
  background: transparent;
}

.btn-outline:hover {
  background: var(--green-800);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--green-900);
}

.btn-light:hover {
  background: var(--green-50);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
}

/* ---------- Header / Navbar ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(251, 250, 247, 0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header.scrolled .nav {
  height: 70px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  transition: height var(--transition);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green-900);
  border-radius: 6px;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--green-700);
  transition: all var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-800);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 1.8rem);
}

.nav-cta {
  margin-left: 0.75rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--green-900);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Hero Slider ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  max-height: 900px;
  margin-top: 0;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 7s ease;
}

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

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 28, 21, 0.82) 0%,
    rgba(27, 67, 50, 0.55) 45%,
    rgba(8, 28, 21, 0.35) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  max-width: 640px;
  padding-top: var(--header-h);
}

.slide-brand {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
}

.slide.active .slide-brand {
  animation: fadeUp 0.8s 0.2s forwards;
}

.slide-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--green-100);
  opacity: 0;
  transform: translateY(30px);
}

.slide.active .slide-title {
  animation: fadeUp 0.8s 0.35s forwards;
}

.slide-text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 480px;
  opacity: 0;
  transform: translateY(30px);
}

.slide.active .slide-text {
  animation: fadeUp 0.8s 0.5s forwards;
}

.slide.active .slide-actions {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.65s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.slider-btn:hover {
  background: var(--white);
  color: var(--green-900);
}

.slider-prev {
  left: 1.5rem;
}

.slider-next {
  right: 1.5rem;
}

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.6rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all var(--transition);
  border: none;
  padding: 0;
}

.dot.active {
  background: var(--white);
  width: 28px;
  border-radius: 5px;
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-image-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 55%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--ivory);
  box-shadow: var(--shadow-md);
}

.about-badge {
  position: absolute;
  top: 1.5rem;
  left: -1rem;
  background: var(--green-900);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.about-badge span {
  font-size: 0.8rem;
  opacity: 0.85;
}

.about-content .section-eyebrow {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
}

.about-content > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.values-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 100%;
}

.value-item {
  padding: 1.25rem;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 3px solid var(--green-700);
}

.value-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--green-900);
  margin-bottom: 0.35rem;
}

.value-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Products ---------- */
.products {
  background: var(--cream);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--green-900);
  margin-bottom: 0.6rem;
}

.product-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.service-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--green-700);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-50);
  border-radius: 50%;
  color: var(--green-800);
  font-size: 1.75rem;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--green-800);
  color: var(--white);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-900);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--green-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials .section-eyebrow {
  color: var(--green-600);
}

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

.testimonials .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

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

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
  text-align: center;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--green-600);
}

.testimonial-stars {
  color: #e9c46a;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.15em;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.92);
}

.testimonial-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--green-600);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.testimonial-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.testimonial-nav button:hover {
  background: var(--white);
  color: var(--green-900);
}

/* ---------- Blog ---------- */
.blog {
  background: var(--cream);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  height: 210px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brown-500);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--green-900);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.blog-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.blog-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-800);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-link:hover {
  gap: 0.7rem;
  color: var(--green-900);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-50);
  color: var(--green-800);
  border-radius: 10px;
  font-size: 1.1rem;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  color: var(--green-900);
  margin-bottom: 0.2rem;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-info-item a:hover {
  color: var(--green-800);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  height: 220px;
  background: var(--cream);
  border: 1px solid var(--border);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-900);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--ivory);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.15);
}

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

.form-message {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-message.success {
  display: block;
  background: var(--green-50);
  color: var(--green-800);
  border: 1px solid var(--green-100);
}

.form-message.error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ---------- Floating Social ---------- */
.floating-social {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.floating-btn:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.floating-whatsapp {
  background: #25d366;
}

.floating-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  margin-bottom: 1.25rem;
}

.footer-brand .logo img {
  height: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--green-700);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul a {
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-col ul a:hover {
  color: var(--green-600);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--green-600);
  margin-top: 0.2rem;
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  background:
    linear-gradient(135deg, rgba(8, 28, 21, 0.88), rgba(27, 67, 50, 0.75)),
    url("../images/ciftlik.jpg")
      center/cover;
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumb .sep {
  opacity: 0.5;
}

/* ---------- Detail Pages ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

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

.detail-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green-900);
  margin-bottom: 1rem;
}

.detail-content > p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.detail-block {
  margin: 2rem 0;
}

.detail-block h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--green-900);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-list,
.advantage-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li,
.advantage-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-list i,
.advantage-list i {
  color: var(--green-700);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* ---------- Blog Detail ---------- */
.blog-detail {
  max-width: 800px;
  margin: 0 auto;
}

.blog-detail-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.blog-detail-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-detail-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
}

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

.blog-detail-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-900);
  margin: 2rem 0 1rem;
}

.blog-detail-body p {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.blog-detail-body ul {
  margin: 1rem 0 1.5rem 1.25rem;
  list-style: disc;
  color: var(--text-muted);
}

.blog-detail-body li {
  margin-bottom: 0.5rem;
}

/* ---------- About page extras ---------- */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.mv-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--cream);
}

.mv-card.vision {
  background: var(--green-900);
  color: var(--white);
}

.mv-card.vision h3 {
  color: var(--white);
}

.mv-card.vision p {
  color: rgba(255, 255, 255, 0.8);
}

.mv-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--green-900);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mv-card p {
  color: var(--text-muted);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--green-800);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  z-index: 998;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green-900);
  transform: translateY(-3px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .products-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--ivory);
    flex-direction: column;
    align-items: stretch;
    padding: 6rem 1.75rem 2rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
    transition: right 0.35s ease;
    z-index: 1000;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin: 1rem 0 0;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 28, 21, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .about-grid,
  .detail-layout,
  .contact-grid,
  .mission-vision {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-accent {
    display: none;
  }

  .about-image img {
    height: 360px;
  }

  .detail-image {
    position: static;
  }

  .detail-image img {
    height: 320px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .slider-btn {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }

  .slider-prev {
    left: 0.75rem;
  }

  .slider-next {
    right: 0.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.5rem 0;
  }

  .products-grid,
  .services-grid,
  .footer-grid,
  .values-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100svh;
    max-height: none;
  }

  .slide-content {
    text-align: center;
    align-items: center;
  }

  .slide-text {
    margin-inline: auto;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .floating-social {
    bottom: 1.25rem;
    right: 1rem;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .back-to-top {
    left: 1rem;
    bottom: 1.25rem;
  }

  .about-badge {
    left: 0.5rem;
    padding: 1rem;
  }

  .page-hero {
    padding: calc(var(--header-h) + 2.5rem) 0 3rem;
  }
}
