@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Great+Vibes&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --primary-color: #9b3e53;
  --secondary-color: #e78f9d;
  --button-hover: #672937;
  --bg-light: #ffffff;
  /* Changed to white */
  --bg-accent: #ffffff;
  --bg-pink: #fdf2f4;
  --bg-hero: #fafafa;
  /* Hero background */
  --text-color: #0d0508;
  /* Updated based on previous convo */
  --font-body: 'DM Sans', sans-serif;
  --font-heading: 'Instrument Serif', serif;
  --font-cursive: 'Great Vibes', cursive;
  --radius: 20px;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --box-shadow: 0 10px 30px rgba(28, 26, 40, 0.08);
  --section-padding: clamp(4rem, 8vw, 8rem) 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 100px;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-light);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
  padding: 0;
}



@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, 80px) scale(1.1);
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}

h2 span {
  color: var(--primary-color);
  font-style: italic;
}

footer h2 span {
  color: var(--secondary-color);
}

h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  margin-bottom: 1.2rem;
  max-width: 70%;
  color: var(--text-color);
}

.section-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: #9b3e53;
  display: block;
  margin-bottom: 0.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

/* Custom link underline animation */
.animated-link {
  position: relative;
  display: inline-block;
}

.animated-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.animated-link:hover::after {
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */
.container {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

section {
  padding: var(--section-padding);
  position: relative;
}

.bg-accent {
  background-color: var(--bg-accent);
}

.bg-pink {
  background-color: var(--bg-pink);
}



/* Dynamic Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  box-shadow: none;
  transition: var(--transition);
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--button-hover);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: none;
}

.btn:hover::before {
  width: 100%;
}

.btn-icon {
  margin-left: 0.8rem;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(5px);
}

/* Header & Nav */
header {
  background-color: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--primary-color);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
}

.header-logo-img {
  height: 55px;
  /* Adjust height as needed */
  width: auto;
  display: block;
  transition: var(--transition);
}



.logo span {
  font-family: var(--font-cursive);
  font-weight: normal;
  color: var(--secondary-color);
  font-size: 2.2rem;
  margin-left: 5px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Hamburger wrapper for 768px */
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--primary-color);
  display: none;
  /* Inherit from original logic, will be block in media query */
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.hamburger svg {
  width: 26px;
  height: auto;
  transition: all 0.3s ease;
}

.hamburger:hover svg {
  transform: scale(1.1);
  opacity: 0.8;
}

.hamburger[aria-expanded="true"] svg {
  transform: rotate(90deg);
}


.hero,
.page-hero {
  background-color: var(--bg-hero);
  position: relative;
}

footer {
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, #672937 100%);
  color: #fff;
}

/* Hero Section Refined */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1;
}

.hero-text .section-subtitle {
  margin-bottom: 0.5rem;
}

.hero h1 {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.hero p {
  max-width: 90%;
  margin-bottom: 2.5rem;
  font-size: 1.25rem;
  line-height: 1.8;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: rotate(2deg);
  transition: var(--transition);
}

.hero-img-wrapper:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.hero-img-wrapper:hover img {
  transform: scale(1.05);
}

.hero-decoration {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(var(--secondary-color) 2px, transparent 2px);
  background-size: 15px 15px;
  opacity: 0.3;
  z-index: -1;
  border-radius: 50%;
}

/* Services Section */


/* Service Card Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.service-card {
  position: relative;
  height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(13, 5, 8, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #fff;
  /* Fix for dark corners on light photos */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

/* Elegant staggered layout for 3 cards */
.grid-3 .service-card:nth-child(2) {
  transform: translateY(3rem);
}

.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.service-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 5, 8, 0.85) 0%, rgba(13, 5, 8, 0.1) 50%, transparent 100%);
  z-index: 2;
  transition: all 0.5s ease;
}

.service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem;
  z-index: 3;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
  transition: all 0.5s ease;
  max-width: 80%;
}

.service-card-description {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  max-height: 0;
  opacity: 0;
  transform: translateY(20px);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 90%;
}

.service-card-footer {
  display: flex;
  align-items: center;
}

.service-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover States */
.service-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 25px 50px rgba(13, 5, 8, 0.2);
}

.grid-3 .service-card:nth-child(2):hover {
  transform: translateY(calc(3rem - 5px)) !important;
}

.service-card:hover .service-card-bg img {
  transform: scale(1.1);
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(13, 5, 8, 1) 0%, rgba(13, 5, 8, 0.6) 100%);
}

.service-card:hover .service-card-description {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover .service-card-arrow {
  opacity: 1;
  transform: translateX(0);
  background-color: var(--primary-color);
}

.service-card-link {
  position: absolute;
  inset: 0;
  z-index: 4;
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .grid-3 .service-card:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-card {
    height: 450px;
  }

  .service-card-title {
    font-size: 1.8rem;
  }
}

/* About Section */
.about {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.about-img-container {
  position: relative;
  max-width: 440px;
  /* Slightly smaller */
  margin: 0 auto;
}

.about-img {
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  z-index: 2;
  position: relative;
  width: 100%;
}

.about-shape {
  display: none;
}

.about-decoration {
  position: absolute;
  bottom: -60px;
  left: -100px;
  width: 340px;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

@media (max-width: 768px) {
  .about-decoration {
    width: 220px;
    bottom: -30px;
    left: -40px;
  }

  .about-shape {
    display: none;
  }
}

.about-content p {
  max-width: 100%;
}

.about-content h2 {
  margin-top: 0.8rem;
  margin-bottom: 1.8rem;
  padding: 0.5rem 0;
}

.about-content .btn {
  margin-top: 1rem;
}

/* USP Bar Section */
.usp-bar {
  background-color: #FBFAFA;
  /* Světlé pozadí napříč šířkou */
  padding: 3rem 0 4.5rem 0;
  border: none;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

.usp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.usp-icon {
  width: 100px;
  height: 100px;
  background-color: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0px 0px rgba(155, 62, 83, 0.1);
  transition: var(--transition);
}

.usp-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.usp-item:hover .usp-icon {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0px 0px rgba(155, 62, 83, 0.15);
}

.usp-item h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.usp-item p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  max-width: 100%;
  margin: 0;
  color: rgba(13, 5, 8, 0.7);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .usp-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* Reduced padding for certificates section */
.certificates {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

/* Swiper Styling Refined */
.swiper {
  width: 100%;
  padding-top: 2rem !important;
  padding-bottom: 4rem !important;
  position: relative;
}

.swiper-slide {
  height: auto;
  transition: var(--transition);
}

.certiper .swiper-slide img,
.transformper .swiper-slide img {
  border-radius: var(--radius);
  transition: var(--transition);
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  background-color: #fff;
}

.certiper .swiper-slide img {
  object-fit: contain;
  padding: 1rem;
  background-color: #f9f9f9;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: none;
  /* No shadow as requested */
}

.transformper .swiper-slide img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.transformper .swiper-slide:hover img {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(155, 62, 83, 0.15);
}

/* Certiper Nav Buttons */
/* Certiper Nav Buttons - Positioned relative to certiper-outer-wrapper */
.certiper-outer-wrapper {
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding: 0 20px;
}

.certiper-nav {
  position: absolute;
  top: calc(50% - 1rem);
  width: calc(100% + 80px);
  left: -40px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 100;
}

@media (max-width: 1300px) {
  .certiper-outer-wrapper {
    max-width: 85%;
  }
}

@media (max-width: 768px) {
  .certiper-nav {
    display: none;
  }
}

.cert-prev,
.cert-next {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: var(--transition);
}

.cert-prev:hover,
.cert-next:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: scale(1.1);
}

.lightbox-img {
  cursor: zoom-in;
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 900px;
  animation-name: zoom;
  animation-duration: 0.6s;
  border-radius: 10px;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.lightbox-close:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

#lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: #ccc !important;
  opacity: 0.6 !important;
  transition: var(--transition);
}

.swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
  opacity: 1 !important;
  width: 30px !important;
  border-radius: 10px !important;
}

/* Reviews Section Re-design */
.reviews.section-bg-accent {
  padding: 6rem 0;
}

.reviews-header {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-nav-arrows {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.reviews-nav-arrows button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #fff;
  color: var(--primary-color);
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: none;
  transition: var(--transition);
}

.reviews-nav-arrows button:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: scale(1.1);
  box-shadow: none;
}

.reviews-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  /* Ensure grid columns don't overflow */
  min-width: 0;
}

.reviews-image img {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.reviewper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  /* Fix swiper overflow in flex/grid */
  min-width: 0;
  width: 100%;
}

.review-slide-content {
  padding: 0;
  max-width: 100%;
}

.review-quote {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
  font-style: italic;
  font-weight: 300;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  max-width: 90%;
}

.review-author {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #9b3e53;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .reviews-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .reviews.section-bg-accent {
    padding: 3.5rem 0;
  }

  .reviews-header {
    align-items: center;
    gap: 1.5rem;
  }

  .review-slide-content {
    max-width: 100%;
  }
}


/* Services Detail (vizazistika.html) */
.price-list {
  list-style: none;
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  max-width: 800px;
  margin: 0 auto;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 0px dashed rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
}

.price-list li:last-child {
  border-bottom: none;
}

.price-list li span:first-child {
  color: var(--text-color);
  font-weight: 500;
}

.price-list li span:last-child {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Footer Section - kept exactly as required, just adjusted spacing internally */
footer {
  background-color: var(--primary-color);
  padding: 5rem 0 2rem;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  position: relative;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: #fff;
}

.footer-contact-link {
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-contact-link:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.contact-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info i {
  color: var(--primary-color);
  font-size: 1.25rem;
  width: 25px;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid #eee;
  background: #fdfdfd;
  border-radius: 12px;
  font-family: var(--font-body);
  transition: var(--transition);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(231, 143, 157, 0.15);
}

.honeypot {
  display: none;
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--box-shadow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 630px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin: 0 0.5rem;
  box-shadow: none;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--button-hover);
  color: #fff;
  transform: translateY(-3px);
}

/* Animations Triggered by Observer */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pricing Pages CSS (vizazistika) */
.page-hero {
  padding: clamp(10rem, 15vw, 15rem) 0 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-title {
  font-size: clamp(3.5rem, 6vw, 5rem);
  margin-bottom: 5rem;
  position: relative;
  z-index: 2;
}

.page-hero p {
  margin: 0 auto;
  font-size: 1.25rem;
  max-width: 800px;
}

.pricing-section .container {
  max-width: 1400px;
  width: 90%;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.pricing-card.glass:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(155, 62, 83, 0.08);
}

.pricing-card.highlight {
  background: var(--secondary-color);
  color: #fff;
  border: none;
}

.pricing-card.highlight h3,
.pricing-card.highlight .price-desc,
.pricing-card.highlight .price-sub span,
.pricing-card.highlight i,
.pricing-card.highlight .pricing-icon {
  color: #fff;
  filter: brightness(0) invert(1);
}

.pricing-card.highlight h3 {
  color: #fff;
}

.price-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.price-header i,
.pricing-icon {
  font-size: 1.8rem;
  color: var(--secondary-color);
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.price-header h3 {
  margin: 0;
  font-size: 1.8rem;
}

.price-amount {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.pricing-card.highlight .price-amount {
  color: #fff;
}

.price-desc {
  flex-grow: 1;
  font-size: 0.95rem;
  margin: 0 auto 1.5rem;
  max-width: 90%;
  border-bottom: none;
  padding-bottom: 0;
  line-height: 1.5;
  text-align: center;
}

.pricing-card.highlight .price-desc {
  border-color: transparent;
}

.price-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.5);
  padding: 0.8rem;
  border-radius: 12px;
  width: 90%;
  margin: 0 auto;
}

.pricing-card.highlight .price-sub {
  background: rgba(0, 0, 0, 0.15);
}

.price-sub strong {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.pricing-card.highlight .price-sub strong {
  color: #fff;
}

.info-banner {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  background: #fff;
  border-radius: var(--radius);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: none;
}

.banner-img {
  width: 40%;
  object-fit: cover;
  min-height: 100%;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-radius: calc(var(--radius) + 1.5rem);
}

.banner-content {
  padding: 2.5rem 3rem;
  flex: 1;
}

.banner-content p {
  max-width: 95%;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  /* Zajištění správné velikosti */
}

.banner-content ul {
  list-style: none;
  margin-bottom: 2rem;
}


.banner-content li {
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  /* Pro sjednocení s výše uvedeným odstavcem */
  align-items: center;
  /* Vertikální vycentrování ikony s textem */
}

.banner-content li i {
  font-size: 1.2rem;
}

@media (max-width: 992px) {
  .info-banner {
    flex-direction: column;
  }

  .banner-img {
    width: 100%;
    height: 300px;
  }

  .banner-content {
    padding: 2rem;
  }
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .about-grid {
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-shape {
    display: none;
  }

  .about-img {
    margin: 0 auto;
    max-width: 360px;
    /* Even smaller on mobile */
    display: block;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid-2 .card:nth-child(2) {
    transform: none;
  }

  .grid-2 .card:nth-child(2):hover {
    transform: translateY(-10px) !important;
  }
}

@media (max-width: 768px) {
  p {
    max-width: 100%;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
    order: 10;
    /* Ensure it's last in flex layout */
  }


  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 2.5rem;
    gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    margin-top: 10px;
    clip-path: circle(0% at 100% 0%);
    transition: clip-path 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .nav-links.active {
    clip-path: circle(150% at 100% 0%);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .certificates {
    padding-top: 5rem;
  }
}

/* Utils */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

/* Glass Header & Hero specific styling */
.glass-header {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: 100px;
  z-index: 1000;
  padding: 0.6rem 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.glass-header .nav-container {
  width: 100%;
}

.glass-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-color);
}

.glass-logo i {
  color: var(--primary-color);
}

.glass-nav-links {
  gap: 2rem;
}

.glass-nav-links a {
  color: var(--text-color);
  font-size: 0.95rem;
  font-weight: 500;
}

.glass-nav-links a:hover {
  color: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-glass-header {
  background-color: var(--primary-color);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
}

.btn-glass-header::before {
  background-color: var(--button-hover);
}

.glass-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  /* Offset for floating header */
  margin-top: 0;
  /* Override any main padding or margin if any */
}

/* Ensure body or main padding isn't pushing hero down, since glass-header is absolute */
main {
  padding-top: 0;
}

.hero-bg-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../Obrazky/hero_img.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}



.hero-bg-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(243, 234, 235, 0.15);
  z-index: 1;
}

/* Tablet & Mobile Overrides */
@media (max-width: 1024px) {
  .hero-bg-placeholder {
    background-image: url('../Obrazky/hero_tabletamobil.jpg');
    background-position: center;
    /* Ensures it's centered */
  }

  .hero-bg-placeholder::after {
    background: rgba(243, 234, 235, 0.6);
    /* Sytější overlay pro mobily */
    backdrop-filter: none;
    display: block;
    /* Ensure it's shown */
  }
}

.glass-hero-container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
}

.glass-hero-text {
  max-width: 600px;
}

.glass-subtitle {
  color: var(--primary-color);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.glass-h1 {
  font-size: clamp(3.5rem, 6vw, 5rem);
  color: var(--text-color);
  line-height: 1.1;
  font-family: var(--font-heading);
  margin-bottom: 6rem;
}

.glass-h1 em {
  font-style: italic;
  font-weight: 400;
}

.glass-hero-buttons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.btn-primary-glass {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-transform: none;
  font-size: 1rem;
  font-weight: 600;
}

.btn-primary-glass::before {
  background-color: var(--button-hover);
}

.btn-primary-glass:hover {
  color: white;
}

.btn-primary-glass .btn-icon {
  background-color: #fff;
  color: #9b3e53;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.btn-primary-glass:hover .btn-icon {
  transform: rotate(45deg) translate(2px, -2px) !important;
  background-color: #fff;
  color: var(--button-hover);
}

.btn-outline-glass {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 1rem 2rem;
  border-radius: 30px;
  text-transform: none;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: none;
}

.btn-outline-glass::before {
  background-color: rgba(0, 0, 0, 0.05);
}

.btn-outline-glass:hover {
  transform: translateY(-2px);
  color: var(--primary-color);
}

/* Subpage VizĂˇĹľistika specific background */
.subpage-vizazistika .page-hero {
  background-color: transparent;
}

.subpage-vizazistika .page-hero .hero-bg-placeholder::after {
  background: rgba(243, 234, 235, 0.6);
  /* Sjednoceno s mobily pro přirozenější vzhled */
  backdrop-filter: blur(3px);
}

@media (min-width: 1025px) {
  .subpage-vizazistika .page-hero .hero-bg-placeholder::after {
    background: rgba(243, 234, 235, 0.85);
  }
}


.subpage-vizazistika .info-banner {
  background: #fdf2f4;
  /* Světle růžové pozadí */
  border: none;
  box-shadow: 0 20px 40px rgba(155, 62, 83, 0.05);
  overflow: visible;
  margin-top: 5rem;
  /* Zmenšeno z 8rem pro posunutí bloku výše */
  padding-left: 2rem;
  display: flex;
  align-items: flex-end;
  /* Zarovnání obsahu k dolní straně */
}

.subpage-vizazistika .banner-img {
  width: 45%;
  margin-top: -12rem;
  /* Ještě vyšší přesah */
  margin-bottom: 0;
  /* Zarovnání spodní hrany k řádku */
  padding: 0;
  border-radius: 0;
  object-fit: contain;
  filter: none;
  /* Bez stínu dle požadavku */
  z-index: 10;
  position: relative;
}

.subpage-vizazistika .banner-section {
  padding: 0 0 6rem 0;
  /* Horní padding stažen na 0 */
}

@media (max-width: 992px) {
  .subpage-vizazistika .info-banner {
    margin-top: 10rem;
    padding-left: 0;
    align-items: center;
    /* Na mobilu raději doprostřed */
  }

  .subpage-vizazistika .banner-img {
    width: 90%;
    margin: -10rem auto 0 auto;
    display: block;
  }
}




@media (max-width: 992px) {
  .header-actions {
    display: none;
  }

  /* Hide on smaller screens to simplify */
  .glass-hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary-glass,
  .btn-outline-glass {
    text-align: center;
    justify-content: center;
  }
}

.transformper-outer-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .transformper-outer-wrapper {
    padding: 0 1rem;
  }
}

.transformper-nav {
  position: absolute;
  top: calc(50% - 1rem);
  width: calc(100% + 80px);
  left: -40px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 100;
}

@media (max-width: 768px) {
  .transformper-nav {
    display: flex;
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
    justify-content: center;
    gap: 1.5rem;
    transform: none;
    pointer-events: auto;
  }
}

.trans-prev,
.trans-next {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: var(--transition);
}

.trans-prev:hover,
.trans-next:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: scale(1.1);

}

/* --- Cookie Bar --- */
.cookie-banner {
  position: fixed;
  bottom: 30px;
  right: 30px;
  /* Moved to right */
  max-width: 420px;
  width: calc(100% - 60px);
  background: #ffffff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  z-index: 10000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  display: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-banner.visible {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cookie-banner h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-color);
  line-height: 1.2;
}

.cookie-banner p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4a4a4a;
  margin-bottom: 25px;
  width: 100%;
  max-width: 100%;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn {
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
  flex: 1;
  min-width: 130px;
}

.cookie-btn-accept {
  background-color: var(--primary-color);
  color: #ffffff;
}

.cookie-btn-accept:hover {
  background-color: var(--button-hover);
  transform: translateY(-2px);
}

.cookie-btn-reject {
  background-color: #f5f5f7;
  color: #4a4a4a;
  border: 1px solid #eee;
}

.cookie-btn-reject:hover {
  background-color: #eee;
  border-color: #ddd;
}

.cookie-btn-settings {
  background: none;
  color: #666;
  text-decoration: underline;
  font-weight: 400;
  font-size: 0.85rem;
  padding: 5px 0;
  margin-top: 15px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  opacity: 0.8;
}

.cookie-btn-settings:hover {
  opacity: 1;
  color: var(--text-color);
}

/* Floating Revisit Widget */
.cookie-revisit {
  position: fixed;
  bottom: 30px;
  right: 30px;
  /* Moved to right */
  width: 46px;
  height: 46px;
  background: var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  color: #ffffff;
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

.cookie-revisit.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.cookie-revisit:hover {
  transform: scale(1.1);
  background: var(--button-hover);
}

.cookie-revisit i {
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 20px;
    right: 20px;
    left: auto;
    width: calc(100% - 40px);
    padding: 24px;
  }

  .cookie-revisit {
    bottom: 20px;
    right: 20px;
  }
}