/* ==========================================================================
   Alkastna Ltd. — Official Coming Soon Website Stylesheet
   Corporate Brand Colors:
   - Primary Deep Navy: #092d56
   - Brand Copper / Bronze Accent: #c86420
   - Neutral Light Background: #fbfcfd
   ========================================================================== */

:root {
  --color-primary: #092d56;
  --color-primary-dark: #051a33;
  --color-accent: #c86420;
  --color-accent-hover: #b25415;
  --color-accent-soft: rgba(200, 100, 32, 0.08);
  --color-text-main: #0c1a2e;
  --color-text-muted: #475569;
  --color-border: rgba(9, 45, 86, 0.1);
  --color-border-hover: rgba(200, 100, 32, 0.35);
  --color-bg-page: #fbfcfd;
  --color-bg-card: #ffffff;
  --shadow-subtle: 0 4px 20px -2px rgba(9, 45, 86, 0.05), 0 2px 6px -1px rgba(9, 45, 86, 0.02);
  --shadow-hover: 0 8px 28px -4px rgba(9, 45, 86, 0.08), 0 4px 10px -2px rgba(9, 45, 86, 0.04);
  
  --font-en: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Segoe UI', 'Geeza Pro', 'Noto Sans Arabic', Tahoma, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--color-bg-page);
}

body {
  min-height: 100vh;
  font-family: var(--font-en);
  color: var(--color-text-main);
  background-color: var(--color-bg-page);
  /* Very subtle ambient corporate background illumination */
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(9, 45, 86, 0.025) 0%, transparent 65%),
    radial-gradient(circle at 50% 85%, rgba(200, 100, 32, 0.015) 0%, transparent 70%);
  background-attachment: fixed;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Layout & Structure
   -------------------------------------------------------------------------- */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

/* Top corporate accent rule */
.top-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, 
    var(--color-primary) 0%, 
    var(--color-primary) 70%, 
    var(--color-accent) 70%, 
    var(--color-accent) 100%
  );
  z-index: 10;
}

.main-container {
  width: 100%;
  max-width: 960px;
  margin: auto;
  padding: 3.5rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Brand Logo
   -------------------------------------------------------------------------- */
.brand-header {
  margin-bottom: 2.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.brand-logo {
  width: 360px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2037 / 772;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Bilingual Messages Section
   -------------------------------------------------------------------------- */
.messages-section {
  width: 100%;
  max-width: 860px;
  margin-bottom: 3.25rem;
}

.messages-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 2.5rem;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.message-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* English Message Styling */
.message-en {
  text-align: left;
  font-family: var(--font-en);
}

/* Arabic Message Styling */
.message-ar {
  text-align: right;
  font-family: var(--font-ar);
}

.message-heading {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.35;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.message-ar .message-heading {
  font-size: 1.55rem;
  line-height: 1.45;
  letter-spacing: normal;
}

.message-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.message-ar .message-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Vertical Divider between languages */
.bilingual-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider-line {
  display: block;
  width: 1px;
  height: 100%;
  min-height: 100px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(9, 45, 86, 0.12) 20%, 
    rgba(200, 100, 32, 0.3) 50%, 
    rgba(9, 45, 86, 0.12) 80%, 
    transparent 100%
  );
}

/* --------------------------------------------------------------------------
   Contact & Location Section
   -------------------------------------------------------------------------- */
.contact-section {
  width: 100%;
  display: flex;
  justify-content: center;
}

.contact-card {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 1.75rem;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 0.875rem 2rem;
  box-shadow: var(--shadow-subtle);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-hover);
}

.contact-item,
.location-item {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.contact-icon,
.location-icon {
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform 0.2s ease, color 0.2s ease;
}

.email-link {
  color: var(--color-primary);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  letter-spacing: 0.01em;
}

.email-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.email-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.contact-divider {
  width: 1px;
  height: 1.25rem;
  background-color: var(--color-border);
}

.location-item {
  color: var(--color-text-muted);
  font-size: 1rem;
}

.location-text {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.location-en {
  font-family: var(--font-en);
  font-weight: 500;
  color: var(--color-text-main);
}

.location-pipe {
  color: var(--color-accent);
  font-weight: 400;
  padding: 0 0.15rem;
  opacity: 0.75;
}

.location-ar {
  font-family: var(--font-ar);
  font-weight: 500;
  color: var(--color-text-main);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.page-footer {
  width: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(9, 45, 86, 0.05);
}

.copyright {
  font-size: 0.875rem;
  color: #64748b;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 820px) {
  .messages-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.25rem 1.75rem;
  }

  .message-en {
    text-align: center;
  }

  .message-ar {
    text-align: center;
  }

  .bilingual-divider {
    width: 100%;
    height: 1px;
    margin: 0.25rem 0;
  }

  .divider-line {
    width: 80px;
    height: 1px;
    min-height: auto;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(9, 45, 86, 0.12) 20%, 
      rgba(200, 100, 32, 0.3) 50%, 
      rgba(9, 45, 86, 0.12) 80%, 
      transparent 100%
    );
  }

  .contact-card {
    border-radius: 16px;
    padding: 1.125rem 1.5rem;
    flex-direction: column;
    gap: 0.875rem;
    width: 100%;
    max-width: 440px;
  }

  .contact-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .main-container {
    padding: 2.75rem 1.25rem 2rem;
  }

  .brand-logo {
    width: 270px;
    max-width: 100%;
  }

  .brand-header {
    margin-bottom: 2rem;
  }

  .messages-section {
    margin-bottom: 2.5rem;
  }

  .messages-grid {
    padding: 1.75rem 1.25rem;
    border-radius: 12px;
  }

  .message-heading {
    font-size: 1.3rem;
  }

  .message-ar .message-heading {
    font-size: 1.35rem;
  }

  .message-text {
    font-size: 0.975rem;
  }

  .message-ar .message-text {
    font-size: 1.025rem;
  }

  .email-link {
    font-size: 0.975rem;
  }

  .location-text {
    font-size: 0.925rem;
  }
}

/* --------------------------------------------------------------------------
   Accessibility & Motion Preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
