/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  background: #d32f2f; /* Red background */
  position: static;
  top: 0;
  z-index: 1000;
}

.container {
  width: 95%;
  max-width: 1400px;
  margin: auto;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}

/* Bigger logo aligned left */
.logo {
  height: 90px;           
  max-height: 90px;
  margin-left: 0;
  margin-right: auto;
  object-fit: contain;
}

h1 #brand-name  {
  color: #fff;
}
nav h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-left: 12px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  color: #fff;
  font-weight: bold;
}
.menu-toggle i {
  transition: transform 0.3s ease;
}

nav ul.active + .menu-toggle i {
  transform: rotate(90deg);
}

/* ✅ Hero Section */
.hero {
  background: url("images/Banner.png") no-repeat center center;
  background-size: cover;
  color: #fff;
  text-align: left;
  padding: 6rem 1rem;
  display: flex;
  align-items: center;
  min-height: 80vh;
}

.hero-content {
  max-width: 600px;
  background: rgba(0,0,0,0.6);
  padding: 2rem;
  border-radius: 10px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* ✅ Mobile Fix: keep face centered, scale down text box */
@media (max-width: 768px) {
  .hero {
    background: url("images/Banner.png") no-repeat right center !important;
    background-size: cover !important;
    min-height: 70vh;
    justify-content: flex-start; /* keep text box on left */
  }

  .hero-content {
    max-width: 90%;
    padding: 20px;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.5);
  }

  .hero-content h1,
  .hero-content p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .hero-content .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
    min-height: 60vh;
  }

  .hero h1 {
    font-size: 1.4rem;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  margin: 0.5rem;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.btn-primary {
  background: #d32f2f;
  color: #fff;
}

.btn-secondary {
  background: #fbc02d;
  color: #000;
}

/* Sections */
section {
  padding: 3rem 0;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #000000;
}

.about, .courses, .choose, .contact {
  text-align: center;
}

/* Courses */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.course-card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.course-card img {
  width: 80px;
  margin-bottom: 1rem;
}

/* Germany - Ausbildung course */
.ausbildung {
  background: #f9f9f9;
  padding: 60px 20px;
}

.ausbildung-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.ausbildung-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.ausbildung-content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #b80000;
}

.ausbildung-content h3 {
  margin-top: 20px;
  color: #333;
}

.ausbildung-content p {
  margin: 15px 0;
  line-height: 1.6;
  color: #444;
}

.ausbildung-content ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 10px;
}

.ausbildung-content ul li {
  margin: 10px 0;
}

/* Why Choose Us */
.choose-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}

.choose-list div {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fdfdfd;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.highlight {
  display: inline-block;
  margin-top: 1.5rem;
  background: #fbc02d;
  padding: 0.8rem 1.2rem;
  border-radius: 5px;
  font-weight: bold;
}

/* Gallery */
.img-gallery {
  width: 80%;
  margin: 100px auto 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  grid-gap: 30px;
}
.img-gallery img {
  width: 100%;
  cursor: pointer;
}
.img-gallery img:hover {
  transform: scale(0.8) rotate(-15deg); 
  transition: 1s;
  border-radius: 20px;
  box-shadow: 0 32px 75px rgba(68,77,136,0.2);
}
.full-img {
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.full-img img {
  width: 90%;
  max-width: 500px;
}
.full-img span {
  position: absolute;
  top: 5%;
  right: 5%;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

/* Contact */
.contact-form {
  max-width: 600px;
  margin: auto;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  background: #1976d2;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

/* Footer */
footer {
  text-align: center;
  background: #111;
  color: #fff;
  padding: 1rem;
  margin-top: 2rem;
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
  .logo {
    height: 75px;
  }
}

@media (max-width: 768px) {
  nav {
    position: relative;
  }

  nav ul {
    flex-direction: column;
    background: #d32f2f;
    position: absolute;
    top: 80px;
    right: 0;
    width: 240px;
    display: none;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  nav h2 {
    font-size: 1rem;
  }

  .logo {
    height: 70px;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 60px;
  }
}

.choose-list i {
  color: #d32f2f;
  margin-right: 8px;
}
