/* ======================================
Made by Smelino.sk                      
   ====================================== */

:root {
  --blue: #1E60AD;
  --blue-light: #4da3ff;
  --blue-dark: #0056b3;
  --white: #ffffff;
  --bg: #f4f7fb;
  --text: #222;
  --border: #e0e5ec;
  --shadow: rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* === Header === */
header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  /* text-align: center; */
  padding: 20px 15px 15px;
  box-shadow: 0 3px 8px var(--shadow);
  /* position: sticky; */
  /* top: 0; */
  /* z-index: 100; */
}

header h1 a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

header h1 a:hover {
  opacity: 0.85;
}

nav {
  margin-top: 12px;
}

nav a {
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

nav a:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* === Headings === */
h2, h3 {
  color: var(--blue-dark);
  margin-bottom: 10px;
}

h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-top: 25px;
  margin-bottom: 20px;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--blue);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* === Container List === */
.container-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 15px;
}

.container-item {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 10px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.container-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.container-item .item-body {
  padding: 15px;
}

.container-item h3 {
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 1.3rem;
}

.container-item p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.container-item .item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container-item .price {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--blue-dark);
}

/* === Buttons === */
.btn, .container-item a {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn:hover, .container-item a:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--blue);
  color: var(--blue-dark);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

/* === Pagination === */
.pagination {
  text-align: center;
  margin-bottom: 40px;
}

.pagination a {
  display: inline-block;
  color: var(--blue-dark);
  border: 1px solid var(--border);
  background: var(--white);
  margin: 0 4px;
  padding: 6px 10px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.pagination a:hover,
.pagination .active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* === Gallery === */
.gallery {
  /* display: flex; */
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  /* margin: 20px auto; */
}

.gallery img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px var(--shadow);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* === Forms === */
form {
  max-width: 500px;
  margin: 25px auto 40px;
  background: var(--white);
  padding: 25px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 3px 8px var(--shadow);
}

form input, form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  background: #fafafa;
  transition: border-color 0.25s ease;
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--blue);
}

form button {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

form button:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

/* === Footer === */
footer {
  background: var(--blue-dark);
  color: var(--white);
  text-align: center;
  padding: 18px;
  font-size: 0.9rem;
  box-shadow: 0 -3px 6px var(--shadow);

}

.footer-changed{
    position: absolute;
  width: 100%;
  bottom: 0;
}

/* === Responsive === */
@media (max-width: 768px) {
  header h1 a {
    font-size: 1.5rem;
  }
  nav a {
    display: block;
    margin: 5px 0;
  }
  .container-item img {
    height: 180px;
  }
  .container-item {
    margin-bottom: 10px;
  }
}


.container-item-down{
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 10px;
  }

/* ======================================
Made by Smelino.sk                      
   ====================================== */
/* --- HEADER LAYOUT --- */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0b5ed7; /* blue */
  color: #fff;
  padding: 15px 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  /* height: 45px; */
  width: 120px;
}

.logo span {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;

  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 15px;
}

/* .main-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 8px 10px;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.main-nav a:hover {
  background-color: #0847a3;
}

.admin-btn {
  background-color: #fff;
  color: #0b5ed7;
  font-weight: 600;
  border-radius: 6px;
  padding: 8px 15px;
  transition: all 0.3s ease;
}

.admin-btn:hover {
  background-color: #e6e6e6;
} */
  



@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }

  .main-nav a {
    padding: 8px 12px;
  }
}



/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  height: 80vh;
  background-image: url('../includes/images/container-hero.jpg'); /* your image path */
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  overflow: hidden;
}

/* Dark overlay for contrast */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 20px;
  opacity: 0;
  animation: fadeInUp 1.5s ease forwards;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.hero-btn {
  display: inline-block;
  background-color: #0b5ed7;
  color: #fff;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-btn:hover {
  background-color: #0847a3;
  transform: scale(1.05);
}

/* Fade-in upward animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .container-content {
  padding-left: 0px;
}
}




/* --- CONTACT SECTION --- */
.contact-section {
  background-color: #f8faff;
  padding: 60px 20px;
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  color: #333;
}

.contact-container h2 {
  font-size: 2.5rem;
  color: #0b5ed7;
  margin-bottom: 10px;
}

.contact-container p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

.contact-info {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.info-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 20px 30px;
  margin: 10px;
  width: 280px;
  transition: transform 0.3s ease;
}

.info-item:hover {
  transform: translateY(-5px);
}

.info-item h3 {
  color: #0b5ed7;
  margin-bottom: 10px;
}

.info-item a {
  text-decoration: none;
  color: #333;
}

.contact-form {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  color: #0b5ed7;
  margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0b5ed7;
  outline: none;
}

.contact-form button {
  background-color: #0b5ed7;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #0847a3;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .info-item {
    width: 90%;
  }

  .contact-form {
    padding: 25px;
  }
}




/* --- TOP CONTAINERS SECTION --- */
.top-containers {
  background-color: #f8faff;
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #0b5ed7;
  margin-bottom: 10px;
}

.section-title p {
  font-size: 1.1rem;
  color: #555;
}

/* Individual container block */
.container-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 60px auto;
  max-width: 1100px;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1.2s ease forwards;
}

.container-item.reverse {
  flex-direction: row-reverse;
}

/* Image */
.container-image img {
  width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.container-image img:hover {
  transform: scale(1.03);
}

/* Text content */
.container-content {
  flex: 1;
  min-width: 300px;
  padding-left: 25px;
}

.container-content h3 {
  font-size: 1.8rem;
  color: #0b5ed7;
  margin-bottom: 15px;
}

.container-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
}

.container-content ul li {
  background: url('images/check-blue.png') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #333;
  font-size: 1rem;
}

.see-btn {
  display: inline-block;
  background-color: #0b5ed7;
  color: #fff;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.see-btn:hover {
  background-color: #0847a3;
  transform: scale(1.05);
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 900px) {
  .container-item,
  .container-item.reverse {
    flex-direction: column;
    text-align: center;
  }

  .container-image img {
    width: 90%;
  }

  .container-content ul {
    text-align: left;
    display: inline-block;
  }
}











/* Gallery layout */
.gallery {
    margin-top: 30px;
}

.gallery-main img {
    /* width: 100%; */
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    margin-bottom: 15px;
}

.gallery-thumbs {
    /* display: flex; */
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-thumbs img.thumb {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid #eee;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery-thumbs img.thumb:hover {
    transform: scale(1.05);
    border-color: #0b5ed7;
}

/* Lightbox overlay */
.lightbox-overlay {
    position: fixed;
    top:0; left:0;
    width: 100%; height:100%;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}



.lightbox-overlay .next,
.lightbox-overlay .prev {
    position: absolute;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
    font-weight: bold;
}

.lightbox-overlay .next {
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
}

.lightbox-overlay .prev {
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
}

.lightbox-overlay .next:hover,
.lightbox-overlay .prev:hover {
    opacity: 0.7;
}



.container-detail-parent{
  display: flex;
  align-items: center;
  justify-content: space-around !important;
    margin-bottom: 30px;

}