/* Basic styles for Hotel Berzas static site */
:root {
  --brand: #bf9958;
  --text: #222;
  --muted: #666;
  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --maxw: 1100px;
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
  background: var(--bg-alt);
  font-size: 0.9rem;
}
.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 1rem;
}
.topbar .lang a { margin-right: 0.5rem; }
.topbar .contact { color: var(--muted); }
.topbar .contact a { color: inherit; }

header.site-header {
  border-bottom: 1px solid #eee;
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
}
.site-logo img { height: 48px; width: auto; display: block; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
nav.main-nav a { font-weight: 600; color: var(--text); }
nav.main-nav a.active { color: var(--brand); }

nav.main-nav li { position: relative; }
nav.main-nav .has-submenu > a::after {
  content: " ▾";
  font-size: 0.8em;
}
nav.main-nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  border: 1px solid #e5e5e5;
  min-width: 260px;
  z-index: 20;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
nav.main-nav .submenu ul {
  display: block;
  padding: 0.25rem 0;
}
nav.main-nav .submenu li { white-space: nowrap; }
nav.main-nav .submenu a {
  display: block;
  padding: 0.5rem 0.75rem;
}
nav.main-nav li:hover > .submenu { display: block; }

.hero {
  background: var(--bg-alt);
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem;
}
/* Swiper container */
.swiper {
  width: 100%;
  height: 520px;
  position: relative;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 1.2rem 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }

h1, h2, h3 { font-family: Merriweather, Georgia, serif; line-height: 1.3; }
h1 { font-size: 2rem; margin: 0.5rem 0 1rem; }
h2 { font-size: 1.5rem; margin: 0.5rem 0 0.8rem; }
h3 { font-size: 1.2rem; margin: 1rem 0 0.5rem; }

.button { display: inline-block; background: var(--brand); color: #fff; padding: 0.5rem 0.9rem; border-radius: 4px; }
.button:hover { opacity: 0.9; text-decoration: none; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery img { width: 100%; height: 180px; object-fit: cover; display: block; }

/* Lightbox tweaks */
.lightbox-link { display: block; }

.sidebar {
  background: var(--bg-alt);
  padding: 1rem;
  border-radius: 6px;
}
.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 900px) {
  .layout { grid-template-columns: minmax(0,1fr) 320px; }
}

/* Mobile nav */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; gap: 0.5rem; }
  nav.main-nav ul { flex-wrap: wrap; gap: 0.6rem 0.8rem; }
  .site-logo img { height: 40px; }
}

/* Swiper navigation buttons - custom design */
.swiper-button-next,
.swiper-button-prev {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--brand);
  transform: scale(1.1);
}

/* Hide default arrows */
.swiper-button-next:after,
.swiper-button-prev:after {
  display: none;
}

/* Custom arrow design */
.swiper-button-prev::before,
.swiper-button-next::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  top: 50%;
  left: 50%;
  border-style: solid;
  border-width: 3px 3px 0 0;
  border-color: var(--brand);
  transition: border-color 0.3s ease;
}

.swiper-button-prev::before {
  transform: translate(-40%, -50%) rotate(-135deg);
}

.swiper-button-next::before {
  transform: translate(-60%, -50%) rotate(45deg);
}

.swiper-button-prev:hover::before,
.swiper-button-next:hover::before {
  border-color: white;
}

/* Swiper pagination dots */
.swiper-pagination {
  bottom: 25px !important;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.8);
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.6);
}

.swiper-pagination-bullet-active {
  width: 12px;
  height: 12px;
  background: white;
  border-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .swiper {
    height: 300px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 16px;
  }
}

footer.site-footer {
  background: #2c2c2c;
  color: #ffffff;
  margin-top: 3rem;
  padding: 1.5rem 0;
}

.footer-inner { 
  max-width: var(--maxw); 
  margin: 0 auto; 
  padding: 0 1rem; 
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-languages {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-lang-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #cccccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-lang-link:hover {
  color: var(--brand);
}

.footer-lang-link.active {
  color: #ffffff;
}

.footer-lang-flag {
  display: inline-block;
  margin-right: 0.3rem;
  font-size: 1.1em;
  line-height: 1;
}

.footer-center {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.footer-nav { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 0.6rem 1.5rem; 
  padding: 0; 
  margin: 0; 
  list-style: none;
  justify-content: center;
}

.footer-nav a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--brand);
}

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

.copyright { 
  color: #999999; 
  font-size: 0.85rem; 
  margin: 0;
  text-align: right;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-languages {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
  
  .footer-center {
    order: -1;
  }
  
  .copyright {
    text-align: center;
  }
}

.map-embed { width: 100%; height: 400px; border: 0; border-radius: 6px; }
.map-embed--sm { height: 200px; }

ul.list { padding-left: 1.1rem; }


