/* Simple Tanzboden CSS - Original HTML + Improved Headers + Professional Footer */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

/* Reset and Base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

/* Header Styles */
.static-header {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(90, 60, 219, 0.1);
  z-index: 1000;
  padding: 15px 0;
}

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(90, 60, 219, 0.2);
  z-index: 1001;
  padding: 10px 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.sticky-header.visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 60px;
  width: auto;
}

.header-logo-small {
  height: 45px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #5a3cdb;
}

.nav-btn {
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 25px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.app-btn {
  background: linear-gradient(135deg, #5a3cdb, #7c5ce6);
  color: white;
}

.app-btn:hover {
  background: linear-gradient(135deg, #4a2cb8, #6b4bc3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(90, 60, 219, 0.3);
}

.shop-btn {
  background: transparent;
  color: #5a3cdb;
  border: 2px solid #5a3cdb;
}

.shop-btn:hover {
  background: #5a3cdb;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(90, 60, 219, 0.3);
}

/* Original Content Container */
.original-content {
  /* Add top margin to account for static header */
  margin-top: 20px;
}

/* Professional Footer */
.professional-footer {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h3 {
  color: #5a3cdb;
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-section h4 {
  color: #ecf0f1;
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-section p {
  color: #bdc3c7;
  line-height: 1.6;
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-link,
.footer-link {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 8px;
}

.social-link:hover,
.footer-link:hover {
  color: #5a3cdb;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #95a5a6;
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive Design - iPhone X and mobile optimization */
/* iPhone X and similar devices: 375px CSS width */
@media (max-width: 414px) {
  .header-container {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;
  }

  .header-nav {
    gap: 6px !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    flex-shrink: 0 !important;
  }

  .nav-btn {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    min-height: 32px !important;
    white-space: nowrap !important;
  }

  .nav-link {
    font-size: 0.75rem !important;
  }

  .header-logo {
    height: 28px !important;
    flex-shrink: 0 !important;
  }

  .header-logo-small {
    height: 28px !important;
  }

  .static-header {
    padding: 12px 0 !important;
  }

  .sticky-header {
    padding: 8px 0 !important;
  }

  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    text-align: center !important;
    padding: 15px 10px !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  /* Footer iPhone X specific fixes */
  footer {
    padding: 25px 15px 20px !important;
  }

  footer > div {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    text-align: center !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  footer h3 {
    font-size: 1.1rem !important;
    margin-bottom: 15px !important;
  }

  footer a, footer div {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }

  .social-links {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }

  /* Main content mobile centering */
  main {
    padding: 40px 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  main > div {
    margin: 0 auto !important;
    max-width: 100% !important;
    text-align: center !important;
  }
}

@media (min-width: 415px) and (max-width: 768px) {
  .header-container {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 15px !important;
  }

  .header-nav {
    gap: 8px !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
  }

  .nav-btn {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
  }

  .nav-link {
    font-size: 0.8rem !important;
  }

  .header-logo {
    height: 32px !important;
  }

  .header-logo-small {
    height: 32px !important;
  }

  .static-header {
    padding: 15px 0;
  }

  .sticky-header {
    padding: 12px 0;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    text-align: center;
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  .social-links {
    flex-direction: row;
    justify-content: center;
    gap: 18px;
  }

  /* Main content tablet centering */
  main {
    padding: 50px 20px !important;
  }

  main > div {
    margin: 0 auto !important;
    text-align: center !important;
  }
}

@media (max-width: 374px) {
  .header-container {
    padding: 6px 8px !important;
  }

  .nav-btn {
    padding: 5px 10px !important;
    font-size: 0.7rem !important;
    min-height: 30px !important;
  }

  .nav-link {
    font-size: 0.7rem !important;
  }

  .header-logo {
    height: 26px !important;
  }

  .header-logo-small {
    height: 26px !important;
  }
}
