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

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f8f9fb;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Fontovi */
body, input, textarea, button {
  font-family: 'Open Sans', 'Inter', Arial, sans-serif;
  color: #111827;
  background: #F1F5F9;
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6, .logo {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1E3A8A;
  margin-top: 0;
}

/* Navigacija */
.main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(30,58,138,0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}
.logo {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 1px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: #1E3A8A;
  font-weight: 600;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a.active, .nav-links a:hover {
  color: #10B981;
  border-bottom: 2px solid #10B981;
}

/* Katalog navigacija i filteri */
.catalog-hero {
  background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.catalog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.catalog-hero .container {
  position: relative;
  z-index: 2;
}

.catalog-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.catalog-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.catalog-filters {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 1.5rem 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  position: sticky;
  top: 0;
  z-index: 998;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(0);
  max-width: calc(100% - 4rem);
}

.filter-btn {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: #64748b;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
  transition: left 0.5s;
}

.filter-btn:hover::before {
  left: 100%;
}

.filter-btn:hover {
  background: rgba(241, 245, 249, 0.95);
  border-color: rgba(203, 213, 225, 0.9);
  color: #475569;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.9) 0%, rgba(5, 150, 105, 0.9) 100%);
  border-color: rgba(16, 185, 129, 0.8);
  color: white;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.3);
}

.filter-btn.active:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* Responsive filteri */
@media (max-width: 768px) {
  .catalog-filters {
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    margin: 1rem 0.5rem;
    gap: 0.5rem;
    max-width: calc(100% - 1rem);
  }
  
  .filter-btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
    padding: 0.6rem 0.8rem;
  }
  
  .catalog-hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .catalog-hero h1 {
    font-size: 2rem;
  }
  
  .catalog-hero p {
    font-size: 1rem;
  }
  
  .popular-products h2 {
    font-size: 2rem;
  }
  
  .popular-products .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Popularni proizvodi sekcija */
.popular-products {
  padding: 80px 0;
  background: #f8fafc;
}

.popular-products h2 {
  text-align: center;
  margin-bottom: 50px;
  color: #1e293b;
  font-size: 2.5rem;
  font-weight: 700;
}

.popular-products .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Katalog proizvodi */
.catalog-section {
  padding: 2rem 0;
  background: #f8fafc;
}

.products-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-item {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.product-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10B981, #3B82F6, #8B5CF6);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.product-item:hover::before {
  transform: scaleX(1);
}

.product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  border-color: #cbd5e1;
}

.product-image {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 15px;
  position: relative;
}

.product-image i {
  font-size: 3rem;
  color: #10B981;
  transition: all 0.3s ease;
}

.product-item:hover .product-image i {
  transform: scale(1.1);
  color: #059669;
}

.product-info h3 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

.product-info p {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.spec {
  background: #f1f5f9;
  color: #475569;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.spec:hover {
  background: #e2e8f0;
  color: #374151;
  transform: translateY(-1px);
}

/* Animacije za proizvode */
.product-item {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.product-item:nth-child(1) { animation-delay: 0.1s; }
.product-item:nth-child(2) { animation-delay: 0.2s; }
.product-item:nth-child(3) { animation-delay: 0.3s; }
.product-item:nth-child(4) { animation-delay: 0.4s; }
.product-item:nth-child(5) { animation-delay: 0.5s; }
.product-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive proizvodi */
@media (max-width: 768px) {
  .products-catalog {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .product-item {
    padding: 1.5rem;
  }
  
  .product-image {
    padding: 1.5rem;
  }
  
  .product-image i {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .products-catalog {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .product-item {
    padding: 1rem;
  }
  
  .product-image {
    padding: 1rem;
  }
  
  .product-image i {
    font-size: 2rem;
  }
}

/* Hero sekcija */
.hero {
  position: relative;
  min-height: 500px;
  background: linear-gradient(135deg, #1E3A8A 0%, #60A5FA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(96, 165, 250, 0.1) 0%, 
    rgba(147, 197, 253, 0.2) 50%, 
    rgba(191, 219, 254, 0.3) 100%);
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,58,138,0.1);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hero-content .subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
}

.cta-btn {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #fff;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(16,185,129,0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(16,185,129,0.6);
}

/* Poboljšani stilovi za usluge */
.services-preview {
  max-width: 1200px;
  margin: 4rem auto 3rem auto;
  padding: 0 2rem;
  text-align: center;
}

.services-preview h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1E3A8A;
  position: relative;
}

.services-preview h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #10B981, #3B82F6);
  border-radius: 2px;
}

.services-cards {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(30,58,138,0.1);
  padding: 2.5rem 2rem;
  max-width: 350px;
  flex: 1 1 300px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10B981, #3B82F6, #8B5CF6);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  box-shadow: 0 15px 40px rgba(16,185,248,0.2);
  transform: translateY(-8px) scale(1.02);
  border-color: #cbd5e1;
}

.service-card .icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #10B981;
  transition: all 0.3s ease;
}

.service-card:hover .icon {
  transform: scale(1.1);
  color: #059669;
}

.service-card h3 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 1rem;
}

/* Poboljšani stilovi za "Zašto mi" sekciju */
.why-us {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 100px 2rem 4rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-top: -60px;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 20px rgba(0,0,0,0.05);
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(30,58,138,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
}

.why-us .container {
  position: relative;
  z-index: 2;
}

.why-us h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1E3A8A;
  position: relative;
}

.why-us h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #10B981, #3B82F6);
  border-radius: 2px;
}

.why-us-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 3rem;
}

.why-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(30,58,138,0.1);
  padding: 2rem 2.5rem;
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
  color: #1E3A8A;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(30,58,138,0.15);
  border-color: #cbd5e1;
}

.why-item .icon {
  font-size: 2rem;
  color: #10B981;
  transition: all 0.3s ease;
}

.why-item:hover .icon {
  transform: scale(1.1);
  color: #059669;
}

.why-item h3 {
  color: #1e293b;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.why-item p {
  color: #64748b;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive stilovi za početnu stranu */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content .subtitle {
    font-size: 1.1rem;
  }
  
  .services-preview h2,
  .why-us h2,
  .popular-products h2 {
    font-size: 2rem;
  }
  
  .popular-products .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .services-cards {
    gap: 2rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .why-us-list {
    gap: 2rem;
  }
  
  .why-item {
    padding: 1.5rem 2rem;
    min-width: 250px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content .subtitle {
    font-size: 1rem;
  }
  
  .cta-btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }
  
  .services-preview,
  .why-us {
    padding: 2rem 1rem;
  }
  
  .service-card {
    padding: 1.5rem 1rem;
  }
  
  .why-item {
    padding: 1.5rem 1.5rem;
    min-width: 200px;
  }
}

/* About page */
.about-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  margin: 3rem auto 2rem auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(30,58,138,0.07);
  overflow: hidden;
}

/* Plava pozadina preko cele stranice */
.about-blue-bg {
  background: linear-gradient(135deg, #1E3A8A 0%, #60A5FA 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  width: 100%;
  left: 0;
  right: 0;
}

.about-blue-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.about-blue-bg .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-blue-bg h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about-blue-bg p {
  font-size: 1.2rem;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}
.about-img {
  flex: 1 1 300px;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  min-width: 300px;
}
.about-content {
  flex: 2 1 400px;
  padding: 2.5rem 2rem;
}
.about-mission {
  max-width: 900px;
  margin: 2rem auto 3rem auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(30,58,138,0.06);
  padding: 2rem;
}
.about-mission ul {
  list-style: none;
  padding: 0;
}
.about-mission li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Services page */
.services-hero {
  text-align: center;
  margin: 3rem 0 2rem 0;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  padding: 0 2rem;
}
.service-card .service-img {
  width: 100%;
  height: 140px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.custom-offer {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}
.custom-offer a {
  color: #1E3A8A;
  text-decoration: underline;
  font-weight: 600;
}

/* Services page - dodatno stilizujem kartice i liste */
.service-desc {
  color: #1E3A8A;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  font-weight: 500;
  min-height: 2.2em;
}
.service-list-box {
  background: #F1F5F9;
  border: 1.5px solid #dbeafe;
  border-radius: 10px;
  padding: 1.1em 1em 1em 1.2em;
  margin-top: 0.5em;
  margin-bottom: 0.2em;
  min-height: 80px;
  max-height: 180px;
  overflow-y: auto;
  box-shadow: 0 1px 6px rgba(30,58,138,0.04);
}
.service-list-box ul {
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.98rem;
  color: #111827;
  line-height: 1.7;
}
.service-list-box li {
  margin-bottom: 0.3em;
  padding-left: 0.2em;
  border-left: 2.5px solid #38BDF8;
  padding-top: 2px;
  padding-bottom: 2px;
  background: transparent;
  transition: background 0.18s, border-color 0.18s;
}
.service-list-box li:last-child {
  margin-bottom: 0;
}
.service-list-box li:hover {
  background: #e0f2fe;
  border-left: 2.5px solid #10B981;
}
.service-card {
  /* zadržavam postojeće stilove, dodajem još spacinga */
  margin-bottom: 1.5rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  box-sizing: border-box;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(16,185,248,0.16);
  transform: translateY(-6px) scale(1.035);
  border: 1.5px solid #38BDF8;
}
@media (max-width: 900px) {
  .service-list-box {
    max-height: 220px;
  }
}
@media (max-width: 600px) {
  .service-list-box {
    max-height: none;
    min-height: 0;
    padding: 0.7em 0.5em 0.7em 0.8em;
  }
  .service-card {
    min-height: 0;
    margin-bottom: 1.2rem;
  }
}

/* Contact page */
.contact-hero {
  text-align: center;
  margin: 3rem 0 2rem 0;
}
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem auto;
  padding: 0 2rem;
  align-items: flex-start;
}
.contact-form {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(30,58,138,0.07);
  padding: 2rem 2.5rem;
  flex: 1 1 350px;
  min-width: 300px;
}
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #1E3A8A;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.7em;
  border: 2px solid #dbeafe;
  border-radius: 8px;
  font-size: 1rem;
  background: #F1F5F9;
  transition: border 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: #38BDF8;
  outline: none;
}
.contact-form .cta-btn {
  width: 100%;
  margin-top: 0.5rem;
}
.contact-info {
  flex: 1 1 250px;
  min-width: 250px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(30,58,138,0.07);
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.1rem;
  color: #1E3A8A;
}
.contact-item .icon {
  font-size: 1.4rem;
  color: #38BDF8;
}
.map-embed {
  margin-top: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(30,58,138,0.06);
}

/* Footer */
footer {
  background: #1E3A8A;
  color: #fff;
  padding: 1.2rem 0;
  text-align: center;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .about-text, .about-image {
    min-width: 0;
  }
  .services-cards {
    flex-direction: column;
    gap: 1.5rem;
  }
  .services-cards, .why-us-list, .services-grid, .contact-section, .about-hero {
    flex-direction: column;
    align-items: center;
  }
  .footer-content {
    flex-direction: column;
    gap: 0.5rem;
  }
}
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .services-cards, .why-us-list, .services-grid {
    gap: 1rem;
  }
  .service-card, .about-content, .about-img, .contact-form, .contact-info {
    padding: 1rem;
    min-width: 0;
  }
  .about-hero, .contact-section {
    padding: 0 0.5rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
} 

/* Sprečavanje treperenja */
html {
  scroll-behavior: smooth;
}

body {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Sakrij sadržaj dok se ne učita */
.catalog-section {
  opacity: 0;
  animation: fadeIn 0.5s ease-in forwards;
}

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

/* Sprečavanje FOUC (Flash of Unstyled Content) */
.js-loading {
  visibility: hidden;
}

.js-loaded {
  visibility: visible;
} 

/* Full-screen mapa */
.fullscreen-map {
  width: 100%;
  height: 70vh;
  min-height: 500px;
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.map-container iframe:hover {
  transform: scale(1.02);
}

.map-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  max-width: 300px;
  z-index: 10;
}

.map-info h3 {
  color: #1E3A8A;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.map-info p {
  color: #64748b;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-info p i {
  color: #10B981;
  width: 16px;
  text-align: center;
}

.map-info p:last-child {
  margin-bottom: 0;
}

/* Full Width Image Section */
.full-width-image {
  position: relative;
  width: 100%;
  margin: 2rem 0 -80px 0;
  overflow: hidden;
  z-index: 0;
}

/* Blue gradient accents */
.full-width-image::before,
.full-width-image::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.2));
  z-index: 1;
}

.full-width-image::before {
  top: 0;
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.full-width-image::after {
  bottom: 0;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.2));
}

.full-width-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.full-width-image:hover img {
  transform: scale(1.01);
}

/* Responsive mapa */
@media (max-width: 768px) {
  .fullscreen-map {
    height: 60vh;
    min-height: 400px;
    margin-top: 2rem;
  }
  
  .map-overlay {
    top: 15px;
    right: 15px;
    left: 15px;
    max-width: none;
    padding: 1rem;
  }
  
  .map-info h3 {
    font-size: 1.1rem;
  }
  
  .map-info p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .fullscreen-map {
    height: 50vh;
    min-height: 350px;
    border-radius: 15px;
  }
  
  .map-container {
    border-radius: 15px;
  }
  
  .map-container iframe {
    border-radius: 15px;
  }
  
  .map-overlay {
    top: 10px;
    right: 10px;
    left: 10px;
    padding: 0.8rem;
  }
  
  .map-info h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
  
  .map-info p {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
  }
} 

/* Services page - moderan dizajn */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  max-width: 1700px;
  margin: 0 auto 3rem auto;
  padding: 0 2rem;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  min-height: 380px;
  box-shadow: 0 8px 30px rgba(30,58,138,0.1);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10B981, #3B82F6, #8B5CF6);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(16,185,248,0.2);
  border-color: #cbd5e1;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  transition: all 0.3s ease;
}

.service-icon i {
  font-size: 2rem;
  color: #10B981;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  transform: scale(1.1);
}

.service-card:hover .service-icon i {
  color: white;
}

.service-card h3 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.service-desc {
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #4b5563;
  text-align: center;
  margin-top: 1rem;
  padding: 0.5rem 0;
}

.service-features::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #10B981;
  margin: 0 auto 1rem auto;
  opacity: 0.7;
}

.service-features br {
  display: none;
}

.service-features span {
  display: block;
  padding: 0.4rem 0.8rem;
  background: rgba(241, 245, 249, 0.7);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.service-features span:hover {
  color: #10B981;
  background: rgba(16, 185, 129, 0.05);
}

.feature-tag {
  color: #4b5563;
  font-size: 0.9rem;
  margin: 0 0.5rem 0.5rem 0;
  display: inline-block;
  padding: 0.4rem 0.9rem;
  position: relative;
  background: rgba(241, 245, 249, 0.7);
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: default;
  border-bottom: 2px solid #e2e8f0;
}

.feature-tag:not(:last-child) {
  margin-right: 0.8rem;
}

.feature-tag:hover {
  color: #10B981;
  border-bottom-color: #10B981;
  transform: none;
  box-shadow: none;
  background: rgba(16, 185, 129, 0.05);
}

.custom-offer {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.custom-offer a {
  color: #10B981;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid #10B981;
  transition: all 0.2s ease;
}

.custom-offer a:hover {
  color: #059669;
  border-bottom-color: #059669;
} 

/* Responsive stilovi za usluge */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
  }
  
  .service-icon i {
    font-size: 1.8rem;
  }
  
  .service-features {
    font-size: 0.85rem;
    gap: 0.4rem;
  }
  
  .service-features span {
    padding: 0.35rem 0.7rem;
  }
  
  .feature-tag {
    font-size: 0.85rem;
    padding: 0.35rem 0.8rem;
    margin: 0 0.4rem 0.4rem 0;
  }
  
  .feature-tag:not(:last-child) {
    margin-right: 0.6rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    gap: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .service-card {
    padding: 1.5rem 1rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .service-icon i {
    font-size: 1.5rem;
  }
  
  .service-features {
    font-size: 0.8rem;
    gap: 0.3rem;
  }
  
  .service-features span {
    padding: 0.3rem 0.6rem;
  }
  
  .feature-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    margin: 0 0.3rem 0.3rem 0;
    border-bottom-width: 1.5px;
  }
  
  .feature-tag:not(:last-child) {
    margin-right: 0.5rem;
  }
  
  .custom-offer {
    padding: 1.5rem 1rem;
    margin: 0 0.5rem 2rem 0.5rem;
  }
} 

/* Katalog notebook efekat */
.catalog-notebook {
  padding: 2rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 80vh;
}

.notebook-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Kontrole za katalog */
.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

.prev-page, .next-page {
  background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prev-page:hover, .next-page:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30,58,138,0.3);
}

.page-info {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1E3A8A;
}

/* Notebook efekat */
.notebook {
  position: relative;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  overflow: hidden;
  margin-bottom: 2rem;
}

.notebook-spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #8B5CF6 0%, #3B82F6 50%, #10B981 100%);
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.notebook-pages {
  position: relative;
  min-height: 600px;
}

.page {
  display: none;
  padding: 3rem;
  background: white;
  position: relative;
}

.page.active {
  display: block;
  animation: pageFlip 0.6s ease-out;
}

.page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 49%, rgba(0,0,0,0.02) 50%, transparent 51%);
  pointer-events: none;
}

.page-content h2 {
  text-align: center;
  color: #1E3A8A;
  margin-bottom: 2rem;
  font-size: 2.2rem;
  position: relative;
}

.page-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #10B981, #3B82F6);
  border-radius: 2px;
}

/* Proizvodi grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  border-color: #10B981;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10B981, #3B82F6, #8B5CF6);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.product-card:hover::before {
  transform: scaleX(1);
}

/* Checkbox stilovi */
.product-checkbox {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
}

.product-checkbox input[type="checkbox"] {
  display: none;
}

.product-checkbox label {
  display: block;
  width: 24px;
  height: 24px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.product-checkbox label::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: white;
  font-size: 14px;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.product-checkbox input[type="checkbox"]:checked + label {
  background: #10B981;
  border-color: #10B981;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.product-checkbox input[type="checkbox"]:checked + label::after {
  transform: translate(-50%, -50%) scale(1);
}

.product-checkbox label:hover {
  border-color: #10B981;
  transform: scale(1.1);
}

/* Proizvod info */
.product-image {
  text-align: center;
  margin: 1rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 12px;
}

.product-image i {
  font-size: 3rem;
  color: #10B981;
  transition: all 0.3s ease;
}

.product-card:hover .product-image i {
  transform: scale(1.1);
  color: #059669;
}

.product-info h3 {
  color: #1e293b;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  text-align: center;
}

.product-info p {
  color: #64748b;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.5;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.spec {
  background: #f1f5f9;
  color: #475569;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

.product-price {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #10B981;
  margin-top: 1rem;
}

/* Akcije korpe */
.cart-actions {
  text-align: center;
  margin-top: 2rem;
}

.view-cart-btn {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(16,185,129,0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.view-cart-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16,185,129,0.6);
}

/* Animacije */
@keyframes pageFlip {
  0% {
    opacity: 0;
    transform: rotateY(-90deg) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
  }
}

/* Korpa stranica */
.cart-hero {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.cart-content {
  padding: 3rem 0;
  background: #f8fafc;
}

.cart-items {
  margin-bottom: 3rem;
}

.cart-item {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.cart-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-image i {
  font-size: 2rem;
  color: #10B981;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h3 {
  color: #1e293b;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.cart-item-price {
  color: #10B981;
  font-size: 1.3rem;
  font-weight: 700;
}

.remove-item {
  background: #ef4444;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.remove-item:hover {
  background: #dc2626;
  transform: scale(1.05);
}

/* Prazna korpa */
.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-cart-icon {
  font-size: 4rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.empty-cart h2 {
  color: #64748b;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.empty-cart p {
  color: #94a3b8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.browse-catalog-btn {
  background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.browse-catalog-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30,58,138,0.3);
}

/* Sažetak korpe */
.cart-summary {
  margin-top: 3rem;
}

.summary-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  max-width: 500px;
  margin: 0 auto;
}

.summary-card h3 {
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 1.1rem;
}

.summary-row:last-of-type {
  border-bottom: none;
  font-weight: 700;
  font-size: 1.3rem;
  color: #10B981;
}

.summary-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.clear-cart-btn, .checkout-btn {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.clear-cart-btn {
  background: #f1f5f9;
  color: #64748b;
  border: 2px solid #e2e8f0;
}

.clear-cart-btn:hover {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
}

.checkout-btn {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,185,129,0.3);
}

/* Responsive stilovi */
@media (max-width: 768px) {
  .catalog-controls {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .page {
    padding: 2rem 1rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cart-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .summary-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .notebook-container {
    padding: 0 1rem;
  }
  
  .page {
    padding: 1.5rem 0.5rem;
  }
  
  .product-card {
    padding: 1rem;
  }
  
  .product-image {
    padding: 1.5rem;
  }
  
  .product-image i {
    font-size: 2.5rem;
  }
} 

/* Full-screen katalog modal */
.catalog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.catalog-modal.active {
    display: block;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    overflow-y: auto;
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal header */
.modal-header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cart-preview-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-preview-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.close-modal-btn {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.close-modal-btn:hover {
    background: #ef4444;
    transform: scale(1.1);
}

/* Katalog navigacija */
.catalog-nav {
    background: #f8fafc;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    position: sticky;
    top: 80px;
    z-index: 99;
}

.nav-btn {
    background: white;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.nav-btn:hover {
    border-color: #3B82F6;
    color: #3B82F6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.nav-btn.active {
    background: #3B82F6;
    border-color: #3B82F6;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nav-btn i {
    font-size: 1rem;
}

/* Proizvodi grid */
.catalog-grid {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.modal-product-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.modal-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: #10B981;
}

.modal-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10B981, #3B82F6, #8B5CF6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.modal-product-card:hover::before {
    transform: scaleX(1);
}

/* Checkbox stilovi za modal */
.modal-product-checkbox {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
}

.modal-product-checkbox input[type="checkbox"] {
    display: none;
}

.modal-product-checkbox label {
    display: block;
    width: 28px;
    height: 28px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.modal-product-checkbox label::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.modal-product-checkbox input[type="checkbox"]:checked + label {
    background: #10B981;
    border-color: #10B981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.modal-product-checkbox input[type="checkbox"]:checked + label::after {
    transform: translate(-50%, -50%) scale(1);
}

.modal-product-checkbox label:hover {
    border-color: #10B981;
    transform: scale(1.1);
}

/* Modal proizvod info */
.modal-product-image {
    text-align: center;
    margin: 1.5rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 15px;
}

.modal-product-image i {
    font-size: 3.5rem;
    color: #10B981;
    transition: all 0.3s ease;
}

.modal-product-card:hover .modal-product-image i {
    transform: scale(1.1);
    color: #059669;
}

.modal-product-info h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.modal-product-info p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.modal-spec {
    background: #f1f5f9;
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.modal-product-price {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #10B981;
    margin-top: 1rem;
}

/* Modal akcije korpe */
.modal-cart-actions {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    position: sticky;
    bottom: 0;
}

.modal-view-cart-btn {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(16,185,129,0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.modal-view-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16,185,129,0.6);
}

/* Dugme za otvaranje kataloga */
.open-catalog-btn {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(16,185,129,0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.open-catalog-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16,185,129,0.6);
}

/* Responsive stilovi za modal */
@media (max-width: 768px) {
    .modal-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .catalog-nav {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .catalog-grid {
        padding: 1rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .modal-product-card {
        padding: 1.5rem;
    }
    
    .modal-product-image {
        padding: 2rem;
    }
    
    .modal-product-image i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .modal-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cart-preview-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .close-modal-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
    
    .modal-product-card {
        padding: 1rem;
    }
    
    .modal-product-image {
        padding: 1.5rem;
    }
    
    .modal-product-image i {
        font-size: 2.5rem;
    }
}

/* PinkStuff strana - ružičasta tema */
body.PinkStuff {
    background: linear-gradient(135deg, 
        rgba(255, 105, 180, 0.2) 0%, 
        rgba(255, 182, 193, 0.25) 25%, 
        rgba(255, 192, 203, 0.2) 50%, 
        rgba(255, 105, 180, 0.25) 75%, 
        rgba(255, 20, 147, 0.2) 100%);
    position: relative;
}

body.PinkStuff::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pink-dots" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="rgba(255,182,193,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23pink-dots)"/></svg>');
    pointer-events: none;
    z-index: -1;
}

.PinkStuff .page-header {
    background: linear-gradient(135deg, 
        rgba(255, 105, 180, 0.4) 0%, 
        rgba(255, 182, 193, 0.5) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.3);
    border: 1px solid rgba(255, 105, 180, 0.4);
}

.PinkStuff .product-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 105, 180, 0.4);
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.2);
}

.PinkStuff .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.35);
    border-color: rgba(255, 105, 180, 0.7);
}

.PinkStuff .page-header p {
    color: #ff69b4;
    font-weight: 400;
}

.PinkStuff .page-header h1 {
    color: #ff1493;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(255, 20, 147, 0.3);
}

.PinkStuff .product-info h3 {
    color: #d63384;
    font-weight: 700;
}

.PinkStuff .main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
}

.PinkStuff footer {
    background: linear-gradient(135deg, #d63384 0%, #ff6b9d 100%);
} 