:root {
  --primary: #447A3F;
  --dark-green: #16564B;
  --teal: #1F6C73;
  --orange: #F2961F;
  --nav-active: #EBF1EB;
  --page-bg: #F2F4F7;
  --text: #2C2C2C;
  --white: #ffffff;
  --muted: #6b7280;
  --font-heading: "Poppins", sans-serif;
  --font-body: "Roboto", sans-serif;
  --shadow: 0 10px 30px rgba(22, 86, 75, 0.12);
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Top bar */
.top-bar {
  background: var(--dark-green);
  color: var(--white);
  font-size: 0.85rem;
  padding: 0.45rem 0;
}

.top-bar a {
  color: var(--white);
}

.top-bar a:hover {
  color: var(--orange);
}

/* Navbar */
.main-navbar {
  background: var(--white) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 0.65rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  min-height: 88px;
}

.main-navbar .navbar-brand img {
  height: 68px;
  width: auto;
}

.main-navbar .nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text) !important;
  padding: 0.55rem 1rem !important;
  border-radius: 8px;
  position: relative;
}

.main-navbar .nav-item:not(:last-child) .nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: #d9dde3;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  background: var(--nav-active);
  color: var(--primary) !important;
}

.btn-cta-phone {
  background: var(--primary);
  color: var(--white) !important;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-cta-phone:hover {
  background: var(--dark-green);
  color: var(--white) !important;
}

.btn-orange {
  background: var(--orange);
  color: var(--white) !important;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.7rem 1.4rem;
}

.btn-orange:hover {
  background: #d98415;
  color: var(--white) !important;
}

.btn-outline-light-custom {
  border: 2px solid var(--white);
  color: var(--white) !important;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  background: transparent;
}

.btn-outline-light-custom:hover {
  background: var(--white);
  color: var(--dark-green) !important;
}

.btn-green {
  background: var(--primary);
  color: var(--white) !important;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.7rem 1.4rem;
}

.btn-green:hover {
  background: var(--dark-green);
  color: var(--white) !important;
}

.nav-search-btn {
  background: transparent;
  border: none;
  color: var(--dark-green);
  font-size: 1.25rem;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
}

/* Search overlay */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(22, 86, 75, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.search-overlay.open {
  display: flex;
}

.search-overlay .search-box {
  width: min(640px, 100%);
  position: relative;
}

.search-overlay input {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 1rem 3rem 1rem 1.25rem;
  font-size: 1.1rem;
  font-family: var(--font-body);
}

.search-overlay .search-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
}

/* Hero carousel */
.hero-carousel .carousel-item {
  min-height: 560px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-carousel .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 86, 75, 0.88) 0%, rgba(22, 86, 75, 0.55) 45%, rgba(22, 86, 75, 0.25) 100%);
}

.hero-carousel .carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  text-align: left;
  display: flex;
  align-items: center;
  padding: 0;
}

.hero-carousel .carousel-caption h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  max-width: 620px;
  margin-bottom: 1rem;
}

.hero-carousel .carousel-caption p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--white);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 5%;
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 86, 75, 0.35) 0%, rgba(22, 86, 75, 0.85) 100%);
}

.page-hero .page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  background: transparent;
  margin: 0;
  padding: 0;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.breadcrumb-item.active {
  color: var(--orange);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 2rem;
}

/* CTA strip */
.cta-strip {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cta-strip-content {
  padding: 2rem;
}

.cta-strip h2 {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.cta-call-visual {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 2rem auto;
}

.cta-call-photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 12px 32px rgba(22, 86, 75, 0.2);
}

.cta-call-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.cta-call-phone {
  position: absolute;
  right: 8px;
  bottom: 28px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--dark-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 4px solid #fff;
}

.feature-card {
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.feature-card.teal {
  background: var(--teal);
}

.feature-card.orange {
  background: var(--orange);
}

.feature-card h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  opacity: 0.95;
  margin-bottom: 1.25rem;
}

.feature-card .btn-link-light {
  color: var(--white);
  font-weight: 600;
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.feature-card .btn-link-light:hover {
  opacity: 0.85;
}

/* About waste */
.about-waste-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-waste-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.green-box {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
}

.green-box h3,
.green-box p {
  color: var(--white);
}

.green-box .btn {
  margin-top: 0.75rem;
}

/* Service cards — match grandtreyler.com overlapping card layout */
.section-eyebrow {
  color: #1f6c73;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.section-heading {
  color: #2c2c2c;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.4;
  max-width: 920px;
  margin: 0 auto 2.5rem;
}

.section-services {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.service-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.service-card-media {
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
}

.service-card-media img,
.service-card .card-img-top {
  height: 220px;
  object-fit: cover;
  width: 100%;
  display: block;
}

.service-card .card-body {
  position: relative;
  z-index: 1;
  margin: -50px 1.75rem 0 0;
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.09);
  flex: 1;
}

.service-card h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #2c2c2c;
}

.service-card p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-card .incele {
  color: var(--orange);
  font-weight: 600;
  font-family: var(--font-heading);
}

.service-card .incele:hover {
  color: var(--primary);
}

@media (max-width: 767.98px) {
  .service-card .card-body {
    margin-right: 0;
  }
}

/* Blog cards */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .card-body {
  padding: 1.4rem;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.blog-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-card .read-more {
  color: var(--orange);
  font-weight: 600;
  font-family: var(--font-heading);
}

/* Quote */
.quote-block {
  border-left: 4px solid var(--orange);
  background: var(--white);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--dark-green);
  box-shadow: var(--shadow);
}

.mission-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}

.mission-box.vision {
  border-top-color: var(--orange);
}

.mission-box h3 {
  margin-bottom: 0.85rem;
}

/* Product page */
.product-sidebar .product-tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  transition: background 0.2s ease;
}

.product-sidebar .product-tab-btn:hover,
.product-sidebar .product-tab-btn.active {
  background: var(--dark-green);
}

.product-panel {
  display: none;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.product-panel.active {
  display: block;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}

.product-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.product-gallery img:hover {
  opacity: 0.85;
}

.product-main-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
}

.feature-list li::before {
  content: "\F26A";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Contact (reference layout) */
.page-breadcrumb-bar {
  background: var(--white);
  padding: 1.25rem 0 0.5rem;
}

.page-breadcrumb-bar .breadcrumb {
  font-size: 0.9rem;
}

.page-breadcrumb-bar .breadcrumb-item a {
  color: var(--text);
}

.page-breadcrumb-bar .breadcrumb-item.active {
  color: var(--muted);
}

.page-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: var(--muted);
}

.contact-page-section {
  background: var(--white);
  padding: 1.5rem 0 2.5rem;
}

.contact-page-inner {
  max-width: none;
}

.contact-form-card {
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 8px 24px rgba(22, 86, 75, 0.06);
}

.contact-form-card .form-control {
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
}

.contact-form-card .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(68, 122, 63, 0.2);
}

.kvkk-check .form-check-input {
  margin-top: 0.35rem;
  border-color: #9aa3ad;
}

.kvkk-check .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.kvkk-check .form-check-label {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #2c2c2c;
}

.kvkk-check .form-check-label a {
  color: var(--dark-green);
  text-decoration: underline;
  font-weight: 600;
}

.kvkk-check .form-check-label a:hover {
  color: var(--orange);
}

.kvkk-check .form-check-input.is-invalid ~ .form-check-label,
.was-validated .kvkk-check .form-check-input:invalid ~ .form-check-label {
  color: #2c2c2c;
}

.contact-page-title {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 700;
  color: #2c2c2c;
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.contact-page-section p {
  color: #2c2c2c;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.contact-address-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2c2c2c;
  margin: 2rem 0 0.75rem;
}

.contact-address a {
  color: #16564b;
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-address a:hover {
  color: var(--orange);
}

.contact-map-section {
  background: var(--white);
  padding: 0 0 2rem;
}

.contact-map-section iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(68, 122, 63, 0.2);
}

/* Blog detail (reference layout) */
.blog-detail-top {
  background: var(--white);
  padding: 0.5rem 0 0;
}

.blog-detail-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.blog-detail-featured {
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.blog-detail-featured img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 520px;
}

.blog-green-box {
  background: #00574c;
  color: #fff;
  padding: 2.25rem 2rem;
  border-radius: 0;
  margin-top: 0;
}

.blog-green-box p {
  margin-bottom: 1.15rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #fff;
}

.blog-green-box p:last-child {
  margin-bottom: 0;
}

.blog-green-box strong {
  font-weight: 700;
}

.blog-detail-banner {
  background: var(--white);
  padding: 2rem 0 0.5rem;
}

.blog-banner-img {
  width: 100%;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  max-height: 420px;
}

.blog-detail-body {
  background: var(--white);
  padding: 2.5rem 0 3.5rem;
}

.blog-detail-heading {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  color: #2c2c2c;
  margin-bottom: 1.15rem;
}

.blog-detail-body p,
.blog-extra-block p {
  color: #2c2c2c;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.blog-side-img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Legacy content helpers (other pages) */
.content-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.content-block h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.45rem;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p {
  margin-bottom: 1rem;
}

.blog-featured {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.blog-featured img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.blog-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.blog-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

/* Benefits */
.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  background: var(--white);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 500;
}

.benefits-list li i {
  color: var(--primary);
  font-size: 1.35rem;
}

/* Footer */
.site-footer {
  background: var(--dark-green);
  color: rgba(255, 255, 255, 0.9);
  padding: 3.5rem 0 1.5rem;
  margin-top: 3rem;
}

.site-footer img.footer-logo {
  height: 102px;
  width: auto;
  margin-bottom: 1.25rem;
}

.site-footer h5 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
  color: var(--orange);
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 1040;
  box-shadow: 0 6px 18px rgba(242, 150, 31, 0.4);
  cursor: pointer;
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  background: var(--primary);
}

/* Floating phone */
.floating-phone {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  box-shadow: 0 8px 24px rgba(68, 122, 63, 0.35);
}

/* Utilities */
.text-orange {
  color: var(--orange) !important;
}

.text-primary-green {
  color: var(--primary) !important;
}

.bg-soft {
  background: var(--white);
}

.img-rounded {
  border-radius: var(--radius);
}

.vatandas-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.vatandas-img img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.section-vatandas {
  background: #1f6c73;
  color: #fff;
}

.section-vatandas .section-title,
.section-vatandas p {
  color: #fff;
}

.bottom-cta {
  background: linear-gradient(135deg, var(--dark-green), var(--primary));
  border-radius: var(--radius);
  color: var(--white);
  overflow: hidden;
}

.bottom-cta-inner {
  padding: 2.75rem 2rem;
  text-align: center;
}

.bottom-cta h2 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

@media (min-width: 992px) {
  .bottom-cta-inner {
    padding: 3.25rem 3rem;
  }
}

@media (max-width: 991.98px) {
  .main-navbar .nav-item:not(:last-child) .nav-link::after {
    display: none;
  }

  .hero-carousel .carousel-item {
    min-height: 480px;
  }

  .blog-gallery {
    grid-template-columns: 1fr;
  }

  .floating-phone span {
    display: none;
  }

  .site-footer img.footer-logo {
    height: 72px;
  }
}

@media (max-width: 575.98px) {
  .hero-carousel .carousel-item {
    min-height: 420px;
  }

  .section {
    padding: 2.75rem 0;
  }
}
