/* Wintertourismus.at Custom Styles */
/* Winter-themed design with Austrian Alpine aesthetics */

:root {
  /* Color Palette - Winter & Alpine Theme */
  --primary-color: #1e3a8a;      /* Deep Alpine Blue */
  --secondary-color: #0f766e;    /* Mountain Green */
  --accent-color: #f59e0b;       /* Warm Amber */
  --success-color: #059669;      /* Forest Green */
  --warning-color: #d97706;      /* Orange */
  --danger-color: #dc2626;       /* Red */
  --info-color: #0284c7;         /* Sky Blue */
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --black: #000000;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  --gradient-winter: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%);
  --gradient-overlay: linear-gradient(rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.6));
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Spacing */
  --header-height: 80px;
  --section-padding: 5rem 0;
  
  /* Fonts */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Playfair Display', Georgia, serif;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.display-1 { font-size: 6rem; }
.display-2 { font-size: 5.5rem; }
.display-3 { font-size: 4.5rem; }
.display-4 { font-size: 3.5rem; }
.display-5 { font-size: 3rem; }
.display-6 { font-size: 2.5rem; }

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Custom Button Styles */
.btn {
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
}

.btn-accent:hover {
  background-color: #d97706;
  border-color: #d97706;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--primary-color);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Navigation Styles */
.winter-nav {
  background: rgba(30, 58, 138, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.winter-nav.scrolled {
  background: rgba(30, 58, 138, 0.98) !important;
  box-shadow: var(--shadow-lg);
}

.navbar-brand {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-color) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
  left: 10%;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-xl);
  border-radius: 0.75rem;
  padding: 1rem 0;
  background: var(--white);
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--gray-100);
  color: var(--primary-color);
  transform: translateX(5px);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.6)), 
              url('../images/hero-bg.jpg') center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(30, 58, 138, 0.1) 25%, transparent 25%), 
              linear-gradient(-45deg, rgba(30, 58, 138, 0.1) 25%, transparent 25%);
  background-size: 60px 60px;
  animation: snowfall 20s linear infinite;
}

@keyframes snowfall {
  0% { transform: translateY(-60px); }
  100% { transform: translateY(100vh); }
}

.hero-overlay {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}

.text-accent {
  color: var(--accent-color);
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Search Card */
.search-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-card .form-label {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.search-card .form-control,
.search-card .form-select {
  border-radius: 0.5rem;
  border: 2px solid var(--gray-200);
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.search-card .form-control:focus,
.search-card .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

/* Feature Cards */
.feature-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.feature-icon i {
  font-size: 2rem;
  color: var(--white);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h4 {
  color: var(--gray-900);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card p {
  margin-top: auto;
  color: var(--gray-600);
}

/* Destination Cards */
.destination-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.destination-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

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

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

.destination-card:hover .destination-image img {
  transform: scale(1.1);
}

.destination-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem 1.5rem 1.5rem;
}

.destination-overlay h4 {
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}

.destination-content {
  padding: 1.5rem;
}

.destination-content .badge {
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
}

/* Forms */
.form-control {
  border-radius: 0.5rem;
  border: 2px solid var(--gray-200);
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

/* Cards */
.card {
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-header {
  background-color: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-weight: 600;
  color: var(--gray-900);
}

/* Tables */
.table {
  border-radius: 0.5rem;
  overflow: hidden;
}

.table th {
  background-color: var(--gray-50);
  font-weight: 600;
  color: var(--gray-900);
  border-bottom: 2px solid var(--gray-200);
}

.table-hover tbody tr:hover {
  background-color: var(--gray-50);
}

/* Badges */
.badge {
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
}

.badge-primary { background-color: var(--primary-color); }
.badge-success { background-color: var(--success-color); }
.badge-warning { background-color: var(--warning-color); }
.badge-danger { background-color: var(--danger-color); }
.badge-info { background-color: var(--info-color); }

/* Alerts */
.alert {
  border-radius: 0.75rem;
  border: 1px solid;
  padding: 1rem 1.5rem;
}

.alert-primary {
  background-color: rgba(30, 58, 138, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.alert-success {
  background-color: rgba(5, 150, 105, 0.1);
  border-color: var(--success-color);
  color: var(--success-color);
}

.alert-warning {
  background-color: rgba(217, 119, 6, 0.1);
  border-color: var(--warning-color);
  color: var(--warning-color);
}

.alert-danger {
  background-color: rgba(220, 38, 38, 0.1);
  border-color: var(--danger-color);
  color: var(--danger-color);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}

/* Utilities */
.bg-primary { background: var(--gradient-primary) !important; }
.bg-accent { background-color: var(--accent-color) !important; }
.text-primary { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }

.border-radius-lg { border-radius: 1rem; }
.border-radius-xl { border-radius: 1.5rem; }

/* Responsive Design */
@media (max-width: 992px) {
  .display-3 { font-size: 3rem; }
  .display-5 { font-size: 2rem; }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .search-card {
    margin-top: 2rem;
  }
  
  .feature-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .display-3 { font-size: 2.5rem; }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .search-card {
    padding: 1.5rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  
  .feature-icon i {
    font-size: 1.5rem;
  }
  
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
}

@media (max-width: 576px) {
  .display-3 { font-size: 2rem; }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .search-card,
  .feature-card {
    margin-bottom: 1.5rem;
  }
  
  .destination-image {
    height: 200px;
  }
  
  .d-flex.gap-3 {
    flex-direction: column;
    gap: 1rem !important;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Winter Theme Animations */
.snowflake {
  position: absolute;
  top: -10px;
  color: rgba(255, 255, 255, 0.8);
  animation: fall linear infinite;
  pointer-events: none;
}

@keyframes fall {
  to {
    transform: translateY(100vh);
  }
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* Print Styles */
@media print {
  .navbar, .footer, .btn, .scroll-top {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: none !important;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
}