/* CBK İnşaat - Custom Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700;900&display=swap');

:root {
  --primary-color: #242424;      /* Coal Dark */
  --secondary-color: #fe7c00;    /* Construction Safety Orange */
  --text-dark: #333333;          /* Dark Body Text */
  --text-light: #f8f9fa;         /* Light Text */
  --accent-color: #fe7c00;       /* Orange Accent */
  --dark-bg: #1a1a1a;            /* Full Dark Background */
  --light-bg: #f5f7fa;           /* Off-White Background */
  --border-color: #e0e0e0;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-color);
}

::selection {
  background: var(--secondary-color);
  color: #fff;
}

/* Header & Top Bar */
.top-bar {
  background-color: var(--primary-color);
  color: var(--text-light);
  font-size: 0.85rem;
  border-bottom: 3px solid var(--secondary-color);
}

.top-bar a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-bar a:hover {
  color: var(--secondary-color);
}

.navbar {
  padding: 15px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
  color: var(--primary-color) !important;
}

.navbar-brand span {
  color: var(--secondary-color);
}

.nav-link {
  font-weight: 700;
  color: #464646 !important;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 10px 18px !important;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-item.active .nav-link, .nav-link.active {
  color: var(--secondary-color) !important;
}

.dropdown-menu {
  border-radius: 0;
  border-top: 3px solid var(--secondary-color) !important;
}

.dropdown-item {
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.btn-primary-custom {
  background-color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 10px 24px;
  border-radius: 0;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.btn-outline-custom {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 10px 24px;
  border-radius: 0;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}

/* Slider Section */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 75vh;
  min-height: 500px;
}

.hero-slide {
  height: 75vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(20, 20, 25, 0.65); /* Modern slate mask */
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-title span {
  color: var(--secondary-color);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 750px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

/* Section Common Styling */
.section-title-wrapper {
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-title.text-start::after {
  left: 0;
  transform: none;
}

/* Products & Services Grid */
.product-card {
  border: 1px solid #eaeaea;
  border-radius: 0;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.4s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary-color);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  height: 220px;
}

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

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

.product-category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--secondary-color);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 5px 12px;
  letter-spacing: 1px;
}

/* Info animated card style for Home Grid */
.icon-animated {
  width: 80px;
  height: 80px;
  background: #f7f7f7;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  position: relative;
}

.icon-animated::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px dashed var(--secondary-color);
  left: 0;
  top: 0;
  transform: rotate(0deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.product-card:hover .icon-animated {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.product-card:hover .icon-animated::before {
  opacity: 1;
  transform: rotate(45deg);
}

.product-card:hover .icon-animated i {
  color: #fff !important;
}

/* Fore Kazık Nedir Info Box */
.info-box-wrapper {
  background: #ffffff;
  border-left: 5px solid var(--secondary-color);
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.info-highlight-card {
  background: var(--primary-color);
  color: #fff;
  padding: 40px;
  position: relative;
}

.info-highlight-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 10px; height: 100%;
  background: var(--secondary-color);
}

/* Calculator Section */
.calc-section {
  background-color: #f7f9fc;
  padding: 80px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.calc-panel {
  background: #ffffff;
  border: 1px solid #eaeaea;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  padding: 40px;
}

.calc-input-group {
  margin-bottom: 25px;
}

.calc-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  display: block;
}

.calc-input, .calc-select {
  border-radius: 0;
  border: 2px solid #eaeaea;
  padding: 12px 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.calc-input:focus, .calc-select:focus {
  border-color: var(--secondary-color);
  box-shadow: none;
}

.calc-range-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.calc-range {
  flex-grow: 1;
  accent-color: var(--secondary-color);
}

.calc-range-val {
  font-weight: 700;
  background: var(--primary-color);
  color: #fff;
  padding: 5px 12px;
  min-width: 60px;
  text-align: center;
  font-size: 0.9rem;
}

.calc-results-box {
  background: var(--primary-color);
  color: #fff;
  padding: 40px;
  height: 100%;
  display: flex;
  flex-column: justify;
  flex-direction: column;
  position: relative;
}

.calc-results-box::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 5px;
  background: var(--secondary-color);
}

.calc-res-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
}

.calc-res-label {
  color: #b0b0b0;
  font-weight: 600;
}

.calc-res-val {
  font-weight: 700;
  color: #ffffff;
}

.calc-total-box {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px dashed rgba(255, 255, 255, 0.2);
  text-align: center;
}

.calc-total-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--secondary-color);
  display: block;
  margin-top: 5px;
}

/* Quote Section Form */
.quote-form-section {
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.quote-form-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: var(--secondary-color);
}

.form-control {
  border-radius: 0;
  border: 1px solid #ddd;
  padding: 12px 15px;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: none;
}

/* Counter Metrics */
.counter-section {
  background-color: #1a1a1a;
  border-bottom: 3px solid var(--secondary-color);
}

.counter-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--secondary-color);
  line-height: 1;
}

.counter-title {
  color: #a0a0a0 !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Testimonials / Google Reviews */
.testimonial-card {
  border-radius: 0;
  border-top: 4px solid var(--secondary-color) !important;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.star-rating {
  color: var(--secondary-color);
}

/* Blog Cards */
.blog-card {
  border: 1px solid #eaeaea;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.blog-card-img {
  height: 220px;
  object-fit: cover;
}

.blog-date-badge {
  background: var(--secondary-color);
  color: #fff;
  font-weight: 700;
  padding: 6px 12px;
  font-size: 0.8rem;
  position: absolute;
  bottom: 0;
  right: 15px;
}

.blog-card-title a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
}

.blog-card-title a:hover {
  color: var(--secondary-color);
}

/* Partners Marquee */
.partners-section {
  border-bottom: 1px solid #eee;
  padding: 30px 0;
}

.partners-slider {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.partner-logo img {
  filter: grayscale(100%);
  opacity: 0.4;
  max-width: 140px;
  max-height: 50px;
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Footer Section */
footer {
  background-color: #151515;
  color: #999;
  font-size: 0.9rem;
}

footer h5 {
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

footer h5::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 35px; height: 3px;
  background-color: var(--secondary-color);
}

footer a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--secondary-color);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: #fff;
}
