@font-face {
    font-family: 'ScandinavianNew';
    src: url('../fonts/Font-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'ScandinavianNew';
    src: url('../fonts/Font-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'ScandinavianNew';
    src: url('../fonts/Font-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Main content without scaling - clean approach */
.main-content {
    position: relative;
    padding-top: 80px; /* space for fixed header */
}

/* Make content narrower without scaling */
.main-content .max-w-7xl {
    max-width: 60rem; /* smaller than default 80rem */
}

/* Ensure hero section covers full viewport */
#home {
    min-height: 100vh;
    height: 100vh;
}

/* Fixed header to always show hamburger menu */
.fixed-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    padding: 12px 0;
}

.fixed-header img {
    transition: height 0.3s ease;
}

.hero-gradient {
    background: linear-gradient(135deg, #1E40AF 0%, #000C99 50%, #8DD6FF 100%);
}

.aircraft-overlay {
    background: linear-gradient(90deg, rgba(30, 64, 175, 0.9) 0%, rgba(0, 12, 153, 0.7) 50%, rgba(141, 214, 255, 0.3) 100%);
}

.livery-showcase {
    background: linear-gradient(135deg, #8DD6FF 0%, #FFC5C1 50%, #FF5B62 100%);
}

.feature-card {
    background: linear-gradient(145deg, #FFFFFF 0%, #F8F9FA 100%);
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
    border-color: rgba(30, 64, 175, 0.3);
}

/* Ensure content doesn't go behind fixed header - now handled above */

/* Limit scroll height to prevent over-scrolling */
.scroll-container {
    max-height: 100vh;
    overflow-y: auto;
}

/* Smooth transitions */
.transition-all {
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-content {
        transform: scale(1);
        width: 100%;
        height: 100%;
        padding-top: 70px;
    }
}

/* Förhindra sidscroll (horisontell scroll) helt */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'ScandinavianNew', system-ui, sans-serif;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


footer {
  background: #000;
  color: #fff;
  padding: 1rem;
}

/* Animated underline for header links */
.animated-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: rgb(0, 0, 153);
  transition: width 0.3s ease-in-out;
}

.animated-underline:hover::after {
  width: 100%;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #1E40AF, #8DD6FF);
  border-radius: 4px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #000C99, #1E40AF);
  width: 10px;
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: #1E40AF rgba(255, 255, 255, 0.1);
}