
.card {
  border-radius: 14px;
  transition: all 0.25s ease;
}
  
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}
/* Dashboard */
.card-body h5 {
    font-weight: 600;
    font-size: 1.2rem;
}
h5 {
  letter-spacing: -0.2px;
}

.btn {
  border-radius: 10px;
  font-weight: 500;
  }

.text-muted.small {
  line-height: 1.5;
}

.btn-success i {
    font-size: 1rem;
    vertical-align: middle;
}

/* admin dashboard */


/* generate ads */
.formatted-text {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

.formatted-text h2,
.formatted-text h3 {
    margin-top: 12px;
    margin-bottom: 6px;
}

.formatted-text p,
.formatted-text li {
    margin-bottom: 4px;
}

.formatted-text ul {
    list-style-type: disc;
    margin-left: 1.5em;
    padding-left: 0.5em;
}

#loading-indicator {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.contact-section {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
}

.contact-section input,
.contact-section textarea {
    transition: all 0.2s ease;
    
}

.contact-section input:focus,
.contact-section textarea:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    border-color: #0d6efd;
    
}
.btn-gradient {
    background: linear-gradient(to right, #6a00ff, #0072ff);
    border: none;
    color: white;
}

/* My Photos template */
.image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;  /* alebo 4 / 3 ak chceš iný pomer */
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: #f0f0f0; /* neutrálny podklad pred načítaním */
  position: relative;
}
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}


.image-wrapper img:hover {
  transform: scale(1.03);
}

.before-after-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.before-after-wrapper .before-image,
.before-after-wrapper .after-image {
  position: absolute;
  top: 0; left: 0; height: 100%; width: 100%;
  background-size: cover;
  background-position: center;
}
.before-after-wrapper .after-image {
  clip-path: inset(0 50% 0 0);
}
.before-after-wrapper input.before-after-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  cursor: ew-resize;
  background: transparent;
  z-index: 10;
  -webkit-appearance: none;
}
.before-after-wrapper input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 100%;
  width: 2px;
  background: #007bff;
  border: none;
}

.hover-scale {
  transition: transform 0.3s ease;
}
.hover-scale:hover {
  transform: scale(1.03);
}

/* === HERO SEKCIA === */
.hero-section {
  background: linear-gradient(135deg, #243b55, #141e30);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

/* === CTA SEKCIA === */
.cta-section {
  background: linear-gradient(135deg, #4ca1af, #2c3e50);
}

/* === SLIDER KONTEJNER === */
.slider-container {
  aspect-ratio: 5 / 4;
  background: #000;
  cursor: grab;
  position: relative;
}
.slider-line {
  left: 50%;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}
.img-before {
  clip-path: inset(0 50% 0 0);
  transition: none;
}

/* === Feature Cards (vizualizácie ako v dizajne) === */
.feature-card {
  border: 1px solid #f0f0f0;
  transition: all 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.slider-container {
  aspect-ratio: 4 / 3;
  background: #000;
  cursor: grab;
  position: relative;
}

.slider-line {
  left: 50%;
  width: 3px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.img-before {
  clip-path: inset(0 50% 0 0);
  transition: none;
}

/* Text styling */
.feature-card h5 {
  font-size: 1.25rem;
  color: #7b61ff; /* jemný fialový akcent */
}
.feature-card h6 {
  font-size: 1rem;
  color: #000;
}
.feature-card p {
  line-height: 1.5;
}
.feature-card ul li i {
  font-size: 1.1rem;
}
/* === HERO SLIDER (AI carousel) === */
.ai-hero {
  background: #fafbff;
  position: relative;
  overflow: hidden;
}

.ai-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at top left, rgba(123, 97, 255, 0.05), transparent 60%);
  pointer-events: none;
}

.ai-hero h1 {
  font-size: 2.5rem;
  line-height: 1.3;
}
.text-accent {
  color: #7b61ff;
}
.tracking-wide {
  letter-spacing: 0.08em;
}

.hero-image-wrapper img {
  border-radius: 1rem;
  transition: transform 0.4s ease;
}
.hero-image-wrapper img:hover {
  transform: scale(1.02);
}

/* Bootstrap carousel overrides */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) grayscale(100);
  opacity: 0.7;
}
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  opacity: 1;
}
.carousel-fade .carousel-item {
  transition: opacity 1s ease-in-out;
}
.model-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  position: relative;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  padding: 1rem;
  background-color: #fff;
  transition: all 0.2s ease;
  height: 110px; /* 🔹 rovnaká výška pre obe karty */
}

.model-card:hover {
  border-color: #0d6efd;
  cursor: pointer;
}

.btn-check:checked + .model-card {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13,110,253,0.2);
  background-color: #f8f9fa;
}

.model-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  flex-shrink: 0;
}

.model-content {
  flex: 1;
}

.model-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.photo-preview img {
  transition: transform 0.2s ease;
}
.photo-preview img:hover {
  transform: scale(1.05);
}
#global-spinner {
  position: fixed;
  bottom: 20px;       /* stále dolu */
  left: 20px;         /* ✅ presunuté naľavo */
  z-index: 2000;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  padding: 10px 16px;
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #333;
  transition: all 0.4s ease;
}

#global-spinner .spinner-border {
  width: 20px;
  height: 20px;
}

#global-spinner.done {
  background: #d1fae5;
  color: #065f46;
}

#global-spinner.error {
  background: #fee2e2;
  color: #991b1b;
}

  .dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
  }

  .dashboard-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: all 0.2s ease-in-out;
  }

  .dashboard-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  }

  @media (max-width: 991px) {
    .dashboard-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 768px) {
    .dashboard-grid {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 992px) {
    .col-lg-3 {
      order: 2;
    }
    .col-lg-9 {
      order: 1;
    }
  }
/* ======================================================
   🎯 Inzaria – Launch Banner (moderný hero)
   ====================================================== */

.launch-banner {
  background: linear-gradient(135deg, #0d6efd 0%, #7b61ff 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.launch-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #fff;
}

@media (min-width: 992px) {
  .launch-banner h2 {
    font-size: 2.4rem;
  }
}

/* --- Tlačidlo --- */
.launch-banner .btn-light {
  color: #0d6efd;
  background-color: #fff;
  border: none;
  transition: all 0.3s ease;
}

.launch-banner .btn-light:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(255,255,255,0.25);
}

/* --- Dekoratívne tvary --- */
.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  animation: float 10s ease-in-out infinite alternate;
  z-index: 0;
}

.shape-left {
  width: 180px;
  height: 180px;
  top: 10%;
  left: -80px;
}

.shape-right {
  width: 260px;
  height: 260px;
  bottom: -60px;
  right: -120px;
  animation-delay: 2s;
}

@keyframes float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-25px) scale(1.05); }
}

/* Reklama inzerat homepage --- */
.launch-banner {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.launch-banner .container {
  position: relative;
  z-index: 2; /* 🟢 text + tlačidlá nad všetkým */
}

.shape,
.launch-banner::before {
  z-index: 1; /* 🔵 pozadie a tvary sú pod textom */
  pointer-events: none; /* 🧠 dôležité: tvary neblokujú kliknutia */
}

/* Safari */
@supports (-webkit-overflow-scrolling: touch) {
  .card-img-top {
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
  }
}