/* 
   Willa Magiera - Premium CSS Design System
   Designed by Antigravity AI
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   1. SYSTEM DESIGN VARIABLES
   ========================================================================== */
:root {
  /* Colors */
  --primary-dark: #0f2b20;       /* Deep Pine Green */
  --primary-light: #184332;      /* Medium Pine Green */
  --accent-gold: #c5a059;        /* Warm Mountain Gold */
  --accent-gold-hover: #b48e47;  /* Darker Gold for hover states */
  --bg-light: #fbfbf9;           /* Soft off-white background */
  --bg-dark: #0a1b14;            /* Darker background for footer */
  --text-dark: #1e2d27;          /* High contrast charcoal/green text */
  --text-muted: #53645e;         /* Muted text for descriptions */
  --text-light: #ffffff;         /* Pure white text */
  --card-bg: rgba(255, 255, 255, 0.85); /* Glassmorphism card background */
  --card-border: rgba(24, 67, 50, 0.08); /* Soft green-tinted border */
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 4px 6px -1px rgba(15, 43, 32, 0.05), 0 2px 4px -1px rgba(15, 43, 32, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(15, 43, 32, 0.08), 0 4px 6px -2px rgba(15, 43, 32, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 43, 32, 0.12), 0 10px 10px -5px rgba(15, 43, 32, 0.06);
  --shadow-gold: 0 10px 20px -5px rgba(197, 160, 89, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-blur: blur(12px);
  --glass-border: rgba(255, 255, 255, 0.25);
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border: 2px solid var(--bg-light);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* ==========================================================================
   3. REUSABLE UTILITIES & LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background-color: var(--primary-dark);
  color: var(--text-light);
}

.section-dark h2, .section-dark h3 {
  color: var(--text-light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.section-header h2 span {
  color: var(--accent-gold);
}

.section-header::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--accent-gold);
  margin: 20px auto 0;
  border-radius: var(--radius-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: var(--text-light);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -5px rgba(197, 160, 89, 0.6);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
  background-color: var(--primary-dark);
  color: var(--text-light);
  transform: translateY(-3px);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}

.btn-outline-gold:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* ==========================================================================
   4. NAVIGATION HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}

.header.scrolled .logo-text, .header.scrolled .nav-link {
  color: var(--primary-dark);
}

.header.scrolled .logo-icon path {
  fill: var(--primary-dark);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: var(--transition-fast);
}

.header.scrolled .header-container {
  height: 75px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  transition: var(--transition-smooth);
}

.logo-icon path {
  fill: var(--text-light);
  transition: var(--transition-smooth);
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-transform: uppercase;
}

.logo-text span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--accent-gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent-gold);
}

.nav-cta {
  display: block;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1100;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-light);
  transition: var(--transition-smooth);
  border-radius: var(--radius-sm);
}

.header.scrolled .hamburger-line {
  background-color: var(--primary-dark);
}

/* Hamburger active state */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Styles */
@media (max-width: 991px) {
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .hamburger-line {
    background-color: var(--text-light);
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--primary-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
    z-index: 1000;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-link {
    font-size: 1.1rem;
    color: var(--text-light) !important;
  }
}

/* ==========================================================================
   5. HERO SECTION (SLIDER)
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 43, 32, 0.4) 0%, rgba(15, 43, 32, 0.7) 100%);
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transition: transform 8s ease-out;
}

.hero-slide.active img {
  transform: scale(1.0);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-badge {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 24px;
  display: inline-block;
  background-color: rgba(197, 160, 89, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 160, 89, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.15;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: -1px;
  animation: fadeInUp 1.2s ease-out;
  text-shadow: 0 4px 10px rgba(10, 27, 20, 0.4);
}

.hero-content h1 span {
  color: var(--accent-gold);
}

.hero-content p {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin-bottom: 40px;
  animation: fadeInUp 1.4s ease-out;
  text-shadow: 0 2px 5px rgba(10, 27, 20, 0.3);
}

.hero-actions {
  display: flex;
  gap: 20px;
  animation: fadeInUp 1.6s ease-out;
}

/* Slider indicators */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-dot.active {
  background-color: var(--accent-gold);
  transform: scale(1.2);
  border-color: var(--text-light);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
}

/* ==========================================================================
   6. ABOUT SECTION (O NAS)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.about-text h3 span {
  color: var(--accent-gold);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about-text blockquote {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  font-style: italic;
  border-left: 4px solid var(--accent-gold);
  padding-left: 20px;
  margin: 30px 0;
  color: var(--primary-dark);
}

.about-image-wrapper {
  position: relative;
}

.about-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-container img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.about-image-container:hover img {
  transform: scale(1.05);
}

/* Decorative frame */
.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  border-top: 5px solid var(--accent-gold);
  border-right: 5px solid var(--accent-gold);
  border-radius: 0 var(--radius-lg) 0 0;
  z-index: -1;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 150px;
  height: 150px;
  border-bottom: 5px solid var(--primary-light);
  border-left: 5px solid var(--primary-light);
  border-radius: 0 0 0 var(--radius-lg);
  z-index: -1;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-image-container img {
    height: 350px;
  }
}

/* ==========================================================================
   7. AMENITIES SECTION (UDOGODNIENIA)
   ========================================================================== */
.amenities-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.amenity-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
}

.amenity-card:hover {
  transform: translateY(-5px);
  background-color: var(--text-light);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.amenity-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(24, 67, 50, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-light);
  transition: var(--transition-smooth);
}

.amenity-card:hover .amenity-icon {
  background-color: var(--accent-gold);
  color: var(--text-light);
}

.amenity-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.amenity-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-dark);
}

@media (max-width: 991px) {
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   8. ROOMS & OFFERS SECTION (POKOJE I CENNIK)
   ========================================================================== */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  justify-content: center;
  gap: 30px;
  margin: 0 auto 60px;
  max-width: 900px;
}

.room-card {
  background-color: var(--text-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--card-border);
  transition: var(--transition-smooth);
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.room-image-container {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.room-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.room-card:hover .room-image-container img {
  transform: scale(1.08);
}

.room-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 6px 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.room-price-tag {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: var(--text-light);
  padding: 8px 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.room-price-tag span {
  font-size: 0.75rem;
  font-weight: 400;
}

.room-content {
  padding: 30px;
}

.room-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.room-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.room-price-note {
  margin-top: 10px;
  margin-bottom: 0;
  padding: 12px 16px;
  border: 1px solid rgba(24, 67, 50, 0.15);
  border-radius: 999px;
  background: rgba(244, 239, 226, 0.8);
  text-align: center;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1rem;
}

.room-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  border-top: 1px solid rgba(24, 67, 50, 0.08);
  padding-top: 20px;
}

.room-spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.room-spec-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-gold);
}

@media (max-width: 991px) {
  .rooms-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto 50px;
  }
}

/* Additional Services (Rafting & Bikes) */
.services-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 80px;
}

.service-box {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: center;
  transition: var(--transition-smooth);
}

.service-box:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-lg);
}

.service-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-box:hover .service-image img {
  transform: scale(1.05);
}

.service-info h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.service-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary-light);
  font-size: 1.15rem;
  margin-bottom: 20px;
  display: block;
}

.service-price span {
  color: var(--accent-gold);
}

@media (max-width: 991px) {
  .services-highlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .service-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .service-image {
    height: 180px;
  }
}

/* ==========================================================================
   9. ATTRACTIONS SECTION (ATRAKCJE)
   ========================================================================== */
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.attraction-card {
  position: relative;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.attraction-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.attraction-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(360deg, rgba(10, 27, 20, 0.95) 0%, rgba(10, 27, 20, 0.4) 60%, rgba(10, 27, 20, 0.1) 100%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
  transition: var(--transition-smooth);
}

.attraction-card:hover img {
  transform: scale(1.08);
}

.attraction-card:hover .attraction-overlay {
  background: linear-gradient(360deg, var(--primary-dark) 0%, rgba(15, 43, 32, 0.6) 80%, rgba(15, 43, 32, 0.3) 100%);
}

.attraction-card h3 {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: 8px;
  transition: var(--transition-fast);
}

.attraction-card:hover h3 {
  color: var(--accent-gold);
}

.attraction-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.attraction-card:hover p {
  max-height: 80px;
  opacity: 1;
  margin-top: 8px;
}

@media (max-width: 991px) {
  .attractions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .attractions-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   10. GALLERY SECTION (GALERIA)
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  background-color: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--card-border);
  padding: 10px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.gallery-filter-btn.active, .gallery-filter-btn:hover {
  background-color: var(--primary-dark);
  color: var(--text-light);
  border-color: var(--primary-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: block; /* For dynamic hiding/filtering */
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item.hidden {
  display: none;
  opacity: 0;
  transform: scale(0.8);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 43, 32, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-smooth);
  color: var(--text-light);
  padding: 20px;
  text-align: center;
}

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

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

.gallery-item-overlay svg {
  width: 32px;
  height: 32px;
  fill: var(--accent-gold);
  margin-bottom: 12px;
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-item-overlay svg {
  transform: translateY(0);
}

.gallery-item-overlay h4 {
  color: var(--text-light);
  font-size: 1rem;
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-item-overlay h4 {
  transform: translateY(0);
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-filters {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 27, 20, 0.98);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.lightbox-caption {
  color: var(--text-light);
  margin-top: 15px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 10px;
}

.lightbox-close svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  backdrop-filter: blur(5px);
}

.lightbox-arrow:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.lightbox-arrow-left {
  left: -80px;
}

.lightbox-arrow-right {
  right: -80px;
}

.lightbox-arrow svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (max-width: 991px) {
  .lightbox-arrow-left { left: 10px; }
  .lightbox-arrow-right { right: 10px; }
  .lightbox-close { right: 10px; top: 10px; }
}

/* ==========================================================================
   11. LIVE CAMERA SECTION (KAMERA MOCK)
   ========================================================================== */
.camera-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  background-color: var(--bg-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.camera-screen {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.camera-feed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.95);
  transition: filter 0.8s ease;
}

/* Overlay items */
.camera-overlay-top {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  color: #00ff66;
  font-family: monospace;
  font-size: 0.9rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.camera-rec {
  display: flex;
  align-items: center;
  gap: 8px;
}

.camera-rec-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ff0000;
  animation: blink 1s infinite alternate;
}

@keyframes blink {
  0% { opacity: 0.2; }
  100% { opacity: 1; }
}

.camera-overlay-bottom {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 5;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.camera-stats {
  font-family: monospace;
  font-size: 0.85rem;
  background-color: rgba(10, 27, 20, 0.6);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-gold);
}

.camera-stat-row {
  margin-bottom: 4px;
}

.camera-stat-row:last-child {
  margin-bottom: 0;
}

.camera-controls {
  background-color: rgba(10, 27, 20, 0.8);
  backdrop-filter: blur(10px);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.camera-btn-group {
  display: flex;
  gap: 12px;
}

.camera-ctrl-btn {
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-light);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.camera-ctrl-btn:hover, .camera-ctrl-btn.active {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
}

.camera-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 255, 102, 0.1);
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
  animation: scan 4s linear infinite;
  z-index: 4;
  pointer-events: none;
}

@keyframes scan {
  0% { top: 0%; }
  100% { top: 100%; }
}

@media (max-width: 768px) {
  .camera-screen {
    height: 350px;
  }
  .camera-controls {
    flex-direction: column;
    padding: 16px;
  }
  .camera-btn-group {
    width: 100%;
  }
  .camera-ctrl-btn {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    padding: 8px 4px;
  }
}

/* ==========================================================================
   12. CONTACT SECTION (KONTAKT)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(24, 67, 50, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
}

.contact-card:hover .contact-card-icon {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-card-details h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-card-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.contact-card-details a {
  color: var(--primary-light);
  font-weight: 600;
}

.contact-card-details a:hover {
  color: var(--accent-gold);
}

.bank-account {
  font-family: monospace;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
  background-color: rgba(24, 67, 50, 0.04);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-top: 6px;
  word-break: break-all;
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--text-light);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid rgba(24, 67, 50, 0.15);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--bg-light);
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-gold);
  background-color: var(--text-light);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.form-captcha {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-captcha-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-light);
  background-color: rgba(24, 67, 50, 0.05);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(24, 67, 50, 0.2);
}

.form-captcha-input {
  max-width: 100px;
}

.form-alert {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 0.9rem;
  display: none;
}

.form-alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .contact-form-wrapper {
    padding: 24px;
  }
}

/* Map Container */
.map-container {
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--card-border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo-text {
  color: var(--text-light);
}

.footer-brand p {
  margin-top: 20px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 24px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--accent-gold);
  margin-top: 10px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-link:hover {
  color: var(--accent-gold);
  transform: translateX(5px);
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.footer-info-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--accent-gold);
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   14. INTERACTION ANIMATIONS (SCROLL REVEAL)
   ========================================================================== */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   15. COOKIES & OTHER ELEMENTS
   ========================================================================== */
.cookies-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 450px;
  background-color: var(--primary-dark);
  color: var(--text-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  transform: translateY(150px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.cookies-banner.active {
  transform: translateY(0);
  opacity: 1;
}

.cookies-banner p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}

.cookies-banner button {
  align-self: flex-end;
  background-color: var(--accent-gold);
  border: none;
  color: var(--primary-dark);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cookies-banner button:hover {
  background-color: var(--text-light);
}

@media (max-width: 576px) {
  .cookies-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}
