/* ------------------------------------------------------------- 
   DILKI DULAN: WORLD CLASS PREMIUM UI OVERRIDE 
   ------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #08121e;         /* Deep Corporate Navy */
  --secondary: #0060c8;       /* Dilki Professional Blue */
  --accent: #00b4d8;          /* Bright Action Blue */
  --dark: #050E1A;
  --light-bg: #f8fafc;
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(0, 111, 230, 0.2);
}

/* Typography Underpinning */
body {
  font-family: 'Inter', sans-serif !important;
}
h1, h2, h3, h4, h5, h6, .nav-link, .btn-premium-action, .machine-title {
  font-family: 'Outfit', sans-serif !important;
}

body {
  background-color: var(--light-bg);
  -webkit-font-smoothing: antialiased;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}

/* =========================================
   GLOBAL: GRADIENT BUTTONS & PILLS
   ========================================= */
.btn-premium-action {
  background: linear-gradient(135deg, var(--secondary), var(--primary)) !important; /* Blue to Navy/Black */
  color: white !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 18px 45px !important;
  box-shadow: 0 12px 24px rgba(0, 96, 200, 0.25) !important;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-premium-action::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: none;
  animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

.btn-premium-action:hover {
  transform: translateY(-6px) scale(1.04) !important;
  box-shadow: 0 20px 40px rgba(0, 96, 200, 0.4) !important;
  background: linear-gradient(135deg, var(--accent), var(--secondary)) !important;
}

.hero-btn-icon {
  transition: transform 0.4s ease;
  font-size: 1.2rem;
}

.btn-premium-action:hover .hero-btn-icon {
  transform: translateX(8px);
}

.btn-premium-dark {
  background: linear-gradient(135deg, #050E1A, #0B1F3A) !important;
  color: white !important;
  border: 1px solid rgba(0, 96, 200, 0.3) !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
}
.btn-premium-dark:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
}

/* =========================================
   UI: PARAMETERS TABLE (Unit-Asia Style)
   ========================================= */
.parameters-table {
    width: 100%;
    margin-bottom: 2rem;
}
.parameters-table thead th {
    background: var(--primary);
    color: #fff;
    padding: 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}
.parameters-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
}
.parameters-table tbody tr:nth-child(even) {
    background: #f8fafc;
}
.parameters-table tbody td {
    padding: 15px;
    font-size: 15px;
}
.parameters-table .param-key {
    font-weight: 700;
    color: #1e293b;
    width: 40%;
}
.parameters-table .param-value {
    color: #475569;
}

/* =========================================
   PAGE HERO BANNER (SHOP/SERVICES)
   ========================================= */
.page-hero-banner {
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  margin-top: -1px;
}

.page-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11, 31, 58, 0.85), rgba(0, 0, 0, 0.4));
  z-index: 0;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8, 18, 30, 0.8) 0%, rgba(8, 18, 30, 0.5) 40%, transparent 100%);
  z-index: 1;
}

@media (max-width: 991px) {
  .hero-gradient-overlay {
    background: linear-gradient(to bottom, rgba(8, 18, 30, 0.7) 0%, rgba(8, 18, 30, 0.4) 100%);
  }
}

.hero-text-wrap {
    padding: 0 15px;
    z-index: 10;
}

.hero-title-clean {
    font-size: 4rem !important;
    line-height: 1.1;
    letter-spacing: -2px;
    font-weight: 900 !important;
    text-shadow: 0 2px 50px rgba(0,0,0,0.8);
}

.hero-subtitle-clean {
    font-size: 1.4rem !important;
    line-height: 1.6;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
    .hero-content-inner {
        justify-content: center !important;
        text-align: center !important;
    }
    
    .hero-text-wrap {
        margin: 0 auto !important;
        text-align: center !important;
        top: -15%; /* Elevated to stay clear of chat bubbles */
        position: relative;
    }
    
    .hero-title-clean {
        font-size: 2.5rem !important;
        letter-spacing: -1px;
    }
    
    .hero-subtitle-clean {
        font-size: 1.1rem !important;
        max-width: 100% !important;
    }
}

.shadow-text {
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .page-hero-banner { height: 250px; }
  .page-hero-banner h1 { font-size: 2.5rem !important; }
}

/* =========================================
   PRODUCT CARDS (SHOP)
   ========================================= */
.shop-card {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.05) !important;
  border-radius: 20px !important;
  padding: 20px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  position: relative;
  overflow: hidden;
}

.shop-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.shop-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(0, 74, 173, 0.15) !important;
  border-color: rgba(0, 180, 216, 0.2) !important;
}

.shop-card:hover::after {
  opacity: 1;
}

.shop-card img {
  border-radius: 12px;
  background: #f8fafc;
  padding: 15px;
  transition: transform 0.5s ease;
}

.shop-card:hover img {
  transform: scale(1.08);
}

.shop-card .price {
  color: var(--primary) !important;
  font-size: 22px !important;
  font-family: 'Outfit', sans-serif !important;
}

/* =========================================
   HOMEPAGE: HERO SLIDER (GLASSMORPHISM)
   ========================================= */
.content {
  background: rgba(11, 31, 58, 0.82) !important; /* Richer Navy */
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-left: 8px solid var(--secondary) !important;
  border-radius: 0 24px 24px 0 !important;
  padding: 50px 60px !important;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4) !important;
  z-index: 10;
}

.content h1 {
  font-weight: 800 !important;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

@media (max-width: 991px) {
  .content {
    border-radius: 16px !important;
    border-left-width: 4px !important;
    padding: 30px !important;
  }
}

/* =========================================
   HOMEPAGE: "HOT MACHINES" RE-STYLING
   ========================================= */
.hover-lift {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.hover-lift:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

.machine-card {
  border-radius: 20px !important;
  border: 1px solid rgba(181, 142, 36, 0.1) !important;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.05) !important;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
  perspective: 1000px;
  background: #fff !important;
  overflow: hidden;
}

.machine-card:hover {
  transform: translateY(-12px) rotateX(2deg) rotateY(1deg) !important;
  box-shadow: 0 35px 70px rgba(11, 31, 58, 0.12) !important;
  border-color: var(--secondary) !important;
}

.machine-card img {
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  min-height: 180px;
  background: #f8fafc; /* Placeholder background */
}

.machine-card:hover img {
  transform: translateZ(30px) scale(1.08);
}
.machine-title {
  background: var(--dark) !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 17px !important;
  letter-spacing: 0.3px;
  border-radius: 0 0 16px 16px;
}
.machine-card:hover .machine-title {
  background: var(--primary) !important;
}

/* =========================================
   HOMEPAGE: WHY CHOOSE US (DARK MESH)
   ========================================= */
.why-choose {
  background: linear-gradient(135deg, var(--dark), #001e4d) !important;
  position: relative;
  overflow: hidden;
}
.why-choose::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(0, 180, 216, 0.1) 0%, transparent 50%);
  animation: rotateMesh 25s linear infinite;
  z-index: 0;
}
@keyframes rotateMesh {
  100% { transform: rotate(360deg); }
}

.choose-box {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s;
}
.choose-box:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(0, 180, 216, 0.3);
}
.choose-box .icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none !important;
  color: white;
  box-shadow: 0 10px 20px rgba(0, 180, 216, 0.3);
}


/* =========================================
   FLOATING WHATSAPP WIDGET
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 40px !important;
  left: 30px !important;   /* Force to Left */
  right: auto !important;  /* Clear Right */
  width: 65px;
  height: 65px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 35px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 99999 !important; /* Ensure it stays on top */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse-green 2s infinite;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.15) rotate(-10deg);
  background-color: #1ebe57;
  color: white;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 25px !important;
    left: 20px !important;
    right: auto !important;
    width: 60px;
    height: 60px;
    font-size: 32px;
  }
}




/* =========================================
   UI FIX: PREMIUM CIRCLE ACTION BUTTONS
   ========================================= */
.btn-circle-action {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  font-size: 16px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05) !important;
  background-color: #fff !important;
}

.btn-circle-action:hover {
  transform: scale(1.1) rotate(5deg) !important;
  box-shadow: 0 8px 15px rgba(0,0,0,0.1) !important;
  z-index: 5;
}

.btn-circle-action i {
  line-height: normal !important;
  margin: 0 !important;
  padding: 0 !important;
}

.btn-circle-action.btn-danger { background-color: #ff4757 !important; color: white !important; }
.btn-circle-action.btn-warning { background-color: #ffa502 !important; color: white !important; }
.btn-circle-action.btn-light { background-color: #f1f2f6 !important; color: #2f3542 !important; }

/* =========================================
   HERO: KEN BURNS & ANIMATED CONTENT
   ========================================= */
.ken-burns {
  animation: kenburns-premium 20s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes kenburns-premium {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.slides {
  transition: transform 1.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important;
}

/* Glass Detail Section Titles */
.title-accent-blue {
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 2px;
}

/* =========================================
   UI: REVIEWS & TRUST MOSAIC
   ========================================= */
.border-gold-light {
    border-color: rgba(181, 142, 36, 0.2) !important;
}

.review-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04) !important;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
    border-color: var(--secondary) !important;
}
