/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  background-color: #111;
  color: white;
  font-family: 'Segoe UI', sans-serif;
}

/* 🌐 NAVBAR */
.navbar {
  position: fixed;
  top: 0; width: 100%;
  background: #000000cc;
  padding: 15px 20px;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.navbar ul {
  display: flex; flex-wrap: wrap;
  list-style: none; gap: 25px;
}

.navbar a {
  color: white; text-decoration: none;
  font-weight: bold; font-size: 1.05rem;
  position: relative; padding: 5px 0;
  transition: color 0.3s;
}
.navbar a:hover { color: cyan; }
.navbar a::after {
  content:""; position:absolute; left:0; bottom:-2px;
  width:0; height:2px; background:cyan;
  transition: width 0.3s ease;
}
.navbar a:hover::after { width:100%; }

/* DROPDOWN */
.navbar .dropdown { position: relative; }
.navbar .dropdown-content {
  position:absolute; top:100%; left:0;
  background:#111; border:1px solid cyan;
  border-radius:8px; overflow:hidden;
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity 0.3s, transform 0.3s;
  z-index:1000;
}
.navbar .dropdown-content li { list-style:none; }
.navbar .dropdown-content a {
  display:block; padding:10px 20px;
  color:white; font-size:0.95rem;
  text-decoration:none;
  transition:background 0.2s;
}
.navbar .dropdown-content a:hover {
  background:rgba(0,255,255,0.1);
}
.navbar .dropdown:hover .dropdown-content,
.navbar .dropdown.open .dropdown-content {
  opacity:1; visibility:visible; transform:translateY(0);
}

/* Language Buttons */
.language-buttons {
  display:flex; gap:10px;
}
.lang-btn {
  background:transparent; color:white;
  border:2px solid cyan; padding:6px 12px;
  border-radius:8px; cursor:pointer;
  font-size:0.9rem; font-weight:bold;
  transition:background 0.3s, color 0.3s;
}
.lang-btn:hover, .lang-btn.active {
  background:cyan; color:black;
}

/* HERO */
.hero {
  height:100vh; display:flex;
  flex-direction:column; justify-content:center;
  align-items:center; padding-top:80px;
  text-align:center;
}
#title, #subtitle {
  opacity:0; transform:translateY(50px);
  transition:opacity 1.2s ease, transform 1.2s ease;
}
#title.show, #subtitle.show {
  opacity:1; transform:translateY(0);
}
#title { font-size:4rem; }
#subtitle {
  font-size:1.5rem; color:#ccc;
  margin-top:10px;
}

/* INLINE ABOUT US */
.about-us {
  padding:80px 20px; max-width:900px;
  margin:0 auto; text-align:center;
  opacity:0; transform:translateY(50px);
  transition:opacity 1.2s ease, transform 1.2s ease;
}
.about-us.show {
  opacity:1; transform:translateY(0);
}
.about-us h2 { font-size:2.5rem; margin-bottom:1rem; }
.about-us p {
  font-size:1.1rem; color:#ddd; line-height:1.6;
}

/* PRICE SECTION */
.price-section {
  padding:100px 20px 60px;
  max-width:1000px; margin:0 auto; text-align:center;
}
.price-section h2 {
  font-size:2.8rem; margin-bottom:40px; color:white;
}
.price-table {
  display:flex; flex-direction:column; gap:20px;
}
.price-item {
  background:#1a1a1a; padding:20px 30px;
  border-radius:12px; display:flex;
  justify-content:space-between; font-size:1.2rem;
  color:#eee; box-shadow:0 4px 12px rgba(0,255,255,0.1);
  transition:transform 0.3s, box-shadow 0.3s;
}
.price-item:hover {
  transform:translateY(-5px);
  box-shadow:0 6px 16px rgba(0,255,255,0.2);
}

/* TIMETABLE */
.timetable-section {
  padding:100px 20px; max-width:700px;
  margin:0 auto; text-align:center;
}
.timetable-section h2 {
  font-size:2.5rem; margin-bottom:20px; color:cyan;
}
.time-table p {
  font-size:1.2rem; margin:8px 0; color:#ddd;
}
.time-table strong { color:#99ffff; }

/* CONTACT */
.contact-section {
  padding:80px 20px; max-width:900px;
  margin:0 auto 80px; text-align:center;
}
.contact-section h2 {
  font-size:2rem; margin-bottom:15px; color:cyan;
}
.contact-section p {
  font-size:1.1rem; color:#ddd; line-height:1.6;
}

/* RESPONSIVE */
@media (max-width:600px) {
  .navbar { flex-direction:column; align-items:flex-start; }
  .navbar ul { flex-direction:column; gap:10px; margin-top:10px; }
  .language-buttons { margin-top:10px; }
  #title { font-size:3rem; }
  #subtitle { font-size:1.2rem; }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards 0.2s;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ks logo adjusting */
/* 
.ks-logo {
  height: 40px;
  margin-right: 15px;
  vertical-align: middle;
}

.logo-link {
  display: flex;
  align-items: center;
} */





.logo-img {
  height: 50px; /* you can lower this to 35px or raise to 50px as needed */
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}










/* Mobile - adjusting */


/* 🌐 MOBILE RESPONSIVE NAVIGATION FIX */
@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: block; /* Show toggle only on mobile */
    cursor: pointer;
    font-size: 24px;
    margin: 10px;
  }

  .navbar ul {
    display: none; /* Hide menu by default on mobile */
    flex-direction: column;
    width: 100%;
  }

  .navbar ul.active {
    display: flex; /* Show menu when toggled */
  }

  .navbar ul li {
    margin: 10px 0;
  }

  .language-buttons {
    margin: 10px;
  }

  .dropdown:hover .dropdown-content,
  .dropdown-menu {
    position: static;
    background: none;
    box-shadow: none;
  }
}

/* 🖥️ DESKTOP: Hide nav-toggle on wider screens */
@media screen and (min-width: 769px) {
  .nav-toggle {
    display: none;
  }

  .navbar ul {
    display: flex !important;
    flex-direction: row;
    align-items: center;
  }

  .navbar ul li {
    margin: 0 10px;
  }
}



/* mobile logo hide */

@media (max-width: 768px) {
  .logo-img {
    display: none;
  }
}



/* Hide dropdowns by default on mobile */
@media (max-width: 768px) {
  .dropdown-content {
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }

  #navbar-menu.active {
    display: block;
  }
}


/* home icon */
.home-icon {
  font-size: 24px;
  margin-left: 10px;
  display: none; /* hidden by default */
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.home-icon:hover {
  transform: scale(1.1);
}



/* cars background */

body {
  margin: 0;
  padding: 0;
  background-image: url('images/background-car-normal.png'); /* Start with normal */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Optional: parallax feel */
  transition: background-image 0.5s ease-in-out;
}




/* LANGUAGE BUTTONS MOBILE POSITIONING */

/* Base style (PC/Desktop) */
.language-buttons {
  display: flex;
  gap: 8px;
}

/* Mobile-specific style */
@media (max-width: 768px) {
  .language-buttons {
    position: absolute;
    top: 25px;
    right: 10px;
    z-index: 1000;
  }
}


/* relative -- or -- absolute */




