/*
Theme Name: Petrolgroup Premium
Author: Antigravity AI
Description: Un tema moderno, de alto rendimiento y diseño premium para PETROLGROUP, optimizado para logística y transporte.
Version: 1.0
*/

:root {
  --primary: #00A896;      /* Turquesa */
  --secondary: #F26419;    /* Naranja vibrante */
  --dark: #0F172A;         /* Azul Noche / Gris Oscuro */
  --light: #F8FAFC;        /* Fondo claro */
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

.btn-primary {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(242, 100, 25, 0.4);
}

.btn-primary:hover {
  background: #E0540C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 100, 25, 0.6);
  color: var(--white);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 10px 26px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  border-bottom: 1px solid var(--glass-border);
}

.navbar-brand img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 5%;
  color: var(--white);
  background-image: url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.5) 50%, rgba(15,23,42,0) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 300;
}

/* Glassmorphism Quick Contact Form (Like SolEnergy) */
.glass-form {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 40px;
  width: 380px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: slideInRight 1s ease;
}

.glass-form h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.glass-form input, .glass-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--white);
  font-family: inherit;
}

.glass-form input::placeholder, .glass-form textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.glass-form button {
  width: 100%;
  border: none;
  cursor: pointer;
}

/* Section Cero Flota Propia */
.section {
  padding: 80px 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--dark);
}

.section-title span {
  color: var(--primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  text-align: center;
  border-top: 4px solid var(--primary);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--dark);
}

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

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media(max-width: 991px) {
  .hero h1 { font-size: 2.5rem; }
  .glass-form {
    position: relative;
    right: 0;
    top: 0;
    transform: none;
    margin-top: 40px;
    width: 100%;
  }
  .hero {
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    height: auto;
    min-height: 100vh;
  }
}
