* {
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

body {
  background-color: #0f0f1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
} 

.glass-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(5px);
  border: 2px solid #005fa3;
  border-radius: 12px;
  margin: 1rem auto;
  width: 95%;
  max-width: 1400px;
  padding: 0.8rem 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00aaff;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: #f0f0f0;
  font-size: 1.2em;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00aaff;
}

.btn-primary {
  background-color: #0070cc;
  color: black !important;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  background-color: #005fa3;
  box-shadow: 0 0 10px #0070cc70;
}

hr{
  width: 80px;
  margin-bottom: 2.5em;
}

section {
  padding: 4rem 2rem;
}

h2 {
  font-size: 2.7em;
  text-align: center;
  color: #00aaff;
  margin-bottom: 2rem;
  font-family: 'Poppins', sans-serif;
}

h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero {
  background-color: black;
  text-align: center;
  padding: 4rem 2rem;
  width: 100%;
}

.hero h1 {
  font-size: 3rem;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.4rem;
  color: #cccccc;
  margin-bottom: 2rem;
}

.naročnina {
  background-color: #0088cc;
  padding: 20px;
  color: black;
  border: none;
  border-radius: 8px;
  transition: transform 0.3s;
  font-size: 1.1em;
  font-weight: bold;
  margin-right: 20px;
}

.pp {
  background-color: black;
  padding: 20px;
  color: white;
  border: 2px solid white;
  border-radius: 8px;
  transition: transform 0.3s;
  font-size: 1.1em;
  font-weight: bold;
}

button:hover {
  transform: scale(1.05);
}

.wave-top {
  position: relative;
  width: 100%;              
  height: clamp(120px, 18vw, 200px); 
  overflow: hidden;
  line-height: 0;
  background-color: black;
  align-self: stretch;        
}

.wave-top svg {
  display: block;
  width: 100%;
  height: 100%;               
}

.pricing {
  background-color: #0f0f1a;
  padding: 4rem 2rem;
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}

.card {
  background-color: #121826;
  border-radius: 12px;
  border-top: 4px solid #0070cc;
  padding: 2rem;
  flex: 1 1 380px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 1.2em;
  transition: transform 0.3s, border 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.card ul li {
  margin: 0.5rem 0;
  padding-left: 1.2rem;
  position: relative;
  color: #c5c5c5;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

li i.bx {
    color: #0070cc;         
    font-size: 1.8rem;      
    vertical-align: middle; 
    margin-right: 0.2rem;  
}

.btn {
  background-color: #0088ff;
  color: white;
  padding: 0.9rem 1.8rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 30px #0088ff50;
}

.btn:hover {
  background-color: #0070cc;
  box-shadow: 0 0 15px #0088ff80;
}

.price {
  font-size: 2rem;
  padding: 20px;
  font-weight: bold;
  color: #fff;
}

.popular {
  color: white;
  border: 2px solid #00aaff;
}

.badge {
  background-color: #00aaff;
  color: black;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.3rem 0.6rem;
  border-radius: 10px 0 10px 0;
  position: absolute;
  bottom: 0;
  right: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 2em;
}

.gallery-grid img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s;
  border: 3px solid #0070cc;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

.features {
  width: 60%;
  background: linear-gradient(to right, #222733, #0c0c14);
  border-top: 3px solid #0088cc;
  border-radius: 12px;
  padding: 2rem 2rem 5rem;
  margin: 6rem 1rem 4rem;
  text-align: center;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
  margin-top: 4rem;
}

.benefit-box {
  background-color: #1a1f2f;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  width: 300px;
  color: #f0f0f0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
  transition: transform 0.3s;
  font-size: 0.95rem; 
}

.benefit-box .icon {
  font-size: 1.6rem;
  color: #0099ff;
  flex-shrink: 0;
  display: block;
  margin-bottom: 0.5rem;
}

.features .btn {
  display: inline-block;
  font-size: 1.25em;
  border-radius: 30px;
  padding: 0.6em 1.5em;
  background-color: #0070cc;
  color: white;
  transition: transform 0.3s;
}

.features .btn:hover {
  transform: scale(1.05);
}

.benefit-box p {
  margin: 0;
  line-height: 1.3;
  font-weight: 500;
  font-size: 1.4em;
}

.benefit-box:hover{
  transform: scale(1.05);
}

.image-selector {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.image-selector button {
  background-color: #0070cc;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.image-selector button:hover {
  background-color: #005fa3;
  transform: scale(1.05);
}

.ba-wrapper {
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 3 / 2;       
  height: auto;            
  margin: 0 auto 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 3px solid #0070cc;
  background: #000;
  display: none;
}
.ba-wrapper.active {
  display: block;
}

.ba-img {
  display: block;
  width: 100%;
  height: 100%;       
  object-fit: cover;   
  position: absolute;
  top: 0;
  left: 0;
}

.ba-wrapper .ba-img {
  position: absolute;
  inset: 0;                 
  width: 100%;
  height: 100%;
  object-fit: cover;         
  max-width: none;
}

.ba-img.after {
  position: relative;
  z-index: 1;
}

.ba-img.before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.divider {
  position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
  width: 4px;
  background: #00aaff;
  z-index: 3;
  transform: translateX(-50%);
}

.slider {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: ew-resize;
  opacity: 0;
  touch-action: none;
}

.slider-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1a1a1a;
  border: 2px solid #0070cc;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  color: white;
  font-size: 1.5rem;
}

.slider-container {
  width: min(1100px, 92%);
  margin: 2rem auto;
}

.slider-container p {
  margin-top: 2rem;
  text-align: center;
  color: rgb(167, 167, 167);
  font-size: 1rem;
}


.reviews {
  text-align: center;
  padding: 1rem 2rem 3rem;
  background-color: #0f0f1a;
  color: white;
  margin-bottom: 1.5em;
}

#review-box {
  background-color: #1a1a26;
  padding: 2.5rem;
  border-radius: 15px;
  margin: 3rem auto;
  width: 100%;
  max-width: 850px;
  border-bottom: 4px solid #0070cc; 
  transition: transform 0.3s;
}

.italic {
  font-style: italic;
  font-size: 1.3rem;
  color: #bbbbbb;;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5rem;
  font-weight: bold;
  color: #3399ff;
}

.review-stars {
  color: #3399ff;
  font-size: 1.3em;
}

.review-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.review-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 80%);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.review-controls button:hover {
  background-color: #0070cc;
  border-color: #0070cc;
  color: white;
  transform: scale(1.05);
}

#review-dots {
  display: flex;
  gap: 0.5rem;
}

#review-dots span {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

#review-dots span.active {
  background-color: #0070cc;
}


#review-box:hover{
  transform: scale(1.05);
}

.review-controls button:hover {
  border-color: #0070cc;
  color: #0070cc;
  box-shadow: 0 0 0 2px #0070cc;
}

.curved-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.curved-divider svg {
  display: block;
  width: 100%;
  height: 120px;
}

.site-footer{
  width: 100%;
  padding: 4rem 2rem 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 4em;
  gap: 2rem;
  color: white;
}

.footer-contact, .footer-links, .footer-socials{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  text-decoration: none;
  padding: 0;
}

.footer-container p,
.footer-container ul,
.footer-container li,
.footer-container a {
  color: #8a8a8a;
  text-decoration: none;
}

.footer-container a {
  display: inline-block; 
  color: #8a8a8a;
  transition: color 0.3s, transform 0.3s;
}

.footer-container a:hover{
  color: #0088cc;
  transform: scale(1.1);
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-socials .social-icons {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
}

.footer-socials .social-icons a {
  color: #fff;
  transition: color 0.3s;
  transition: transform 0.3s;
}

.footer-socials .social-icons a:hover {
  color: #0088cc;
  transform: scale(1.1);
}

.footer-bottom {
  color: #8a8a8a;
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #222;
  padding: 1rem;
}

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0070cc;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, top 0.5s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  top: 40px;
}