/* ======================================================
   🌍 ALMAKAR SPED – Štýly webovej stránky
   Autor: Maroš K.
   Dátum: 16.10.2025
   ====================================================== */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Globálne štýly */
body {
  font-family: "Poppins", sans-serif;
  background-color: #f7f8fb;
  color: #1a1a1a;
  line-height: 1.6;
}

/* ===========================
   🔵 NAVIGÁCIA
   =========================== */
.navbar {
  background-color: #012e4a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 10%;
  color: white;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .logo img {
  height: 40px;
  vertical-align: middle;
}

/* Logo */
.logo img {
  height: 55px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Menu */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 16px;
}
.nav-links a:hover {
  color: #ff8800;
}



/* ===========================
   🏠 SEKCIE
   =========================== */
.section {
  display: none;
  padding: 100px 10%;
  text-align: center;
  animation: fadeIn 0.8s ease;
}
.section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   🟠 HERO SEKCIÁ
   =========================== */
.hero {
  background: linear-gradient(rgba(1, 46, 74, 0.7), rgba(1, 46, 74, 0.7)),
              url('https://images.unsplash.com/photo-1617791160505-6f9e5df4b2e5?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: white;
  padding: 160px 20px;
  border-radius: 8px;
}
.hero h1 {
  font-size: 50px;
  margin-bottom: 20px;
}
.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Tlačidlá */
.btn {
  background: linear-gradient(45deg, #ff8800, #ff6600);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}




/* Home Sekcia */

/* 🔸 Prehľadové karty sekcií (Domov) */
.overview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 60px 10%;
  margin-top: 40px;
}

.overview-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.overview-card h3 {
  color: #012e4a;
  font-size: 22px;
  margin-bottom: 10px;
}

.overview-card p {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Menšie tlačidlá pre karty */
.btn.small {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 20px;
  background: linear-gradient(45deg, #ff8800, #ff6600);
  color: white;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn.small:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #ff9900, #ff6600);
}

/* 🔹 Štýl pre textové logo (napodobňuje originál) */
.styled-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 58px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.styled-logo .blue {
  color: #002b4f; /* tmavomodrá – rovnaká ako v logu */
}

.styled-logo .orange {
  color: #ff6600; /* oranžová z loga */
}

/* Menšia verzia pre mobil */
@media (max-width: 768px) {
  .styled-logo {
    font-size: 40px;
  }
}



/* ===========================
   🚚 SLUŽBY
   =========================== */
.services-section {
  background: #ffffff;
  padding: 100px 10%;
  text-align: center;
}

.services-section h2 {
  color: #002b4f;
  font-size: 36px;
  margin-bottom: 20px;
  position: relative;
}

.services-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #ff8c00, #ff6600);
  margin: 10px auto 0;
  border-radius: 2px;
}

.services-intro {
  max-width: 850px;
  margin: 0 auto 50px;
  font-size: 17px;
  color: #333;
  line-height: 1.8;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: #f9fafc;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: left;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.card h3 {
  color: #002b4f;
  margin-bottom: 10px;
  font-size: 20px;
}

.card p {
  color: #444;
  font-size: 16px;
  line-height: 1.7;
}



/* ===========================
   🧾 OBJEDNÁVKOVÝ FORMULÁR
   =========================== */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 30px auto 0;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.order-form input,
.order-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.order-form select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.order-form select:focus {
  outline: none;
  border-color: #ff6600;
  box-shadow: 0 0 5px rgba(255, 102, 0, 0.3);
}


/* ===========================
   👥 SPOLUPRÁCA PRE DOPRAVCOV
   =========================== */
.partners-section {
  background: #ffffff;
  text-align: center;
  padding: 100px 10%;
}
.partners-section h2 {
  color: #002b4f;
  font-size: 34px;
  margin-bottom: 20px;
  position: relative;
}
.partners-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #ff8c00, #ff6600);
  margin: 10px auto 0;
  border-radius: 2px;
}
.partners-intro {
  max-width: 850px;
  margin: 0 auto 40px;
  font-size: 17px;
  line-height: 1.7;
  color: #333;
}
.partner-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin: 30px 0 50px;
}
.benefit {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 16px;
  color: #002b4f;
  line-height: 1.5;
}
.benefit:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}
.partner-form {
  background: #f9fafc;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
}
.partner-form h3 {
  color: #002b4f;
  margin-bottom: 25px;
  font-size: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}
.partner-form input,
.partner-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  width: 100%;
}
.partner-form textarea {
  margin-top: 15px;
  resize: none;
}
.partner-form .btn {
  margin-top: 20px;
  width: 100%;
  max-width: 250px;
}

/* ===========================
   🧭 O NÁS
   =========================== */
.about-section {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 950px;
  margin: 80px auto;
  padding: 70px 60px;
  text-align: left;
  line-height: 1.8;
}

.about-section h2 {
  text-align: center;
  color: #002b4f;
  font-size: 36px;
  margin-bottom: 35px;
  position: relative;
}

.about-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #ff8c00, #ff6600);
  margin: 10px auto 0;
  border-radius: 2px;
}

.about-content p {
  margin-bottom: 22px;
  font-size: 17px;
  color: #333;
  text-align: justify;
}

.about-content b {
  color: #002b4f;
}

.about-location {
  background: #f9fafc;
  border-left: 4px solid #ff6600;
  padding: 15px 20px;
  border-radius: 6px;
  font-size: 16px;
  color: #002b4f;
}

.about-slogan {
  text-align: center;
  margin-top: 35px;
  font-size: 18px;
  color: #ff6600;
  font-weight: 600;
  letter-spacing: 0.3px;
}


/* ===========================
   ⚫ FOOTER
   =========================== */
footer {
  background: #012e4a;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}


/* 🔹 Textové logo namiesto obrázka */
.logo-text a {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 1.5px;
  font-family: "Poppins", sans-serif;
}

.logo-text a span {
  color: #ff8800; /* oranžový akcent */
}

.logo-text a:hover {
  color: #ffffff;
}


/*===================*/
/* KONTAKT SEKCIA */
/*===================*/
.contact-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.contact-card {
  background: #ffffff;
  padding: 25px;
  width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 6px; /* Štvorcové so zaoblenými rohmi */
  margin-bottom: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.contact-card h3 {
  margin-bottom: 8px;
  color: #002b4f;
  font-size: 20px;
}

.contact-card .position {
  color: #888;
  font-size: 14px;
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 15px;
  margin: 4px 0;
}


/* PREPINAČ JAZYKOV */

.language-dropdown {
  position: relative;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
  font-size: 14px;
}

.lang-btn img {
  width: 24px;
  height: auto;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 35px;
  right: 0;
  background: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  z-index: 1001;
  min-width: 130px;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.lang-menu a:hover {
  background-color: #f0f0f0;
}

.lang-menu img {
  width: 20px;
  height: auto;
}


