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

:root {
  /* Color Palette - Premium Corporate Industrial */
  --primary-navy: #0F172A;
  --primary-blue: #1E40AF;
  --accent-blue: #2563EB;
  --accent-blue-light: #EFF6FF;
  --accent-orange: #FF5722;
  --accent-orange-hover: #E64A19;
  --accent-green: #10B981;
  
  --bg-body: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-dark: #0B1120;
  
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  
  --border-light: #E2E8F0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(37, 99, 235, 0.15);
  --shadow-orange: 0 10px 25px rgba(255, 87, 34, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.25;
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Helper Classes */
.text-orange { color: var(--accent-orange) !important; }
.text-blue { color: var(--accent-blue) !important; }
.bg-white { background-color: #ffffff !important; }
.bg-dark { background-color: var(--primary-navy) !important; color: white !important; }
.section-padding { padding: 5rem 0; }

/* Top Announcement Bar */
.top-bar {
  background: var(--primary-navy);
  color: var(--text-light);
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-info span i {
  color: var(--accent-orange);
  margin-right: 0.4rem;
}

.top-contact {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-contact a {
  color: white;
  font-weight: 600;
}

.top-contact a:hover {
  color: var(--accent-orange);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo Fix - NEVER BLOW UP */
.logo-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-box img {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--accent-blue);
}

.logo-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: -4px;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-blue);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-blue);
  border-radius: 2px;
}

/* CTA Header Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header-call {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-hover));
  color: white;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
}

.btn-header-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 87, 34, 0.4);
  color: white;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--primary-navy);
  overflow: hidden;
  padding: 4rem 0;
}

.hero-bg-image {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: contrast(1.1) brightness(0.8);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #60A5FA;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  color: white;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-desc {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-hero-primary {
  background: var(--accent-orange);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-3px);
  color: white;
}

.btn-hero-whatsapp {
  background: #25D366;
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.btn-hero-whatsapp:hover {
  background: #1EBE5B;
  transform: translateY(-3px);
  color: white;
}

.hero-features {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-feature-item i {
  color: var(--accent-green);
  font-size: 1.1rem;
}

/* Hero Right Card Box */
.hero-card-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: white;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-card-box h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.phone-highlight {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-orange);
  margin: 1rem 0;
  letter-spacing: 1px;
}

/* Stats Bar */
.stats-bar {
  background: white;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  padding: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  border-right: 1px solid var(--border-light);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-blue);
}

.stat-label {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Section Titles */
.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-title h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-blue);
}

.service-img-box {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-box img {
  transform: scale(1.08);
}

.service-content {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-icon-floating {
  width: 50px;
  height: 50px;
  background: var(--accent-blue);
  color: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-top: -40px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.service-card.gas .service-icon-floating {
  background: var(--accent-orange);
}

.service-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  font-weight: 700;
  color: var(--accent-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-link:hover {
  gap: 0.7rem;
}

/* Gallery & Filters */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: white;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-blue);
  color: white;
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-lg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent 60%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  opacity: 0;
  transition: var(--transition);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

/* Regional SEO Grid */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.region-card {
  background: white;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.region-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.region-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 87, 34, 0.1);
  color: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1E293B 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  color: white;
  margin-bottom: 1.25rem;
}

.cta-banner p {
  color: var(--text-light);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

/* Footer */
footer {
  background: var(--primary-navy);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-light);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-menu a:hover {
  color: var(--accent-orange);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

/* Floating Action Bar Mobile */
.floating-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1500;
}

.fab-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.fab-btn:hover {
  transform: scale(1.1);
  color: white;
}

.fab-call { background: var(--accent-orange); }
.fab-wa { background: #25D366; }

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-features { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .stat-item { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav-menu { display: none; }
  .nav-actions { display: none !important; }
  .mobile-toggle { display: block; }
  
  .navbar {
    height: 65px;
  }
  
  .logo-box img {
    height: 38px !important;
    max-height: 38px !important;
  }
  
  .logo-text {
    font-size: 1.15rem;
  }
  
  .logo-sub {
    font-size: 0.6rem;
  }

  .nav-active .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-light);
    gap: 1.2rem;
  }

  .floating-actions {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }

  .fab-btn {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-card-box {
    padding: 1.5rem;
  }

  .phone-highlight {
    font-size: 1.5rem;
  }

  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
