/* Strandvakantie.eu Custom Styles */
:root {
  --primary-blue: #0077be;
  --secondary-blue: #4a90a4;
  --accent-orange: #ff6b35;
  --light-blue: #e8f4f8;
  --sand-beige: #f5f2e8;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary-blue);
}

h2 {
  font-size: 2rem;
  color: var(--secondary-blue);
}

.text-primary {
  color: var(--primary-blue) !important;
}

.text-secondary {
  color: var(--secondary-blue) !important;
}

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

/* Navigation */
.navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue) !important;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

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

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.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.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide {
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 119, 190, 0.7), rgba(255, 107, 53, 0.5));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-hero {
  background: var(--accent-orange);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-hero:hover {
  background: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Cards */
.destination-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.destination-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.destination-card img {
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
  aspect-ratio: 16 / 9;
}

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

.card-body {
  padding: 1.5rem;
}

.card-title {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.card-text {
  color: var(--text-light);
  line-height: 1.6;
}

/* Buttons */
.btn-primary {
  background: var(--primary-blue);
  border: var(--primary-blue);
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #005a8b;
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  border-radius: 25px;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
}

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

/* Section Styling */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-orange);
  border-radius: 2px;
}

.bg-light-blue {
  background-color: var(--light-blue);
}

.bg-sand {
  background-color: var(--sand-beige);
}

/* Image Gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 2rem 1rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

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

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  color: var(--white);
  padding: 3rem 0;
}

.newsletter h3 {
  color: var(--white);
}

.newsletter .form-control {
  border: none;
  border-radius: 25px;
  padding: 0.8rem 1.5rem;
}

.newsletter .btn {
  background: var(--accent-orange);
  border: none;
  border-radius: 25px;
  padding: 0.8rem 2rem;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

footer h5 {
  color: var(--accent-orange);
  margin-bottom: 1rem;
}

footer a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
  color: #7f8c8d;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-section {
    height: 60vh;
    min-height: 400px;
  }
  
  .image-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .destination-card img {
    height: 200px;
  }
}

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

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

/* Page Specific Styles */
.page-header {
  background: linear-gradient(135deg, var(--light-blue), var(--sand-beige));
  padding: 4rem 0 2rem;
  margin-bottom: 2rem;
}

.breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 0;
}

.breadcrumb-item a {
  color: var(--primary-blue);
  text-decoration: none;
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-shadow {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.border-radius-lg {
  border-radius: 15px !important;
}

.box-shadow {
  box-shadow: var(--shadow) !important;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue)) !important;
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: .5rem .75rem;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 6px;
  z-index: 1100;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
