/* Dağkaya Çelik Konstrüksiyon - Premium Custom Stylesheet (Builto Inspired) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-color: #0e1322;      /* Deep Slate Dark (Builto Dark) */
  --primary-light: #161c30;     /* Lighter Slate Dark */
  --secondary-color: #ffb703;    /* Industrial Accent Gold */
  --accent-color: #f77f00;       /* Warm Orange Accent */
  --text-dark: #2b3040;          /* Deep Navy-Gray Text */
  --text-muted: #64748b;         /* Muted Slate Text */
  --text-light: #f8fafc;         /* Light Off-White Text */
  --light-bg: #f8fafc;           /* Light Page Background */
  --border-color: #e2e8f0;       /* Border Color */
  --card-shadow: 0 10px 30px rgba(14, 19, 34, 0.05);
  --hover-shadow: 0 20px 40px rgba(14, 19, 34, 0.12);
  --font-family: 'Outfit', sans-serif;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--primary-color);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 5px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse-yellow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 183, 3, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 183, 3, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 183, 3, 0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

/* Top Bar */
.top-bar {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 500;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* Sticky Glassmorphic Navbar */
.navbar {
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(14, 19, 34, 0.05);
}

.navbar-brand img {
  height: 55px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 600;
  color: var(--primary-color) !important;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.8px;
  padding: 8px 16px !important;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--secondary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover::after, 
.nav-link.active::after,
.nav-item.active .nav-link::after {
  transform: scaleX(1);
}

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

.dropdown-menu {
  border-radius: 8px;
  border: 1px solid rgba(14, 19, 34, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
}

.dropdown-item {
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

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

/* Premium Buttons */
.btn-primary-custom {
  background-color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 1px;
  padding: 12px 28px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(255, 183, 3, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-custom:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(14, 19, 34, 0.25);
  transform: translateY(-2px);
}

.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.82rem;
  letter-spacing: 1px;
  padding: 12px 28px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Hero Slider Section */
.hero-slider {
  position: relative;
  height: 80vh;
  min-height: 550px;
  overflow: hidden;
  background-color: var(--primary-color);
}

.hero-slide {
  height: 80vh;
  min-height: 550px;
  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: linear-gradient(135deg, rgba(14, 19, 34, 0.85) 40%, rgba(14, 19, 34, 0.4) 100%);
}

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

.hero-badge {
  display: inline-block;
  background: rgba(255, 183, 3, 0.15);
  border-left: 3px solid var(--secondary-color);
  padding: 6px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  line-height: 1.1;
  text-transform: uppercase;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 700px;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

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

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

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

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

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

/* Cards (Products & Services) */
.product-card {
  border: 1px solid rgba(14, 19, 34, 0.05);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(255, 183, 3, 0.3);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  height: 240px;
  background-color: var(--primary-color);
}

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

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

.product-category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 6px 14px;
  letter-spacing: 1px;
  border-left: 3px solid var(--secondary-color);
  border-radius: 2px;
}

/* Premium Card Icon animation */
.icon-animated {
  width: 75px;
  height: 75px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-radius: 8px;
}

.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;
  border-radius: 8px;
}

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

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

.product-card:hover .icon-animated i {
  color: var(--secondary-color) !important;
}

/* Info Box / Section Elements */
.info-box-wrapper {
  background: #ffffff;
  border-left: 5px solid var(--secondary-color);
  padding: 35px;
  border-radius: 0 8px 8px 0;
  box-shadow: var(--card-shadow);
}

.info-highlight-card {
  background: var(--primary-light);
  color: #fff;
  padding: 40px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

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

/* Cost Calculator Layout */
.calc-section {
  background-color: var(--light-bg);
  padding: 90px 0;
  border-top: 1px solid rgba(14, 19, 34, 0.05);
}

.calc-panel {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 45px;
  border: 1px solid rgba(14, 19, 34, 0.03);
}

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

.calc-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-input, .calc-select {
  border-radius: 6px;
  border: 2px solid #e2e8f0;
  padding: 12px 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

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

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

.calc-range {
  flex-grow: 1;
  accent-color: var(--secondary-color);
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
}

.calc-range-val {
  font-weight: 700;
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 6px 14px;
  border-radius: 4px;
  min-width: 70px;
  text-align: center;
  font-size: 0.9rem;
}

.calc-results-box {
  background: var(--primary-color);
  color: #fff;
  padding: 45px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(14, 19, 34, 0.15);
}

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

.calc-res-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 15px 0;
  align-items: center;
}

.calc-res-label {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.95rem;
}

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

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

.calc-total-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--secondary-color);
  display: block;
  margin-top: 8px;
  letter-spacing: -1px;
}

/* Quote Form Section */
.quote-form-section {
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(14, 19, 34, 0.15);
}

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

.form-control {
  border-radius: 6px;
  border: 1px solid rgba(14, 19, 34, 0.15);
  padding: 12px 18px;
  font-size: 0.95rem;
}

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

/* Counter Area */
.counter-section {
  background-color: var(--primary-light);
  border-bottom: 4px solid var(--secondary-color);
}

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

.counter-title {
  color: #94a3b8 !important;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Testimonial Cards */
.testimonial-card {
  border-radius: 12px;
  border: 1px solid rgba(14, 19, 34, 0.05) !important;
  border-top: 5px solid var(--secondary-color) !important;
  box-shadow: var(--card-shadow);
  background: #ffffff;
}

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

/* Blog Cards */
.blog-card {
  border: 1px solid rgba(14, 19, 34, 0.05);
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 183, 3, 0.3);
  box-shadow: var(--hover-shadow);
}

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

.blog-date-badge {
  background: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 700;
  padding: 6px 14px;
  font-size: 0.8rem;
  position: absolute;
  bottom: 0;
  right: 15px;
  border-radius: 4px 4px 0 0;
}

.blog-card-title a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

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

/* Partners Slider */
.partners-section {
  border-bottom: 1px solid rgba(14, 19, 34, 0.05);
  padding: 40px 0;
  overflow: hidden;
  background: #ffffff;
}

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

.partner-logo img {
  filter: grayscale(100%);
  opacity: 0.35;
  max-width: 130px;
  max-height: 45px;
  transition: all 0.3s ease;
  object-fit: contain;
}

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

/* Footer layout */
footer {
  background-color: var(--primary-color);
  color: #94a3b8;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

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

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

/* Breadcrumbs */
.breadcrumb-item a {
  color: var(--text-muted);
  font-weight: 600;
}
.breadcrumb-item.active {
  color: var(--primary-color);
  font-weight: 700;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  z-index: 9999;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulse-yellow 2s infinite;
}

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