/*
Theme Name: RYDT AIR Theme
Theme URI: https://rydtair.com
Author: RYDT AIR Dev
Author URI: https://rydtair.com
Description: Premium advanced web application UI theme for RYDT AIR international air cargo booking system.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: rydt-air-theme
Tags: custom-theme, dark-mode, cargo, booking, premium
*/

/* ============================================
   RYDT AIR — Design System & Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* === CSS Variables (Premium V2) === */
:root {
  /* Design Tokens (Item 14, 17) */
  --gold-500: #F5C518;
  --gold-600: #D4920F;
  --ink-900: #0A0A0F;
  --ink-800: #13131A;
  --surface: #FFFFFF;
  --accent: #E6A817;

  /* Brand Colors */
  --yellow-primary: var(--gold-500);
  --yellow-deep: var(--gold-600);
  --yellow-light: rgba(245, 197, 24, 0.08);
  
  /* Liquid Gold (Item 19) */
  --liquid-gold: linear-gradient(135deg, #F5C518 0%, #E6A817 40%, #D4920F 70%, #B87333 100%);
  --liquid-gold-glow: 0 8px 32px rgba(245, 197, 24, 0.4);

  /* Light Base */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-card: #FFFFFF;
  --border-subtle: rgba(10, 10, 15, 0.05);
  --border-glass: rgba(10, 10, 15, 0.08);

  /* Text */
  --text-primary: var(--ink-900);
  --text-secondary: #4B5563;
  --text-muted: #6B7280;

  /* Shadows */
  --shadow-card: 0 12px 40px rgba(10, 10, 15, 0.05);
  --shadow-premium: 0 20px 60px rgba(10, 10, 15, 0.08);

  /* Spacing (8-pt system - Item 21) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --section-pad: clamp(80px, 10vw, 160px); /* Item 25 */
  --container-max: 1360px; /* Item 22 */

  /* Typography (Item 15) */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-full: 9999px;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  /* Glass */
  --bg-glass: rgba(255, 255, 255, 0.75);

  /* Gradients */
  --gradient-yellow: linear-gradient(135deg, #F5C518 0%, #E6A817 40%, #D4920F 100%);

  /* Font alias */
  --font-primary: 'Inter', sans-serif;

  /* Extended Shadows */
  --shadow-yellow: 0 8px 24px rgba(245, 197, 24, 0.25);

  /* Glow */
  --yellow-glow: rgba(245, 197, 24, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === Container (Item 22) === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* === Typography (Fluid Scaling - Item 16) === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; font-weight: 700; }

p { color: var(--text-secondary); line-height: 1.8; font-size: 1.05rem; }

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

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--liquid-gold);
  color: var(--ink-900);
  box-shadow: 0 4px 20px rgba(229, 168, 23, 0.2);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--liquid-gold-glow);
  color: var(--ink-900);
}

.btn-secondary {
  background: transparent;
  color: var(--yellow-primary);
  border: 1.5px solid var(--yellow-primary);
}
.btn-secondary:hover {
  background: var(--yellow-light);
  transform: translateY(-2px);
  color: var(--yellow-primary);
}

.btn-ghost {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--yellow-primary);
  color: var(--yellow-primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  color: #fff;
}

/* === Glass Card === */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(245, 197, 24, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-yellow);
}

/* === Section === */
.section {
  padding: var(--section-pad) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gradient-yellow);
  border-radius: 2px;
}

.section-title {
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-title span {
  color: var(--yellow-primary);
  font-weight: 900;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 60px;
}

/* === Badge === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  width: max-content;
}
.badge svg { flex-shrink: 0; width: 16px; height: 16px; }

.badge-yellow {
  background: var(--yellow-light);
  color: var(--yellow-primary);
  border: 1px solid var(--border-glass);
}

/* === Divider === */
.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0;
}

/* === Scroll Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Grid Utilities === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* === Highlight Line === */
.highlight-line {
  width: 60px;
  height: 4px;
  background: var(--gradient-yellow);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

/* === Glow Orb Background === */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb-yellow {
  background: rgba(245, 197, 24, 0.08);
  width: 600px;
  height: 600px;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
}
