/* SuperDovolenka — Crowne Plaza Bratislava */
:root {
  --color-primary: #1a4d6d;
  --color-primary-dark: #0f3347;
  --color-accent: #c9a227;
  --color-accent-light: #e8c547;
  --color-bg: #f8f9fa;
  --color-text: #2c3e50;
  --color-light: #ffffff;
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-height: 72px;
  --transition: 0.3s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  font-weight: 600;
  line-height: 1.3;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-light);
  box-shadow: var(--shadow);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.nav-desktop a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  color: var(--color-primary);
}

.lang-switch:hover {
  background: var(--color-primary);
  color: white;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary-dark);
  transition: var(--transition);
  border-radius: 2px;
}

/* Mobile menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--color-light);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  padding: 1.5rem;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu nav ul {
  list-style: none;
  padding: 3rem 0 0;
  margin: 0;
}

.mobile-menu nav li {
  border-bottom: 1px solid #eee;
}

.mobile-menu nav a {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
}

.mobile-menu .lang-switch {
  margin-top: 1.5rem;
  display: inline-block;
}

/* Main content offset */
main {
  padding-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(26, 77, 109, 0.85),
    rgba(15, 51, 71, 0.75)
  );
  color: white;
  text-align: center;
  padding: 4rem 1.5rem;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative; /* Ensure content stays above images */
  z-index: 2; /* Place content above the slideshow */
}

/* Hero Slideshow */
.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1; /* Place behind hero-content */
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.4s ease; /* Smooth fade transition */
  transform: scale(1.05); /* Initial slight zoom */
  animation: kenBurns 18s infinite; /* Ken Burns effect */
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1); /* Reset scale for active slide */
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.hero h1 {
  color: white;
  font-size: clamp(1.75rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Buttons */
.btn-primary-custom {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background var(--transition),
    transform var(--transition);
  text-decoration: none;
}

.btn-primary-custom:hover {
  background: var(--color-accent-light);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-outline-custom {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--color-primary);
  font-weight: 600;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-outline-custom:hover {
  background: var(--color-primary);
  color: white;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.bg-white {
  background: var(--color-light);
}

.bg-light-custom {
  background: #eef2f5;
}

/* Cards */
.card-custom {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  height: 100%;
}

.card-custom:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-custom img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-custom .card-body {
  padding: 1.5rem;
}

.card-custom h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.card-list li {
  padding: 0.25rem 0;
  font-size: 0.9rem;
  color: #555;
}

.card-list li::before {
  content: "✓";
  color: var(--color-accent);
  margin-right: 0.5rem;
  font-weight: bold;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Contact form */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(26, 77, 109, 0.15);
}

.form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
}

.site-footer h5 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  display: block;
  padding: 0.25rem 0;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Page header */
.page-header {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-dark)
  );
  color: white;
  padding: 3rem 1.5rem;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 0.5rem;
}

.page-header p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Content prose */
.prose {
  max-width: 800px;
  margin: 0 auto;
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.prose h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

/* Menu table */
.menu-table {
  width: 100%;
  border-collapse: collapse;
}

.menu-table tr {
  border-bottom: 1px solid #eee;
}

.menu-table td {
  padding: 0.75rem 0;
}

.menu-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  padding: 1.25rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-btn {
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition);
}

.cookie-btn-accept {
  background: var(--color-primary);
  color: white;
}

.cookie-btn-accept:hover {
  background: var(--color-primary-dark);
}

.cookie-btn-reject {
  background: #eee;
  color: var(--color-text);
}

.cookie-btn-reject:hover {
  background: #ddd;
}

.cookie-btn-settings {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.cookie-btn-settings:hover {
  background: var(--color-primary);
  color: white;
}

/* Cookie settings modal */
.cookie-settings-panel {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  width: 100%;
}

.cookie-settings-panel.show {
  display: block;
}

/* Success modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  max-width: 480px;
  color: #000;
  width: 100%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, #28a745, #20c997);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.modal-close-btn {
  margin-top: 1.5rem;
  padding: 0.65rem 2rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
}

.modal-close-btn:hover {
  background: var(--color-primary-dark);
}

/* Attraction cards */
.attraction-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}

.attraction-card img {
  height: 200px;
  object-fit: cover;
}

.attraction-card .card-body {
  padding: 1.5rem;
  flex: 1;
}

/* Breadcrumb */
.breadcrumb-custom {
  padding: 1rem 0;
  font-size: 0.85rem;
}

.breadcrumb-custom a {
  color: #666;
}

/* Info box */
.info-box {
  background: #eef2f5;
  border-left: 4px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

/* Contact info */
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  padding: 1rem;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Tablet */
@media (min-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .nav-desktop {
    display: block;
  }

  .hamburger {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero {
    min-height: 80vh;
  }
}
