/*
Theme Name: TheGem Child
Theme URI: https://codex-themes.com/thegem/
Description: Child theme for TheGem with custom corporate styles for Tuğra Makina
Author: Antigravity
Template: thegem
Version: 1.0.0
*/

/* =====================================================
   TUĞRA MAKİNA – DARK THEME + KURUMSAL RENKLER
   TheGem Child Theme / Additional CSS
   
   Turuncu: #F7931D
   Yeşil:   #0C8D5A
   Koyu BG: #1A1A2E
   Kart BG: #16213E
   ===================================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
  --tugra-orange: #F7931D;
  --tugra-green: #0C8D5A;
  --tugra-dark: #1A1A2E;
  --tugra-card: #16213E;
  --tugra-card-border: rgba(255,255,255,0.08);
  --tugra-text: #E0E0E0;
  --tugra-heading: #FFFFFF;
  --tugra-text-muted: #9CA3AF;
}

/* ---------- GLOBAL DARK BACKGROUND ---------- */
body,
.page-content,
#page,
#main,
.block-content,
.main-content {
  background-color: var(--tugra-dark) !important;
  color: var(--tugra-text) !important;
}

/* ---------- HEADER / NAV ---------- */
#site-header,
.site-header,
#site-header-wrapper,
.header-main,
.primary-navigation {
  background-color: rgba(26, 26, 46, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tugra-card-border);
}

.primary-navigation a,
.sf-menu > li > a,
.nav-menu > li > a {
  color: var(--tugra-heading) !important;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.primary-navigation a:hover,
.sf-menu > li > a:hover,
.sf-menu > li.current-menu-item > a {
  color: var(--tugra-orange) !important;
}

/* ---------- LANGUAGE SWITCHER ---------- */
.tugra-lang-switcher {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.tugra-lang-switcher a {
  color: var(--tugra-text-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s;
}

.tugra-lang-switcher a.active,
.tugra-lang-switcher a:hover {
  color: var(--tugra-orange);
  background: rgba(247, 147, 29, 0.1);
}

/* ---------- HERO SECTION ---------- */
.tugra-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.tugra-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.4) 100%);
  z-index: 1;
}

.tugra-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 40px;
}

.tugra-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--tugra-heading);
  line-height: 1.2;
  margin-bottom: 16px;
}

.tugra-hero p {
  font-size: 1.15rem;
  color: var(--tugra-text);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ---------- BUTTONS ---------- */
.tugra-btn-orange {
  display: inline-block;
  background: var(--tugra-orange) !important;
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--tugra-orange) !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tugra-btn-orange:hover {
  background: #e5850f !important;
  border-color: #e5850f !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247, 147, 29, 0.3);
}

.tugra-btn-green {
  display: inline-block;
  background: transparent !important;
  color: var(--tugra-green) !important;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--tugra-green) !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tugra-btn-green:hover {
  background: var(--tugra-green) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 141, 90, 0.3);
}

.tugra-btn-green-filled {
  display: inline-block;
  background: var(--tugra-green) !important;
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--tugra-green) !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tugra-btn-green-filled:hover {
  background: #0a7a4e !important;
  border-color: #0a7a4e !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 141, 90, 0.3);
}

/* ---------- GLASS CARDS ---------- */
.tugra-card {
  background: var(--tugra-card) !important;
  border: 1px solid var(--tugra-card-border);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.tugra-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(247,147,29,0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.tugra-card:hover {
  border-color: rgba(247, 147, 29, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.tugra-card:hover::before {
  opacity: 1;
}

.tugra-card h3 {
  color: var(--tugra-heading) !important;
  font-weight: 700;
  margin-bottom: 12px;
}

.tugra-card p {
  color: var(--tugra-text-muted);
  line-height: 1.6;
}

/* ---------- STATS COUNTER ROW ---------- */
.tugra-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 48px 20px;
  flex-wrap: wrap;
}

.tugra-stat-item {
  text-align: center;
  padding: 24px 32px;
  background: var(--tugra-card);
  border: 1px solid var(--tugra-card-border);
  border-radius: 12px;
  min-width: 200px;
  transition: all 0.3s;
}

.tugra-stat-item:hover {
  border-color: var(--tugra-orange);
}

.tugra-stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--tugra-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.tugra-stat-label {
  font-size: 0.95rem;
  color: var(--tugra-text-muted);
  font-weight: 500;
}

/* ---------- SECTOR CARDS ---------- */
.tugra-sector-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  transition: all 0.4s;
}

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

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

.tugra-sector-card .sector-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, rgba(26,26,46,0.2) 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.tugra-sector-card .sector-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  flex: 1;
}

.tugra-sector-card .sector-arrow {
  width: 40px;
  height: 40px;
  background: var(--tugra-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: background 0.3s;
}

.tugra-sector-card:hover .sector-arrow {
  background: var(--tugra-orange);
}

/* ---------- PROCESS FLOW ---------- */
.tugra-process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.tugra-process-step {
  text-align: center;
}

.tugra-process-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--tugra-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 28px;
  color: var(--tugra-orange);
  background: var(--tugra-card);
  transition: all 0.3s;
}

.tugra-process-icon:hover {
  border-color: var(--tugra-orange);
  transform: scale(1.1);
}

.tugra-process-label {
  font-size: 0.85rem;
  color: var(--tugra-text);
  font-weight: 600;
  max-width: 100px;
}

.tugra-process-arrow {
  font-size: 24px;
  color: var(--tugra-orange);
  margin: 0 4px;
}

/* ---------- PRODUCT CATEGORY CARDS ---------- */
.tugra-product-card {
  background: var(--tugra-card);
  border: 1px solid var(--tugra-card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s;
}

.tugra-product-card:hover {
  border-color: var(--tugra-orange);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}

.tugra-product-card .product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.tugra-product-card .product-info {
  padding: 24px;
}

.tugra-product-card h4 {
  color: var(--tugra-heading);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.tugra-product-card p {
  color: var(--tugra-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.tugra-product-card .product-buttons {
  display: flex;
  gap: 12px;
}

.tugra-product-card .product-buttons a {
  padding: 10px 20px;
  font-size: 13px;
}

/* ---------- INDUSTRY SECTION ---------- */
.tugra-industry-block {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--tugra-card-border);
}

.tugra-industry-block:nth-child(even) {
  flex-direction: row-reverse;
}

.tugra-industry-block .industry-img {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}

.tugra-industry-block .industry-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

.tugra-industry-block .industry-content {
  flex: 1;
}

.tugra-industry-block h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--tugra-heading);
  margin-bottom: 16px;
}

.tugra-industry-block p {
  color: var(--tugra-text);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ---------- TIMELINE ---------- */
.tugra-timeline {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  padding: 48px 20px;
  position: relative;
}

.tugra-timeline::before {
  content: '';
  position: absolute;
  top: 72px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: var(--tugra-orange);
}

.tugra-timeline-step {
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 160px;
}

.tugra-timeline-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tugra-card);
  border: 3px solid var(--tugra-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: var(--tugra-green);
  transition: all 0.3s;
}

.tugra-timeline-step:hover .tugra-timeline-dot {
  border-color: var(--tugra-orange);
  color: var(--tugra-orange);
  transform: scale(1.15);
}

.tugra-timeline-title {
  font-weight: 700;
  color: var(--tugra-heading);
  font-size: 0.95rem;
}

/* ---------- TURNKEY CTA BANNER ---------- */
.tugra-cta-banner {
  background: linear-gradient(135deg, var(--tugra-card) 0%, rgba(247,147,29,0.1) 100%);
  border: 1px solid var(--tugra-card-border);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  margin: 40px 0;
}

.tugra-cta-banner h2 {
  color: var(--tugra-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.tugra-cta-banner .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- SECTION TITLES ---------- */
.tugra-section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

.tugra-section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--tugra-heading);
  margin-bottom: 12px;
}

.tugra-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--tugra-orange);
  margin-top: 12px;
}

.tugra-section-title.green-line::after {
  background: var(--tugra-green);
}

.tugra-section-subtitle {
  color: var(--tugra-text-muted);
  font-size: 1.1rem;
  margin-top: -30px;
  margin-bottom: 40px;
}

/* ---------- CONTACT FORM ---------- */
.tugra-contact-form input,
.tugra-contact-form textarea {
  background: var(--tugra-card) !important;
  border: 1px solid var(--tugra-card-border) !important;
  color: var(--tugra-text) !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  font-size: 15px;
  transition: border-color 0.3s;
}

.tugra-contact-form input:focus,
.tugra-contact-form textarea:focus {
  border-color: var(--tugra-orange) !important;
  outline: none;
}

.tugra-contact-form label {
  color: var(--tugra-text-muted) !important;
  font-weight: 500;
  margin-bottom: 6px;
}

/* ---------- FOOTER ---------- */
footer,
#colophon,
.site-footer,
.footer-widget-area {
  background: #0F0F23 !important;
  border-top: 1px solid var(--tugra-card-border);
}

footer h4,
.site-footer h4,
.footer-widget-area h4 {
  color: var(--tugra-heading) !important;
}

footer p,
footer a,
.site-footer p,
.site-footer a {
  color: var(--tugra-text-muted) !important;
}

footer a:hover,
.site-footer a:hover {
  color: var(--tugra-orange) !important;
}

/* ---------- WPBakery OVERRIDES ---------- */
.vc_row {
  background-color: transparent !important;
}

.vc_custom_heading {
  color: var(--tugra-heading) !important;
}

.vc_column_text {
  color: var(--tugra-text) !important;
}

.vc_column_text h1,
.vc_column_text h2,
.vc_column_text h3,
.vc_column_text h4,
.vc_column_text h5 {
  color: var(--tugra-heading) !important;
}

.vc_separator .vc_sep_holder .vc_sep_line {
  border-color: var(--tugra-card-border) !important;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .tugra-industry-block,
  .tugra-industry-block:nth-child(even) {
    flex-direction: column;
  }
  
  .tugra-stats {
    gap: 16px;
  }
  
  .tugra-stat-item {
    min-width: 140px;
  }
  
  .tugra-process-flow {
    gap: 8px;
  }
  
  .tugra-timeline::before {
    display: none;
  }
  
  .tugra-timeline {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .tugra-hero h1 {
    font-size: 1.8rem;
  }
  
  .tugra-hero-content {
    padding: 40px 20px;
  }
  
  .tugra-cta-banner {
    padding: 32px 20px;
  }
  
  .tugra-cta-banner h2 {
    font-size: 1.5rem;
  }
}

