/* Subtle Modern Improvements for Haare & Kosmetik */
/* Keeping original colors and design, just adding polish */

/* ===== Smooth Scrolling ===== */
html {
  scroll-behavior: smooth;
}

/* ===== Hero Section Responsive Design ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px 0;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background-color: #2f2f2f;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(18, 32, 46, 0.85) 0%,
    rgba(18, 32, 46, 0.55) 55%,
    rgba(10, 22, 36, 0.35) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-background {
  position: absolute;
  inset: -4%;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.hero-content {
  gap: 20px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-family: 'Satisfy', cursive;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin-bottom: 30px;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 34rem;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.88);
}

/* Desktop: Full width container for hero content */
@media (min-width: 769px) {
  .hero-section .col-md-10 {
    max-width: 58%;
  }
}

/* Mobile: Hero section adjustments */
@media (max-width: 768px) {
  .hero-section {
    color: #ffffff;
    padding: 120px 0 60px 0;
  }

  .hero-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-title {
    color: #ffffff;
    margin-bottom: 18px;
  }

  .hero-subtitle {
    color: #f5f5f5;
    margin-top: 6px !important;
  }

  .hero-description {
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 28px !important;
  }

  .hero-background img {
    filter: blur(14px) brightness(1.05);
    transform: scale(1.25);
  }

  .hero-section::after {
    background: linear-gradient(
      195deg,
      rgba(6, 20, 34, 0.72) 0%,
      rgba(6, 20, 34, 0.65) 55%,
      rgba(12, 30, 48, 0.7) 100%
    );
  }

  .opening-hours-badge {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 16px 18px;
  }

  .opening-hours-info strong,
  .opening-hours-info .hours-today {
    color: #ffffff;
  }
}

/* Tablet: Adjust background positioning */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-section {
    padding-top: 120px;
  }

  .hero-section .col-md-10 {
    max-width: 62%;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .hero-section {
    min-height: 110vh;
    padding: 100px 0 40px 0;
  }

  .hero-title {
    font-size: 1.8rem !important;
  }

  .hero-subtitle {
    font-size: 1.2rem !important;
  }

  .hero-description {
    font-size: 1rem !important;
  }
}

/* ===== Hero CTA Section ===== */
.hero-cta-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  align-items: center;
}

.hero-cta-primary {
  font-weight: 600;
  font-size: 16px !important;
  padding: 15px 35px !important;
  box-shadow: 0 4px 15px rgba(46, 163, 242, 0.3) !important;
}

.hero-cta-primary:hover {
  box-shadow: 0 6px 20px rgba(46, 163, 242, 0.4) !important;
  transform: translateY(-2px) scale(1.02);
}

.hero-cta-secondary {
  font-weight: 500;
  font-size: 16px !important;
  padding: 15px 30px !important;
  background: white !important;
  color: #2ea3f2 !important;
  border: 2px solid #2ea3f2;
}

.hero-cta-secondary:hover {
  background: #2ea3f2 !important;
  color: white !important;
  transform: translateY(-2px);
}

/* ===== Opening Hours Badge ===== */
.opening-hours-badge {
  display: inline-flex;
  align-items: center;
  background: white;
  padding: 15px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
  max-width: fit-content;
  transition: all 0.3s ease;
}

.opening-hours-badge:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateX(5px);
}

.opening-hours-icon {
  background: linear-gradient(135deg, #2ea3f2, #1e7ab8);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.opening-hours-icon i {
  color: white;
  font-size: 20px;
}

.opening-hours-info {
  text-align: left;
}

.opening-hours-info strong {
  display: block;
  color: #333;
  font-size: 14px;
  margin-bottom: 3px;
  font-weight: 600;
}

.opening-hours-info .hours-today {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

/* Responsive adjustments for hero CTAs */
@media (max-width: 768px) {
  .hero-cta-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: block;
    padding: 14px 25px !important;
    font-size: 15px !important;
  }

  .opening-hours-badge {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    padding: 12px 15px;
    justify-content: flex-start;
  }

  .opening-hours-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }

  .opening-hours-icon i {
    font-size: 18px;
  }

  .opening-hours-info strong {
    font-size: 13px;
  }

  .opening-hours-info .hours-today {
    font-size: 11px;
    line-height: 1.5;
  }
}


/* ===== Navigation Subtle Improvements ===== */
.navbar .nav-link {
  transition: all 0.3s ease;
}

.navbar .nav-link:hover {
  transform: translateY(-1px);
}

/* ===== Button Polish ===== */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* ===== Card Hover Effects ===== */
.team-player .card {
  transition: all 0.3s ease;
}

.team-player .card:hover {
  transform: translateY(-5px);
}

.team-player img {
  transition: all 0.3s ease;
}

/* ===== Service Cards Subtle Enhancement ===== */
.features .info {
  transition: all 0.3s ease;
}

.features .info:hover {
  transform: translateY(-3px);
}

/* ===== Contact Info Hover ===== */
.info.info-horizontal {
  transition: all 0.3s ease;
}

.info.info-horizontal:hover {
  transform: translateX(3px);
}

/* ===== Better Selection Color ===== */
::selection {
  background: #2ea3f2;
  color: white;
}

::-moz-selection {
  background: #2ea3f2;
  color: white;
}

/* ===== Image Loading ===== */
img {
  transition: all 0.3s ease;
}

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

/* ===== Responsive Improvements ===== */
@media (max-width: 768px) {
  .main-raised {
    margin: -30px 15px 0;
    border-radius: 12px;
  }
}

/* Reduce negative margin on very small screens to prevent overlap */
@media (max-width: 480px) {
  .main-raised {
    margin: -20px 10px 0;
  }
}
