/* ============================================
   TABS SECTION - NetApp Storage LP
   ============================================ */

.tabs-section {
  background-image: url("../images/tabs-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  height: 95vh;
  padding: var(--spacing) 0;
  position: relative;
  overflow: hidden;
}

.tabs-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.tabs-section .container {
  position: relative;
  z-index: 1;
}

/* Background image for each tab panel */
.tabs-content {
  position: relative;
  min-height: 400px;
}

.tabs-panel {
  position: relative;
}

.tabs-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  max-width: 800px;
  height: 400px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 60em) {
  .tabs-panel::before {
    display: none;
  }

  .tabs-panel__cta {
    display: none !important;
  }
}

/* Tab 1: Simples */
#tab-simples::before,
#tab-sencillo::before {
  background-image: url("../images/tab-simples.png");
}

/* Tab 2: Flexível */
#tab-flexivel::before,
#tab-flexible::before {
  background-image: url("../images/tab-flexivel.png");
}

/* Tab 3: Escalável */
#tab-escalavel::before,
#tab-escalable::before {
  background-image: url("../images/tab-escalavel.png");
}

/* Tab 4: Seguro */
#tab-seguro::before {
  background-image: url("../images/tab-seguro.png");
}

/* Tab 5: IA */
#tab-ia::before {
  background-image: url("../images/tab-ia.png");
}

.tabs-section__header {
  text-align: left;
  margin-bottom: 2rem;
}

.tabs-section__title {
  font-family: var(--font-gotham-bold);
  font-size: 2.25rem;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.tabs-section__intro {
  font-family: var(--font-gotham-book);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
  max-width: 50rem;
  margin: 0;
  text-align: left;
}

.tabs-section__intro p + p {
  margin-top: 1rem;
}

/* Tabs Navigation */
.tabs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin: 2.5rem 0;
  position: relative;
  padding-bottom: 0.5rem;
}

.tabs-nav__item {
  font-family: var(--font-gotham-bold);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.tabs-nav__item:hover {
  color: var(--clr-accent);
}

.tabs-nav__item.active {
  color: var(--clr-accent);
}

.tabs-nav__item.active::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--clr-accent);
}

/* Tabs Content */
.tabs-content {
  margin-top: 3rem;
}

.tabs-panel {
  display: none;
}

.tabs-panel.active {
  display: block;
}

.tabs-panel__wrapper {
  position: relative;
  z-index: 1;
  display: block;
}

.tabs-panel__content {
  max-width: 50%;
}

@media (max-width: 60em) {
  .tabs-section {
    height: 100vh;
  }

  .tabs-panel__content {
    max-width: 100%;
  }

  .tabs-panel__cta {
    display: none !important;
  }
}

.tabs-panel__title {
  font-family: var(--font-gotham-bold);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 1rem;
}

.tabs-panel__description {
  font-family: var(--font-gotham-book);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 2rem;
}

/* Image removed from HTML structure - now using background-image */
.tabs-panel__image {
  display: none;
}

.tabs-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-gotham-bold);
  font-size: 1.125rem;
  line-height: 1;
  color: var(--white);
  background-color: var(--clr-accent);
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.tabs-panel__cta:hover {
  background-color: var(--clr-fallback);
}

.tabs-panel__cta-icon {
  width: 1.5rem;
  height: 1.25rem;
  stroke: var(--white);
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 45em) {
  .tabs-section__title {
    font-size: 1.75rem;
  }

  .tabs-nav {
    gap: 1.5rem;
    font-size: 0.875rem;
  }

  .tabs-panel__wrapper {
    gap: 1.5rem;
  }
}

