/* =========================================================
   ATRIDIM — Coming Soon / Corporate Landing Page
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --color-navy: #062B5C;
  --color-navy-soft: #0B3A73;
  --color-dark-bg: #03172F;
  --color-light-bg: #F6F8FB;
  --color-white: #FFFFFF;
  --color-accent: #E8774F;
  --color-text-secondary: #6D7787;

  --font-latin: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-arabic: 'Noto Sans Arabic', Tahoma, Arial, sans-serif;

  --panel-light-width: 44%;
  --panel-dark-width: 56%;

  --radius-md: 12px;
  --radius-lg: 20px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s ease;
}

/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-latin);
  color: var(--color-navy);
  background: var(--color-light-bg);
  line-height: 1.5;
  overflow-x: hidden;
}

html[lang="ar"] body {
  font-family: var(--font-arabic);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

/* ---------- Focus visibility (do not remove) ---------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Page layout ---------- */
.page {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---------- Left panel (light, corporate) ---------- */
.panel-light {
  flex: 0 0 var(--panel-light-width);
  max-width: var(--panel-light-width);
  background: var(--color-light-bg);
  padding: clamp(28px, 4vw, 64px);
  justify-content: space-between;
  gap: 32px;
}

.brand {
  animation: fadeSlideUp 0.7s ease both;
}

.logo {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  flex: 1;
  padding-block: 24px;
}

.sector-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0;
  animation: fadeSlideUp 0.7s ease 0.05s both;
}

.main-title {
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-navy);
  margin: 0;
  animation: fadeSlideUp 0.7s ease 0.12s both;
}

.description {
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  color: var(--color-text-secondary);
  max-width: 46ch;
  margin: 0;
  animation: fadeSlideUp 0.7s ease 0.2s both;
}

.status {
  font-size: 0.92rem;
  color: var(--color-navy-soft);
  background: rgba(6, 43, 92, 0.06);
  border-inline-start: 3px solid var(--color-accent);
  padding: 10px 14px;
  border-radius: 6px;
  max-width: 50ch;
  margin: 6px 0 0;
  animation: fadeSlideUp 0.7s ease 0.28s both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  animation: fadeSlideUp 0.7s ease 0.35s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.btn .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

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

.btn-primary:hover {
  background: var(--color-navy-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 43, 92, 0.25);
}

.btn-whatsapp {
  background: var(--color-white);
  color: var(--color-navy);
  border: 1.5px solid rgba(6, 43, 92, 0.18);
}

.btn-whatsapp:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 119, 79, 0.18);
}

/* ---------- Left panel footer: language switch + copyright ---------- */
.panel-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeSlideUp 0.7s ease 0.4s both;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.lang-sep {
  color: var(--color-text-secondary);
  opacity: 0.5;
  font-size: 0.8rem;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  padding: 6px 8px;
  border-radius: 6px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.lang-btn:hover {
  color: var(--color-navy);
  background: rgba(6, 43, 92, 0.06);
}

.lang-btn[aria-current="true"] {
  color: var(--color-navy);
  font-weight: 800;
  background: rgba(232, 119, 79, 0.12);
}

.copyright {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ---------- Right panel (dark, engineering visual) ---------- */
.panel-dark {
  flex: 0 0 var(--panel-dark-width);
  max-width: var(--panel-dark-width);
  background: linear-gradient(160deg, var(--color-dark-bg) 0%, var(--color-navy) 100%);
  overflow: hidden;
  justify-content: center;
  align-items: center;
  padding: clamp(24px, 5vw, 72px);
}

/* Engineering grid: fine structural reference lines */
.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 64px);
  pointer-events: none;
}

/* Steel truss geometry: diagonal structural steel pattern (crossed bracing) */
.truss-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.07) 0, rgba(255, 255, 255, 0.07) 1px, transparent 1px, transparent 96px),
    repeating-linear-gradient(-60deg, rgba(255, 255, 255, 0.07) 0, rgba(255, 255, 255, 0.07) 1px, transparent 1px, transparent 96px);
  pointer-events: none;
}

.truss-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(232, 119, 79, 0.12), transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(11, 58, 115, 0.5), transparent 50%);
}

/* ---------- Contact card (glass effect) ---------- */
.contact-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: fadeSlideUp 0.8s ease 0.2s both;
}

.contact-card h2 {
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 22px;
}

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

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

.contact-list .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.contact-text a,
.contact-text address {
  color: var(--color-white);
  font-size: 0.95rem;
  word-break: break-word;
  transition: color var(--transition-fast);
}

.contact-text a:hover {
  color: var(--color-accent);
}

/* ---------- Animations ---------- */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- RTL adjustments (Arabic) ---------- */
html[dir="rtl"] .status {
  border-inline-start: none;
  border-inline-end: 3px solid var(--color-accent);
}

html[dir="rtl"] .logo {
  transform: none; /* logo yönü asla değiştirilmez */
}

/* ---------- Responsive: tablet ---------- */
@media (max-width: 1024px) {
  :root {
    --panel-light-width: 48%;
    --panel-dark-width: 52%;
  }

  .main-title {
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  }

  .contact-card {
    max-width: 360px;
  }
}

/* ---------- Responsive: mobile (stacked) ---------- */
@media (max-width: 768px) {
  .page {
    flex-direction: column;
  }

  .panel-light,
  .panel-dark {
    flex: 1 1 auto;
    max-width: 100%;
    min-height: auto;
  }

  .panel-light {
    order: 1;
    padding: 28px 22px;
  }

  .logo {
    max-width: 200px;
  }

  .panel-dark {
    order: 2;
    padding: 48px 22px;
  }

  .content {
    padding-block: 20px;
  }

  .actions {
    gap: 10px;
  }

  .btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 13px 18px;
  }

  .lang-switch {
    justify-content: flex-start;
  }

  .contact-card {
    max-width: 100%;
  }
}

/* ---------- Responsive: very small screens ---------- */
@media (max-width: 360px) {
  .panel-light {
    padding: 22px 16px;
  }

  .panel-dark {
    padding: 36px 16px;
  }

  .main-title {
    font-size: 1.5rem;
  }

  .btn {
    font-size: 0.88rem;
    padding: 12px 14px;
  }
}
