/* ─── Athletic Pension — Custom CSS ─── */

/* ─── Base Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; }
body {
  background-color: #0b0b0b;
  color: #f5f0e8;
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}

/* ─── Gold Divider ─── */
.gold-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #84744c, transparent);
  margin: 0 auto;
}
.gold-divider-left {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, #84744c, transparent);
}

/* ─── Texture Overlay ─── */
.texture-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* ─── Fonts ─── */
.font-cinzel    { font-family: 'Cinzel', serif; }
.font-playfair  { font-family: 'Playfair Display', serif; }

/* ─── Gold Text ─── */
.text-gold       { color: #84744c; }
.text-gold-light { color: #e8cc6a; }

/* ─── Hero ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://athleticpension.cz/wp-content/uploads/2025/05/20241225-DJI_20241225153654_0003_D-scaled-e1748536365916.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) saturate(0.6);
  transform: scale(1.05);
  transition: transform 8s ease;
  z-index: 0;
}
#hero:hover::before { transform: scale(1.08); }
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.3) 0%, rgba(11,11,11,0.6) 60%, rgba(11,11,11,1) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }

/* ─── Nav ─── */
.nav-link {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c8c0b0;
  transition: color 0.3s;
  text-decoration: none;
}
.nav-link:hover { color: #84744c; }

/* ─── Section Tags ─── */
.section-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #84744c;
}

/* ─── Buttons ─── */
.btn-gold {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 14px 40px;
  border: 1px solid #84744c;
  color: #84744c;
  background: transparent;
  transition: all 0.35s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-gold:hover { background: #84744c; color: #0b0b0b; }

.btn-gold-solid {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 14px 40px;
  border: 1px solid #84744c;
  color: #0b0b0b;
  background: #84744c;
  transition: all 0.35s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-gold-solid:hover { background: transparent; color: #84744c; }

/* ─── Room Cards ─── */
.room-card {
  background: #111111;
  border: 1px solid #1e1e1e;
  transition: border-color 0.35s, transform 0.35s;
  overflow: hidden;
}
.room-card:hover { border-color: #84744c; transform: translateY(-4px); }
.room-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: saturate(0.7);
}
.room-card:hover img { transform: scale(1.04); filter: saturate(1); }

/* ─── Gallery Grid ─── */
.gallery-item { overflow: hidden; position: relative; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: saturate(0.6) brightness(0.85);
}
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.35s;
  pointer-events: none;
}
.gallery-item:hover::after { border-color: rgba(132, 116, 76, 0.5); }

/* ─── Testimonial ─── */
.testimonial-card { border-left: 2px solid #84744c; background: #0f0f0f; }

/* ─── Fade Animations ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in { opacity: 0; transition: opacity 0.8s ease; }
.fade-in.visible { opacity: 1; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0b0b0b; }
::-webkit-scrollbar-thumb { background: #84744c; border-radius: 3px; }

/* ─── Section Backgrounds ─── */
.section-dark   { background-color: #0b0b0b; }
.section-darker { background-color: #080808; }
.section-card   { background-color: #0e0e0e; }

/* ─── Gold HR ─── */
hr.gold { border: none; border-top: 1px solid rgba(132,116,76,0.25); }

/* ─── Sticky Nav ─── */
.nav-scrolled {
  background: rgba(11,11,11,0.97) !important;
  border-bottom: 1px solid rgba(132,116,76,0.15) !important;
}

/* ─── Quote Mark ─── */
.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  line-height: 0;
  color: rgba(132,116,76,0.25);
  vertical-align: -0.4em;
}

/* ─── Experience Icons ─── */
.exp-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(132,116,76,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #84744c;
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: background 0.3s, border-color 0.3s;
}
.exp-item:hover .exp-icon {
  background: rgba(132,116,76,0.1);
  border-color: #84744c;
}

/* ─── Contact Inputs ─── */
.contact-input {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #f5f0e8;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.3s;
  outline: none;
}
.contact-input:focus { border-color: #84744c; }
.contact-input::placeholder { color: #555; }

/* ─── Footer ─── */
footer {
  background: #050505;
  border-top: 1px solid rgba(132,116,76,0.12);
}

/* ─── Chodsko SVG Accent ─── */
.chodsko-accent {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%2384744c' stroke-width='0.5'/%3E%3Ccircle cx='12' cy='12' r='6' fill='none' stroke='%2384744c' stroke-width='0.5'/%3E%3Cline x1='12' y1='2' x2='12' y2='22' stroke='%2384744c' stroke-width='0.5'/%3E%3Cline x1='2' y1='12' x2='22' y2='12' stroke='%2384744c' stroke-width='0.5'/%3E%3C/svg%3E");
}

/* ─── Mobile Menu ─── */
#mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11,11,11,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
#mobile-menu.open  { display: flex; }
#mobile-menu .nav-link { font-size: 1rem; }

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: #84744c;
  transition: all 0.3s;
  margin: 5px 0;
}

/* ─── WordPress Admin Bar compensation ─── */
.admin-bar #navbar { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #navbar { top: 46px; }
}

/* ─── Suppress Hello Elementor defaults on front page ─── */
.elementor-page { margin: 0; padding: 0; }

/* ─── Inner Page Hero ─── */
.inner-hero {
  position: relative;
  height: 340px;
  background-color: #080808;
  overflow: hidden;
  padding-top: 80px; /* clear fixed nav */
}
.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://athleticpension.cz/wp-content/uploads/2025/05/20241225-DJI_20241225153654_0003_D-scaled-e1748536365916.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.22) saturate(0.5);
  z-index: 0;
}
.inner-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0.4) 0%, rgba(8,8,8,0.85) 100%);
  z-index: 1;
}
.inner-hero > * { position: relative; z-index: 2; }

/* ─── Gallery Lightbox ─── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid rgba(132,116,76,0.2);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 28px;
  font-size: 1.8rem;
  color: #84744c;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ─── CF7 form styling ─── */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #f5f0e8;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.3s;
  outline: none;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus { border-color: #84744c; }
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder { color: #555; }
.wpcf7 input[type="submit"] {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 14px 40px;
  border: 1px solid #84744c;
  color: #0b0b0b;
  background: #84744c;
  cursor: pointer;
  transition: all 0.35s ease;
  width: auto;
}
.wpcf7 input[type="submit"]:hover { background: transparent; color: #84744c; }
.wpcf7-response-output { border-color: rgba(132,116,76,0.4) !important; color: #84744c; font-size: 0.8rem; margin-top: 1rem !important; }
