@import url('variables.css');

/* ----------------------------------------------------
   1. GLOBAL RESET & BASE STYLES
   ---------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

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

a:hover {
  color: var(--primary-light);
}

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

ul {
  list-style: none;
}

/* ----------------------------------------------------
   2. REUSABLE UTILITIES & LAYOUTS
   ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  color: var(--accent-orange);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-orange);
  color: var(--bg-white);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* ----------------------------------------------------
   3. HEADER & NAVIGATION
   ---------------------------------------------------- */
.top-bar {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact span {
  margin-right: 1.5rem;
}

.top-bar-social a {
  color: var(--secondary-light);
  margin-left: 1rem;
  transition: color var(--transition-fast);
}

.top-bar-social a:hover {
  color: var(--accent-orange);
}

.main-header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 100;
  transition: all var(--transition-normal);
}

.main-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: var(--shadow-md);
  animation: slideDown 0.4s ease-out;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  transition: padding var(--transition-normal);
}

.main-header.sticky .header-container {
  padding: 0.6rem 0;
}

.logo img {
  height: 60px;
  width: auto;
  transition: height var(--transition-normal);
}

.main-header.sticky .logo img {
  height: 48px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
}

.mobile-menu-close {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary-color);
  padding: 1.5rem 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.nav-link:hover, .nav-item.active > .nav-link {
  color: var(--primary-color);
}

.nav-link i {
  font-size: 0.75rem;
  margin-left: 0.4rem;
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-white);
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--primary-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-normal);
  z-index: 999;
}

.dropdown.submenu-left {
  left: auto;
  right: 0;
}

.nav-item:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.8rem 1.2rem;
  font-size: 0.875rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-light);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.dropdown-link:last-child {
  border-bottom: none;
}

.dropdown-link:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
  padding-left: 1.5rem;
}

/* Multi-level Dropdown Submenus */
.dropdown-item {
  position: relative;
}

.dropdown-item > .dropdown {
  position: absolute;
  top: -3px;
  left: 100%;
  transform: translateX(15px);
  border-top: none;
  border-left: 3px solid var(--primary-color);
  z-index: 1000;
}

.dropdown-item:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.style-submenu-arrow {
  float: right;
  font-size: 0.7rem;
  margin-top: 0.25rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.dropdown-link:hover .style-submenu-arrow {
  color: var(--primary-color);
  transform: translateX(3px);
}

/* Tight Desktop Viewport Menu Wrapping Fix */
@media (max-width: 1200px) and (min-width: 1025px) {
  .nav-link {
    padding: 1.5rem 0.6rem;
    font-size: 0.85rem;
  }
  .logo img {
    height: 50px;
  }
}

/* Language Switcher Link */
.lang-switcher img {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: auto;
  margin-right: 6px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary-color);
  cursor: pointer;
}

/* ----------------------------------------------------
   4. HERO / SLIDER SECTION
   ---------------------------------------------------- */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background-color: #000;
}

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

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  z-index: 1;
}

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

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 11, 63, 0.8) 0%, rgba(10, 11, 63, 0.4) 60%, rgba(10, 11, 63, 0.2) 100%);
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  color: var(--text-light);
  max-width: 650px;
  padding: 0 1.5rem;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.3s;
}

.slide-content h2,
.slide-content h1 {
  font-size: 3.5rem;
  color: var(--bg-white);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.slide-content h2 span,
.slide-content h1 span {
  color: var(--accent-orange);
}

.slide-content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Slider Navigation */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--bg-white);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
  z-index: 10;
}

.slider-arrow:hover {
  background-color: var(--primary-color);
}

.slider-arrow.prev {
  left: 1.5rem;
}

.slider-arrow.next {
  right: 1.5rem;
}

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

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--accent-orange);
  width: 24px;
  border-radius: var(--radius-full);
}

/* ----------------------------------------------------
   5. PAGE BANNER (Subpages)
   ---------------------------------------------------- */
.page-banner {
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 11, 63, 0.75);
  z-index: 1;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
}

.page-banner-content h1 {
  font-size: 2.75rem;
  color: var(--bg-white);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.breadcrumbs {
  display: flex;
  font-size: 0.875rem;
  opacity: 0.8;
  font-weight: 600;
}

.breadcrumbs a {
  color: var(--bg-white);
}

.breadcrumbs a:hover {
  color: var(--accent-orange);
}

.breadcrumbs span {
  margin: 0 0.5rem;
}

/* ----------------------------------------------------
   6. CARDS & SECTIONS
   ---------------------------------------------------- */
/* Features / Services */
.card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem 2rem;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background-color: var(--primary-color);
  transition: height var(--transition-normal);
}

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

.card:hover::before {
  height: 100%;
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform var(--transition-normal);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--accent-orange);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.card p {
  color: var(--text-body);
  font-size: 0.95rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-top: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--primary-color);
}

.read-more i {
  font-size: 0.75rem;
  margin-left: 0.4rem;
  transition: transform var(--transition-fast);
}

.card:hover .read-more {
  color: var(--accent-orange);
}

.card:hover .read-more i {
  transform: translateX(4px);
}

/* Image Card (Products/Portfolio) */
.img-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

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

.img-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.img-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.img-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 21, 109, 0.4);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-card:hover .img-card-overlay {
  opacity: 1;
}

.img-card-body {
  padding: 1.5rem;
}

.img-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

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

/* ----------------------------------------------------
   7. PAGE CONTENT LAYOUTS
   ---------------------------------------------------- */
.two-column-layout {
  display: grid;
  grid-template-columns: 2.8fr 1.2fr;
  gap: 3rem;
}

@media (min-width: 1025px) {
  .contact-layout {
    grid-template-columns: 1.2fr 1fr;
  }
}

.sidebar {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  align-self: start;
}

.widget {
  margin-bottom: 2.5rem;
}

.widget:last-child {
  margin-bottom: 0;
}

.widget-title {
  font-size: 1.25rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.sidebar-menu li {
  margin-bottom: 0.5rem;
}

.sidebar-menu a {
  display: block;
  padding: 0.6rem 1rem;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-left: 3px solid transparent;
  transition: all var(--transition-fast);
}

.sidebar-menu a:hover, .sidebar-menu li.active a {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-left-color: var(--accent-orange);
  padding-left: 1.25rem;
}

.content-block h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.content-block p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ----------------------------------------------------
   8. INTERACTIVE MODULES & TABLES
   ---------------------------------------------------- */
/* Technical Info Table */
.tech-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
  background-color: var(--bg-white);
}

.tech-table th {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tech-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.tech-table tbody tr:last-child td {
  border-bottom: none;
}

.tech-table tbody tr:nth-child(even) {
  background-color: var(--bg-light);
}

/* Hardness Converter Table specific styling */
.tech-table-dense td, .tech-table-dense th {
  padding: 0.6rem 0.8rem;
  font-size: 0.875rem;
}

/* Metal Weight Calculator */
.calc-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}

.calc-shapes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.shape-btn {
  background: var(--bg-light);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 1.25rem 0.75rem;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.shape-btn svg {
  width: 32px;
  height: 32px;
  fill: var(--text-muted);
  transition: fill var(--transition-normal);
}

.shape-btn span {
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.shape-btn:hover {
  background-color: #f1f5f9;
}

.shape-btn.active {
  background-color: rgba(18, 21, 109, 0.05);
  border-color: var(--primary-color);
}

.shape-btn.active svg {
  fill: var(--primary-color);
}

.shape-btn.active span {
  color: var(--primary-color);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-group label {
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--text-dark);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.calc-input, .calc-select {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color var(--transition-fast);
  outline: none;
  background-color: var(--bg-white);
}

.calc-input:focus, .calc-select:focus {
  border-color: var(--primary-color);
}

.calc-results-panel {
  background: var(--primary-dark);
  color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-glow);
}

.calc-result-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--secondary-light);
  letter-spacing: 0.05em;
  font-weight: 700;
}

.calc-result-value {
  font-size: 2.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-orange);
}

.calc-result-value span {
  font-size: 1rem;
  margin-left: 0.25rem;
  color: var(--bg-white);
}

/* ----------------------------------------------------
   9. FORMS & INPUTS (Contact, Satisfaction, HR)
   ---------------------------------------------------- */
.form-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
  background-color: var(--bg-white);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(18, 21, 109, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Survey Rating Radio Grid */
.survey-row {
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}

.survey-row:last-child {
  border-bottom: none;
}

.survey-question {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.survey-options {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.survey-option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.survey-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-color);
}

/* ----------------------------------------------------
   10. LIGHTBOX & GALLERY
   ---------------------------------------------------- */
.cert-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.cert-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-align: center;
}

.cert-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.cert-thumb {
  aspect-ratio: 1 / 1.4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  border: 1px solid var(--border-light);
}

.cert-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.cert-item:hover .cert-thumb img {
  transform: scale(1.05);
}

.cert-item h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 0;
  color: var(--text-dark);
}

/* Modal Lightbox (Premium Glassmorphism & Gold Theme) */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 21, 109, 0.85); /* Koyu Kurumsal Mavi with transparency */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  z-index: 10000;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.3s;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10005;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  border: 3px solid rgba(230, 170, 33, 0.3); /* Akkor Altın Accent */
  background-color: rgba(10, 15, 30, 0.5);
  transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out;
}

.lightbox-video {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  border: 3px solid rgba(230, 170, 33, 0.3); /* Akkor Altın Accent */
  background-color: #000;
  outline: none;
  z-index: 10006;
}

.lightbox-caption {
  color: var(--text-light);
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.lightbox-counter {
  color: var(--accent-color); /* Akkor Altın / Gold */
  font-size: 0.95rem;
  text-align: center;
  margin-top: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Lightbox Controls */
.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  font-size: 1.8rem;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10020;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
  transform: scale(1.08);
}

.lightbox-close:active {
  transform: scale(0.95);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  font-size: 2.2rem;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10010;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.lightbox-prev {
  left: 3rem;
}

.lightbox-next {
  right: 3rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent-color); /* Akkor Altın Gold */
  border-color: var(--accent-color);
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(230, 170, 33, 0.6);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev:active,
.lightbox-next:active {
  transform: translateY(-50%) scale(0.95);
}

/* Lightbox Mobile Adjustments */
@media (max-width: 991px) {
  .lightbox-prev {
    left: 1.5rem;
  }
  .lightbox-next {
    right: 1.5rem;
  }
}

@media (max-width: 768px) {
  .lightbox-content {
    max-width: 90%;
  }
  
  .lightbox-img {
    max-height: 55vh;
    border-width: 2px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
  
  .lightbox-prev {
    left: 0.8rem;
  }
  
  .lightbox-next {
    right: 0.8rem;
  }
  
  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
  
  .lightbox-caption {
    font-size: 1rem;
  }
}

/* ----------------------------------------------------
   11. FOOTER
   ---------------------------------------------------- */
.main-footer {
  background-color: var(--bg-dark);
  color: var(--secondary-light);
  padding: 5rem 0 0 0;
  border-top: 4px solid var(--primary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-widget h3 {
  color: var(--bg-white);
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-orange);
}

.footer-about img {
  height: 50px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer-about p {
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--secondary-light);
  font-size: 0.925rem;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.footer-links a i {
  font-size: 0.7rem;
  margin-right: 0.5rem;
}

.footer-links a:hover {
  color: var(--bg-white);
  padding-left: 0.4rem;
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.925rem;
}

.footer-contact i {
  color: var(--accent-orange);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.footer-contact a {
  color: var(--secondary-light);
}

.footer-contact a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  background-color: var(--bg-darker);
  padding: 1.5rem 0;
  font-size: 0.825rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-links a {
  color: var(--secondary-light);
  margin-left: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--bg-white);
}

/* ----------------------------------------------------
   12. MOBILE DRAWERS & RESPONSIVE
   ---------------------------------------------------- */
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@media (max-width: 1024px) {
  .header-container {
    padding: 1rem 1.5rem;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem 1.5rem;
    transition: right var(--transition-normal) ease-in-out;
    overflow-y: auto;
    z-index: 9999;
  }
  
  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }
  
  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--border-light);
  }
  
  .nav-link {
    padding: 1rem 0;
    width: 100%;
    justify-content: space-between;
  }
  
  .dropdown {
    position: static;
    box-shadow: none;
    border-top: none;
    background-color: var(--bg-light);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height var(--transition-normal) ease-out;
  }
  
  .dropdown.active {
    max-height: 1000px; /* arbitrary large value */
  }
  
  .dropdown-link {
    padding: 0.8rem 1.5rem;
  }

  .dropdown-item > .dropdown {
    position: static;
    box-shadow: none;
    border-left: none;
    background-color: rgba(0, 0, 0, 0.03);
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height var(--transition-normal) ease-out;
  }

  .dropdown-item > .dropdown.active {
    max-height: 500px;
  }

  .dropdown-item > .dropdown-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .style-submenu-arrow {
    transform: rotate(90deg);
    float: none;
    margin: 0;
  }
  
  /* Mobile Menu Close Button */
  .mobile-menu-close {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
  }
  
  .two-column-layout {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    order: 2;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-slider-wrapper {
    height: 500px;
  }
  
  .slide-content h2,
  .slide-content h1 {
    font-size: 2.25rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-bottom-links a {
    margin: 0 0.75rem;
  }
  
  .calc-grid {
    grid-template-columns: 1fr;
  }
  
  .top-bar {
    display: none; /* Hide topbar on mobile */
  }
}

/* ----------------------------------------------------
   13. TIMELINE DESIGN (Corporate Timeline)
   ---------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 3rem auto;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-color) 0%, var(--accent-orange) 100%);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  width: 50%;
  padding: 0 3rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-badge {
  position: absolute;
  top: 15px;
  right: -25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--bg-light);
  box-shadow: var(--shadow-sm);
  z-index: 5;
  transition: all var(--transition-normal);
}

.timeline-item:nth-child(even) .timeline-badge {
  left: -25px;
  right: auto;
}

.timeline-item:hover .timeline-badge {
  background-color: var(--accent-orange);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.timeline-panel {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  transition: all var(--transition-normal);
}

.timeline-panel::before {
  content: '';
  position: absolute;
  top: 25px;
  right: -10px;
  width: 20px;
  height: 20px;
  background-color: var(--bg-white);
  border-right: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
  transform: rotate(45deg);
  transition: all var(--transition-normal);
}

.timeline-item:nth-child(even) .timeline-panel::before {
  left: -10px;
  right: auto;
  border-right: none;
  border-top: none;
  border-left: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.timeline-item:hover .timeline-panel {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: var(--primary-light);
}

.timeline-panel h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.timeline-item:hover .timeline-panel h3 {
  color: var(--accent-orange);
}

.timeline-panel p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 40px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 5rem;
    padding-right: 1.5rem;
    text-align: left !important;
    margin-bottom: 3rem;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-badge {
    left: 15px !important;
    right: auto !important;
  }
  
  .timeline-panel::before {
    left: -10px !important;
    right: auto !important;
    border-right: none !important;
    border-top: none !important;
    border-left: 1px solid var(--border-light) !important;
    border-bottom: 1px solid var(--border-light) !important;
  }
}

/* ----------------------------------------------------
   11. TAB SYSTEM (Product Details, Services)
   ---------------------------------------------------- */
.rt_tabs {
  margin-top: 2rem;
}

.tab_nav {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 2px solid var(--border-color);
  gap: 0.5rem;
}

.tab_title {
  padding: 0.8rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: -2px;
}

.tab_title i, .tab_title span {
  font-size: 1rem;
}

.tab_title:hover {
  color: var(--primary-color);
  background-color: var(--bg-light);
}

.tab_title.active {
  color: var(--primary-color);
  background-color: var(--bg-white);
  border-color: var(--border-color);
  border-bottom: 2px solid var(--bg-white);
  box-shadow: 0 -2px 5px rgba(0,0,0,0.02);
}

.tab_contents {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.tab_content_wrapper {
  display: none;
}

.tab_content_wrapper.active {
  display: block;
  animation: tabFadeIn var(--transition-normal);
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .tab_nav {
    flex-direction: column;
    border-bottom: none;
    gap: 0.25rem;
  }
  
  .tab_title {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 0;
  }
  
  .tab_title.active {
    border-bottom-color: var(--border-color);
    background-color: var(--primary-color);
    color: var(--text-light);
  }
  
  .tab_contents {
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
    border-radius: var(--radius-md);
  }
}

/* Document Download Lists */
.with_icons.style-1 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.with_icons.style-1 > div {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition-normal);
}

.with_icons.style-1 > div:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-color);
  background-color: var(--bg-white);
}

.with_icons.style-1 .icon {
  font-size: 1.5rem;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.with_icons.style-1 .list-content p {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.with_icons.style-1 .list-content a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.with_icons.style-1 > div:hover .list-content a {
  color: var(--primary-color);
}


