:root {
  --gold: #876D31;        /* champagne gold */
  --gold-soft: rgba(198,167,94,0.4);
}

.navbar-toggler {
	border:0;
}

.navbar-toggler:focus, .navbar-toggler:hover {
  box-shadow: none;
  background:var(--gold);;
}

.dropdown-menu {
  --bs-dropdown-min-width: 6.25rem;
}

.dropdown-menu-end[data-bs-popper] {
	right: 1.5rem;
}

.dropdown-item.lang-select {
	cursor:pointer!important;
}

.btn.dropdown-toggle.langs:hover {
  color: #fff;
}


.dropdown-item.lang-select {
  cursor: pointer !important;
}
.dropdown-item.active, .dropdown-item:active {
  color: var(--bs-dropdown-link-active-color);
  text-decoration: none;
  background-color: var(--gold);
}

/* CTA tlačítka */
.btn-accent {
  background-color: var(--gold);
  color: #fff;
}

.btn-accent:hover {
  background-color: #b99645;
  color: #fff;
}

.modal-header.btn-accent:hover {
    background-color: var(--gold);
}

p.copyright {
	font-size:.85rem;
}

/* tenká zlatá linka pod nadpisy */
h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 12px auto 0;
}

h2.h5 {
    font-family: 'Inter', sans-serif;
}

h2.h5::after {
    display: none;
}

body {
  font-family: 'Inter', sans-serif;
}

a {
	color: #732f2f;
}
.text-white a {
	color:#fff!important;
}

#kontakt {
	font-size:.9rem;
}

.nav-link {
	--bs-nav-link-font-size:1.2rem;
}
.navbar-brand {
	--bs-navbar-brand-font-size:1.6rem;
}
.navbar-brand .short-title {
	display:none;
}
.navbar-collapse {
  transition: transform .3s ease, opacity .3s ease;
}
#current-lang {
	color:#fff;
}

#roomsCarousel .carousel-inner .carousel-item::after{
	background:transparent;
}

/* zabránění scroll jitteru (iOS specifikum) */
.carousel,
.carousel-item {
  touch-action: pan-y;
}

.langs {
	--bs-btn-color: #fff;
}

h1, h2, h3, .navbar-brand {
  font-family: 'Playfair Display', serif;
}

.price {
  color: #8b3a3a;
  font-weight: 500;
}

.footer {
  background-color: #2f4f4f;
}

.lazy-img {
  opacity: 0;
  transition: opacity .6s ease;
}

.lazy-loaded {
  opacity: 1;
}

/* ===== LUXURY FADE CAROUSEL ===== */

.carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  transition-duration: 1.2s;
  transition-timing-function: ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* jemný zoom efekt */
.carousel-item img {
  transform: scale(1.05);
  transition: transform 6s ease;
}

.carousel-item.active img {
  transform: scale(1);
}

/* luxusní tmavý overlay */
.carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.35)
  );
  z-index: 1;
}

/* karta nad obrázkem */
.carousel-item .card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  border: none;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

/* jemnější ovládací šipky 
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  opacity: 0.6;
}
*/

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  opacity: 1;
}


/* hero block */

.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0;
  transition: opacity 1.8s ease, transform 8s ease;

  transform: scale(1.05);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.hero-bg.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,.45),
    rgba(0,0,0,.55)
  );
  z-index: 2;
}

.hero .container {
  z-index: 3;
}





/* galerie pokojů */

.modal-content {
  background: #000;
}

.modal img {
  max-height: 85vh;
  object-fit: cover;
}

.btn-close {
  filter: invert(1);
}

/* indikátory galerie */
.luxury-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--gold-soft);
  border: none;
  margin: 0 6px;
}

.luxury-indicators .active {
    background-color: var(--gold);
}

.carousel-caption {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.8s ease;
}

.carousel-item.active .carousel-caption {
  opacity: .8;
  transform: translateY(0);
  z-index:100;
}

.luxury-caption {
  bottom: 30px;
  padding-bottom:0;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.carousel-control-prev,
.carousel-control-next {
  width: 12%;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}


/* rezervační modal */

.form-control:focus {
  border-color: #8b3a3a;
  box-shadow: none;
}

.form-label {
  font-weight: 500;
}

input[readonly] {
  background-color: #f8f9fa;
}

textarea {
  resize: vertical;
}

.btn:active {
  transform: scale(0.97);
}

.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  z-index: 1050;
}

@media (min-width: 992px) {
  #roomsCarousel::after {
    content: "← →";
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.2em;
    pointer-events: none;
  }
}

/* Barva aktivní záložky accordion – ladí s designem */
.accordion-button:not(.collapsed) {
    background-color: var(--gold);
    color: #fff;
    font-weight: bold;
}

.accordion-button {
    color: #000; /* barva textu neaktivní záložky */
	font-size:1.2rem;
}

.NEcarousel-inner img {
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

/* galerie v collapsech */

.experience-gallery .gallery-item, .about-gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.experience-gallery img, .about-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform .6s ease;
}

.experience-gallery figure, .about-gallery figure {
	margin-bottom:0;
}

@media (max-width: 768px) {
  .experience-gallery img, .about-gallery img {
    height: 140px;
  }
}

@media (max-width: 575px) {
  .about-gallery img {
    height: 200px;
  }
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: .75rem;
  font-size: .9rem;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.65),
    rgba(0,0,0,.15),
    transparent
  );
  letter-spacing: .02em;
}

/* jemný zlatý akcent */
.gallery-item {
  position: relative;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212,175,55,.25);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none; /* DŮLEŽITÉ */
}

.gallery-item:hover::after {
  opacity: 1;
}

  .modal {
    background: rgba(0,0,0,.75);
  }

  .gallery-item {
    cursor: pointer;
  }

  .gallery-item img {
    transition: transform .4s ease, filter .4s ease;
  }

  .gallery-item:hover img {
    transform: scale(1.03);
    filter: brightness(.9);
  }
  

  .gallery-item {
    position: relative;
    cursor: pointer;
  }

  .gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212,175,55,.25);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
  }

  .gallery-item:hover::after {
    opacity: 1;
  }

  .luxury-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(212,175,55,.4);
    border: none;
  }

  .luxury-indicators .active {
    background-color: rgba(212,175,55,1);
  }
  /*
  #universalCarousel img {
    max-height: 90vh;
    object-fit: contain;
  }

  @media (max-width: 991px) {
    #universalCarousel img {
      max-height: 80vh;
    }
  }

*/

  #universalModal .carousel {
    touch-action: pan-y;
  }


  #universalCarousel .carousel-item img {
    width: auto;        /* zachová šířku podle poměru stran */
    max-width: 100%;    /* nepřesáhne šířku kontejneru */
    height: auto;       /* zachová poměr stran */
    max-height: 80vh;   /* aby se vešel do obrazovky */
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  #universalModal .modal-body {
    position: relative;
    padding: 0;
    height: 80vh; /* nebo 100% pokud chceš full screen */
    overflow: hidden;
  }

  #universalModal .carousel-item img {
    max-height: 80vh; /* nebo 100% */
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

  #universalModal .carousel-control-prev,
  #universalModal .carousel-control-next {
    width: 5%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    z-index: 10;
  }

  #roomsCarousel .carousel-item {
    overflow: hidden; /* skryje přebytečné části obrázku */
    height: 100%;
    position: relative;
  }

  #roomsCarousel .carousel-item img {
    width: 100%;
    height: 50vh; /* nebo např. 50vh pro responsivní výšku */
    object-fit: cover; /* vyplní prostor a zachová proporce, přebytek se ořízne */
    object-position: center; /* střed obrázku */
    display: block;
  }
  
  /* ikony */
  #roomsCarousel .carousel-control-prev-icon,
  #roomsCarousel .carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-size: 50% 50%;
    border-radius: 50%;
    background-color: rgba(135, 109, 49, 0.90);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  /* hover efekt */
  #roomsCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
  #roomsCarousel .carousel-control-next:hover .carousel-control-next-icon {
      background-color: rgba(135, 109, 49, .65);
    transform: scale(1.1);
    transition: all 0.2s ease;
  }
  
  .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg fill='white' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L3 8l8 7' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  }

  .carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg fill='white' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 1l8 7-8 7' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  }
  
@media (max-width:1199.98px){
  .navbar-brand {
  	--bs-navbar-brand-font-size:1.2rem;
  }
}

@media (max-width:991px){
.dropdown-menu-end[data-bs-popper] {
  right: auto;
}
}

@media (max-width:480px){
	.carousel-control-prev,
	.carousel-control-next {
	  width: 24%;
	}
  .navbar-brand {
  	--bs-navbar-brand-font-size:1rem;
  }
}

@media (max-width:360px){
	.navbar-brand .short-title {
		display:inline;
	}
	.navbar-brand .long-title {
		display:none;
	}
}