/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Variables */
:root {
  --navy: #0F172A;
  --amber: #3CA0B2; /* Ændret til R60 G160 B178 (hex: #3CA0B2) */
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --lightgray: #f5f7fa;
  --accent: #3CA0B2; /* Ændret til R60 G160 B178 (hex: #3CA0B2) */
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --transition-normal: all 0.3s ease;
  --transition-fast: all 0.2s ease;
  --border-radius: 0.5rem;
}

/* Base Typography */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  color: var(--gray-800);
  background-color: white;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-normal);
}

img {
  max-width: 100%;
  height: auto;
}

/* Helper Classes */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.highlight {
  color: var(--amber);
}

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

.section-header h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto;
}

/* Skip to content link for accessibility */
.skip-to-content {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 1em;
  background-color: white;
  color: black;
  text-decoration: none;
}

.skip-to-content:focus {
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition-normal);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background-color: var(--amber);
  color: var(--navy);
}

.btn-primary:hover {
  background-color: #e29000;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--navy);
}

.btn-secondary:hover {
  background-color: var(--white);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 0;
  z-index: 50;
  transition: var(--transition-normal);
  background-color: var(--navy);
}

.navbar.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 3rem;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
}

.navbar.scrolled .nav-links a {
  color: var(--navy);
}

.nav-links a:hover, .social-links a:hover {
  color: var(--amber);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 2rem;
}

.social-links a {
  color: var(--white);
  transition: var(--transition-normal);
}

.navbar.scrolled .social-links a {
  color: var(--navy);
}

.mobile-menu-toggle {
  display: none;
  color: var(--white);
  cursor: pointer;
}

.navbar.scrolled .mobile-menu-toggle {
  color: var(--navy);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 64rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 32rem;
  color: var(--gray-200);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.scroll-down {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  z-index: 5;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-15px) translateX(-50%);
  }
  60% {
    transform: translateY(-7px) translateX(-50%);
  }
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--white);
}

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.service-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.service-item.active {
  opacity: 1;
  transform: translateY(0);
}

.service-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.service-icon {
  background-color: var(--amber);
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.service-icon i {
  color: var(--navy);
  font-size: 1.5rem;
}

.service-item h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-item p {
  color: var(--gray-600);
}

/* Team Section */
.team {
  padding: 5rem 0;
  background-color: var(--white);
}

.team h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.team-content {
  display: flex;
  flex-direction: row-reverse;
  gap: 2rem;
  align-items: center;
}

.team-info {
  flex: 1;
}

.text-content {
  font-size: 1.125rem;
  color: var(--gray-600);
}

.team-member {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.member-image {
  width: 16rem;
  height: 20rem;
  overflow: hidden;
  border: 4px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-member h3 {
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}

.team-member p {
  color: var(--gray-600);
  font-size: 1.125rem;
}

/* References Section */
.references {
  padding: 5rem 0;
  background-color: var(--white);
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.reference-item {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10rem;
}

.reference-item:hover {
  box-shadow: var(--shadow-lg);
}

.reference-item img {
  max-height: 6rem;
  max-width: 100%;
  object-fit: contain;
}

/* News/Merch Section */
.news {
  padding: 5rem 0;
  background-color: var(--lightgray);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.news-item {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition-normal);
}

.news-item:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

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

.news-item:hover img {
  transform: scale(1.05);
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--amber);
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-item i {
  color: var(--amber);
  margin-top: 0.25rem;
}

.info-item h4 {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.info-item p, .info-item a {
  color: var(--gray-600);
}

.info-item a:hover {
  color: var(--amber);
}

.alert {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
}

.alert.success {
  background-color: #d1fae5;
  color: #065f46;
}

.alert.error {
  background-color: #fee2e2;
  color: #b91c1c;
}

/* Footer */
.footer {
  background-color: var(--navy);
  color: var(--white);
  padding-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 2.5rem;
}

.footer-column p {
  color: var(--gray-300);
}

.footer-column h4 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1.25rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: var(--gray-300);
  transition: var(--transition-normal);
}

.footer-column ul li a:hover {
  color: var(--amber);
}

.footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--gray-400);
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-links a {
  color: var(--gray-400);
  transition: var(--transition-normal);
}

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

#scrollToTop {
  cursor: pointer;
  background: none;
  border: none;
  color: var(--amber);
  margin-left: 0.75rem;
}

#scrollToTop:hover {
  color: var(--white);
}

/* Modal for image zoom */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.modal-content img {
  max-width: 80vw;
  max-height: 80vh;
  margin: auto;
  display: block;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
}

.modal-caption {
  margin-top: 1rem;
  color: var(--white);
  background-color: var(--navy);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
}

.close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  color: var(--white);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 30;
}

.whatsapp-button a {
  width: 3.5rem;
  height: 3.5rem;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
}

.whatsapp-button i {
  color: var(--white);
  font-size: 1.5rem;
}

.whatsapp-button a:hover {
  transform: scale(1.1);
}

/* Animation for reveal effect */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .team-content {
    flex-direction: column-reverse;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .nav-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    padding: 2rem 0;
    transition: var(--transition-normal);
  }
  
  .nav-menu.active {
    top: 4rem;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links a {
    color: var(--navy);
  }
  
  .social-links {
    margin-top: 1.5rem;
    margin-left: 0;
  }
  
  .social-links a {
    color: var(--navy);
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .references-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}
