

/* Regular (400) */
@font-face {
  font-family: 'Orbitron';
  src: url('../../fonts/Orbitron-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium (500) */
@font-face {
  font-family: 'Orbitron';
  src: url('../../fonts/Orbitron-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* SemiBold (600) */
@font-face {
  font-family: 'Orbitron';
  src: url('../../fonts/Orbitron-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold (700) */
@font-face {
  font-family: 'Orbitron';
  src: url('../../fonts/Orbitron-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ExtraBold (800) */
@font-face {
  font-family: 'Orbitron';
  src: url('../../fonts/Orbitron-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Black (900) - For the massive titles */
@font-face {
  font-family: 'Orbitron';
  src: url('../../fonts/Orbitron-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* --- RAJDHANI (Body Text & Technical Data) --- */

/* Light (300) */
@font-face {
  font-family: 'Rajdhani';
  src: url('../../fonts/Rajdhani-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Regular (400) */
@font-face {
  font-family: 'Rajdhani';
  src: url('../../fonts/Rajdhani-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium (500) */
@font-face {
  font-family: 'Rajdhani';
  src: url('../../fonts/Rajdhani-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Bold (700) */
@font-face {
  font-family: 'Rajdhani';
  src: url('../../fonts/Rajdhani-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ========================================= */
/* INDUSTRIAL THEME VARIABLES                */
/* ========================================= */
:root {
  --oil-black: #080808;
  --carbon: #141414;
  --steel: #2c2c2c;
  --gold-metallic: #d4af37;
  --gold-dark: #8a701e;
  --engine-red: #ff3333; /* Alert color */
  
  --font-display: 'Orbitron', sans-serif;
  --font-tech: 'Rajdhani', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--oil-black);
  color: #e0e0e0;
  font-family: var(--font-tech);
  overflow-x: hidden;
}

/* ========================================= */
/* 1. CINEMATIC HEADER ANIMATION             */
/* ========================================= */

.mech-header {
  position: absolute; /* Floating over hero */
  top: 0; left: 0; width: 100%;
  height: 100vh; /* Takes full screen initially */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  pointer-events: none; /* Let clicks pass through to nav */
}

.intro-stage {
  position: relative;
  text-align: center;
  width: 100%;
}

/* THE LOGO DROP */
.mech-logo-container img {
  height: 350px;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
  
  /* Animation */
  transform: translateY(-500px); /* Start off screen */
  animation: dropIn 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  animation-delay: 0.5s;
}

/* DECORATIVE LINES */
.decor-line {
  position: absolute;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-metallic), transparent);
  width: 0;
  animation: expandLine 1s ease forwards;
  animation-delay: 1.8s; /* Wait for logo */
}

.decor-line.left { right: 55%; }
.decor-line.right { left: 55%; }

/* COMPANY TITLE */
.company-title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeInText 1s ease forwards;
  animation-delay: 2s;
}

.word-mech { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.3); }
.word-amp { color: var(--gold-metallic); font-size: 1.5rem; vertical-align: middle; }
.word-elec { color: #ccc; }

.est-date {
  margin-top: 10px;
  color: var(--gold-metallic);
  letter-spacing: 5px;
  font-size: 0.9rem;
  opacity: 0;
  animation: fadeInText 1s ease forwards;
  animation-delay: 2.5s;
}

/* DISCREET NAV */
.industrial-nav {
  position: absolute;
  bottom: 40px;
  width: 100%;
  text-align: center;
  pointer-events: auto; /* Re-enable clicks */
  opacity: 0;
  animation: fadeInText 1s ease forwards;
  animation-delay: 3s;
}

.industrial-nav a {
  color: #b03737;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 22px;
  transition: color 0.3s;
}
.industrial-nav a:hover { color: var(--gold-metallic); }
.separator { color: #333; margin: 0 15px; }

/* ANIMATION KEYFRAMES */
@keyframes dropIn {
  to { transform: translateY(0); }
}

@keyframes expandLine {
  to { width: 30%; }
}

@keyframes fadeInText {
  to { opacity: 1; }
}


/* ========================================= */
/* MECHANICAL MOBILE OPTIMIZATION (iPhone)   */
/* ========================================= */
@media (max-width: 480px) {

  /* 1. Scale down the Logo Drop */
  .mech-logo-container img {
    height: 260px; /* Reduced from 350px (~50% smaller) */
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
  }

  /* 2. Adjust Decorative Lines */
  .decor-line {
    top: 43%; /* Move lines up to match smaller logo */
  }
  .decor-line.left { right: 75%; }
  .decor-line.right { left: 75%; }
  @keyframes expandLine {
    to { width: 15%; } /* Shorter lines so they don't hit the screen edges */
  }

  /* 3. Shrink Company Title */
  .company-title {
    font-size: 1.7rem; /* Reduced from 2.5rem (~45% smaller) */
    letter-spacing: 1px;
    padding: 0 10px;
    margin-top: 15px;
    animation: fadeInText 1s ease forwards;
    animation-delay: 2s;
  }

  .word-amp {
    font-size: 1rem; /* Scale down the ampersand */
  }

  /* 4. Est. Date Scaling */
  .est-date {
    font-size: 0.6rem; /* Tighter for mobile */
    letter-spacing: 2px;
    margin-top: 5px;
  }

  /* 5. Clean up the Industrial Nav */
  .industrial-nav {
    bottom: 20px; /* Pull it slightly higher from the screen bottom */
  }

  .industrial-nav a {
    font-size: 18px; /* Reduced from 22px for better fit */
    letter-spacing: 1px;
  }

  .separator {
    margin: 0 8px; /* Tighter spacing between links */
  }
}
/* ========================================= */
/* 2. HERO SECTION                           */
/* ========================================= */
.mech-hero {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-static-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Darken the image */
  filter: grayscale(80%) contrast(120%);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 20%, var(--oil-black) 90%);
  z-index: 2;
}

.hero-power-switch {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  opacity: 0;
  animation: fadeInText 1s ease forwards;
  animation-delay: 3.5s;
}

.switch-casing {
  width: 60px;
  height: 60px;
  border: 2px solid var(--gold-dark);
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(212,175,55,0.2);
}

.switch-btn i {
  font-size: 30px;
  color: var(--gold-metallic);
  text-shadow: 0 0 10px var(--gold-metallic);
  animation: pulsePower 2s infinite;
}

.hero-power-switch span {
  font-size: 12px;
  letter-spacing: 2px;
  color: #666;
}

@keyframes pulsePower {
  0% { opacity: 0.5; text-shadow: 0 0 0px var(--gold-metallic); }
  50% { opacity: 1; text-shadow: 0 0 20px var(--gold-metallic); }
  100% { opacity: 0.5; text-shadow: 0 0 0px var(--gold-metallic); }
}

/* ========================================= */
/* 3. BRANDS TICKER                          */
/* ========================================= */
.brands-ticker {
  background: var(--gold-metallic);
  color: #000;
  padding: 15px 0;
  overflow: hidden;
  position: relative;
  z-index: 20;
  border-bottom: 4px solid var(--gold-dark);
}

.ticker-track {
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 2px;
  animation: scrollTicker 20s linear infinite;
}

.ticker-track span { margin: 0 30px; }

@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================= */
/* 4. SERVICES BLUEPRINT                     */
/* ========================================= */
.services-blueprint {
  padding: 80px 25%;
  background: 
    linear-gradient(rgba(8,8,8,0.9), rgba(8,8,8,0.9)),
    url('../images/elegant-grid.png'); /* Blueprint texture pattern */
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .services-blueprint {
    padding-left: 50px;
    padding-right: 50px;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: #fff;
  letter-spacing: 3px;
}

.gold-bar {
  width: 100px;
  height: 4px;
  background: var(--gold-metallic);
  margin: 15px auto;
  box-shadow: 0 0 15px var(--gold-metallic);
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.tech-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid #333;
  padding: 40px 30px;
  position: relative;
  transition: all 0.4s ease;
}

.tech-card:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: var(--gold-metallic);
  transform: translateY(-10px);
}

.card-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold-metallic);
  transition: all 0.3s ease;
}

.top-left { top: 0; left: 0; border-right: none; border-bottom: none; }
.bottom-right { bottom: 0; right: 0; border-left: none; border-top: none; }

.tech-card:hover .card-corner { width: 100%; height: 100%; opacity: 0.3; }

.icon-big {
  font-size: 4rem;
  color: #444;
  margin-bottom: 20px;
  display: block;
  transition: color 0.3s;
}

.tech-card:hover .icon-big { color: var(--gold-metallic); }

.tech-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fff;
}

.tech-card ul { list-style: none; color: #aaa; line-height: 2; font-size: 1.1rem; }
.tech-card ul li::before { content: "> "; color: var(--gold-dark); }



/* ========================================= */
/* ENGINEERING MASTERY MOBILE OPTIMIZATION   */
/* ========================================= */
@media (max-width: 480px) {
  
  /* 1. Reduce Heading by ~30% */
  .section-title h2 {
    font-size: 1.75rem; /* Reduced from 2.5rem (~30%) */
    letter-spacing: 1.5px;
  }

  .gold-bar {
    width: 60px; /* Shorter bar */
    height: 3px;
  }

  /* 2. Reduce Overall Section Padding */
  .services-blueprint {
    padding: 30px 10px; /* Tighter padding for mobile screens */
  }

  .section-title {
    margin-bottom: 30px; /* Reduced gap between title and cards */
  }

  /* 3. Reduce Tech Cards by ~40% */
.tech-card {
    width: 85%;          /* Narrower card width */
    margin: 0 auto 15px; /* Centers the narrower cards */
    padding: 18px 15px;  /* Very tight inner padding */
    min-height: auto;    /* Let height be determined by content */
  }

  .icon-big {
    font-size: 2.0rem; /* Reduced from 4rem (~40%) */
    margin-bottom: 10px;
  }

  .tech-card h3 {
    font-size: 1.0rem; /* Reduced from 1.5rem */
    margin-bottom: 9px;
  }

  .tech-card ul {
    font-size: 0.85rem; /* Reduced from 1.1rem */
    line-height: 1.6;    /* Tighter vertical spacing */
  }

  /* Reduce the footer note in the last card */
  .tech-card div[style*="font-size: 10px"] {
    font-size: 9px !important;
    padding-top: 6px;
  }

  .card-corner {
    width: 12px;
    height: 12px;
  }
}

/* ========================================= */
/* 5. SALES VAULT (MOBILE 2-COLUMN GRID)     */
/* ========================================= */
.sales-vault {
  padding: 60px 15px; /* Reduced side padding for mobile */
  background: #111;
  border-top: 1px solid #333;
}

.vault-header {
  text-align: center;
  margin-bottom: 40px;
}
.vault-header h2 { 
  color: var(--gold-metallic); 
  font-family: var(--font-display); 
  font-size: 1.8rem; 
}

/* --- THE GRID CONTAINER --- */
.generator-display {
  display: grid;
  /* MOBILE DEFAULT: 2 Columns strictly */
  grid-template-columns: 1fr 1fr; 
  gap: 15px; /* Tighter gap for mobile */
  width: 100%;
  margin: 0 auto;
}

/* --- CARD STYLING --- */
.gen-unit {
  position: relative;
  background: #000;
  border: 1px solid #333;
  overflow: hidden;
  border-radius: 8px; /* Slightly rounder corners */
  transition: transform 0.3s ease;
  
  /* Height Adjustments for 2-column look */
  height: 320px; 
  display: flex;
  flex-direction: column;
}

/* Image takes up top half */
.unit-bg-img {
  width: 100%;
  height: 55%; /* Image is 55% of card */
  object-fit: cover;
  opacity: 0.8;
}

/* Info Section (Compact for Mobile) */
.gen-info { 
  position: relative; /* Stacks below image naturally now */
  height: 45%;        /* Takes remaining space */
  padding: 10px;
  background: linear-gradient(to top, #000 90%, transparent);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.gen-info h4 { 
  color: #fff; 
  font-family: var(--font-display);
  font-size: 0.85rem; /* Smaller font for mobile */
  margin-bottom: 4px;
  line-height: 1.2;
}

.gen-info p { 
  color: #ccc; 
  font-size: 0.7rem; 
  margin-bottom: 10px; 
}

.btn-inquire {
  width: 100%;
  padding: 8px 0;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

/* --- DESKTOP OVERRIDE (Revert to 4 Columns on big screens) --- */
@media (min-width: 768px) {
  .sales-vault { padding: 80px 5%; }
  
  .generator-display {
    /* 4 Columns on Desktop */
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    max-width: 1400px;
  }

  .gen-unit {
    height: 450px; /* Taller on desktop */
  }

  .unit-bg-img { height: 100%; position: absolute; top:0; left:0; }
  
  .gen-info {
    position: absolute; bottom: 0; left: 0; 
    height: auto; 
    padding: 20px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.4));
  }
  
  .gen-info h4 { font-size: 1.1rem; }
  .gen-info p { font-size: 0.8rem; }
}

/* TABLET & DESKTOP (Over 768px) */
@media (min-width: 768px) {
  .generator-display {
    /* Switch to Grid */
    display: grid;
    /* This creates 4 equal columns automatically */
    grid-template-columns: repeat(4, 1fr); 
    overflow-x: visible; /* Remove scroll */
    padding-bottom: 0;
  }

  .gen-unit {
    min-width: auto; /* Allow them to shrink/grow */
    height: 450px;   /* Slightly taller on desktop */
  }
}

/* --- CARD STYLING (Shared) --- */
.gen-unit:hover {
  transform: translateY(-5px);
  border-color: var(--gold-metallic);
  z-index: 2; /* Bring to front on hover */
}

.gen-unit.gold-border { border: 1px solid var(--gold-metallic); }

/* The Full Background Image */
.unit-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.5s;
}

.gen-unit:hover .unit-bg-img {
  opacity: 1;
  transform: scale(1.05);
}

/* Status Indicators */
.status-light {
  width: 10px; height: 10px;
  border-radius: 50%;
  position: absolute; top: 15px; left: 15px;
  box-shadow: 0 0 10px currentColor;
  z-index: 10;
}
.green { background: #00ff00; color: #00ff00; }
.gold { background: var(--gold-metallic); color: var(--gold-metallic); }

.gen-tag {
  position: absolute; top: 15px; right: 15px;
  background: var(--gold-metallic);
  color: #000;
  font-weight: 800; font-size: 10px;
  padding: 3px 8px; z-index: 10;
}

/* Info Overlay */
.gen-info { 
  position: absolute; bottom: 0; left: 0; width: 100%;
  padding: 20px 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.4));
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; 
  z-index: 5;
}

.gen-info h4 { 
  color: #fff; font-family: var(--font-display);
  font-size: 1.1rem; margin-bottom: 5px; 
}

.gen-info p { 
  color: #ccc; font-size: 0.8rem; margin-bottom: 15px; font-weight: 500;
}

.btn-inquire {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-metallic);
  color: var(--gold-metallic);
  padding: 8px 20px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all 0.3s;
}

.btn-inquire:hover {
  background: var(--gold-metallic);
  color: #000;
}


/* ========================================= */
/* ENGINE MODAL (EXPANDABLE CARD)            */
/* ========================================= */
.mech-overlay {
    position: fixed; inset: 0; z-index: 2000;
    display: none; align-items: center; justify-content: center;
}

.mech-overlay.active { display: flex; }

.mech-overlay-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
}

.mech-modal-card {
    position: relative; z-index: 2001;
    width: 90%; max-width: 1000px;
    background: #111;
    border: 1px solid var(--gold-metallic);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
    display: flex; flex-direction: column;
    max-height: 90vh; overflow-y: auto;
}

/* Header */
.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px; background: #1a1a1a;
    border-bottom: 1px solid #333;
}
.modal-header h3 { font-family: var(--font-display); color: #fff; letter-spacing: 2px; }
.modal-close { 
    background: none; border: none; color: var(--gold-metallic); 
    font-size: 30px; cursor: pointer; 
}

/* Body Layout */
.modal-body { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; padding: 30px; }

/* Gallery */
.main-view img { 
    width: 100%; height: 350px; object-fit: cover; 
    border: 1px solid #333; margin-bottom: 15px; 
}
.thumb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.thumb-grid img { 
    width: 100%; height: 60px; object-fit: cover; 
    cursor: pointer; border: 1px solid #333; opacity: 0.6; transition: 0.3s;
}
.thumb-grid img:hover, .thumb-grid img.active { opacity: 1; border-color: var(--gold-metallic); }

/* Details */
.price-tag { 
    font-family: var(--font-display); color: var(--gold-metallic); 
    font-size: 2rem; margin-bottom: 20px; 
}
.modal-note { 
    background: #080808; padding: 20px; 
    border-left: 3px solid var(--gold-metallic); margin-bottom: 25px; 
}
.modal-note h4 { color: #888; font-size: 0.8rem; margin-bottom: 10px; }
.modal-note p { color: #ccc; line-height: 1.6; font-size: 0.95rem; }

.btn-modal-contact {
    width: 100%; padding: 15px;
    background: var(--gold-metallic); color: #000;
    font-family: var(--font-display); font-weight: 700;
    border: none; cursor: pointer; letter-spacing: 1px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-modal-contact:hover { background: #fff; }

/* Responsive Mobile */
@media (max-width: 768px) {
    .modal-body { grid-template-columns: 1fr; }
    .main-view img { height: 250px; }
}

/* ========================================= */
/* 6. BOOKING TERMINAL                       */
/* ========================================= */
.booking-terminal {
  position: relative;
  padding: 80px 20px;
  background: url('../images/elegant-grid.png');
  background-size: cover;
  background-position: center;
}

.terminal-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.85);
}

.terminal-container {
  position: relative;
  z-index: 5;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid #444;
  background: rgba(10,10,10,0.95);
  box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.terminal-header {
  background: #1a1a1a;
  padding: 10px 20px;
  border-bottom: 1px solid #333;
  color: var(--gold-metallic);
  font-family: monospace;
  font-weight: bold;
}

.blink { animation: blinker 1s linear infinite; }
@keyframes blinker { 50% { opacity: 0; } }

.terminal-body { padding: 30px; }
.terminal-body p { color: #888; font-size: 0.9rem; margin-bottom: 20px; font-family: monospace; }

.mech-form .input-group {
  display: flex;
  align-items: center;
  background: #000;
  border: 1px solid #333;
  margin-bottom: 15px;
  padding: 0 15px;
}

.mech-form i { color: #555; font-size: 1.2rem; }

.mech-form input, .mech-form select {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  padding: 15px;
  font-family: var(--font-tech);
  font-size: 1rem;
  outline: none;
}

.btn-deploy {
  width: 100%;
  padding: 15px;
  background: transparent;
  border: 2px solid var(--gold-dark);
  color: var(--gold-metallic);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s;
}

.btn-deploy:hover {
  background: var(--gold-metallic);
  color: #000;
  box-shadow: 0 0 20px var(--gold-metallic);
}

/* ========================================= */
/* 7. FOOTER                                 */
/* ========================================= */
.mech-footer {
  background: #050505;
  padding: 50px 5%;
  border-top: 4px solid #1a1a1a;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.f-col h5 {
  color: #444;
  font-family: var(--font-display);
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.f-col p { color: #888; line-height: 1.6; }
.gold-text { color: var(--gold-metallic) !important; font-weight: bold; font-size: 1.2rem; }

.logo-col { text-align: center; }
.logo-col img { height: 80px; opacity: 0.5; filter: grayscale(100%); margin-bottom: 10px; transition: 0.3s; }
.logo-col:hover img { opacity: 1; filter: none; }


/* ========================================= */
/* MECHANICAL FOOTER MOBILE (iPhone Only)    */
/* ========================================= */
@media (max-width: 480px) {
  
  /* 1. Reduce overall vertical padding */
  .mech-footer {
    padding: 30px 20px; /* Reduced from 50px */
  }

  /* 2. Switch from grid to centered column stack */
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 25px; /* Reduced from 40px (~30% reduction) */
    text-align: center;
  }

  /* 3. Reduce Headings and Text (30% scale) */
  .f-col h5 {
    font-size: 0.8rem; /* Scaled down for mobile */
    margin-bottom: 8px; /* Tighter gap */
  }

  .f-col p {
    font-size: 0.85rem; /* Slightly smaller for mobile */
    line-height: 1.4;   /* Tighter line spacing */
  }

  /* 4. Adjust the Gold Phone Number */
  .gold-text {
    font-size: 1rem !important; /* Reduced from 1.2rem */
    display: block;
    margin-bottom: 5px;
  }

  /* 5. Scale down the Logo column */
  .logo-col img {
    height: 55px; /* Reduced from 80px (~30% reduction) */
    opacity: 0.7;  /* Slightly more visible than the 0.5 default */
  }

  .logo-col p {
    font-size: 0.7rem; /* Copyright text reduction */
    margin-top: 5px;
  }
}
/* ========================================= */
/* ENGINE AWARENESS SLIDER (Frameless)       */
/* ========================================= */
.engine-awareness {
  position: relative;
  width: 100%;
  height: 500px; /* Cinematic height */
  background: #000;
  overflow: hidden;
  border-bottom: 4px solid var(--gold-metallic); /* Connects to next section */
}

.awareness-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  /*background-attachment: fixed; /* Parallax effect for luxury feel */
  opacity: 0;
  animation: slideCycle 20s infinite, kenBurnsOut 20s linear infinite; /* 5 seconds per slide */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* --- SET YOUR IMAGES HERE --- */
.slide-1 { 
  background-image: url('../images/Catgen.jpg'); /* e.g., Big CAT Engine */
  animation-delay: 0s;
}

.slide-2 { 
  background-image: url('../images/oilspil.png'); /* e.g., Engine Internal/Piston */
  animation-delay: 5s;
}

.slide-3 { 
  background-image: url('../images/IMG_0077x3.JPG'); /* e.g., Factory Installation */
  animation-delay: 10s;
}

.slide-4 { 
  background-image: url('../images/Engine_0250.JPG'); /* e.g., Factory Installation */
  animation-delay: 15s;
}

/* Dark Overlay to make text pop */
.aw-overlay {
  position: absolute;
  inset: 0;
  
  background: rgba(0,0,0,0.5);
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
}

/* Text Content */
.aw-content {
  position: relative;
  z-index: 2;
  text-align: center;
  transform: translateY(20px);
  animation: textLift 20s infinite; /* Syncs with slide */
}

.aw-content h3 {
  font-family: var(--font-display);
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 0 20px rgba(0,0,0,0.8);
  letter-spacing: 5px;
  margin-bottom: 10px;
}

.aw-content p {
  color: var(--gold-metallic);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(0,0,0,0.6);
  display: inline-block;
  padding: 5px 15px;
  border: 1px solid var(--gold-metallic);
}

/* --- ANIMATION KEYFRAMES --- */
/* --- NEW ANIMATION: Slow Zoom-Out (Ken Burns Effect) --- */
@keyframes kenBurnsOut {
  0% {
    /* Start slightly zoomed in */
    transform: scale(1.2); 
  }
  100% {
    /* Finish at normal size (revealing more detail) */
    transform: scale(1.0); 
  }
}

/* Controls the Fading/Cycling of Slides */
@keyframes slideCycle {
  0%   { opacity: 0; z-index: 1; }
  5%   { opacity: 1; z-index: 2; }   /* Fade In */
  25%  { opacity: 1; z-index: 2; }   /* Stay Visible */
  30%  { opacity: 0; z-index: 1; }   /* Fade Out */
  100% { opacity: 0; z-index: 1; }
}

/* Subtle movement for the text */
@keyframes textLift {
  0%   { transform: translateY(30px); opacity: 0; }
  10%  { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-30px); opacity: 0; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .engine-awareness { height: 350px; }
  .aw-content h3 { font-size: 1.8rem; letter-spacing: 2px; }
  .aw-content p { font-size: 0.9rem; }
}

/* ========================================= */
/* FLOATING WHATSAPP BUTTON                  */
/* ========================================= */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366; /* Official WhatsApp Green */
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 35px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* RESPONSIVE ADJUSTMENT */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 30px;
  }
}

/* ========================================= */
/* MOBILE CLARITY FIX — ENGINE AWARENESS     */
/* ========================================= */
@media (max-width: 768px) {

  /* Give the text breathing room */
  .aw-content {
    width: 100%;
    padding: 0 24px;                 /* Mobile-safe padding */
    transform: translateY(0);        /* Prevent excessive vertical shift */
  }

  /* Headline: readable, bold, cinematic */
  .aw-content h3 {
    font-size: 1.6rem;               /* Smaller but still dominant */
    line-height: 1.35;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-shadow: 0 4px 25px rgba(0,0,0,0.9);
  }

  /* Subtitle: high contrast, tap-safe */
  .aw-content p {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    padding: 8px 14px;
    line-height: 1.4;
    max-width: 90%;
    margin: 0 auto;
  }

  /* Darken overlay slightly for legibility */
  .aw-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.45),
      rgba(0,0,0,0.85)
    );
  }
}
