/* =================================================== */
/* 📌 IMPORT-BEREICH FÜR EXTERNE CSS-DATEIEN          */
/* =================================================== */

@import url('hero.css');
@import url('services.css');
@import url('products.css');
@import url('about.css');
@import url('contact.css');
@import url('footer.css');
@import url('modal.css');
@import url('responsive.css');
@import url('floating-button.css');
@import url('impressum.css');
@import url('footer-extras.css');
@import url('book-bottom.css');
@import url('admin.css');

/* =================================================== */
/* 📌 ALLGEMEINE BASIS-STILE FÜR DIE GESAMTE WEBSITE   */
/* =================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f2f2f2;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* =================================================== */
/* 📌 BUTTON-STILE                                     */
/* =================================================== */
.btn {
  display: inline-block;
  background: #333;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s;
}

.btn:hover {
  background: #555;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btnn {
  display: inline-block;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #fff;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease-in-out;
}

.btnn:hover {
  background: linear-gradient(135deg, #2a5298, #1e3c72);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* =================================================== */
/* 📌 SEKTIONS-TITEL                                   */
/* =================================================== */
.section-title {
  text-align: center;
  margin: 50px 0 30px;
  font-size: 36px;
  color: #000;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #333;
  border-radius: 2px;
}



/* ========================================== */
/* ✨ OPTIMIERTER HEADER MIT SLIDE-IN MENU ✨ */
/* ========================================== */

header {
  background-color: #000;
  color: white;
  position: sticky;
  top: 0;
  z-index: 3000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 12px 20px;
  position: relative;
}

/* Menü-Icon (links) */
.menu-toggle {
  position: absolute;         /* fixierte Position im Header */
  left: -100px;                 /* Abstand vom linken Rand */
  top: 50%;                   /* vertikal zentriert */
  transform: translateY(-50%); /* perfekt mittig */
  font-size: 24px;
  color: white;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s ease;
  z-index: 3500;              /* über allem */
}

.menu-toggle:hover {
  color: #ff0050;
  transform: translateY(-50%) scale(1.1); /* Hover + mittig beibehalten */
}


/* Logo (links) */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: bold;
  justify-self: start;
  margin-left: 10px;
}
.logo i {
  color: #aaa;
}

/* Titel (zentriert, nur Desktop) */
.center-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.center-title a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.center-title a:hover {
  color: #bbb;
}

/* Login (rechts) */
.login-icon {
  justify-self: end;
}
.login-icon a {
  color: #fff;
  font-size: 22px;
  transition: color 0.3s ease;
}
.login-icon a:hover {
  color: #aaa;
}

/* ========================================== */
/* 📱 SLIDE-IN MENÜ VON LINKS */
/* ========================================== */

#mainNav {
  position: fixed;
  top: 0;
  left: -400px;             /* 🚀 Start außerhalb des Bildschirms */
  width: 280px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.97);
  border-right: 2px solid #ff0050;
  transition: left 0.35s ease;
  z-index: 2500;
  padding-top: 80px;
}

/* Aktivierter Zustand */
#mainNav.active {
  left: 0;
}

/* Menü-Inhalt */
#mainNav ul {
  list-style: none;
  margin: 0;
  padding: 0 25px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#mainNav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s;
}
#mainNav ul li a:hover {
  color: #ff0050;
}

/* ========================================== */
/* 🔲 Overlay-Hintergrund beim geöffneten Menü */
/* ========================================== */

#menuOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 2000;
}
#menuOverlay.active {
  opacity: 1;
  visibility: visible;
}

/* ========================================== */
/* 💻 DESKTOP STYLES */
/* ========================================== */
@media (min-width: 901px) {
  .center-title {
    display: block;
  }

  #mainNav {
    width: 320px;
  }
}





/* =================================================== */
/* 📌 SCROLL OFFSET FÜR ANKER                         */
/* =================================================== */
:target {
  scroll-margin-top: 100px;
}


/* ========================================== */
/* 🚗 LINK: Miete ein Auto in Damaskus, Syrien */
/* ========================================== */

/* Wrapper rechts neben dem Login-Icon */
.rentcar-link {
  justify-self: end;
  margin-left: 15px;
  margin-right: 25px; /* <--- fügt rechts Abstand hinzu */
  display: inline-block;
  white-space: nowrap;
}

/* Link selbst */
.rentcar-link a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  background: linear-gradient(90deg, #ff0050, #ff6600);
  padding: 8px 14px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.rentcar-link a:hover {
  background: linear-gradient(90deg, #ff6600, #ff0050);
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(255, 0, 80, 0.4);
}

/* Für mobile Ansicht: in Menü integriert (bereits im HTML vorhanden) */
@media (max-width: 900px) {
  .rentcar-link {
    display: none; /* im Header ausblenden */
  }
}


