/* Global Styles for Sushi Familie website */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Nordic Color Palette */
:root {
  --nordic-primary: #5B8FA3;        /* Soft blue-gray - primary accent */
  --nordic-primary-dark: #4A7283;    /* Darker blue-gray */
  --nordic-primary-light: #7BA5B8;  /* Lighter blue-gray */
  --nordic-secondary: #E8B4B8;      /* Soft coral pink - secondary accent */
  --nordic-secondary-dark: #D49BA0;  /* Darker coral */
  --nordic-text: #2C3E50;           /* Deep blue-gray - main text */
  --nordic-text-light: #4A5568;     /* Medium gray - secondary text */
  --nordic-text-muted: #718096;     /* Light gray - muted text */
  --nordic-bg: #F8F9FA;             /* Off-white background */
  --nordic-bg-light: #FFFFFF;       /* Pure white */
  --nordic-border: #E2E8F0;         /* Light border */
  --nordic-shadow: rgba(44, 62, 80, 0.08); /* Subtle shadow */
  --nordic-shadow-hover: rgba(44, 62, 80, 0.12); /* Hover shadow */
  
  /* Section background colors for contrast */
  --section-bg-1: #F0F4F7;         /* Light blue-gray for intro */
  --section-bg-2: #FAF7F4;         /* Warm beige for features */
  --section-bg-3: #F5F8FA;         /* Cool white-blue */
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: var(--nordic-text);
  background-color: var(--nordic-bg-light);
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(248, 249, 250, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px var(--nordic-shadow);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--nordic-border);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 16px var(--nordic-shadow-hover);
  padding: 5px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo img {
  height: 60px;
  width: auto;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

nav li {
  margin-left: 20px;
}

nav a {
  color: var(--nordic-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--nordic-primary);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover,
nav a.active {
  color: var(--nordic-primary);
}

/* Mobile menu button (Hamburger icon) */
.mobile-menu-btn {
  display: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  padding: 8px;
  margin: -8px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  order: 2;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  background-color: var(--nordic-text);
  border-radius: 2px;
  transition: all 0.3s ease;
  pointer-events: none;
}

.mobile-menu-btn:hover span {
  background-color: var(--nordic-primary);
}

/* Responsive navigation */
@media (max-width: 768px) {
  .nav-container {
    position: relative;
    z-index: 1000;
  }

  nav {
    position: relative;
    z-index: 999;
    width: 100%;
  }

  nav ul {
    position: fixed;
    top: 80px;
    right: 0;
    width: 280px;
    max-width: 85%;
    flex-direction: column;
    background: var(--nordic-bg-light);
    box-shadow: -4px 4px 20px var(--nordic-shadow-hover);
    border-bottom: 1px solid var(--nordic-border);
    border-left: 1px solid var(--nordic-border);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease 0.1s, 
                visibility 0s linear 0.4s,
                padding 0.3s ease,
                transform 0.3s ease;
    transform: translateX(100%);
    z-index: 999;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    border-radius: 0 0 0 12px;
  }

  nav ul.open {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    padding: 20px 0;
    transform: translateX(0);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease, 
                visibility 0s linear 0s,
                padding 0.3s ease,
                transform 0.3s ease;
  }

  nav li {
    margin: 0;
    padding: 12px 20px;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid var(--nordic-border);
  }

  nav li:last-child {
    border-bottom: none;
  }

  nav li a {
    display: block;
    width: 100%;
    padding: 8px 0;
    margin: 0;
  }

  nav li a::after {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
    position: relative;
    order: 2;
    margin-left: auto;
  }
  
  /* Hamburger animation when active */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .mobile-menu-btn.active span {
    background-color: var(--nordic-primary);
  }
  
  /* Ensure menu button is clickable */
  .mobile-menu-btn:active {
    opacity: 0.7;
  }
  
  /* Backdrop overlay */
  body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
    pointer-events: none;
  }
  
  body.menu-open::after {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
}

/* Hero Section */
/*
 * Hero section on the front page. Instead of a static background image we
 * embed a looping video directly in the markup. The video is absolutely
 * positioned so it fills the entire hero container using object-fit: cover.
 * An overlay is added on top of the video via the ::before pseudo element
 * to improve text legibility. When the viewport is small the height of
 * the hero section is reduced to avoid taking up too much space on mobile.
 */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2C3E50 0%, #4A7283 100%);
}

/* Background video styling */
.hero video.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay to darken the video */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.5) 0%, rgba(91, 143, 163, 0.3) 100%);
  z-index: 1;
}

/* Hero content sits on top of the video and overlay */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

/* Adjust hero height on smaller devices */
@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  main h1 {
    font-size: 2rem;
  }
  
  .intro h2 {
    font-size: 2rem;
  }
  
  .contact-hero h1 {
    font-size: 2.2rem;
  }
}

/* Buttons used across the site */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--nordic-primary);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  background-color: var(--nordic-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91, 143, 163, 0.35);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(91, 143, 163, 0.3);
}

/* Headings within hero */
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* Fade-in-up animation for hero content */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up.delay-1 {
  animation-delay: 0.2s;
}

.fade-in-up.delay-2 {
  animation-delay: 0.4s;
}

/* Main content sections */
main {
  padding: 0;
  max-width: 100%;
  margin: 0;
}

main h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--nordic-text);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* Hide default main h1 on about page since we have hero */
.about-hero ~ main h1 {
  display: none;
}

main h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--nordic-text);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

main p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--nordic-text-light);
  font-weight: 400;
}

/* About page Hero */
.about-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--nordic-primary) 0%, var(--nordic-primary-dark) 100%);
  margin-top: 80px;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/sushi_plate.jpeg') center/cover;
  opacity: 0.15;
  z-index: 0;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
}

.about-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.about-hero-content p {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

/* About page layout */
.about-intro {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--section-bg-1) 0%, #E8EDF1 100%);
  position: relative;
}

.about-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nordic-border), transparent);
}

.about-intro-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;
}

.about-text {
  flex: 1 1 500px;
}

.about-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--nordic-text);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 16px;
}

.about-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--nordic-primary), var(--nordic-primary-light));
  border-radius: 2px;
}

.about-lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--nordic-text);
  line-height: 1.8;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.about-text p {
  color: var(--nordic-text-light);
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 24px;
  font-weight: 400;
}

.about-closing {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--nordic-text);
  font-style: italic;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--nordic-border);
}

.about-image-wrapper {
  flex: 1 1 400px;
  position: relative;
}

.about-main-image {
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
  box-shadow: 0 12px 40px var(--nordic-shadow-hover);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
}

.about-main-image:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px var(--nordic-shadow-hover);
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background: var(--nordic-primary-light);
  border-radius: 16px;
  opacity: 0.1;
  z-index: 0;
  transition: all 0.4s ease;
}

.about-image-wrapper:hover::before {
  opacity: 0.15;
  transform: translate(-10px, -10px);
}

/* Feature cards on the about page */
.about-features {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--section-bg-2) 0%, #F5F0EB 100%);
  position: relative;
}

.about-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nordic-border), transparent);
}

.about-features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-features-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  color: var(--nordic-text);
  margin-bottom: 60px;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 24px;
}

.about-features-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--nordic-primary), var(--nordic-primary-light));
  border-radius: 2px;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.about-feature {
  background-color: var(--nordic-bg-light);
  border-radius: 16px;
  box-shadow: 0 8px 24px var(--nordic-shadow);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--nordic-border);
  position: relative;
  overflow: hidden;
}

.about-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(91, 143, 163, 0.08), transparent);
  transition: left 0.6s;
}

.about-feature:hover::before {
  left: 100%;
}

.about-feature-icon {
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.about-feature-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: var(--nordic-primary-light);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
  transition: all 0.4s ease;
}

.about-feature:hover .about-feature-icon::after {
  opacity: 0.15;
  transform: translate(-50%, -50%) scale(1.1);
}

.about-feature img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 20px var(--nordic-shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
}

.about-feature:hover img {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px var(--nordic-shadow-hover);
}

.about-feature h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--nordic-text);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.about-feature:hover h3 {
  color: var(--nordic-primary);
}

.about-feature p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--nordic-text-light);
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.about-feature:hover p {
  color: var(--nordic-text);
}

.about-feature:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 40px var(--nordic-shadow-hover);
  border-color: var(--nordic-primary-light);
  background-color: #ffffff;
}

@media (max-width: 768px) {
  .about-hero {
    height: 40vh;
    min-height: 300px;
  }
  
  .about-hero-content h1 {
    font-size: 2.5rem;
  }
  
  .about-hero-content p {
    font-size: 1.2rem;
  }
  
  .about-wrapper {
    flex-direction: column;
    gap: 40px;
  }
  
  .about-section-title {
    font-size: 2rem;
  }
  
  .about-features-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }
  
  .about-features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-feature {
    padding: 32px 24px;
  }
}

/* Contact page */
.contact-info {
  margin-bottom: 20px;
}

.contact-info p {
  margin: 5px 0;
}

.map-container {
  width: 100%;
  height: 450px;
  border: 1px solid var(--nordic-border);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--nordic-shadow);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* Contact page styling */
.contact-hero {
  height: 50vh;
  min-height: 400px;
  width: 100%;
  margin-top: 80px;
  background-image: url('images/contactbg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.7) 0%, rgba(91, 143, 163, 0.5) 100%);
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.contact-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.contact-hero-content p {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  opacity: 0.95;
  margin: 0;
}

.contact-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--section-bg-1) 0%, #E8EDF1 100%);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nordic-border), transparent);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-details-card,
.contact-map-card {
  background: var(--nordic-bg-light);
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 8px 24px var(--nordic-shadow);
  border: 1px solid var(--nordic-border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-details-card:hover,
.contact-map-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--nordic-shadow-hover);
}

.contact-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--nordic-text);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 16px;
}

.contact-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--nordic-primary), var(--nordic-primary-light));
  border-radius: 2px;
}

/* Contact Info Grid */
.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--nordic-bg);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.contact-info-item:hover {
  background: #ffffff;
  border-color: var(--nordic-primary-light);
  transform: translateX(4px);
}

.contact-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--nordic-primary-light), var(--nordic-primary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(91, 143, 163, 0.3);
  transition: all 0.3s ease;
}

.contact-info-item:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 16px rgba(91, 143, 163, 0.4);
}

.contact-info-content {
  flex: 1;
}

.contact-info-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--nordic-text);
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.contact-info-content p {
  font-size: 1.05rem;
  color: var(--nordic-text-light);
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}

.contact-info-content a {
  color: var(--nordic-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.contact-info-content a:hover {
  color: var(--nordic-primary-dark);
  text-decoration: underline;
}

/* Opening Hours */
.opening-hours {
  margin-bottom: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--nordic-border);
}

.opening-hours-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--nordic-text);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.opening-hours-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.opening-hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--nordic-bg);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.opening-hours-item:hover {
  background: #ffffff;
  transform: translateX(4px);
}

.opening-hours-item.closed {
  opacity: 0.6;
}

.opening-hours-item .day {
  font-weight: 500;
  color: var(--nordic-text);
  font-size: 1rem;
}

.opening-hours-item .time {
  font-weight: 600;
  color: var(--nordic-primary);
  font-size: 1rem;
}

.opening-hours-item.closed .time {
  color: var(--nordic-text-muted);
}

/* Kontrol Rapport */
.kontrol-rapport {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--nordic-border);
}

.kontrol-rapport a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.kontrol-rapport a:hover {
  transform: scale(1.05);
}

.kontrol-rapport img {
  max-width: 150px;
  width: 150px;
  height: auto;
  border-radius: 8px;
}

/* Map Card */
.contact-map-card {
  position: sticky;
  top: 100px;
}

.map-container {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--nordic-shadow);
  transition: all 0.3s ease;
}

.contact-map-card:hover .map-container {
  box-shadow: 0 8px 20px var(--nordic-shadow-hover);
}

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

@media (max-width: 968px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-map-card {
    position: relative;
    top: 0;
  }
  
  .map-container {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    height: 40vh;
    min-height: 300px;
    background-attachment: scroll;
  }
  
  .contact-hero-content h1 {
    font-size: 2.5rem;
  }
  
  .contact-hero-content p {
    font-size: 1.2rem;
  }
  
  .contact-section {
    padding: 60px 20px;
  }
  
  .contact-details-card,
  .contact-map-card {
    padding: 32px 24px;
  }
  
  .contact-section-title {
    font-size: 1.8rem;
  }
  
  .contact-info-item {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .contact-icon {
    margin: 0 auto;
  }
  
  .opening-hours-item {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .map-container {
    height: 300px;
  }
}

.footer {
  background-color: var(--nordic-text);
  color: rgba(255, 255, 255, 0.9);
  margin-top: 60px;
  padding: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-contact,
.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Ensure opening hours stack vertically despite flex defaults */
.footer-hours .footer-item {
  display: block;
}

.footer-hours .footer-day,
.footer-hours .footer-time {
  display: block;
}

.footer-item.closed {
  opacity: 0.7;
}

.footer-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--nordic-primary-light);
  width: 18px;
  height: 18px;
}

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

.footer-item a:hover {
  color: var(--nordic-primary-light);
  text-decoration: underline;
}

.footer-day {
  display: inline-block;
  min-width: 140px;
  font-weight: 500;
}

.footer-time {
  color: var(--nordic-primary-light);
  font-weight: 500;
}

.footer-item.closed .footer-time {
  color: rgba(255, 255, 255, 0.6);
}

.footer-kontrol {
  align-items: flex-start;
}

.footer-kontrol-link {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-kontrol-link:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.footer-kontrol-image {
  max-width: 120px;
  width: 120px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
  text-align: center;
  padding: 24px 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px 30px;
  }
  
  .footer-title {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }
  
  .footer-item {
    font-size: 0.9rem;
  }
  
  .footer-day {
    min-width: 120px;
  }
  
  .footer-kontrol {
    text-align: center;
    align-items: center;
  }
}

/*
 * Additional styles for the updated front page and modal
 */

/* Intro section on the home page */
.intro {
  text-align: center;
  padding: 100px 20px;
  position: relative;
  background: linear-gradient(135deg, var(--section-bg-1) 0%, #E8EDF1 100%);
  margin: 0;
  max-width: 100%;
}

.intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nordic-border), transparent);
}

.intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--nordic-text);
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}

.intro h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nordic-primary), var(--nordic-primary-light));
  transition: width 0.6s ease;
  border-radius: 2px;
}

.scroll-fade-in.visible ~ .scroll-fade-in.visible ~ .scroll-fade-in.visible ~ .intro h2::after,
.intro h2.scroll-fade-in.visible::after {
  width: 100px;
}

.intro p {
  font-size: 1.15rem;
  margin-bottom: 28px;
  color: var(--nordic-text-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.8;
}
.intro .btn {
  margin-top: 16px;
}

/* Features section on the home page */
.features-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 100px 20px;
  gap: 20px;
  max-width: 100%;
  margin: 0;
  background: linear-gradient(135deg, var(--section-bg-2) 0%, #F5F0EB 100%);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nordic-border), transparent);
}

.features-section-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.features-section .feature {
  flex: 1 1 300px;
  background-color: var(--nordic-bg-light);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 12px var(--nordic-shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--nordic-border);
}

.features-section .feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(91, 143, 163, 0.08), transparent);
  transition: left 0.5s;
}

.features-section .feature:hover::before {
  left: 100%;
}

.features-section .feature:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 28px var(--nordic-shadow-hover);
  background-color: var(--nordic-bg-light);
  border-color: var(--nordic-primary-light);
}
.features-section .feature h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--nordic-text);
  transition: color 0.3s ease;
  position: relative;
  letter-spacing: -0.01em;
}

.features-section .feature:hover h3 {
  color: var(--nordic-primary);
}

.features-section .feature p {
  font-size: 1rem;
  color: var(--nordic-text-light);
  line-height: 1.7;
  transition: color 0.3s ease;
  font-weight: 400;
}

.features-section .feature:hover p {
  color: var(--nordic-text);
}
@media (max-width: 768px) {
  .features-section {
    padding: 60px 20px;
  }
  
  .features-section-wrapper {
    flex-direction: column;
  }
  
  .intro {
    padding: 60px 20px;
  }
}

/* Popup modal */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--nordic-bg-light);
  padding: 40px 32px;
  border-radius: 12px;
  box-shadow: 0 12px 32px var(--nordic-shadow-hover);
  max-width: 90%;
  width: 420px;
  text-align: center;
  z-index: 2000;
  display: none;
  border: 1px solid var(--nordic-border);
}

.popup h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--nordic-text);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.popup p {
  color: var(--nordic-text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.popup.show {
  display: block;
  animation: fadeIn 0.5s ease;
}
.popup .close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  cursor: pointer;
  font-size: 28px;
  color: var(--nordic-text-light);
  transition: color 0.3s ease;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.popup .close-btn:hover {
  color: var(--nordic-text);
  background: var(--nordic-bg);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -55%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

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

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

/* Stagger animation for features */
.features-section .feature:nth-child(1) {
  transition-delay: 0s;
}

.features-section .feature:nth-child(2) {
  transition-delay: 0.1s;
}

.features-section .feature:nth-child(3) {
  transition-delay: 0.2s;
}

/* Parallax effect for hero video */
.hero-video {
  will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
  .hero {
    transform: translateZ(0);
  }
}