/* Home Page Specific Styles */

/* Hero Video Section */
.hero-video {
  width: 100%;
  height: 63vh;
  overflow: hidden;
  position: relative;
  background-color: #000;
  background-image: none !important;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 63vh;
  min-width: 112vh; /* 16:9 aspect ratio */
  border: none;
  pointer-events: none;
}

/* Hero Overlay and Content */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.hero-content {
  text-align: center;
  color: #ffffff;
  padding: 2rem;
  max-width: 800px;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-btn-primary,
.hero-btn-secondary,
.hero-btn-gift {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 30px;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
}

.hero-btn-primary {
  background-color: #b59432;
  color: #ffffff;
  border-color: #b59432;
}

.hero-btn-primary:hover {
  background-color: #977a28;
  border-color: #977a28;
  color: #ffffff;
}

.hero-btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.hero-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: #ffffff;
}

.hero-btn-gift {
  background-color: #ffffff;
  color: var(--pivni-primary);
  border-color: #ffffff;
}

.hero-btn-gift:hover {
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--pivni-primary);
  border-color: var(--pivni-primary);
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-btn-primary,
  .hero-btn-secondary,
  .hero-btn-gift {
    padding: 0.85rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero-video {
    height: 56.25vw;
    min-height: 60vh;
    position: relative;
  }

  .video-container {
    height: 100%;
  }

  .hero-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.78vh;
    border: none;
    pointer-events: none;
  }

  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero-buttons {
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .hero-btn-primary,
  .hero-btn-secondary,
  .hero-btn-gift {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
  }
}

/* Packages Section */
.packages-section,
.reservation-widget-section,
.gallery-intro-section,
.hotel-intro-section,
.voucher-intro-section {
  background-color: var(--pivni-background);
  padding: 5rem 0;
}

.beer-inclusion-info {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: var(--pivni-primary);
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: rgba(181, 148, 50, 0.1);
  border-radius: 8px;
  display: inline-block;
}

.beer-inclusion-info i {
  color: var(--pivni-text-accent);
}

.package-section-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--pivni-primary);
  margin-bottom: 2rem;
  text-align: center;
  border-bottom: 3px solid var(--pivni-text-accent);
  padding-bottom: 1rem;
  display: inline-block;
  width: 100%;
}

/* Desktop: Grid zobrazení */
.packages-section .packages-grid-desktop {
  padding: 0;
}

/* Carousel pro balíčky pro 2 osoby - desktop */
@media (min-width: 992px) {
  .packages-section .packages-carousel-2 {
    padding: 0 3rem;
    position: relative;
  }

  .packages-section .packages-carousel-2 .carousel-control-prev,
  .packages-section .packages-carousel-2 .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--pivni-primary);
    border-radius: 50%;
    opacity: 0.8;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    z-index: 10;
  }

  .packages-section .packages-carousel-2 .carousel-control-prev {
    left: 0;
  }

  .packages-section .packages-carousel-2 .carousel-control-next {
    right: 0;
  }

  .packages-section .packages-carousel-2 .carousel-control-prev:hover,
  .packages-section .packages-carousel-2 .carousel-control-next:hover {
    opacity: 1;
    background-color: var(--pivni-text-accent);
  }
}

/* Carousel pro mobil */
@media (max-width: 991.98px) {
  .packages-section .carousel {
    padding: 0 3rem;
    position: relative;
  }

  /* Na mobilu zobrazit pouze jeden balíček v carouselu pro 2 osoby */
  .packages-section .packages-carousel-2 .carousel-item .row > [class*="col-"] {
    display: none;
  }

  .packages-section
    .packages-carousel-2
    .carousel-item
    .row
    > [class*="col-"]:first-child {
    display: flex;
  }

  .packages-section .carousel-control-prev,
  .packages-section .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--pivni-primary);
    border-radius: 50%;
    opacity: 0.8;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    z-index: 10;
  }

  .packages-section .carousel-control-prev {
    left: 0;
  }

  .packages-section .carousel-control-next {
    right: 0;
  }

  .packages-section .carousel-control-prev:hover,
  .packages-section .carousel-control-next:hover {
    opacity: 1;
    background-color: var(--pivni-text-accent);
  }
}

/* Skrýt carousel controls na desktopu pro balíčky pro 1 osobu */
@media (min-width: 992px) {
  .packages-section #packagesSlider1 .carousel-control-prev,
  .packages-section #packagesSlider1 .carousel-control-next {
    display: none;
  }
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--pivni-primary);
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--pivni-text-accent);
  padding-bottom: 1rem;
  display: inline-block;
}

.section-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  color: var(--pivni-text);
  max-width: 600px;
  margin: 0 auto;
}

.package-card {
  background-color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: none;
  border: 2px solid rgba(44, 95, 79, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Zajistit stejnou výšku karet v carouselu */
.packages-section .carousel-item .row {
  display: flex;
}

.packages-section .carousel-item .row > [class*="col-"] {
  display: flex;
}

.packages-section .carousel-item .row > [class*="col-"] .package-card {
  width: 100%;
}

.package-card:hover {
  transform: translateY(-5px);
  border-color: var(--pivni-text-accent);
}

.package-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.package-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--pivni-text-accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.package-card:hover .package-image img {
  transform: scale(1.05);
}

.package-content {
  padding: 0.75rem 1rem 1.25rem 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.package-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pivni-primary);
  margin-top: 0;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--pivni-text-accent);
  padding-bottom: 0.4rem;
}

.package-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.package-list li {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: var(--pivni-text);
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.package-list li::before {
  content: "•";
  color: var(--pivni-text-accent);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: 0.25rem;
}

/* Services Info Section */
.services-info-section {
  background-color: var(--pivni-background);
}

.service-info-card {
  background-color: white;
  padding: 0;
  border-radius: 10px;
  height: 100%;
  border: 2px solid rgba(44, 95, 79, 0.2);
  box-shadow: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.service-info-card:hover {
  transform: translateY(-3px);
  border-color: var(--pivni-text-accent);
}

.service-info-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 0;
}

.service-info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-info-card .service-info-title,
.service-info-card .service-info-text {
  padding: 0 1.5rem;
}

.service-info-card .service-info-text {
  padding-bottom: 1.5rem;
}

.service-info-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--pivni-primary);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--pivni-text-accent);
  padding-top: 2.5rem;
  padding-bottom: 0.75rem;
}

.service-info-text {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--pivni-text);
  margin: 0;
}

/* 3D Tour Section */
.tour3d-section {
  background-color: var(--pivni-background);
}

.tour3d-section .section-title {
  width: 100%;
  display: block;
}

.tour3d-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tour3d-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Section */
.contact-section {
  background-color: var(--pivni-background);
}

.contact-section .section-title {
  width: 100%;
  display: block;
}

.map-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.contact-form-box,
.contact-info-box {
  background-color: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.contact-form .form-label {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: var(--pivni-primary);
  margin-bottom: 0.5rem;
}

.contact-form .form-control {
  border: 2px solid rgba(44, 95, 79, 0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: "Inter", sans-serif;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--pivni-primary);
  box-shadow: 0 0 0 0.2rem rgba(44, 95, 79, 0.25);
}

.contact-form .form-check-label {
  font-family: "Inter", sans-serif;
  color: var(--pivni-text);
  margin-left: 0.5rem;
}

.contact-form .form-check-input:checked {
  background-color: var(--pivni-primary);
  border-color: var(--pivni-primary);
}

.contact-form .cta-btn {
  padding: 0.75rem 3rem;
  font-size: 1.1rem;
}

.contact-info-content {
  text-align: center;
}

.contact-logo {
  text-align: center;
}

.contact-info-block {
  font-family: "Inter", sans-serif;
  color: var(--pivni-text);
}

.contact-company-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  color: var(--pivni-primary);
  margin-bottom: 0.5rem;
}

.contact-address {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--pivni-text);
  margin-bottom: 0.25rem;
}

.contact-detail {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--pivni-text);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.contact-link {
  color: var(--pivni-text-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--pivni-primary);
}

.contact-hours-title {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--pivni-primary);
  margin-bottom: 0.75rem;
}

.contact-hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}

.contact-hours-list li {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--pivni-text);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.contact-open {
  color: #4caf50;
  font-weight: 600;
}

.contact-closed {
  color: #f44336;
}

.contact-social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-link-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--pivni-primary);
  border-radius: 50%;
  color: white;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link-contact:hover {
  background-color: var(--pivni-text-accent);
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 991.98px) {
  .packages-section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .package-image {
    height: 180px;
  }

  .package-title {
    font-size: 1.35rem;
  }

  .packages-section .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media (max-width: 767.98px) {
  .packages-section {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .package-image {
    height: 150px;
  }

  .package-content {
    padding: 1.5rem;
  }

  .package-title {
    font-size: 1.25rem;
  }

  .package-list li {
    font-size: 0.95rem;
  }

  .packages-section .carousel {
    padding: 0 1rem;
  }

  .packages-section .row {
    flex-wrap: wrap;
  }

  .packages-section .col-lg-4,
  .packages-section .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
