/*
Theme Name: Veline Theme
Theme URI: https://venline.com/
Author: Ing. Jorge Parra Andrade
Description: Un tema para VENEZUELAN WIRE LINE SERVICES,
C.A.
Version: 1.3.3
Text Domain: venline-theme
*/

:root {
  --bg-dark: #0a180f;
  --bg-darker: #050d08;
  --accent-yellow: #ffff02;
  --accent-yellow-hover: #b8c700;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(212, 230, 0, 0.2);
  --text-white: #ffffff;
  --text-muted: #b0c4b1;
  --placeholder-bg: #2a3b30;
  --placeholder-text: #8fa896;
  --green-accent: #0f2b15;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif;
  background: #143B1E;
  background: linear-gradient(180deg, rgba(20, 59, 30, 1) 11%, rgba(12, 22, 13, 1) 87%);
  color: var(--text-white);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--accent-yellow);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--accent-yellow-hover);
}

/* Header & Navigation */
.site-header {
  background: #0C160D;
  background: linear-gradient(90deg, rgba(12, 22, 13, 1) 0%, rgba(20, 59, 30, 1) 50%);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  margin: 0 auto;
  padding: 10px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

/* Language Switcher Flags */
.lang-switcher {
  position: absolute;
  top: 15px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 1001;
}

.lang-btn {
  background: transparent;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, transform 0.2s ease;
  width: 38px;
  height: 26px;
  outline: none;
}

.lang-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.lang-btn.active {
  border-color: var(--accent-yellow);
  box-shadow: 0 0 8px rgba(255, 255, 2, 0.7);
}

.lang-btn:hover {
  transform: scale(1.1);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-badge {
  background: none;
  color: #000;
  width: 250px;
  height: 70px;
  padding: 8px 14px;
  font-weight: 900;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: -30px;
  margin-top: 35px;
}

.logo-badge img {
  object-fit: cover;
  width: 100%;
  z-index: 99;
  position: relative;
}

.logo-icon {
  font-size: 14px;
}

.logo-text {
  font-size: 14px;
  letter-spacing: 1px;
}

.company-title h1 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 0.5px;
}

.main-nav {
  background-color: var(--accent-yellow);
  width: 100%;
  padding: 10px;
  position: relative;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding-left: 245px;
}

.main-nav a {
  color: var(--green-accent);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  background-color: var(--accent-yellow);
  color: #000;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--accent-yellow);
  border-radius: 2px;
}

/* Main Layout */
main {
  flex: 1;
  padding: 20px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Title Badges */
.section-title-badge {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-left: 5px solid var(--accent-yellow);
  padding: 12px 20px;
  margin-bottom: 25px;
  border-radius: 0 8px 8px 0;
  box-shadow: inset 0 2px 17px rgb(255 255 255 / 30%);
  text-transform: uppercase;
}

.section-title-badge h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-white);
}

/* Text blocks */
.text-block {
  margin-bottom: 25px;
}

.text-block p {
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.text-block h3 {
  color: var(--text-white);
  margin-bottom: 10px;
  font-size: 18px;
}

.lead-text {
  font-size: 17px !important;
  font-weight: 600;
  color: var(--text-white) !important;
}

/* Image Placeholders */
.image-placeholder {
  background-color: var(--placeholder-bg);
  color: var(--placeholder-text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

/* Hero Slider */
.hero-slider-section {
  position: relative;
  margin: -20px 0 0;
  padding: 0;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1b2e21 0%, #0d1f14 100%);
  font-size: 18px;
  font-weight: 600;
  color: #a3c1ad;
}

.hero-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px;
  background: linear-gradient(to top, rgba(5, 13, 8, 0.9) 0%, rgba(5, 13, 8, 0.4) 70%, transparent 100%);
  text-align: center;
  z-index: 3;
}

.slide-caption h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--text-white);
  border: none;
  font-size: 22px;
  padding: 12px 16px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.3s;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background-color: var(--accent-yellow);
  color: #000;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dot.active,
.dot:hover {
  background-color: var(--accent-yellow);
  transform: scale(1.2);
}

/* Two Column Layouts */
.layout-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.image-grid {
  display: grid;
  grid-auto-flow: row;
  justify-items: center;
  align-content: start;
  justify-content: center;
  align-items: center;
  grid-template-columns: 1fr 1fr;
}

.image-grid.col-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.image-grid-item {
  width: 100%;
  margin-bottom: 15px;
}

.image-grid-item img {
  width: 100%;
}

/* Image Stack (Quienes somos, Reseña) */
.image-stack {
  gap: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.history-stack {
  display: block;
  column-count: 2;
}

.image-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}


/* Mission & Vision Grid */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.mv-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.mv-card h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--accent-yellow);
  font-weight: 800;
}

.mv-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.values-card-container {
  max-width: 600px;
  margin: 0 auto;
}

.values-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
  margin-top: 15px;
}

.values-list li {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
}

/* Offerings Grid */
.offerings-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.offering-box {
  background: var(--card-bg);
  border: 2px solid var(--accent-yellow);
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
  text-transform: uppercase;
}

.offering-box:hover {
  transform: translateY(-5px);
  background: rgba(212, 230, 0, 0.1);
}

.offering-box a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  display: block;
}

.integration-banner,
.csa-banner {
  background: var(--accent-yellow);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  margin-top: 30px;
  box-shadow: 0 6px 20px rgba(212, 230, 0, 0.2);
  text-transform: uppercase;
}

.integration-banner a,
.csa-banner a {
  color: #000;
  text-decoration: none;
  font-weight: 900;
  font-size: 18px;
  display: block;
  letter-spacing: 0.5px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 30px;
  margin: 25px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 5px;
  bottom: 5px;
  width: 4px;
  background-color: var(--accent-yellow);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 4px;
  width: 14px;
  height: 14px;
  background-color: var(--accent-yellow);
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
}

.timeline-content {
  font-size: 15px;
  color: var(--text-muted);
}

.timeline-content strong {
  color: var(--text-white);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.contact-form-card .contact-logo {
  width: 100%;
}

.contact-info-card,
.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 30px;
  border-radius: 12px;
}

.contact-info-card h3,
.contact-form-card h3 {
  color: var(--accent-yellow);
  margin-bottom: 20px;
  font-size: 20px;
}

.contact-info-card p {
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: 17px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--text-white);
  font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-yellow);
}

.submit-btn {
  background-color: var(--accent-yellow);
  color: #000;
  border: none;
  padding: 12px 25px;
  font-weight: 800;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s;
}

.submit-btn:hover {
  background-color: var(--accent-yellow-hover);
}

.content-section {
  margin-bottom: 80px;
}

/* Service Block with Slider */
.service-block-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.service-text-content.full-width-content {
  grid-column: span 2;
}

.service-slider-container {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.service-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #16261c 0%, #0a180f 100%);
  font-size: 15px;
  color: #8fa896;
}

.service-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Accordion */
.accordion-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.accordion-header {
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s;
  text-transform: uppercase;
}

.accordion-header:hover {
  background: rgba(212, 230, 0, 0.1);
  color: var(--accent-yellow);
}

.accordion-header img {
  max-width: 50px;
  margin-top: -2px;
  margin-bottom: -9px;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 15px;
  background: rgba(0, 0, 0, 0.2);
}

.accordion-content img {
  max-width: 150px;
}

.accordion-content p {
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 0 15px;
}

.bullet-list {
  list-style: none;
  margin-top: 15px;
}

.bullet-list li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

/* Quality & Safety Metrics (CSA page) */
.sgt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.sgt-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}

.sgt-box h3 {
  font-size: 18px;
  color: var(--text-white);
  margin-bottom: 10px;
}

.sgt-box p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 15px;
}

.sgt-badge {
  display: inline-block;
  background: #004d26;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid var(--accent-yellow);
}

.center-note {
  text-align: center;
  max-width: 800px;
  margin: 20px auto;
}

.policy-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.policy-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.signature-right {
  text-align: right;
  font-weight: 700;
  color: var(--accent-yellow) !important;
}

.metric-category {
  margin-top: 30px;
}

.metric-category h3 {
  font-size: 16px;
  color: var(--accent-yellow);
  margin-bottom: 20px;
  font-weight: 800;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.metric-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}

.metric-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 15px;
}

.metric-circle {
  width: 120px;
  height: 120px;
  border: 4px solid var(--accent-yellow);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: rgba(0, 0, 0, 0.3);
}

.metric-circle span {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-white);
}

.metric-circle small {
  font-size: 10px;
  color: var(--text-muted);
}

.metric-circle.orange {
  border-color: #ff9800;
}

.metric-circle.green {
  border-color: #4caf50;
}

.metric-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.chart-card {
  grid-column: span 2;
}

.chart-placeholder {
  height: 100%;
  margin-top: 10px;
}

.chart-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Icons Grid 4 */
.icons-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.icon-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 25px 20px;
  border-radius: 10px;
  text-align: center;
}

.icon-symbol {
  font-size: 32px;
  margin-bottom: 15px;
}

.icon-box h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
}

.icon-box p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background-color: var(--bg-darker);
  border-top: 1px solid rgba(212, 230, 0, 0.2);
  padding: 20px 0;
  text-align: center;
  margin-top: auto;
}

.site-footer p {
  font-size: 13px;
  color: var(--text-muted);
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-50 {
  margin-top: 50px;
}

/* Masonry Grid para Reseña Histórica */
.history-masonry-grid {
  column-count: 2;
  column-gap: 15px;
}

.history-masonry-item {
  break-inside: avoid;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.history-masonry-item .image-placeholder {
  border-radius: 8px;
  border: none;
}

/* Responsive Media Queries */
@media (max-width: 900px) {

  .layout-two-columns,
  .mission-vision-grid,
  .offerings-links-grid,
  .contact-grid,
  .service-block-wrapper,
  .sgt-grid {
    grid-template-columns: 1fr;
  }

  .service-text-content.full-width-content {
    grid-column: span 1;
  }

  .chart-card {
    grid-column: span 1;
  }

  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 5px;
  }

  .main-nav ul.show {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    right: 30px;
    top: 50px;
  }

  .lang-switcher {
    top: 10px;
    right: 15px;
  }

  .company-title h1 {
    display: none;
  }

  .image-grid.col-3 {
    grid-template-columns: 1fr;
  }
}