* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html,
body {
  background-color: white;
  overflow-x: hidden;
}

body {
  overflow-y: auto; /* Scrollování povoleno */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin-top: 70px
}

.container {
  max-width: 1050px;
  width: 90%;
  margin: auto;
}

.center-section i {
  padding: 10px;
}

.animations {
  display: flex;
}

/* Navbar */
.navbar {
  display: flex;
  width: 100%;
  background: linear-gradient(135deg, #9611ff, #7a00cc);
  height: 80px;
  margin-top: 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-items {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu-items li {
  display: inline;
}

.menu-items li:not(:last-child) {
  margin-right: 20px;
}

.menu-items li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  position: relative;
  padding: 5px 10px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.menu-items li a:hover {
  color: #f0f0f0;
  transform: translateY(-2px);
}

.menu-items li a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #f0f0f0;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
}

.menu-items li a:hover::before {
  visibility: visible;
  transform: scaleX(1);
}

.mobile-menu-toggle button {
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  margin-top: 10px;
  font-size: 25px;
}

.profile-menu {
  margin-right: 30px;
  margin-top: 10px;
}

.profile-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  cursor: pointer;
}

.profile-dropdown {
  display: none;
  position: absolute;
  top: 50px;
  left: 80%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  min-width: 180px;
  z-index: 10;
}

.profile-dropdown a {
  display: block;
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s;
}

.profile-dropdown a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.profile-menu:hover .profile-dropdown,
.profile-link:focus + .profile-dropdown {
  display: block;
}

.log-button {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
  padding: 10px;
}

.log-button:hover {
  background-color: #33333379;
  border-radius: 10px;
}

.hamburger {
  font-size: 30px;
}

.delivery-img {
  width: 100%;
}

.icon:hover {
  transform: scale(1.1);
}

/* Kariéra */
.career-c {
  background: linear-gradient(135deg, #9611ff, #7a00cc);
  padding: 30px;
  display: flex;
  justify-content: space-around;
  max-width: 100%;
}

.c-href {
  display: flex;
}

.career-c p {
  font-size: 16px;
  width: 180px;
  text-align: center;
  margin: 10px auto 0;
  color: white;
}

.icon-text {
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease;
}

.icon-text:hover {
  transform: translateY(-5px);
}

.icon-text i {
  font-size: 40px;
  margin-bottom: 15px;
}

.logo {
  color: #fff;
  font-size: 24px;
  text-decoration: none;
}

.KF {
  width: 120px;
  height: 50px;
  margin-top: 15px;
}

.r-content {
  max-height: 100px;
}

.loginbutton {
  text-decoration: none;
  color: #fff;
  transition: background-color 0.3s ease;
  padding: 10px 20px;
  border-radius: 15px;
  position: absolute;
  margin-left: 70px;
}

.loginbutton:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Hlavní stránka */
.order {
  text-align: center;
  text-decoration: none;
  color: white;
  background-color: #9611ff;
  padding: 12px 30px;
  border-radius: 25px;
  transition: 0.3s;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.order:hover {
  transform: scale(1.05);
  background-color: #7a00cc;
}

.content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 80vh;
}

.diver {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.text {
  color: #fff;
  font-size: 70px;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  font-family: "Poppins", sans-serif;
}

.slider {
  width: 100%;
  border: solid 1px;
  background-color: black;
  margin: 0;
}

.courier {
  width: 15%;
  min-width: 200px;
  border-radius: 15px 0px 0px 15px;
}

.c-text {
  padding: 25px;
  background: linear-gradient(135deg, #9611ff, #7a00cc);
  color: white;
  border-radius: 0px 15px 15px 0px;
}

.c-text h2 {
  font-size: 36px;
  letter-spacing: 1px;
}

.c-text p {
  font-size: 20px;
}

.animation {
  width: 100%;
}

.animation a {
  width: 90%;
  margin: 16px auto;
  text-decoration: none;
  display: flex;
  transition: 0.3s;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.animation a:hover {
  transform: scale(1.05);
}

.about {
  margin: 0 auto;
  width: 60%;
}

.index-animations {
  position: absolute;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #2b2b2b, #1a1a1a);
  color: #ffffff;
  text-align: center;
  padding: 30px 20px;
  position: relative;
  width: 100%;
  font-size: 16px;
  line-height: 1.6;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
  margin-top: auto;
}

footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

footer p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

footer .social-links {
  display: flex;
  gap: 15px;
}

footer .social-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 24px;
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

footer .social-links a:hover {
  color: #fff;
  background-color: rgba(150, 17, 255, 0.2);
}

footer .footer-bottom {
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.7;
}

footer img {
  width: 10%;
}

/* Kontakty */
.text2 {
  color: #fff;
  font-size: 70px;
  position: absolute;
  top: 40%;
  left: 34%;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  font-family: "Poppins", sans-serif;
  letter-spacing: 2px;
}

.contact-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.contact-a {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.form-c {
  min-width: 500px;
  padding: 30px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: bold;
  color: black;
}

.form, .form-c h2 {
  margin-bottom: 10px;
}

.form, .form-c input[type="text"],
input[type="date"],
input[type="tel"],
input[type="email"],
textarea {
  width: calc(100% - 10px);
  padding: 12px;
  border-radius: 8px;
  box-sizing: border-box;
  background-color: #ffffff00;
  color: black;
  margin-top: 10px;
}

input[type="file"] {
  width: 100%;
  margin-top: 5px;
}

input[type="submit"] {
  background: linear-gradient(135deg, #9611ff, #7a00cc);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  margin-top: 15px;
  font-size: 18px;
}

.form-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.form {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
}

.career-f {
  width: 100%;
  max-width: 600px;
  border-radius: 15px 0px 0px 15px;
  object-fit: cover;
}

.c-details {
  width: 45%;
  min-width: 400px;
  padding: 20px;
  margin: 0;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.c-details i {
  padding: 30px;
  font-size: 40px;
  margin-top: 20px;
  color: #9611ff;
}

.c-details p {
  font-size: 20px;
  padding: 10px;
  color: #555;
}

.c-details h3 {
  font-size: 32px;
  color: #333;
}

/* Ostatní styly - Beze změny */
.animation2 {
  display: block;
}

.animation2 a {
  text-decoration: none;
  display: flex;
  transition: 0.3s;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.animation2 a:hover {
  transform: scale(1.1);
}

.about-b img {
  width: 100%;
  padding: 0px;
}

.about-c {
  display: flex;
}

.about-c img {
  width: 40%;
}

.about-text {
  background-color: #9611ff;
  border-radius: 0px 15px 15px 0px;
  width: 600px;
}

.about-c h1 {
  font-size: 40px;
  color: white;
  margin-left: 30px;
  margin-top: 20px;
}

.about-c p {
  font-size: 20px;
  width: 500px;
  color: white;
  margin-left: 30px;
}

.c2-text {
  padding: 25px;
  background: linear-gradient(135deg, #9611ff, #7a00cc);
  color: white;
  border-radius: 30px;
  position: absolute;
  margin-left: 300px;
}

.c2-href {
  display: flex;
}

.messege {
  background-color: #ffffff00;
  width: calc(100% - 10px);
  max-width: calc(100% - 10px);
  min-height: 100px;
  font-size: 17px;
  border: solid 2px black;
}

.login {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  margin-right: 500px;
}

.login .container {
  background-color: #f0f0f0;
  border-radius: 10px;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.2);
  padding-top: 20px;
  padding-bottom: 20px;
  width: 400px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login .login-form {
  width: 90%;
  display: flex;
  flex-direction: column;
}

.login .form-group-inline {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 9px;
}

.login .form-group-inline label {
  margin-right: 15px;
}

.login h2 {
  margin-bottom: 20px;
  color: #333;
}

.login .form-group {
  margin-bottom: 15px;
  text-align: left;
}

.login label {
  font-weight: bold;
  color: #555;
}

.login input[type="text"],
.login input[type="password"],
.login input[type="email"],
.login input[type="number"],
.login textarea,
.login select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  resize: vertical;
  color: black;
  background-color: #fff;
}

.login input[type="file"] {
  width: 100%;
}

.login button {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.login button:hover {
  background-color: #0056b3;
  color: #fff;
}

.login .link {
  margin-top: 10px;
  text-decoration: none;
}

.l-body {
  background-image: url('../img/background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.login img {
  width: 43%;
  margin-right: 100px;
}

.l-background1 {
  background-color: #333;
  opacity: 90%;
}

.right-section {
  display: flex;
  align-items: center;
}

.cart {
  margin-right: 20px;
  margin-top: 25px;
  color: white;
  width: 70px;
  text-decoration: none;
}

.cart .prize {
  padding: 20px;
}

.loginbutton a {
  text-decoration: none;
  color: white;
}

.section-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.order-list,
.settings-list {
  list-style: none;
  padding-left: 0;
}

.order-list li,
.settings-list li {
  margin-bottom: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.order-list li:hover,
.settings-list li:hover {
  background-color: #e9e9e9;
}

/* Responzivní úpravy */
@media screen and (min-width: 769px) {
  .loginbutton {
    position: relative;
    margin: 0;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .menu-items {
    display: flex;
  }

  .career-c {
    height: auto;
    display: flex;
    justify-content: space-around;
    gap: 24px;
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    height: 60px;
  }

  .login .container {
    margin-left: 270px;
    width: 350px;
    margin-top: 70px;
  }

  .finish-b {
    margin-top: 100px;
  }

  body {
    margin-top: 0px;
  }

  .KF {
    width: 100px;
    height: 40px;
    margin-top: 10px;
  }

  .profile-menu {
    width: 10px;
    margin-right: 50px;
  }

  .log-button {
    font-size: 15px;
  }

  .cart {
    font-size: 15px;
    margin-top: 25px;
    width: 70px;
    flex-wrap: nowrap;
    text-decoration: none;
  }

  .career-c {
    flex-direction: column;
  }

  .text,
  .text2 {
    font-size: 32px;
  }

  .menu-items {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #00000088;
    backdrop-filter: blur(8px);
    z-index: 20;
    padding: 8px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .menu-items li:not(:last-child) {
    margin: 0;
  }

  .menu-items,
  .loginbutton {
    display: none;
  }

  .profile-dropdown {
    left: 60%;
  }

  .right-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 50%;
    gap: 20px;
    margin-right: 50px;
    max-height: 80px;
  }

  #nejlesiALanuvGrid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 8px;
  }

  .animation a {
    width: auto;
    margin: none;
  }

  .c-href {
    flex-direction: column;
  }

  .courier {
    width: 100%;
    border-radius: 15px 15px 0 0;
  }

  .c-text {
    border-radius: 0 0 15px 15px;
  }

  .c2-href {
    flex-direction: column;
  }

  .c2-text {
    position: relative;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    order: -1;
  }

  .form {
    margin: 8px 4px;
    flex-direction: column;
  }

  .career-f {
    width: 100%;
    border-radius: 15px;
  }

  .form-c {
    min-width: 300px;
    margin: 0;
  }

  .contact-a {
    flex-direction: column;
    align-items: center;
  }

  .form-c, .c-details {
    width: 100%;
  }

  .text2 {
    top: auto;
    left: auto;
  }

  .slider {
    width: auto;
    height: 100%;
  }
  
  .icon-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    max-width: 600px;
  }

  .icon-text p {
    width: auto;
  }

  .career-c {
    display: flex;
  }

  .icon-text i {
    line-height: 1;
    margin-bottom: 15px;
  }

  .career-body {
    padding-top: 60px;
  }

  .delivery-img {
    width: auto;
  }
}

@media screen and (max-width: 400px) {

  .cart i {
    font-size: 15px;
    margin-left: 5px;
  }

  .price {
    width: 70px;
  }

  .profile-link {
    font-size: 15px;
  }

  .mobile-menu-toggle button {
    font-size: 15px;
  }

  .contact-container {
    width: 300px;
  }

  .c-details {
    min-width: 300px;
  }
}

.cart-body {
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
  margin: 0;
  padding: 0;
}

.wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

h1 {
  text-align: center;
  color: #333;
}

.cart-container {
  display: flex;
  flex-direction: column;
}

.cart-product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.cart-product img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.product-info {
  flex: 1;
  margin-left: 20px;
}

.product-info h2 {
  margin: 0 0 10px;
  color: #333;
}

.product-info p {
  margin: 5px 0;
  color: #777;
}

.btn-remove {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  font-size: 20px;
}

.btn-remove:hover {
  color: #c0392b;
}

.cart-summary {
  text-align: right;
  margin-top: 20px;
}

.cart-summary h3 {
  margin: 0 0 10px;
  color: #333;
}

.btn-checkout {
  background-color: #2ecc71;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

.btn-checkout:hover {
  background-color: #27ae60;
}

.detail-body {
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
  margin: 0;
  padding: 32px 16px;
  margin-top: 150px;
}

.detail-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.product-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 768px) {
  .product-details {
    flex-direction: column;
  }
}

.detail-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

.detail-info {
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.detail-info h1 {
  color: #333;
}

h1.detail-price {
  font-size: 24px;
  color: #e74c3c;
}

.detail-description {
  color: #777;
  text-align: justify;
}

.detail-quantity {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-add-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.product-title-min {
  display: none;
}

@media (max-width: 768px) {
  .product-add-form {
    order: -1;
  }

  .product-title-min {
    display: flex;
  }

  .product-title-max {
    display: none;
  }
}

.field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-quantity label {
  color: #333;
}

.detail-quantity input {
  width: 60px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.btn-add {
  width: 100%;
  background-color: #2ecc71;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  align-self: start;
}

.btn-add:hover {
  background-color: #27ae60;
}

.map {
  width: 100%;
  opacity: 70%;
}

.success-message {
  margin-top: 20px;
  padding: 10px;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  font-size: 14px;
}

.price {
  margin-left: 30px;
  color: white;
  font-size: 15px;
  font-weight: bold;
  display: flex;
  text-decoration: none;
}