/* Biserna Dolina Uvac – premium-enhancements.css */
/* Advanced premium enhancements for unique design */

/* ═══════════════════════════════════════════════════════════ */
/* PREMIUM TYPOGRAPHY & SPACING */
/* ═══════════════════════════════════════════════════════════ */

body {
  letter-spacing: 0.3px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════ */
/* BUTTON ENHANCEMENTS */
/* ═══════════════════════════════════════════════════════════ */

.bdu-btn-primary, .bdu-btn-outline, .bdu-btn-sage {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bdu-btn-primary::before, .bdu-btn-outline::before, .bdu-btn-sage::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.bdu-btn-primary:hover::before, .bdu-btn-outline:hover::before, .bdu-btn-sage:hover::before {
  left: 100%;
}

.bdu-btn-primary:hover {
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
  transform: translateY(-3px);
}

.bdu-btn-outline:hover {
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.bdu-btn-sage:hover {
  box-shadow: 0 8px 25px rgba(74, 92, 62, 0.3);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION TRANSITIONS & ANIMATIONS */
/* ═══════════════════════════════════════════════════════════ */

.bdu-section {
  position: relative;
  transition: background 0.6s ease;
}

.bdu-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.bdu-section:hover::before {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════ */
/* CARD ENHANCEMENTS */
/* ═══════════════════════════════════════════════════════════ */

.bdu-room-card, .bdu-blog-card {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.bdu-room-card::before, .bdu-blog-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.bdu-room-card:hover::before, .bdu-blog-card:hover::before {
  opacity: 1;
}

.bdu-room-card:hover, .bdu-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ═══════════════════════════════════════════════════════════ */
/* HERO ENHANCEMENTS */
/* ═══════════════════════════════════════════════════════════ */

.bdu-hero {
  position: relative;
}

.bdu-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
  pointer-events: none;
}

.bdu-hero-slide {
  animation: zoomIn 8s ease-out;
}

@keyframes zoomIn {
  from {
    transform: scale(1.05);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.bdu-hero-title {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════════════════════ */
/* SCROLLBAR STYLING */
/* ═══════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--sage);
  border-radius: 5px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--sage-dark);
}

/* ═══════════════════════════════════════════════════════════ */
/* LINK ENHANCEMENTS */
/* ═══════════════════════════════════════════════════════════ */

a {
  position: relative;
  transition: color 0.3s ease;
}

a:not(.bdu-btn-primary):not(.bdu-btn-outline):not(.bdu-btn-sage):not(.bdu-nav-logo):not(.bdu-nav-cta) {
  text-decoration: none;
}

a:not(.bdu-btn-primary):not(.bdu-btn-outline):not(.bdu-btn-sage):not(.bdu-nav-logo):not(.bdu-nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

a:not(.bdu-btn-primary):not(.bdu-btn-outline):not(.bdu-btn-sage):not(.bdu-nav-logo):not(.bdu-nav-cta):hover::after {
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════ */
/* FORM ENHANCEMENTS */
/* ═══════════════════════════════════════════════════════════ */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
  transition: all 0.3s ease;
  border: 2px solid var(--sage-light);
  border-radius: 4px;
  padding: 12px 16px;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
  transform: translateY(-2px);
}

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

/* ═══════════════════════════════════════════════════════════ */
/* PARALLAX EFFECT FOR SECTIONS */
/* ═══════════════════════════════════════════════════════════ */

.bdu-parallax-section {
  position: relative;
  overflow: hidden;
}

.bdu-parallax-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  transform: translateZ(-1px) scale(1.1);
  z-index: -1;
}

/* ═══════════════════════════════════════════════════════════ */
/* GRADIENT OVERLAYS */
/* ═══════════════════════════════════════════════════════════ */

.bdu-gradient-overlay {
  position: relative;
}

.bdu-gradient-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(122, 140, 110, 0.05) 0%, rgba(139, 111, 78, 0.05) 100%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════ */
/* PREMIUM SHADOWS */
/* ═══════════════════════════════════════════════════════════ */

.bdu-shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bdu-shadow-md {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.bdu-shadow-lg {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.bdu-shadow-xl {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

/* ═══════════════════════════════════════════════════════════ */
/* LOADING ANIMATION */
/* ═══════════════════════════════════════════════════════════ */

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.bdu-loading {
  background: linear-gradient(90deg, var(--cream) 25%, var(--sage-light) 50%, var(--cream) 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* ═══════════════════════════════════════════════════════════ */
/* RESPONSIVE ENHANCEMENTS */
/* ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .bdu-btn-primary, .bdu-btn-outline, .bdu-btn-sage {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .bdu-btn-primary:hover, .bdu-btn-outline:hover, .bdu-btn-sage:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  textarea,
  select {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* ACCESSIBILITY IMPROVEMENTS */
/* ═══════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════ */
/* PRINT STYLES */
/* ═══════════════════════════════════════════════════════════ */

@media print {
  .bdu-navbar, .bdu-scroll-hint, .bdu-sticky-btn {
    display: none;
  }

  .bdu-section {
    page-break-inside: avoid;
  }
}
