/* ============================================
   Helal Et GmbH - Custom Styles
   ============================================ */

:root {
  --primary-red: #ff0000;
  --dark-gray: #2c3e50;
  --light-gray: #ecf0f1;
  --accent-gold: #f39c12;
  --text-dark: #34495e;
  --white: #ffffff;
}

/* ============================================
   Global Styles
   ============================================ */

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.container-fluid {
  padding-top: 80px;
  padding-bottom: 40px;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: linear-gradient(
    135deg,
    var(--dark-gray) 0%,
    #1a252f 100%
  ) !important;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  color: var(--white) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem !important;
}

.nav-link:hover {
  color: var(--primary-red) !important;
  transform: translateY(-2px);
}

.nav-link.active {
  color: var(--primary-red) !important;
  font-weight: 700;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background-color: var(--primary-red);
  border-radius: 2px;
}

.nav-link img {
  margin-right: 5px;
  vertical-align: middle;
}

/* ============================================
   Hero Section (Startseite)
   ============================================ */

.hero-section {
  background: linear-gradient(135deg, #4d0000 0%, #1a1a1a 100%);
  color: var(--white);
  padding: 80px 0;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.03) 10px,
    rgba(255, 255, 255, 0.03) 20px
  );
}

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

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-motto {
  font-size: 1.4rem;
  font-weight: 600;
  padding: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  display: inline-block;
  margin-top: 20px;
}

/* ============================================
   Content Cards
   ============================================ */

.content-section {
  padding: 40px 0;
}

.content-card {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary-red);
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(196, 30, 58, 0.2);
}

.content-card h3 {
  color: var(--primary-red);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.content-card p {
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 0;
}

.content-card strong {
  color: var(--dark-gray);
}

/* ============================================
   Welcome Section
   ============================================ */

.welcome-section {
  background: var(--light-gray);
  padding: 50px;
  border-radius: 15px;
  margin-bottom: 50px;
  text-align: center;
}

.welcome-section h2 {
  color: var(--primary-red);
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 2rem;
}

.welcome-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

/* ============================================
   Call-to-Action Button
   ============================================ */

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-gold);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
  margin-top: 20px;
}

.cta-button:hover {
  background: #e67e22;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.cta-button i {
  margin-left: 8px;
}

/* ============================================
   Footer
   ============================================ */

footer {
  background: linear-gradient(
    135deg,
    var(--dark-gray) 0%,
    #1a252f 100%
  ) !important;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px 50px;
  color: var(--white);
}

.footer-section h4 {
  color: var(--primary-red);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  line-height: 1.8;
}

.footer-section a:hover {
  color: var(--primary-red);
}

.footer-contact-item {
  margin-bottom: 10px;
}

.footer-contact-item i {
  color: var(--primary-red);
  margin-right: 10px;
  width: 20px;
}

.footer-copyright {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   Page-specific styles
   ============================================ */

.page-header {
  background: var(--light-gray);
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 40px;
  border-left: 5px solid var(--primary-red);
}

.page-header h1 {
  color: var(--primary-red);
  font-weight: 700;
  margin-bottom: 0;
}

.content-box {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-motto {
    font-size: 1.1rem;
    padding: 15px;
  }

  .content-card {
    padding: 20px;
  }

  .welcome-section {
    padding: 30px 20px;
  }

  .footer-content {
    padding: 30px 20px;
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Utility Classes
   ============================================ */

.text-primary-red {
  color: var(--primary-red);
}

.bg-light-gray {
  background-color: var(--light-gray);
}

.mt-large {
  margin-top: 60px;
}

.mb-large {
  margin-bottom: 60px;
}

/* ============================================
   Bild-Text-Sektionen (Alternierend)
   ============================================ */

.image-text-section {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
  padding: 40px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.image-text-section:hover {
  box-shadow: 0 10px 40px rgba(196, 30, 58, 0.15);
  transform: translateY(-5px);
}

.image-text-section.reverse {
  flex-direction: row-reverse;
}

.image-text-section .image-wrapper {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.image-text-section .image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  transition: transform 0.5s ease;
}

.image-text-section:hover .image-wrapper img {
  transform: scale(1.05);
}

.image-text-section .text-wrapper {
  flex: 1;
}

.image-text-section .text-wrapper h3 {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.image-text-section .text-wrapper p {
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Logo-Hero spezifisch */
.hero-section.with-logo {
  padding: 60px 0;
  background: linear-gradient(135deg, #8B0000 0%, #4d0000 100%);
}

.hero-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.hero-logo-container .logo-side {
  flex: 0 0 300px;
}

.hero-logo-container .logo-side img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.hero-logo-container .text-side {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.hero-logo-container .text-side h2 {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-logo-container .text-side p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Responsive für Bild-Text-Sektionen */
@media (max-width: 992px) {
  .image-text-section,
  .image-text-section.reverse {
    flex-direction: column;
    gap: 30px;
  }

  .image-text-section .image-wrapper {
    flex: 0 0 100%;
  }
}

@media (max-width: 768px) {
  .image-text-section {
    padding: 25px;
    margin-bottom: 50px;
  }

  .image-text-section .text-wrapper h3 {
    font-size: 1.4rem;
  }

  .hero-logo-container {
    gap: 30px;
  }
}

/* ============================================
   Kontaktformular
   ============================================ */

.form-control {
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(196, 30, 58, 0.15);
  outline: none;
}

.form-label {
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 8px;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-dark);
}

/* ============================================
   Alert-Meldungen
   ============================================ */

.alert {
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 20px;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-success i {
  color: #28a745;
  margin-right: 10px;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.alert-danger i {
  color: #dc3545;
  margin-right: 10px;
}

.btn-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  opacity: 0.5;
  cursor: pointer;
}

.btn-close:hover {
  opacity: 0.75;
}

/* ============================================
   Produkt-Karten (Sortiment)
   ============================================ */

.produkt-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.produkt-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(196,30,58,0.2);
    border-color: var(--primary-red);
}

.produkt-card.produkt-placeholder {
    background: var(--light-gray);
    border-style: dashed;
}

.produkt-icon {
    font-size: 4rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.produkt-card h3 {
    color: var(--dark-gray);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.produkt-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-produkt {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-produkt:hover {
    background: #a01628;
    color: var(--white);
    transform: translateX(5px);
}

.btn-produkt i {
    margin-left: 8px;
}

/* ============================================
   Über uns - Sections
   ============================================ */

.ueber-uns-section {
    margin-bottom: 60px;
}

.ueber-uns-section h2 {
    color: var(--dark-gray);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 2rem;
}

.ueber-uns-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Bild-Platzhalter */
.image-placeholder {
    background: var(--light-gray);
    border: 3px dashed #BDC3C7;
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-placeholder i {
    font-size: 4rem;
    color: #95A5A6;
    margin-bottom: 15px;
}

.image-placeholder p {
    color: #7F8C8D;
    font-style: italic;
    margin: 0;
}

/* Werte-Items */
.werte-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.werte-item:hover {
    background: var(--light-gray);
    transform: translateX(5px);
}

.werte-item i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.werte-item p {
    margin: 0;
    line-height: 1.6;
}

/* Team-Karten */
.team-card {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(196,30,58,0.15);
}

.team-image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--light-gray);
    border: 3px dashed #BDC3C7;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.team-image-placeholder i {
    font-size: 4rem;
    color: #95A5A6;
}

.team-card h4 {
    color: var(--dark-gray);
    font-weight: 700;
    margin-bottom: 5px;
}

.team-card p {
    color: var(--primary-red);
    font-weight: 600;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .produkt-card {
        margin-bottom: 20px;
    }
    
    .ueber-uns-section .row {
        flex-direction: column !important;
    }
    
    .ueber-uns-section .col-md-6 {
        order: 0 !important;
        margin-bottom: 30px;
    }
    
    .image-placeholder {
        min-height: 200px;
        padding: 40px 15px;
    }
}