@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

:root {
  /* Color Palette */
  --primary-color: #2b2d42;
  /* Space cadet */
  --secondary-color: #8d99ae;
  /* Cool gray */
  --background-color: #edf2f4;
  /* Anti-flash white */
  --accent-color: #ef233c;
  /* Red (Pantone) */
  --dark-accent-color: #d90429;
  /* Fire engine red */
  --text-color: #2b2d42;
  /* Space cadet */
  --light-color: #ffffff;
  /* White */
  --dark-color: #343a40;
  /* Dark gray */

  /* Additional Colors */
  --info-color: #17a2b8;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
}

/* Global Styles */
body {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
  color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Merriweather', serif;
}
/* Hero Section Styling */
.hero {
  background: url('../tina-guina-obV_LM0KjxY-unsplash.webp') no-repeat center center/cover;
  min-height: 100vh; /* Vedno čez cel zaslon */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Temnejši prekrivni sloj */
  z-index: 1;
}

.hero-content {
  z-index: 2;
}

.hero img {
  max-width: 100%; /* Slika naj ne preseže širine zaslona */
  height: auto; /* Ohrani razmerje slike */
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

/* Medijske poizvedbe za odzivnost */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh; /* Prilagodi višino za mobilne naprave */
  }

  .hero img {
    width: 60%; /* Manjša slika na manjših zaslonih */
  }

  .hero p {
    font-size: 1.2rem; /* Manjše besedilo na manjših zaslonih */
  }

  .button-hero {
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 70vh; /* Še bolj prilagojena višina za najmanjše zaslone */
  }

  .hero img {
    width: 50%; /* Še manjša slika na zelo majhnih zaslonih */
  }

  .hero p {
    font-size: 1rem; /* Manjše besedilo za mobilne naprave */
  }

  .button-hero {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}


.button-hero {
  background: transparent;
  border: 2px solid #d4af37; /* Zlata obroba */
  color: #d4af37; /* Zlata barva za tekst */
  padding: 0.75rem 2rem;
  font-size: 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.button-hero:hover {
  background-color: #d4af37;
  color: #2c2c2c; /* Temno siva ob lebdenju */
}


.carousel-item {
  transition: transform 0.6s ease, opacity 0.6s ease;
  padding: 1rem;
}

.carousel-item img {
  max-height: 70px;
  object-fit: contain;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
  display: block;
}

.carousel-item img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.carousel-inner {
  background-color: white;
  padding: 2rem 0;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 95%;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #343a40;
  border-radius: 50%;
}

.carousel-control-prev,
.carousel-control-next {
  width: 3%;
}

/* Navbar Styling */
.navbar {
  background-color: #2c2c2c; /* Temno siva */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 30px;
  transition: background-color 0.3s ease-in-out;
}

.navbar-brand img {
  width: 100px;
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.navbar-toggler {
  border: none;
}

.nav-link {
  color: #b3b3b3 !important; /* Svetlo siva barva za povezave */
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #d4af37 !important; /* Zlata barva ob lebdenju */
}

.navbar-dark .navbar-nav .nav-link.active {
  color: #d4af37; /* Zlata barva za aktivne povezave */
  text-decoration: underline;
}

.dropdown-menu {
  background-color: #2c2c2c;
  border: none;
}

.dropdown-item {
  color: #b3b3b3;
}

.dropdown-item:hover {
  color: #d4af37;
  background-color: transparent;
}

.dropdown-divider {
  border-color: #555;
}

/* Header Styling */
header {
  background: linear-gradient(90deg, #2c2c2c, #4d4d4d);
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

header p {
  color: #f0f0f0;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

header a {
  text-decoration: none;
  color: #d4af37; /* Zlata barva za povezave */
  margin-left: 10px;
}

header a:hover {
  text-decoration: underline;
  color: #ffffff;
}

@media (max-width: 992px) {
  .navbar-nav {
    justify-content: flex-start;
  }
}
/* Centering .index-card and making each card full-width */
.index-card-container {
  display: flex;
  flex-wrap: wrap;
}

.index-card {
  margin: 0 auto; /* Center the cards */
  margin-bottom: 30px;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
  width: 100%; /* Set to full width */
  max-width: 1000px; /* Control max width to make cards wider */
}

.index-card img {
  height: 400px; /* Increase height to match wider cards */
  width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.index-card img:hover {
  transform: scale(1.05);
}

.index-card .card-body {
  padding: 20px;
}

.index-card .card-title {
  font-size: 1.75rem; /* Adjust font size if needed */
  font-weight: bold;
  margin-bottom: 15px;
  white-space: normal; /* Allow text to wrap */
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.3;
}

/* For responsive viewports, ensure the card title adjusts properly */
@media (max-width: 768px) {
  .index-card .card-title {
    font-size: 1.5rem; /* Adjust font size for smaller screens */
  }
}

@media (max-width: 576px) {
  .index-card .card-title {
    font-size: 1.3rem; /* Further reduce font size for mobile */
    line-height: 1.2;
  }
}


.index-card .card-text {
  font-size: 1rem;
  margin-bottom: 20px;
}
/* Responsive styles for smaller screens */
@media (max-width: 1024px) {
  .index-card, .product-container {
    max-width: 90vw; /* Reduce max width */
  }

  .index-card .card-title, .product-title {
    font-size: 4vw; /* Adjust title font size */
  }

  .index-card .card-text, .product-text {
    font-size: 2.2vw; /* Adjust text font size */
    margin-bottom: 3vw;
  }

  .index-card img, .product-image img {
    height: 40vw; /* Adjust image height proportionally */
  }
}

/* For medium screens (tablets) */
@media (max-width: 768px) {
  .index-card, .product-container {
    flex-direction: column; /* Stack image and text vertically */
    align-items: center; /* Center content */
    padding: 2vw; /* Add more padding */
  }

  .product-image {
    margin-bottom: 2vw; /* Space between image and text */
  }

  .index-card img, .product-image img {
    width: 100%; /* Full width images */
    height: auto; /* Auto height to maintain aspect ratio */
  }

  .index-card .card-title, .product-title {
    font-size: 5vw; /* Adjust title font size */
  }

  .index-card .card-text, .product-text {
    font-size: 2.5vw; /* Adjust text size */
    margin-bottom: 4vw;
  }

  .index-card .btn, .cta-button {
    font-size: 3vw; /* Adjust button font size */
    padding: 2vw 4vw; /* Adjust button padding */
  }
}

/* For small screens (phones) */
@media (max-width: 576px) {
  .index-card, .product-container {
    max-width: 100vw; /* Full width on small screens */
    padding: 3vw; /* Add more padding */
  }

  .index-card img, .product-image img {
    height: 45vw; /* Further reduce image height */
  }

  .index-card .card-title, .product-title {
    font-size: 6vw; /* Larger title text */
  }

  .index-card .card-text, .product-text {
    font-size: 3vw; /* Larger body text */
    margin-bottom: 5vw;
  }

  .index-card .btn, .cta-button {
    font-size: 4vw; /* Larger button text */
    padding: 2.5vw 5vw; /* Larger button padding */
  }
}


.btn {
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
}

/* Coffee Products Card Styles (Image Left) */
.coffee-card {
  background-color: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 300px;
}
.coffee-card img {
  border-radius: 15px 0 0 15px;
  height: 100%;
  width: 50%;
  object-fit: cover;
}
.coffee-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.coffee-card .card-title {
  color: #d4af37;
}
.coffee-card .btn-primary {
  background-color: #d4af37;
  color: #fff;
  border: none;
}
.coffee-card .btn-primary:hover {
  background-color: #d4af37;
}
.coffee-card .card-body {
  padding: 20px;
  width: 50%;
}

/* Coffee Machines Service Card Styles (Image Right) */
.machine-service-card {
  background-color: #f0f0f0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  height: 300px;
  /* Adjust height */
}
.machine-service-card img {
  border-radius: 0 15px 15px 0;
  height: 100%;
  width: 50%;
  object-fit: cover;
}
.machine-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.machine-service-card .card-title {
  color: #1c1c1c;
}
.machine-service-card .btn-primary {
  background-color: #1c1c1c;
  color: #fff;
  border: none;
}
.machine-service-card .btn-primary:hover {
  background-color: #000;
}
.machine-service-card .card-body {
  padding: 20px;
  width: 50%;
}

.cleaning-products-card {
  background-color: #e0f7fa;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 300px;
}
.cleaning-products-card img {
  border-radius: 0 0 0 0;
  height: 100%;
  width: 50%;
  object-fit: cover;
}
.cleaning-products-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.cleaning-products-card .card-title {
  color: #00796b;
}
.cleaning-products-card .btn-primary {
  background-color: #00796b;
  color: #fff;
  border: none;
}
.cleaning-products-card .btn-primary:hover {
  background-color: #004d40;
}
.cleaning-products-card .card-body {
  padding: 20px;
  width: 50%;
}

.feature-container,
.service-container {
  display: flex;
  flex-wrap: wrap;
}

.feature-box,
.service-box {
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 1.5rem;
  background-color: var(--light-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* Vsaka škatla bo zavzela celotno višino */
  width: 90%;
  margin: 1rem; /* Prostor med škatlami */
}

.feature-box:hover,
.service-box:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  transition: color 0.3s;
}

.feature-icon i {
  font-size: 3rem;
}

.feature-icon:hover {
  color: var(--dark-color);
}

.feature-content p,
.service-box p {
  margin-bottom: 0;
  flex-grow: 1; /* Razširi vsebino škatle */
}

.feature-title,
.service-title {
  color: #d4af37;
  font-weight: 600;
}

.feature-box p,
.service-box p {
  color: var(--text-color);
}

/* Dodaj naslednje, če želiš enake višine tudi na manjših zaslonih */
@media (max-width: 768px) {
  .feature-box, .service-box {
    width: 100%; /* V manjši resoluciji bodo škatle 100% širine */
    margin: 0.5rem 0; /* Zmanjšaj razmik med njimi */
  }
}


/* Contact Section Styles */
.contact {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact h2 {
  color: var(#d4af37);
  margin-bottom: 1rem;
}

.contact .form-group {
  margin-bottom: 1.5rem;
}

.contact .input-group-text {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.contact .form-button {
  background-color: #d4af37;
  border-color: var(--light-color);
  color: var(--light-color);
}

.form-button {
  background-color: #d4af37;
  border-color: var(--light-color);
  color: var(--light-color);
}

.contact .btn-primary:hover {
  background-color: var(--dark-accent-color);
  border-color: var(--dark-accent-color);
}

/* Footer Styles */
footer {
  position: relative;
  bottom: 0;
  width: 100%;
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 1rem 0;
}

footer p {
  margin: 0;
}

.footer-a {
  color: var(--light-color);
}

.footer-a:hover {
  color: var(--light-color);
}


/* Enhanced Category Card Styles */
/*
.category-card {
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 1.5rem;
  background-color: var(--light-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.category-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  transition: transform 0.3s;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card .card-body {
  padding: 1rem;
}

.category-card .card-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 1rem;
}

.category-card .card-text {
  color: var(--text-color);
  margin-top: 0.5rem;
}

/* Product Card Styles */
/*
.product .card {
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product .card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product .card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  transition: transform 0.3s;
}

.product .card:hover .card-img-top {
  transform: scale(1.05);
}

.product .card-body {
  padding: 1rem;
  text-align: center;
}

.product .card-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 1rem;
}

.product .card-text {
  color: var(--text-color);
  margin-top: 0.5rem;
}
*/

/*
.category-card {
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 1.5rem;
  background-color: var(--light-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
}

.category-card img {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.category-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-card .card-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 1rem;
}

.category-card .card-text {
  color: var(--text-color);
  margin-top: 0.5rem;
}

.product .card {
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product .card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product .card-img-top {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  transition: transform 0.3s;
}

.product .card:hover .card-img-top {
  transform: scale(1.05);
}

.product .card-body {
  padding: 1rem;
  text-align: center;
}

.product .card-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 1rem;
}

.product .card-text {
  color: var(--text-color);
  margin-top: 0.5rem;
}
  */
/* Sidebar Menu Styles */
.sidebar-menu {
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  padding: 1rem;
  background-color: var(--light-color);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sidebar-item {
  display: block;
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  margin: 0.3rem 0;
  text-decoration: none;
  transition: color 0.3s, background-color 0.3s;
  border-radius: 5px;
}

.sidebar-item:hover {
  color: var(--light-color);
  background-color: var(--primary-color);
}

.main-category {
  font-weight: bold;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.sub-categories {
  padding-left: 1rem;
  border-left: 2px solid var(--primary-color);
  margin-left: 0.5rem;
  padding-top: 0.5rem;
}

.sub-category {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.sub-category:hover {
  color: var(--primary-dark-color);
  background-color: var(--light-color);
}

/* Product Card Styles */
.category-card {
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 1.5rem;
  background-color: var(--light-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
}

.category-card img {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.category-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-card .card-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 1rem;
}

.category-card .card-text {
  color: var(--text-color);
  margin-top: 0.5rem;
}

.product .card {
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product .card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product .card-img-top {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  transition: transform 0.3s;
}

.product .card:hover .card-img-top {
  transform: scale(1.05);
}

.product .card-body {
  padding: 1rem;
  text-align: center;
}

.product .card-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 1rem;
}

.product .card-text {
  color: var(--text-color);
  margin-top: 0.5rem;
}

/* Horizontal Line Separator */
hr.separator {
  border-top: 1px solid var(--primary-color);
  margin: 2rem 0;
}

/* Footer styles */
footer {
  background-color: #343a40;
  color: #f8f9fa;
  padding: 2rem 0;
}

footer .footer-title {
  color: #d4af37;
  font-weight: 600;
  margin-bottom: 1rem;
}

footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

footer .footer-link {
  color: #f8f9fa;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  transition: color 0.3s, background-color 0.3s;
}

footer .footer-link:hover {
  color: #343a40;
  background-color: #d4af37;
  padding-left: 0.5rem;
  border-radius: 5px;
}

footer .footer-link-mail {
  color: #f8f9fa;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

footer .footer-link-mail:hover {
  color: #d4af37;
}

footer .contact-info p,
footer .contact-info a {
  margin-bottom: 0.5rem;
}

footer .contact-info i {
  color: #d4af37;
  margin-right: 0.5rem;
}

footer .social-icons a {
  color: #f8f9fa;
  text-decoration: none;
  margin-right: 1rem;
  transition: color 0.3s;
}

footer .social-icons a:hover {
  color: #d4af37;
}

footer p {
  margin-bottom: 0.5rem;
}

.footer-credits {
  border-top: 1px solid #d4af37;
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* tc styles */
.blockquote-custom {
  font-style: italic;
  color: #555;
  padding-left: 1em;
  border-left: 0.25em solid #ccc;
}

ul.custom-bullet {
  list-style-type: none;
  padding-left: 1.5em;
}

ul.custom-bullet li {
  margin-bottom: 0.5em;
  position: relative;
  padding-left: 1.5em;
}

ul.custom-bullet li::before {
  content: "\2022";
  color: #007bff;
  font-weight: bold;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0;
}