/* Advanced Header Styles - Technical & Sophisticated Design */

:root {
  --brand-blue: #002d53;
  --brand-dark: #001a3a;
  --brand-light-blue: #0055a5;
  --brand-cyan: #00b4d8;
  --brand-yellow: #fdc300;
  --brand-lime: #a7ff00;
  --white: #ffffff;
  --gray-dark: #2a2a2a;
  --gray-medium: #666666;
  --gray-light: #f5f5f5;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

/* Advanced Header */
.header-advanced {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: linear-gradient(135deg, 
    rgba(0, 45, 83, 0.95) 0%, 
    rgba(0, 26, 58, 0.98) 50%, 
    rgba(0, 85, 165, 0.92) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Clean Background - No Animations */

/* Top Bar */
.header-top-bar {
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-item,
.top-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-link:hover {
  color: var(--brand-yellow);
}

.top-item svg,
.top-link svg {
  opacity: 0.6;
}

/* Main Navigation */
.header-main-nav {
  padding: 1rem 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

/* Logo */
.logo-advanced {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-advanced:hover {
  transform: translateY(-2px);
}

.logo-img {
  height: 45px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--brand-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0.25rem;
}

/* Mobile Menu Toggle - Styles moved to index-mobile-fix.css */

/* Navigation Menu */
.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Don't hide nav menu on mobile - handled by index-mobile-fix.css */

.nav-list {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-yellow);
}

.nav-text {
  position: relative;
  z-index: 2;
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-yellow) 0%, var(--brand-lime) 100%);
  border-radius: 2px;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.nav-link:hover .nav-indicator,
.nav-link.active .nav-indicator {
  transform: translateX(-50%) scaleX(1);
}

/* Dropdown arrow (chevron) */
.nav-item svg.dropdown-icon {
  width: 10px !important;
  height: 10px !important;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.nav-item:hover svg.dropdown-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: rgba(0, 26, 58, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: rgba(253, 195, 0, 0.1);
  color: var(--brand-yellow);
  padding-left: 2rem;
}

/* Dropdown menu item icons */
.dropdown-item .dropdown-icon {
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.dropdown-item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.dropdown-item small {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-lime) 100%);
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand-lime) 0%, var(--brand-yellow) 100%);
  transition: left 0.3s ease;
}

.cta-button:hover:before {
  left: 0;
}

.cta-text,
.cta-icon {
  position: relative;
  z-index: 2;
}

.cta-icon {
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-icon {
  transform: translateX(5px);
}

/* Wave Animation */
.header-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  overflow: hidden;
  pointer-events: none;
}

.header-wave svg {
  width: 100%;
  height: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* Hero Advanced Section */
.hero-advanced {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 80px;
  overflow: hidden;
}

/* Hero Media Background */
.hero-media-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-slideshow {
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero-slideshow .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease;
}

.hero-slideshow .slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(0, 45, 83, 0.85) 0%,
    rgba(0, 45, 83, 0.7) 50%,
    rgba(0, 85, 165, 0.6) 100%);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-inner {
  text-align: left;
  width: 100%;
  position: relative;
}

/* Large screen alignment - ensure hero content aligns with header */
@media (min-width: 1521px) {
  .hero-content {
    width: 100%;
  }

  .hero-content .container {
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* Oil Drop Icon on Right */
.hero-oil-icon {
  position: absolute;
  right: 20px;
  top: 25%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  opacity: 0.8;
  animation: floatOil 4s ease-in-out infinite;
}

.oil-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(253, 195, 0, 0.4));
}

@keyframes floatOil {
  0%, 100% {
    transform: translateY(-35%) translateX(0) rotate(0deg);
  }
  50% {
    transform: translateY(-35%) translateX(-10px) rotate(5deg);
  }
}

/* Responsive adjustments for oil icon */
@media (max-width: 1600px) {
  .hero-oil-icon {
    right: 30px;
    top: 30%;
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 1400px) {
  .hero-oil-icon {
    right: 20px;
    top: 25%;
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 1200px) {
  .hero-oil-icon {
    right: 20px;
    top: 150px;
    transform: none;
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .hero-oil-icon {
    width: 100px;
    height: 100px;
    right: 10px;
    top: 100px;
  }
}

/* Badge */
.hero-badge-animated {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeInDown 1s ease;
}

.badge-text {
  background: var(--brand-yellow);
  color: var(--brand-blue);
  padding: 0.5rem 1.5rem;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 2px;
  border-radius: 4px;
}

.badge-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-yellow) 0%, transparent 100%);
}

/* Title */
.hero-title-advanced {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.title-word {
  display: inline-block;
  color: var(--brand-yellow);
  animation: fadeInUp 1s ease backwards;
  animation-delay: var(--delay);
}

.title-word.spaced {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8em;
}

/* Subtitle */
.hero-subtitle-advanced {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  animation: fadeIn 1s ease 0.5s backwards;
}

/* Stats */
.hero-stats-advanced {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: #fdc300;
  background: linear-gradient(135deg, #fdc300 0%, #ffdb4d 100%);
  box-shadow: 0 10px 40px rgba(253, 195, 0, 0.4);
  padding: 1.5rem 3rem;
  border-radius: 100px;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease 0.7s backwards;
  position: relative;
  z-index: 10;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #000000;  /* Black for maximum visibility */
  min-width: 120px;
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #000000;  /* Black for maximum contrast */
  line-height: 1;
  display: inline-block;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 0.25rem;
  color: #000000;  /* Black for maximum contrast */
  display: inline-block;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
  color: #000000;  /* Black for maximum contrast */
  opacity: 0.8;
}

.stat-divider {
  width: 2px;
  height: 50px;
  background: linear-gradient(180deg, transparent 0%, #000000 50%, transparent 100%);
  opacity: 0.2;
  display: block;
  align-self: center;
}

/* CTA Buttons */
.hero-cta-advanced {
  display: flex;
  justify-content: center;
  gap: 1rem;
  animation: fadeInUp 1s ease 0.9s backwards;
}

.btn-hero {
  position: relative;
  display: inline-block;
  padding: 1rem 2.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-hero.primary {
  background: var(--brand-yellow);
  color: var(--brand-blue);
}

.btn-hero.secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-bg {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-lime) 0%, var(--brand-yellow) 100%);
  transition: left 0.3s ease;
}

.btn-hero:hover .btn-bg {
  left: 0;
}

.btn-hero.secondary:hover {
  background: var(--white);
  color: var(--brand-blue);
  border-color: var(--white);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 13px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--brand-yellow);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheelScroll 1.5s infinite;
}

.scroll-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

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

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes wheelScroll {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

@keyframes pulse {
  0% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8); }
  100% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5); }
}

/* Quick Navigation Section */
.quick-navigation-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.quick-nav-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 4rem;
  position: relative;
}

.quick-nav-title:after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-yellow) 0%, var(--brand-lime) 100%);
  border-radius: 3px;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 5rem;
}

.quick-nav-box {
  background: white;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(0, 45, 83, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.quick-nav-box:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-yellow) 0%, var(--brand-lime) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.quick-nav-box:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(253, 195, 0, 0.05) 0%, 
    rgba(167, 255, 0, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.quick-nav-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 80px rgba(0, 45, 83, 0.2);
}

.quick-nav-box:hover:before {
  transform: scaleX(1);
}

.quick-nav-box:hover:after {
  opacity: 1;
}

.nav-box-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--brand-light-blue) 0%, var(--brand-cyan) 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 2rem;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.quick-nav-box:hover .nav-box-icon {
  transform: scale(1.1) rotate(10deg);
  background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-lime) 100%);
  box-shadow: 0 10px 30px rgba(253, 195, 0, 0.4);
}

.quick-nav-box h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 1rem;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.quick-nav-box p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.nav-box-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
  padding: 1rem 2rem;
  border: 2px solid var(--brand-blue);
  border-radius: 50px;
  transition: all 0.3s ease;
  margin-top: auto;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.nav-box-link:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--brand-blue);
  transition: left 0.3s ease;
  z-index: -1;
}

.nav-box-link:hover {
  color: white;
  transform: translateX(5px);
}

.nav-box-link:hover:before {
  left: 0;
}

.nav-box-link svg {
  transition: transform 0.3s ease;
}

.nav-box-link:hover svg {
  transform: translateX(5px);
}

/* Quick Navigation Responsive */
@media (max-width: 1024px) {
  .quick-nav-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 4rem auto 0;
  }
  
  .quick-navigation-section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .quick-navigation-section {
    padding: 60px 20px;
  }
  
  .quick-nav-title {
    font-size: 2.5rem;
  }
  
  .quick-nav-box {
    padding: 2.5rem 2rem;
  }
  
  .nav-box-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }
  
  .quick-nav-box h3 {
    font-size: 1.5rem;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero-stats-advanced {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 2rem;
  }
  
  .stat-divider {
    width: 40px;
    height: 1px;
  }
}

@media (max-width: 768px) {
  .header-top-bar {
    display: none;
  }
  
  .logo-text {
    display: none;
  }
  
  .hero-title-advanced {
    font-size: 2rem;
  }
  
  .hero-subtitle-advanced {
    font-size: 1rem;
  }
  
  .hero-cta-advanced {
    flex-direction: column;
    width: 100%;
    padding: 0 2rem;
  }
  
  .btn-hero {
    width: 100%;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}