/* Prosnik Theme - Main Styles */
/* Inspired by Gostilna Zorko Design */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ORIGINAL COLOR SCHEME (backup - can revert if needed):
   --primary-gold: #c9ab81;
   --dark-bg: #1a1a1a;
   --dark-brown: #2d2520;
   --light-text: #ffffff;
   --gray-text: #a0a0a0;
*/

/* DARK SCHEME - Version 2 (backup):
   --primary-gold: #d4a354;
   --dark-bg: #3d2817;
   --dark-brown: #4a2c1a;
   --accent-green: #4a6e3a;
   --light-bg: #ebe3d5;
   --light-text: #ffffff;
   --gray-text: #c9b8a0;
*/

/* LIGHT/BRIGHT COLOR SCHEME - Based on ProsnikLogo.jpeg */
:root {
  --primary-gold: #d4a354;       /* Golden/mustard from logo grape circles */
  --accent-green: #4a6e3a;       /* Forest green from logo leaves - PRIMARY ACCENT */
  --dark-text: #3d2817;          /* Dark chocolate brown for text */
  --light-bg: #ffffff;           /* Pure white background */
  --cream-bg: #f8f5f0;           /* Very light cream for alternating sections */
  --beige-bg: #ebe3d5;           /* Beige from logo for subtle sections */
  --gray-text: #5a5a5a;          /* Medium gray for secondary text */
  --border-color: #d4a354;       /* Gold borders */
  --section-padding: 100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark-text);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--accent-green);
}

h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--gray-text);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  border-bottom: 2px solid var(--accent-green);
}

#header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.header-logo {
  display: flex;
  align-items: center;
  padding: 15px 0;
  z-index: 10;
  text-decoration: none;
  transition: all 0.4s ease;
}

.header-logo img {
  height: 117px;
  width: auto;
  transition: all 0.4s ease;
}

#header.scrolled .header-logo {
  padding: 10px 0;
}

#header.scrolled .header-logo img {
  height: 60px;
}

.header-logo:hover img {
  transform: scale(1.05);
}

.navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px 0;
  transition: all 0.4s ease;
}

#header.scrolled .navigation {
  padding: 20px 0;
  flex: 1;
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.navigation > * {
  pointer-events: auto;
}

.header-login {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 25px 0;
  margin-left: auto;
  z-index: 10;
  transition: all 0.4s ease;
}

#header.scrolled .header-login {
  padding: 20px 0;
}

.header-login .login-link {
  color: var(--dark-text);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  background-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-login .login-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.header-login .login-link:hover {
  background-color: var(--accent-green);
  color: white;
  transform: translateY(-2px);
}

.header-login .login-link span {
  display: none;
}

.main-menu {
  display: flex;
  list-style: none;
  gap: 16px;
}

.main-menu a {
  color: var(--dark-text);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  border-radius: 4px;
}

.main-menu a:hover,
.main-menu a.active {
  background-color: var(--accent-green);
  color: white;
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--dark-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Sections */
section {
  min-height: 100vh;
  padding: var(--section-padding) 0;
  display: flex;
  align-items: center;
  position: relative;
}

/* Hero Section */
#hero {
  background-color: var(--cream-bg);
  text-align: center;
  justify-content: center;
  flex-direction: column;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/prosnik_slide.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  padding: 0;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.hero-logo-center {
  display: none;
}

.hero-title {
  position: relative;
  margin: 0 auto 15px;
  padding: 0 20px;
  width: 100%;
  max-width: 900px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff !important;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 1px;
  z-index: 10;
  text-shadow:
    2px 2px 8px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(0, 0, 0, 0.5);
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.hero-subtitle {
  position: relative;
  margin: 0 auto 0;
  padding: 0 20px;
  width: 100%;
  max-width: 700px;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #ffffff !important;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.5px;
  z-index: 10;
  text-shadow:
    1px 1px 6px rgba(0, 0, 0, 0.9),
    0 0 15px rgba(0, 0, 0, 0.6);
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.hero-logo-center img {
  width: 100%;
  height: auto;
  opacity: 0.65;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

/* Hero Status Badge */
.hero-status-badge {
  position: fixed;
  top: 100px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid var(--accent-green);
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-green);
  box-shadow: 0 2px 10px rgba(74, 110, 58, 0.2);
  opacity: 0;
  animation: fadeIn 0.6s ease 1.8s forwards;
  z-index: 100;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  animation: pulse 2s ease-in-out infinite;
}

.hero-status-badge.closed {
  border-color: #c00;
  color: #c00;
}

.hero-status-badge.closed .status-dot {
  background-color: #c00;
  animation: none;
}


.hero-content h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--accent-green);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  animation: fadeInUp 1s ease 0.4s both;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--accent-green);
  color: var(--light-bg);
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-green);
  animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--light-bg);
}

/* Hero Buttons */
.hero-buttons-slider {
  position: relative;
  margin: 60px auto 0;
  z-index: 3;
  width: 100%;
  max-width: 1000px;
  padding: 0 20px;
}

.hero-buttons-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.hero-btn-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 25px 20px;
  background-color: var(--accent-green);
  border: 2px solid var(--accent-green);
  border-radius: 12px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 110, 58, 0.3);
  opacity: 1;
  visibility: visible;
}

.hero-btn-large .btn-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  stroke: white;
}

.hero-btn-large .btn-text {
  text-align: center;
  line-height: 1.3;
}

.hero-btn-large:hover {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(212, 163, 84, 0.4);
}

.hero-btn-large:hover .btn-icon {
  transform: scale(1.1);
}

/* About Section */
#about {
  background-color: var(--beige-bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 2rem;
}

.restaurant-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  color: var(--accent-green);
  margin: 2rem 0;
  padding-left: 2rem;
  border-left: 4px solid var(--primary-gold);
  line-height: 1.8;
}

.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 5px;
}

/* Menu Section */
#menu {
  background-color: var(--cream-bg);
  background-image: url('../images/malice_ozadje.webp');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
}

.menu-content {
  text-align: center;
}

.menu-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 1px;
  margin-bottom: 40px;
  text-shadow:
    2px 2px 8px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(0, 0, 0, 0.5);
}

.daily-menu {
  background: linear-gradient(135deg, #2d5016 0%, #3a6b1f 50%, #2d5016 100%);
  padding: 50px 40px;
  border-radius: 8px;
  margin: 40px 0;
  box-shadow:
    inset 0 0 100px rgba(0,0,0,0.3),
    0 10px 30px rgba(0,0,0,0.3);
  position: relative;
  border: 12px solid #5d4e37;
  font-family: 'Kalam', 'Permanent Marker', 'Comic Sans MS', cursive;
}

.daily-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,.03) 2px, rgba(255,255,255,.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,.03) 2px, rgba(255,255,255,.03) 4px);
  pointer-events: none;
  border-radius: 0;
}

.daily-menu h3 {
  color: #f5f5dc;
  margin-bottom: 30px;
  font-family: 'Kalam', 'Permanent Marker', cursive;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  letter-spacing: 2px;
}

.daily-menu p {
  color: #f5f5dc;
  font-family: 'Kalam', cursive;
  font-size: 1.2rem;
}

.menu-price {
  font-size: 1.8rem;
  color: #ffeb3b;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  font-family: 'Kalam', cursive;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.menu-items-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.menu-item-card {
  background-color: rgba(0, 0, 0, 0.15);
  padding: 25px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 2px dashed rgba(245, 245, 220, 0.3);
}

.menu-item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  background-color: rgba(0, 0, 0, 0.25);
}

.menu-item-title {
  color: #f5f5dc;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: 'Kalam', cursive;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.menu-item-description {
  color: rgba(245, 245, 220, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 12px;
  font-family: 'Kalam', cursive;
}

.menu-item-allergens {
  font-size: 0.95rem;
  color: rgba(245, 245, 220, 0.8);
  font-style: italic;
  padding-top: 10px;
  border-top: 1px dashed rgba(245, 245, 220, 0.3);
  position: relative;
  font-family: 'Kalam', cursive;
}

.allergens-label {
  font-weight: 600;
  color: #ffeb3b;
}

.allergen-numbers {
  cursor: help;
  text-decoration: underline dotted;
  text-decoration-color: rgba(245, 245, 220, 0.5);
  position: relative;
}

.allergen-tooltip {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  background-color: var(--dark-text);
  color: var(--light-bg);
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-style: normal;
  white-space: nowrap;
  z-index: 1000;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.allergen-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 20px;
  border: 6px solid transparent;
  border-top-color: var(--dark-text);
}

.allergen-numbers:hover + .allergen-tooltip.visible,
.allergen-tooltip.visible {
  display: block;
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.menu-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-5px);
}

.menu-item h4 {
  color: var(--accent-green);
  margin-bottom: 10px;
}

.menu-item .price {
  font-size: 1.3rem;
  color: var(--primary-gold);
  font-weight: bold;
  margin-top: 15px;
}

/* Prireditve (Events) Section */
#prireditve {
  background-color: var(--cream-bg);
}

.section-description {
  text-align: center;
  font-size: 1.2rem;
  color: var(--gray-text);
  margin-bottom: 50px;
}

.prireditve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.prireditev-item {
  background-color: var(--beige-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(201, 171, 129, 0.2);
}

.prireditev-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(201, 171, 129, 0.2);
}

.prireditev-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.prireditev-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.prireditev-item:hover .prireditev-image img {
  transform: scale(1.1);
}

.prireditev-content {
  padding: 30px;
}

.prireditev-content h3 {
  color: var(--accent-green);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 400;
}

.prireditev-content p {
  color: var(--gray-text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.read-more-btn {
  display: inline-block;
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding-right: 25px;
}

.read-more-btn:hover {
  color: var(--primary-gold);
  padding-right: 30px;
}

.read-more-btn::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-green);
  transition: width 0.3s ease;
}

.read-more-btn:hover::after {
  width: calc(100% - 25px);
}

/* Event-specific styles for homepage cards */
.event-item .event-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--accent-green);
  font-weight: 600;
  margin-bottom: 10px;
}

.event-item .event-date svg {
  flex-shrink: 0;
}

.event-item .event-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.event-item .event-link:hover {
  color: var(--primary-gold);
  transform: translateX(5px);
}

.no-events-message,
.events-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-text);
  font-size: 1.1rem;
}

/* Events Slider Styles */
.events-slider-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 60px;
}

.events-slider {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.events-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-slide {
  min-width: 100%;
  position: relative;
  background: white;
  display: flex;
  flex-direction: row;
  height: 450px;
}

.event-slide-image {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.event-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-slide:hover .event-slide-image img {
  transform: scale(1.05);
}

.event-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.1) 100%);
}

.event-slide-content {
  width: 50%;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
}

.event-slide-content .event-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--accent-green);
  font-weight: 600;
  margin-bottom: 20px;
  background: rgba(74, 110, 58, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  width: fit-content;
}

.event-slide-content .event-date svg {
  flex-shrink: 0;
}

.event-slide-content .event-title {
  color: var(--dark-text);
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.event-slide-content .event-description {
  color: var(--gray-text);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
  flex-grow: 1;
}

.event-slide-content .event-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  background: var(--accent-green);
  text-decoration: none;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: fit-content;
}

.event-slide-content .event-link:hover {
  background: var(--primary-gold);
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(74, 110, 58, 0.3);
}

.event-slide-content .event-link svg {
  transition: transform 0.3s ease;
}

.event-slide-content .event-link:hover svg {
  transform: translateX(3px);
}

/* Slider Navigation Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid var(--accent-green);
  color: var(--accent-green);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
  background: var(--accent-green);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(74, 110, 58, 0.3);
}

.slider-btn-prev {
  left: 0;
}

.slider-btn-next {
  right: 0;
}

.slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Slider Dots Navigation */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(74, 110, 58, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot:hover {
  background: rgba(74, 110, 58, 0.5);
  transform: scale(1.2);
}

.slider-dot.active {
  background: var(--accent-green);
  width: 32px;
  border-radius: 6px;
}

/* Past Events Section */
.past-events-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 2px solid rgba(74, 110, 58, 0.2);
}

.past-events-title {
  text-align: center;
  color: var(--gray-text);
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-weight: 400;
  position: relative;
}

.past-events-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: rgba(74, 110, 58, 0.3);
  border-radius: 2px;
}

.past-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.past-event-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  opacity: 0.85;
  position: relative;
}

.past-event-card:hover {
  opacity: 1;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.past-event-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  background: var(--beige-bg);
}

.past-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(30%);
}

.past-event-card:hover .past-event-image img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.past-event-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--beige-bg) 0%, var(--cream-bg) 100%);
  color: var(--gray-text);
  opacity: 0.6;
}

.past-event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
}

.past-event-content {
  padding: 20px;
}

.past-event-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-bottom: 10px;
  opacity: 0.8;
}

.past-event-date svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.past-event-title {
  color: var(--dark-text);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  opacity: 0.9;
}

.past-event-card:hover .past-event-title {
  color: var(--accent-green);
  opacity: 1;
}

/* Full Event Page Styles */
.event-hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--beige-bg);
  overflow: hidden;
}

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

.event-hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  z-index: 1;
}

.event-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
}

.back-to-events {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.back-to-events:hover {
  color: var(--primary-gold);
  transform: translateX(-5px);
}

.event-title {
  font-size: 3.5rem;
  color: white;
  margin: 0 0 20px 0;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.event-date-display {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  color: white;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.event-date-display svg {
  flex-shrink: 0;
}

/* Event Body Section */
.event-body-section {
  background-color: var(--light-bg);
  padding: 80px 0;
}

.event-body-content {
  max-width: 900px;
  margin: 0 auto;
}

.event-description {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--gray-text);
  margin-bottom: 60px;
}

.event-description p {
  margin-bottom: 1.5rem;
}

.event-description h2,
.event-description h3 {
  color: var(--accent-green);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.event-gallery-section {
  margin: 80px 0 60px;
}

.event-gallery-section h2 {
  font-size: 2.5rem;
  color: var(--accent-green);
  margin-bottom: 40px;
  text-align: center;
}

.event-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.event-gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(201, 171, 129, 0.2);
}

.event-gallery-grid img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(74, 110, 58, 0.3);
}

.event-action-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 2px solid rgba(201, 171, 129, 0.3);
}

.secondary-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: transparent;
  color: var(--accent-green);
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-green);
  border-radius: 4px;
}

.secondary-button:hover {
  background-color: var(--accent-green);
  color: var(--light-bg);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(74, 110, 58, 0.3);
}

/* Prenočišča Section */
#prenocisca {
  background-color: var(--beige-bg);
  background-image: url('../images/rooms_ozadje.webp');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
}

#prenocisca h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 1px;
  margin-bottom: 40px;
  text-shadow:
    2px 2px 8px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(0, 0, 0, 0.5);
}

.prenocisca-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.prenocisca-intro p {
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.8;
  margin-bottom: 20px;
  text-shadow:
    1px 1px 6px rgba(0, 0, 0, 0.9),
    0 0 15px rgba(0, 0, 0, 0.6);
}

.prenocisca-highlight {
  background-color: rgba(74, 110, 58, 0.3);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #ffffff;
}

.prenocisca-highlight strong {
  color: #ffffff;
}

.prenocisca-booking-info {
  margin-top: 50px;
}

.booking-info-card {
  background-color: var(--cream-bg);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid var(--accent-green);
}

.booking-info-card h3 {
  font-size: 1.8rem;
  color: var(--accent-green);
  margin-bottom: 15px;
}

.booking-info-card p {
  font-size: 1.1rem;
  color: var(--gray-text);
  margin-bottom: 25px;
}

.booking-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.booking-actions .cta-button,
.booking-actions .secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 1rem;
}

.booking-actions svg {
  flex-shrink: 0;
}

/* Katering Section */
#catering {
  background-color: var(--light-bg);
}

.catering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.catering-item {
  background-color: var(--cream-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(74, 110, 58, 0.1);
}

.catering-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(74, 110, 58, 0.15);
}

.catering-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.catering-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.catering-item:hover .catering-image img {
  transform: scale(1.1);
}

.catering-content {
  padding: 30px;
}

.catering-content h3 {
  color: var(--accent-green);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 400;
}

.catering-content p {
  color: var(--gray-text);
  font-size: 1rem;
  line-height: 1.6;
}

/* Gallery Section */
#galerija {
  background-color: var(--beige-bg);
}

/* Contact Section */
#contact {
  background-color: var(--cream-bg);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  color: var(--accent-green);
  margin-bottom: 20px;
}

.contact-item {
  margin-bottom: 30px;
}

.contact-item strong {
  color: var(--accent-green);
  display: block;
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea,
.contact-form .form-text,
.contact-form .form-email,
.contact-form .form-tel,
.contact-form .form-textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(201, 171, 129, 0.3);
  color: var(--dark-text);
  border-radius: 3px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form .form-text:focus,
.contact-form .form-email:focus,
.contact-form .form-tel:focus,
.contact-form .form-textarea:focus {
  outline: none;
  border-color: var(--accent-green);
  background-color: rgba(255, 255, 255, 1);
}

.contact-form .form-item {
  margin-bottom: 0;
}

.contact-form label {
  display: none;
}

.contact-form button,
.contact-form .form-submit {
  padding: 15px 40px;
  background-color: var(--accent-green);
  color: white;
  border: none;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 3px;
  font-size: 1rem;
}

.contact-form button:hover,
.contact-form .form-submit:hover {
  background-color: #3d5b2e;
  transform: translateY(-2px);
}

.contact-form .messages {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form .messages--status {
  background-color: #e8f5e9;
  border-left: 4px solid var(--accent-green);
  color: var(--accent-green);
}

.contact-form .messages--error {
  background-color: #ffebe9;
  border-left: 4px solid #c00;
  color: #c00;
}

/* Map Section */
#map {
  padding: 0;
  min-height: auto;
}

.map-container {
  width: 100%;
  height: 450px;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Footer */
#footer {
  background-color: var(--dark-text);
  padding: 60px 0 40px;
  color: var(--light-bg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

/* Footer Navigation */
.footer-navigation {
  min-width: 0;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.footer-menu li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}

.footer-menu li a:hover {
  color: var(--primary-gold);
  border-bottom-color: var(--primary-gold);
}

.footer-navigation h4,
.footer-contact-info h4,
.footer-hours h4,
.social-media h4 {
  color: var(--primary-gold);
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 400;
}

/* Footer Contact + Hours Combined Column */
.footer-contact-hours {
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 0;
}

/* Footer Contact Info */
.footer-contact-info {
  min-width: 0;
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-info-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

.footer-info-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info-item a:hover {
  color: var(--primary-gold);
}

/* Footer Hours */
.footer-hours {
  min-width: 0;
}

.hours-list {
  margin-bottom: 25px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.hours-item .day {
  font-weight: 600;
}

.hours-item .time {
  color: rgba(255, 255, 255, 0.7);
}

/* Payment Methods */
.payment-methods {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-methods h5 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-bottom: 12px;
  font-weight: 500;
}

.payment-icons {
  display: flex;
  gap: 15px;
}

.payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 35px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.payment-icon svg {
  stroke: rgba(255, 255, 255, 0.7);
  transition: stroke 0.3s ease;
}

.payment-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-gold);
}

.payment-icon:hover svg {
  stroke: var(--primary-gold);
}

/* Footer Copyright */
.footer-copyright {
  width: 100%;
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Social Media */
.social-media {
  min-width: 0;
}

.social-media h4 {
  color: var(--primary-gold);
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 400;
}

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

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--light-bg);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--accent-green);
  border-color: var(--accent-green);
  transform: translateX(5px);
}

.social-icon {
  font-size: 1.5rem;
  width: 30px;
  text-align: center;
  font-weight: bold;
}

.social-name {
  font-size: 1rem;
  font-weight: 500;
}

/* Social link specific colors on hover */
.social-link.facebook:hover {
  background-color: #1877f2;
  border-color: #1877f2;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #e6683c;
}

.social-link.tripadvisor:hover {
  background-color: #34e0a1;
  border-color: #34e0a1;
}

.social-link.email:hover {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
}

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background-color: var(--accent-green);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 4px 20px rgba(74, 110, 58, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background-color: #3d5b2e;
  transform: translateY(-5px);
  box-shadow: 0 6px 30px rgba(74, 110, 58, 0.6);
}

.back-to-top-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.back-to-top-btn span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

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

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInTitle {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Drupal Content Section - for admin pages, login, etc. */
.drupal-content-section {
  background-color: var(--light-bg);
  padding: 80px 0;
  min-height: 60vh;
}

.drupal-content-section .container {
  max-width: 600px;
  margin: 0 auto;
}

/* Drupal Form Styling */
.drupal-content-section form {
  background-color: var(--cream-bg);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.drupal-content-section .form-item {
  margin-bottom: 20px;
}

.drupal-content-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-text);
}

.drupal-content-section input[type="text"],
.drupal-content-section input[type="password"],
.drupal-content-section input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.drupal-content-section input[type="text"]:focus,
.drupal-content-section input[type="password"]:focus,
.drupal-content-section input[type="email"]:focus {
  outline: none;
  border-color: var(--accent-green);
}

.drupal-content-section button[type="submit"],
.drupal-content-section input[type="submit"] {
  background-color: var(--accent-green);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 10px;
}

.drupal-content-section button[type="submit"]:hover,
.drupal-content-section input[type="submit"]:hover {
  background-color: #3d5b2e;
  transform: translateY(-2px);
}

.drupal-content-section .description {
  font-size: 14px;
  color: var(--gray-text);
  margin-top: 5px;
}

.drupal-content-section .messages {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.drupal-content-section .messages--error {
  background-color: #ffebe9;
  border-left: 4px solid #c00;
  color: #c00;
}

.drupal-content-section .messages--status {
  background-color: #e8f5e9;
  border-left: 4px solid var(--accent-green);
  color: var(--accent-green);
}

/* Hero Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes logoScaleToFull {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes taglineFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============================================
   ADMIN HEADER (for non-front pages)
   ============================================ */
#admin-header {
  background-color: #ffffff;
  border-bottom: 3px solid var(--accent-green);
  padding: 15px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.admin-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark-text);
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.admin-logo svg {
  stroke: var(--accent-green);
  transition: stroke 0.3s ease;
}

.admin-logo:hover {
  color: var(--accent-green);
}

.admin-logo:hover svg {
  stroke: var(--primary-gold);
}

.admin-user-menu {
  display: flex;
  gap: 15px;
  align-items: center;
}

.admin-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  text-decoration: none;
  color: var(--dark-text);
  background-color: rgba(74, 110, 58, 0.05);
  border: 1px solid rgba(74, 110, 58, 0.2);
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.admin-link svg {
  stroke: var(--accent-green);
  flex-shrink: 0;
}

.admin-link:hover {
  background-color: var(--accent-green);
  color: white;
  border-color: var(--accent-green);
}

.admin-link:hover svg {
  stroke: white;
}

/* Drupal Content Section */
.drupal-content-section {
  min-height: 60vh;
  padding: 40px 0;
  background-color: #f8f9fa;
}
