/**
 * OYROPA Synchronized Header & Footer Styles
 * Version: 1.0 (23.10.2025)
 * 100% Link-Synchronisation zwischen Header und Footer
 */

/* ========== HEADER STYLES ========== */

/* Header Top Bar */
.oyropa-header-synced {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-top {
  background: #F7FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 8px 0;
  font-size: 14px;
}

.header-top-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-contact-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1A365D;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.contact-link:hover {
  color: #D69E2E;
}

.contact-link svg {
  flex-shrink: 0;
}

/* Click-to-Copy Tooltip */
.copy-tooltip {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #10B981;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.copy-tooltip.show {
  opacity: 1;
}

.copy-tooltip::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #10B981;
}

.header-legal-links {
  display: flex;
  gap: 20px;
}

.header-legal-links a {
  color: #1A365D;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.header-legal-links a:hover {
  color: #D69E2E;
}

/* Header Main */
.header-main {
  background: #1A365D;
  padding: 15px 0;
}

.header-main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.header-logo {
  font-size: 28px;
  font-weight: 700;
  color: #D69E2E;
  text-decoration: none;
  letter-spacing: 1px;
}

.header-logo:hover {
  color: #fff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #D69E2E;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover span {
  background: #fff;
}

/* Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  flex: 1;
}

.nav-item {
  position: relative;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.nav-btn:hover {
  background: rgba(214, 158, 46, 0.2);
  color: #D69E2E;
}

/* Dropdown */
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-icon {
  transition: transform 0.3s ease;
}

.dropdown.active .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: #1A365D;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: rgba(214, 158, 46, 0.1);
  color: #D69E2E;
  padding-left: 24px;
}

/* Header Share Buttons */
.header-share-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.share-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-btn:hover {
  background: #D69E2E;
  border-color: #D69E2E;
  transform: translateY(-2px);
}

.share-btn svg {
  fill: #fff;
}

/* ========== FOOTER STYLES ========== */

.oyropa-footer-synced {
  background: #1A365D;
  color: #E2E8F0;
  padding: 60px 0 0;
  margin-top: 80px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: #D69E2E;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-column h5 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 500;
}

.footer-column p {
  color: #CBD5E0;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #E2E8F0;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #D69E2E;
  padding-left: 5px;
}

/* Footer Share Buttons */
.footer-share-section {
  margin-top: 25px;
}

.footer-share-buttons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer-share-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-share-btn:hover {
  background: #D69E2E;
  border-color: #D69E2E;
  transform: translateY(-2px);
}

.footer-share-btn svg {
  fill: #fff;
}

/* Footer Contact Info */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #E2E8F0;
  font-size: 14px;
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item a {
  color: #E2E8F0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #D69E2E;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: #CBD5E0;
  font-size: 14px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: #E2E8F0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: #D69E2E;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Header Top - Mobile */
  .header-top-container {
    padding: 0 20px;
    flex-direction: column;
    gap: 10px;
  }

  .header-contact-links {
    gap: 15px;
  }

  .contact-link span {
    display: none;
  }

  .header-legal-links {
    display: none;
  }

  /* Header Main - Mobile */
  .header-main-container {
    padding: 0 20px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-nav {
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #1A365D;
    padding: 20px;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .header-nav.active {
    max-height: 500px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 15px 20px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 8px;
    transform: none;
  }

  .dropdown.active .dropdown-menu {
    transform: none;
  }

  .header-share-buttons {
    gap: 10px;
  }

  .share-btn {
    width: 32px;
    height: 32px;
  }

  .share-btn svg {
    width: 16px;
    height: 16px;
  }

  /* Footer - Mobile */
  .footer-container {
    padding: 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header-share-buttons {
    gap: 8px;
  }

  .share-btn,
  .footer-share-btn {
    width: 30px;
    height: 30px;
  }

  .share-btn svg,
  .footer-share-btn svg {
    width: 14px;
    height: 14px;
  }
}

/* ========== HERO SECTION OVERRIDE (WEISSE TEXTE) ========== */

/* Hero Überschrift "Willkommen bei OYROPA" in weiß */
.hero h1,
.hero-content h1 {
  color: #FFFFFF !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero Untertitel in weiß */
.hero .subtitle,
.hero-content .subtitle {
  color: #FFFFFF !important;
  opacity: 0.95;
}

/* Hero Beschreibung in weiß */
.hero .description,
.hero-content .description,
.hero p {
  color: #FFFFFF !important;
  opacity: 0.9;
}
