/* ==========================================================================
   ÖZAT MERMER - MULTI-PAGE DESIGN SYSTEM STYLESHEET (VANILLA CSS)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & COLOR THEMES (DARK/LIGHT)
   -------------------------------------------------------------------------- */
:root {
  /* Constant Accent Colors (Luxury Gold Accents) */
  --gold-light: #dfc49f;
  /* Pale champagne gold */
  --gold-accent: #c5a880;
  /* Signature metallic gold */
  --gold-dark: #8c6c3f;
  /* Deep gold bronze */

  /* Constant Layout Variables */
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: 0.2s ease;
  --header-height: 80px;
  --border-radius-sm: 4px;
  --border-radius-lg: 8px;
  --shadow-luxury: 0 15px 40px rgba(0, 0, 0, 0.4);
  --shadow-text: 0 2px 10px rgba(0, 0, 0, 0.8);

  /* Fonts */
  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans: 'Inter', 'Montserrat', 'Helvetica', sans-serif;

  /* Theme: Dark (Default) Variables */
  --bg-primary: #662500;
  /* Carbon Obsidian base background */
  --bg-secondary: #111314;
  /* Dark Charcoal card background */
  --bg-tertiary: #191c1d;
  /* Lighter accents background */
  --text-white: #ffffff;
  /* Title text */
  --text-primary: #f3ede2;
  /* High contrast body text */
  --text-muted: #a0a7ac;
  /* Low contrast slate text */
  --border-light: rgba(255, 255, 255, 0.05);
  --border-gold: rgba(197, 168, 128, 0.2);
}

/* Theme: Light Overrides */
body.theme-light {
  --bg-primary: #fbfaf8;
  /* Clean warm cream white */
  --bg-secondary: #f4f0e6;
  /* Soft warm beige card background */
  --bg-tertiary: #eae4d5;
  /* Lighter border/surface */
  --text-white: #111314;
  /* Title text becomes charcoal */
  --text-primary: #2d3032;
  /* Charcoal body text */
  --text-muted: #6a7174;
  /* Muted grey-slate text */
  --border-light: rgba(0, 0, 0, 0.08);
  --border-gold: rgba(140, 108, 63, 0.35);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & STYLING SYSTEM
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-accent);
}

/* --------------------------------------------------------------------------
   3. FOUR LANGUAGE SYSTEM (TR/EN/RU/AR HIDE/SHOW RULES)
   -------------------------------------------------------------------------- */
/* Hide non-active languages based on active class on body */
body.lang-tr .lang-en,
body.lang-tr .lang-ru,
body.lang-tr .lang-ar {
  display: none !important;
}

body.lang-en .lang-tr,
body.lang-en .lang-ru,
body.lang-en .lang-ar {
  display: none !important;
}

body.lang-ru .lang-tr,
body.lang-ru .lang-en,
body.lang-ru .lang-ar {
  display: none !important;
}

body.lang-ar .lang-tr,
body.lang-ar .lang-en,
body.lang-ar .lang-ru {
  display: none !important;
}

/* Display styles for active elements */
body.lang-tr .lang-tr {
  display: block;
}

body.lang-en .lang-en {
  display: block;
}

body.lang-ru .lang-ru {
  display: block;
}

body.lang-ar .lang-ar {
  display: block;
}

/* Inline tags overrides */
body.lang-tr span.lang-tr,
body.lang-tr a.lang-tr {
  display: inline !important;
}

body.lang-en span.lang-en,
body.lang-en a.lang-en {
  display: inline !important;
}

body.lang-ru span.lang-ru,
body.lang-ru a.lang-ru {
  display: inline !important;
}

body.lang-ar span.lang-ar,
body.lang-ar a.lang-ar {
  display: inline !important;
}

/* Flex tags overrides */
body.lang-tr div.lang-tr.flex-layout {
  display: flex !important;
}

body.lang-en div.lang-en.flex-layout {
  display: flex !important;
}

body.lang-ru div.lang-ru.flex-layout {
  display: flex !important;
}

body.lang-ar div.lang-ar.flex-layout {
  display: flex !important;
}

/* --------------------------------------------------------------------------
   4. STICKY HEADER & GLASSMORPHISM NAVIGATION
   -------------------------------------------------------------------------- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: var(--bg-primary);
  opacity: 0.95;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

#site-header.scrolled {
  height: 70px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 80%;
  max-width: 250px;
}

.logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
  background-color: rgb(255, 255, 255);
  display: flex;
  position: fixed;
}

/* Theme Toggle Button styling */
.theme-toggle {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  color: var(--text-primary);
}

.theme-toggle:hover {
  border-color: var(--gold-accent);
  background-color: rgba(197, 168, 128, 0.05);
}

/* Visibility rules for theme icons */
body.theme-light .dark-visible {
  display: none;
}

body:not(.theme-light) .light-visible {
  display: none;
}

/* Desktop Navigation Menu Links */
#desktop-nav ul {
  display: flex;
  gap: 25px;
}

#desktop-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  position: relative;
  padding: 5px 0;
}

#desktop-nav a:hover,
#desktop-nav a.active {
  color: var(--gold-accent);
}

/* Border expand animation on hover */
#desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold-accent);
  transition: var(--transition-smooth);
}

#desktop-nav a:hover::after,
#desktop-nav a.active::after {
  width: 100%;
}

/* Header Action buttons & Language Switcher */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-tertiary);
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-light);
}

.lang-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--gold-accent);
}

.lang-divider {
  font-size: 0.75rem;
  color: var(--border-light);
}

/* Hamburger mobile menu button */
#mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1002;
}

#mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition-smooth);
}

/* Hamburger active transformation */
#mobile-menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

#mobile-menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Dropdown navigation */
#mobile-nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-gold);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

#mobile-nav-menu.open {
  right: 0;
}

#mobile-nav-menu nav ul {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

#mobile-nav-menu nav a {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: var(--text-muted);
}

#mobile-nav-menu nav a:hover,
#mobile-nav-menu nav a.active {
  color: var(--gold-accent);
}

/* --------------------------------------------------------------------------
   5. HERO SLIDER SECTION (HOMEPAGE)
   -------------------------------------------------------------------------- */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Fullscreen Background Slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.05);
}

.hero-slider .slide.active {
  opacity: 1;
  animation: zoomFade 8s forwards;
}

@keyframes zoomFade {
  to {
    transform: scale(1.0);
  }
}

/* Content over slider */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 950px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--gold-accent);
  text-transform: uppercase;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 5px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 400;
  color: #ffffff;
  /* Stays white for readability over dark overlay */
  text-shadow: var(--shadow-text);
  margin-bottom: 25px;
}

body.theme-light .hero-title {
  color: #ffffff;
  /* Keep white over dark image overlay */
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: #f3ede2;
  max-width: 600px;
  margin-bottom: 40px;
  text-shadow: var(--shadow-text);
}

/* Hero Button Controls */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Premium Button Styling */
.btn {
  display: inline-block;
  padding: 13px 26px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--gold-accent);
  color: #0c0d0d;
  border: 1px solid var(--gold-accent);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--gold-accent);
  box-shadow: 0 0 15px rgba(197, 168, 128, 0.3);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-outline:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  background-color: rgba(197, 168, 128, 0.05);
}

/* Animated Mouse scroll indicator */
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.mouse-icon {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  position: relative;
  opacity: 0.7;
}

.mouse-icon .wheel {
  display: block;
  width: 4px;
  height: 8px;
  background-color: var(--gold-accent);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 1;
  }

  100% {
    top: 20px;
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   6. SUBPAGE BANNERS (HERO SECTIONS FOR SUBPAGES)
   -------------------------------------------------------------------------- */
.subpage-hero {
  position: relative;
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: var(--header-height);
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(10, 11, 12, 0.75), rgba(10, 11, 12, 0.75));
}

.subpage-hero-content {
  position: relative;
  z-index: 2;
}

.subpage-hero-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: #ffffff;
  letter-spacing: 2px;
  font-weight: 500;
  margin-bottom: 10px;
}

.subpage-breadcrumbs {
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--gold-light);
  text-transform: uppercase;
}

.subpage-breadcrumbs a {
  color: var(--text-muted);
}

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

/* --------------------------------------------------------------------------
   7. CORE STRUCTURAL GRID & COMMON HEADERS
   -------------------------------------------------------------------------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.section-header .title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--text-white);
  letter-spacing: 1px;
}

.title-divider {
  width: 60px;
  height: 2px;
  background-color: var(--gold-accent);
  margin: 15px auto 0;
  position: relative;
}

.title-divider::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--gold-accent);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   8. HAKKIMIZDA (ABOUT US) & VALUES PAGE
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: flex-start;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.about-card h2,
.about-card h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--gold-accent);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  text-align: justify;
  margin-bottom: 10px;
}

/* Quality and values grid stats box */
.about-stats-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 25px;
  border-radius: var(--border-radius-lg);
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px 20px;
  align-items: center;
  transition: var(--transition-smooth);
}

.stat-box:hover {
  border-color: var(--border-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-luxury);
}

.stat-icon {
  font-size: 1.8rem;
  grid-row: span 2;
  align-self: center;
  justify-self: center;
}

.stat-box h3,
.stat-box h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
}

.stat-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. PRODUCTS & DETAIL PAGES
   -------------------------------------------------------------------------- */
/* Products Catalog overview */
.catalog-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--text-muted);
  font-size: 1rem;
}

.catalog-intro h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-white);
  margin-bottom: 15px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.product-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-luxury);
}

.product-img-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: #121212;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(10, 11, 12, 0.85);
  color: var(--gold-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid var(--border-gold);
}

.product-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: 12px;
}

.product-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-link-btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-link-btn:hover {
  color: var(--gold-light);
}

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.spec-item {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background-color: var(--bg-tertiary);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

/* Detail Page Product Grid Layout */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
  align-items: center;
}

.detail-img-cover {
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-gold);
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  aspect-ratio: 4/3;
  background-color: #121212;
}

.detail-img-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-text-info h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--text-white);
  margin-bottom: 20px;
  font-weight: 400;
}

.detail-text-info p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.specs-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.specs-table tr td:first-child {
  font-weight: 600;
  color: var(--gold-accent);
  width: 35%;
}

.specs-table tr td:last-child {
  color: var(--text-primary);
}

/* Detail Gallery Grid Showcase */
.detail-gallery-header {
  margin-top: 80px;
  margin-bottom: 40px;
  text-align: center;
}

.detail-gallery-header h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-white);
  margin-bottom: 10px;
}

.detail-gallery-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-card {
  cursor: pointer;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
}

.gallery-img-wrapper {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background-color: #121212;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.overlay-zoom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 11, 12, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-card:hover .overlay-zoom {
  opacity: 1;
}

.zoom-icon {
  font-size: 1.5rem;
  color: var(--gold-accent);
}

.gallery-title {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 10px 5px;
  font-weight: 500;
  background-color: var(--bg-secondary);
}

.gallery-card:hover .gallery-title {
  color: var(--gold-accent);
}

/* --------------------------------------------------------------------------
   10. İHRACAT & LOJİSTİK (EXPORT & LOGISTICS) SECTION
   -------------------------------------------------------------------------- */
.export-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Map SVG Styling & Keyframe paths */
.export-visual {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  overflow: hidden;
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shipping-svg {
  width: 100%;
  height: auto;
}

.pulse-dot {
  animation: anchorPulse 2s infinite;
}

@keyframes anchorPulse {
  0% {
    r: 6px;
    fill-opacity: 1;
    stroke: var(--gold-accent);
    stroke-width: 0px;
    stroke-opacity: 1;
  }

  100% {
    r: 12px;
    fill-opacity: 0.7;
    stroke: var(--gold-accent);
    stroke-width: 4px;
    stroke-opacity: 0;
  }
}

.shipping-line {
  stroke-dasharray: 8, 4;
  animation: lineShip 25s linear infinite;
}

@keyframes lineShip {
  to {
    stroke-dashoffset: -200;
  }
}

/* Logistics descriptive text card grid */
.export-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.logistics-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 20px;
  border-radius: var(--border-radius-lg);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.logistics-card:hover {
  border-color: var(--border-gold);
  transform: translateX(5px);
}

.logistics-card .card-icon {
  font-size: 1.8rem;
  line-height: 1;
  margin-top: 2px;
}

.logistics-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 6px;
}

.logistics-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. İLETİŞİM (CONTACT) SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  margin-bottom: 40px;
}

.contact-info {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 40px;
  border-radius: var(--border-radius-lg);
}

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--gold-accent);
  margin-bottom: 15px;
}

.contact-info>p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 35px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-list .icon {
  font-size: 1.3rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-list .details strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-white);
  margin-bottom: 4px;
}

.contact-list .details p,
.contact-list .details a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-list .details a:hover {
  color: var(--gold-accent);
}

/* Contact Form controls */
.contact-form-container {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 40px;
  border-radius: var(--border-radius-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold-accent);
  box-shadow: 0 0 8px rgba(197, 168, 128, 0.15);
}

#contact-form button[type="submit"] {
  width: 100%;
  margin-top: 10px;
}

.form-feedback {
  margin-top: 15px;
  font-size: 0.9rem;
  text-align: center;
  border-radius: var(--border-radius-sm);
  padding: 10px;
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: rgba(46, 204, 113, 0.1);
  border: 1px solid #2ecc71;
  color: #2ecc71;
}

/* Map Container Frame */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  margin-top: 50px;
}

.map-container iframe {
  filter: grayscale(1) invert(0.9) contrast(1.2);
}

body.theme-light .map-container iframe {
  filter: none;
  /* Keep natural colors in Light Theme */
}

/* --------------------------------------------------------------------------
   12. FOOTER BRANDING & LINKS
   -------------------------------------------------------------------------- */
footer {
  background-color: #1c0900;
  border-top: 1px solid var(--border-light);
  padding: 70px 0 30px;
}

body.theme-light footer {
  background-color: #f0ebde;
  /* Warm light grey for light mode footer */
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 450px;
}

.footer-logo {
  height: 75px;
  width: auto;
  margin-bottom: 20px;
  background-color: white;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover,
.footer-links a.active {
  color: var(--gold-accent);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 30px;
}

body.theme-light .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.04);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.7;
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   13. LIGHTBOX PREVIEW MODAL STYLING
   -------------------------------------------------------------------------- */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(5, 6, 6, 0.98);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

#lightbox-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  color: #dfc49f;
  font-size: 1rem;
  margin-top: 15px;
  font-family: var(--font-serif);
  letter-spacing: 1px;
}

/* Controls */
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #a0a7ac;
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--gold-accent);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: var(--gold-accent);
  color: #050606;
  border-color: var(--gold-accent);
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

/* --------------------------------------------------------------------------
   14. ARABIC RTL LAYOUT RULES (SPECIFIC ADJUSTMENTS)
   -------------------------------------------------------------------------- */
body.lang-ar {
  direction: rtl;
  text-align: right;
}

body.lang-ar #desktop-nav ul {
  flex-direction: row;
}

body.lang-ar .header-container,
body.lang-ar .about-grid,
body.lang-ar .stat-box,
body.lang-ar .products-grid,
body.lang-ar .gallery-grid,
body.lang-ar .export-grid,
body.lang-ar .logistics-card,
body.lang-ar .contact-grid,
body.lang-ar .contact-list li,
body.lang-ar .footer-top,
body.lang-ar .form-row,
body.lang-ar .product-detail-layout {
  direction: rtl;
}

body.lang-ar .contact-list .icon {
  margin-left: 20px;
  margin-right: 0;
}

body.lang-ar .logistics-card .card-icon {
  margin-left: 20px;
  margin-right: 0;
}

body.lang-ar .spec-list {
  justify-content: flex-start;
}

body.lang-ar .product-link-btn {
  align-self: flex-start;
}

body.lang-ar .lightbox-next {
  left: 40px;
  right: auto;
}

body.lang-ar .lightbox-prev {
  right: 40px;
  left: auto;
}

/* --------------------------------------------------------------------------
   15. MEDIA QUERIES (MOBILE RESPONSIVENESS)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .subpage-hero-title {
    font-size: 2.2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .export-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .header-container {
    padding: 0 20px;
  }

  #desktop-nav {
    display: none;
  }

  #mobile-menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    gap: 12px;
  }

  .btn {
    text-align: center;
    width: 100%;
  }

  .section-header .title {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form-container {
    padding: 25px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  body.lang-ar .lightbox-next {
    left: 10px;
    right: auto;
  }

  body.lang-ar .lightbox-prev {
    right: 10px;
    left: auto;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-close {
    top: 15px;
    right: 20px;
  }
}