/*
Theme Name: Hox transports
Theme URI: https://tajalrazi.com
Author: hoximoxin info tech pvt.ltd.
Author URI: https://hoximoxin.com
Description: Premium Logistics & Transportation WordPress Theme with full Elementor support, custom wave masks, cinematic video showcases, and regional coverage for UAE, Oman, and the Middle East. Built for TAJ AL-RAZI Logistics & Transportation Services.
Version: 1.2.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hox-transports
Tags: logistics, transport, cargo, elementor, heavy-freight, corporate, custom-colors, custom-menu, featured-images, full-width-template, translation-ready

TAJ AL-RAZI - Moving Cargo. Connecting Markets.
Theme developed by hoximoxin info tech pvt.ltd.
*/

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* Core Design System & Tokens */
:root {
  --primary: #0f52ba;
  --primary-dark: #0a2540;
  --primary-light: #3b82f6;
  --accent-blue: #2563eb;
  --accent-cyan: #06b6d4;
  --dark-bg: #0b0f17;
  --dark-surface: #111722;
  --dark-card: #161f2e;
  --dark-border: #222f44;
  --light-bg: #f8fafc;
  --light-surface: #ffffff;
  --light-border: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 82, 186, 0.12);
  --shadow-glow: 0 0 35px rgba(37, 99, 235, 0.35);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--light-surface);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Scalloped / Organic Wave Mask Styling */
.scallop-mask {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M250,20 C320,20 360,60 410,80 C460,100 480,150 480,220 C480,290 450,340 420,390 C390,440 330,480 250,480 C170,480 110,440 80,390 C50,340 20,290 20,220 C20,150 40,100 90,80 C140,60 180,20 250,20 Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M250,20 C320,20 360,60 410,80 C460,100 480,150 480,220 C480,290 450,340 420,390 C390,440 330,480 250,480 C170,480 110,440 80,390 C50,340 20,290 20,220 C20,150 40,100 90,80 C140,60 180,20 250,20 Z' fill='black'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scallop-mask-multi-lobe {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  transition: var(--transition-smooth);
}

.scallop-frame {
  position: relative;
  display: inline-block;
}

/* Wavy 4-corner scalloped frame matching exact reference */
.wavy-frame-container {
  position: relative;
  border-radius: 48px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.wavy-frame-svg-mask {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: path('M 50,0 C 20,0 0,20 0,50 C 0,100 35,120 35,175 C 35,230 0,250 0,300 C 0,350 35,370 35,425 C 35,480 0,500 0,550 C 0,580 20,600 50,600 C 100,600 120,565 175,565 C 230,565 250,600 300,600 C 350,600 370,565 425,565 C 480,565 500,600 550,600 C 580,600 600,580 600,550 C 600,500 565,480 565,425 C 565,370 600,350 600,300 C 600,250 565,230 565,175 C 565,120 600,100 600,50 C 600,20 580,0 550,0 C 500,0 480,35 425,35 C 370,35 350,0 300,0 C 250,0 230,35 175,35 C 120,35 100,0 50,0 Z');
}

/* Technical grid background */
.tech-grid-bg {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.tech-grid-light {
  background-image: 
    linear-gradient(to right, rgba(15, 82, 186, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 82, 186, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
