/* Lucky Marine Service - Pro Level Marine Theme CSS */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-navy: #07192f;
  --primary-deep: #0a2540;
  --ocean-blue: #0284c7;
  --ocean-light: #38bdf8;
  --gold-accent: #f59e0b;
  --gold-light: #fbbf24;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #334155;
  background-color: #f8fafc;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* ========================================================
   UNIQUE PRELOADER / PAGE LOADING ANIMATION
======================================================== */
#page-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at center, #0c2d48 0%, #07192f 60%, #030d1a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: all;
}

#page-preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.04);
}

/* Outer Spinning Glow Ring */
.preloader-spinner-ring {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-spinner-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, transparent 0%, #0284c7 40%, #38bdf8 70%, #f59e0b 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: preloaderSpin 1.8s linear infinite;
}

.preloader-spinner-ring::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.35);
  animation: preloaderSpinReverse 6s linear infinite;
}

@keyframes preloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes preloaderSpinReverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

/* Center Pulsing Logo */
.preloader-logo-wrap {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px;
  box-shadow: 0 0 35px rgba(2, 132, 199, 0.4), 0 0 15px rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoPulse 2s ease-in-out infinite;
  z-index: 2;
}

.preloader-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(2, 132, 199, 0.35); }
  50% { transform: scale(1.06); box-shadow: 0 0 45px rgba(56, 189, 248, 0.6), 0 0 20px rgba(245, 158, 11, 0.5); }
}

/* Loading Progress Bar */
.preloader-progress-track {
  width: 180px;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin-top: 24px;
}

.preloader-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #0284c7, #38bdf8, #f59e0b);
  border-radius: 999px;
  animation: progressSlide 1.5s ease-in-out infinite;
}

@keyframes progressSlide {
  0% { left: -40%; width: 30%; }
  50% { width: 60%; }
  100% { left: 100%; width: 30%; }
}

/* Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-card-dark {
  background: rgba(10, 37, 64, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Gradients */
.bg-gradient-navy {
  background: linear-gradient(135deg, #07192f 0%, #0c2d48 50%, #144272 100%);
}

.bg-gradient-marine {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #38bdf8 100%);
}

.bg-gradient-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Hero Background Images */
.hero-home {
  background-image: linear-gradient(135deg, rgba(7, 25, 47, 0.94) 0%, rgba(12, 45, 72, 0.86) 50%, rgba(3, 105, 161, 0.75) 100%), url('../img/PROVISION SUPPLY.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.page-header-bg {
  background-image: linear-gradient(135deg, rgba(7, 25, 47, 0.95) 0%, rgba(12, 45, 72, 0.9) 100%), url('../img/CONTAINER\'S LASHING MATERIALS.jpeg');
  background-size: cover;
  background-position: center;
}

/* Custom Glows */
.glow-gold {
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
}

.glow-blue {
  box-shadow: 0 0 25px rgba(2, 132, 199, 0.35);
}

.glow-emerald {
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
}

/* Hover Zoom and Elevation */
.hover-lift {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #0284c7;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0369a1;
}

/* Float Animation */
@keyframes floatAnimation {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-float {
  animation: floatAnimation 4s ease-in-out infinite;
}

/* Pulse Glow */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.animate-pulse-glow {
  animation: pulseGlow 3s infinite ease-in-out;
}

/* Custom Badge */
.badge-gold {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-blue {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

/* Shimmer animation on CTA */
.shimmer-btn {
  position: relative;
  overflow: hidden;
}

.shimmer-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: rotate(30deg);
  animation: shimmerEffect 4s infinite;
}

@keyframes shimmerEffect {
  0% { transform: translate(-100%, -100%) rotate(30deg); }
  30%, 100% { transform: translate(100%, 100%) rotate(30deg); }
}
