/**
 * Foundation Components Styles
 * Centralized CSS for all Foundation NG components
 * Generated: January 12, 2026
 */

/* ============================================================
   ACCORDION
   ============================================================ */
eon-ui-accordion {
  display: block;
  width: 100%;
}

/* ============================================================
   BASIC TEASER
   ============================================================ */
eon-ui-basic-teaser {
  display: block;
  width: 100%;
}

[data-component='BasicTeaser'] .teaser-content {
  padding: 1rem;
}

[data-component='BasicTeaser'] .teaser-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

[data-component='BasicTeaser'] .teaser-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

[data-component='BasicTeaser'] .teaser-description {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ============================================================
   BULLET LIST
   ============================================================ */
eon-ui-list {
  display: block;
  width: 100%;
}

/* ============================================================
   CARD TEASER
   ============================================================ */
eon-ui-card-teaser {
  display: block;
  width: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

eon-ui-card-teaser:hover {
  transform: translateY(-4px);
}

[data-component='CardTeaser'] .card-content {
  padding: 1.5rem;
}

[data-component='CardTeaser'] .card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

[data-component='CardTeaser'] .card-description {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   CAROUSEL
   ============================================================ */
eon-ui-carousel {
  display: block;
  width: 100%;
}

[data-component='Carousel'] .carousel-slide {
  position: relative;
  width: 100%;
}

[data-component='Carousel'] .carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

[data-component='Carousel'] .carousel-content {
  padding: 1rem;
}

[data-component='Carousel'] .carousel-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

[data-component='Carousel'] .carousel-description {
  margin-bottom: 1rem;
}

[data-component='Carousel'] .carousel-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

/* ============================================================
   FOOTER BAR
   ============================================================ */
eon-ui-footer-bar {
  display: block;
  width: 100%;
}

[data-component='FooterBar'] .footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

[data-component='FooterBar'] .footer-logo img {
  height: 40px;
  width: auto;
}

[data-component='FooterBar'] .footer-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

[data-component='FooterBar'] .section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

[data-component='FooterBar'] .section-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

[data-component='FooterBar'] .section-links li {
  margin-bottom: 0.5rem;
}

[data-component='FooterBar'] .section-links a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

[data-component='FooterBar'] .section-links a:hover {
  opacity: 0.7;
}

[data-component='FooterBar'] .footer-social {
  display: flex;
  justify-content: flex-end;
}

[data-component='FooterBar'] .social-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

[data-component='FooterBar'] .footer-copyright {
  padding: 1rem 2rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

[data-component='FooterBar'] .footer-copyright p {
  margin: 0;
}

@media (max-width: 768px) {
  [data-component='FooterBar'] .footer-content {
    grid-template-columns: 1fr;
  }

  [data-component='FooterBar'] .footer-social {
    justify-content: center;
  }
}

/* ============================================================
   FORM COMPONENTS
   ============================================================ */
[data-component^='Form'] .form-field {
  margin-bottom: 1.5rem;
}

[data-component^='Form'] .form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

[data-component^='Form'] .required-indicator {
  color: var(--color-error);
}

[data-component^='Form'] .error-message {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-error);
  font-size: 0.875rem;
}

[data-component^='Form'] .error-message:empty {
  display: none;
}

[data-component^='Form'] .help-text {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* Form Dropdown */
[data-component='FormDropdown'] eon-ui-dropdown {
  width: 100%;
}

/* Form File Upload */
[data-component='FormFileUpload'] eon-ui-file-upload {
  width: 100%;
}

/* Form Text */
[data-component='FormText'] eon-ui-input {
  width: 100%;
}

/* Form Textarea */
[data-component='FormTextarea'] .form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}

[data-component='FormTextarea'] .form-textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

[data-component='FormTextarea'] .form-textarea[aria-invalid='true'] {
  border-color: var(--color-error);
}

[data-component='FormTextarea'] .character-count {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  text-align: right;
}

/* ============================================================
   HEADLINE
   ============================================================ */
eon-ui-headline {
  display: block;
  width: 100%;
}

/* ============================================================
   HEADLINE BRAND
   ============================================================ */
eon-ui-headline-brand {
  display: block;
  width: 100%;
}

/* ============================================================
   HIGHLIGHT BANNER
   ============================================================ */
eon-ui-highlight-banner {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
}

[data-component='HighlightBanner'] .banner-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

[data-component='HighlightBanner'] .banner-title {
  font-weight: 600;
}

[data-component='HighlightBanner'] .banner-text {
  line-height: 1.5;
}

/* ============================================================
   MODAL
   ============================================================ */
[data-component='Modal'] .modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

[data-component='Modal'] .modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

[data-component='Modal'] .modal-body {
  padding: 1.5rem;
}

[data-component='Modal'] .modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
eon-ui-navigation {
  display: block;
  width: 100%;
}

[data-component='Navigation'] .toolbar,
[data-component='Navigation'] .main-nav,
[data-component='Navigation'] .meta-nav {
  display: flex;
  align-items: center;
}

[data-component='Navigation'] .toolbar-menu,
[data-component='Navigation'] .main-menu,
[data-component='Navigation'] .meta-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

[data-component='Navigation'] .logo img {
  height: 40px;
  width: auto;
}

[data-component='Navigation'] .submenu {
  display: none;
  position: absolute;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

[data-component='Navigation'] .main-menu li:hover .submenu {
  display: block;
}

[data-component='Navigation'] .active > a {
  font-weight: 600;
}

/* ============================================================
   QUOTE
   ============================================================ */
[data-component='Quote'] .quote-text {
  font-size: 1.25rem;
  font-style: italic;
  margin: 0 0 1rem;
  line-height: 1.6;
}

[data-component='Quote'] .quote-attribution {
  display: flex;
  align-items: center;
  gap: 1rem;
}

[data-component='Quote'] .author-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

[data-component='Quote'] .author-info {
  display: flex;
  flex-direction: column;
}

[data-component='Quote'] .author-name {
  font-weight: 600;
  font-style: normal;
}

[data-component='Quote'] .author-title,
[data-component='Quote'] .quote-source {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* ============================================================
   SPACER
   ============================================================ */
eon-ui-spacer {
  display: block;
}

eon-ui-spacer[direction='vertical'] {
  height: var(--spacer-size);
}

eon-ui-spacer[direction='horizontal'] {
  width: var(--spacer-size);
  display: inline-block;
}

/* ============================================================
   SPECIFICATION LIST
   ============================================================ */
eon-ui-specification-list {
  display: block;
  width: 100%;
}

[data-component='SpecificationList'] .spec-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

[data-component='SpecificationList'] .spec-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

[data-component='SpecificationList'] .spec-label {
  font-weight: 600;
  margin: 0;
}

[data-component='SpecificationList'] .spec-value {
  margin: 0;
  color: var(--color-text-secondary);
}

/* ============================================================
   STAGE / HERO
   ============================================================ */
eon-ui-stage {
  display: block;
  width: 100%;
  position: relative;
}

[data-component='Stage'] .stage-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

[data-component='Stage'] .stage-subtitle {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

[data-component='Stage'] .stage-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

[data-component='Stage'] .stage-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

[data-component='Stage'] .stage-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  [data-component='Stage'] .stage-title {
    font-size: 2rem;
  }

  [data-component='Stage'] .stage-description {
    font-size: 1rem;
  }

  [data-component='Stage'] .stage-actions {
    flex-direction: column;
  }
}

/* ============================================================
   TABLE
   ============================================================ */
eon-ui-data-table {
  display: block;
  width: 100%;
  overflow-x: auto;
}

[data-component='Table'] table {
  width: 100%;
  border-collapse: collapse;
}

[data-component='Table'] caption {
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  caption-side: top;
}

[data-component='Table'] th,
[data-component='Table'] td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

[data-component='Table'] th {
  font-weight: 600;
  background-color: var(--color-bg-secondary);
}

eon-ui-data-table[striped] tbody tr:nth-child(even) {
  background-color: var(--color-bg-secondary);
}

eon-ui-data-table[bordered] table,
eon-ui-data-table[bordered] th,
eon-ui-data-table[bordered] td {
  border: 1px solid var(--color-border);
}

eon-ui-data-table[hoverable] tbody tr:hover {
  background-color: var(--color-hover);
  cursor: pointer;
}

/* ============================================================
   TABS
   ============================================================ */
eon-ui-tabs {
  display: block;
  width: 100%;
}

[data-component='Tabs'] .tabs-navigation {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1rem;
}

/* ============================================================
   TEXT TEASER
   ============================================================ */
eon-ui-text-teaser {
  display: block;
  width: 100%;
}

[data-component='TextTeaser'] .teaser-content {
  padding: 2rem;
}

[data-component='TextTeaser'] .teaser-subheadline {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

[data-component='TextTeaser'] .teaser-headline {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

[data-component='TextTeaser'] .teaser-description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

eon-ui-text-teaser[alignment='center'] [data-component='TextTeaser'] .teaser-content {
  text-align: center;
}

eon-ui-text-teaser[alignment='right'] [data-component='TextTeaser'] .teaser-content {
  text-align: right;
}

/* ============================================================
   TILES TEASER
   ============================================================ */
eon-ui-tiles-teaser {
  display: grid;
  width: 100%;
}

[data-component='TilesTeaser'] .tile-item {
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-bg-secondary);
  transition: transform 0.3s ease;
}

[data-component='TilesTeaser'] .tile-item:hover {
  transform: translateY(-4px);
}

[data-component='TilesTeaser'] .tile-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

[data-component='TilesTeaser'] .tile-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

[data-component='TilesTeaser'] .tile-content {
  padding: 1rem;
}

[data-component='TilesTeaser'] .tile-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

[data-component='TilesTeaser'] .tile-description {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ============================================================
   TOOLTIP
   ============================================================ */
[data-component='Tooltip'] .tooltip-content {
  padding: 0.5rem;
  max-width: 300px;
}

/* ============================================================
   VIDEO PLAYER
   ============================================================ */
eon-ui-videoplayer {
  display: block;
  width: 100%;
  max-width: 100%;
}

/* ============================================================
   WEBSITE NAVIGATION
   ============================================================ */
eon-ui-website-navigation {
  display: block;
  width: 100%;
}

[data-component='WebsiteNavigation'] .website-nav {
  width: 100%;
}

[data-component='WebsiteNavigation'] .nav-list,
[data-component='WebsiteNavigation'] .nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

[data-component='WebsiteNavigation'] .nav-list {
  display: flex;
  gap: 1rem;
}

[data-component='WebsiteNavigation'] .nav-item {
  position: relative;
}

[data-component='WebsiteNavigation'] .nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: background-color 0.2s;
}

[data-component='WebsiteNavigation'] .nav-link:hover {
  background-color: var(--color-hover);
}

[data-component='WebsiteNavigation'] .active > .nav-link {
  font-weight: 600;
  color: var(--color-primary);
}

[data-component='WebsiteNavigation'] .nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  min-width: 200px;
}

[data-component='WebsiteNavigation'] .nav-item:hover .nav-submenu {
  display: block;
}

/* Vertical orientation */
eon-ui-website-navigation[orientation='vertical'] [data-component='WebsiteNavigation'] .nav-list {
  flex-direction: column;
}

eon-ui-website-navigation[orientation='vertical']
  [data-component='WebsiteNavigation']
  .nav-submenu {
  position: static;
  margin-left: 1rem;
}
