/* =========================================================
   EWIN Kommunikation – lokal Tailwind-erstatning
   Gem som: style.css
   ========================================================= */

/* Reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #fef5f2;
  color: #1F2C34;
  font-size: 1rem;
  
  
  /* Side fade-in */
  opacity: 0;
  animation: fadeInPage 0.5s ease-out forwards;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

img {
  max-width: 100%;
  display: block;
}

.hidden {
  display: none;
}

/* Typography */
.font-heading {
  font-family: Candara, 'Nunito', 'Segoe UI', sans-serif;
}

.font-sans {
  font-family: 'Roboto', sans-serif;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.italic {
  font-style: italic;
}

.text-base {
  font-size: 1rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-6xl {
  font-size: 3.75rem;
}

.leading-relaxed {
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

/* Colors */
.text-white {
  color: #ffffff;
}

.text-\[\#1F2C34\] {
  color: #1F2C34;
}

.text-\[\#599692\] {
  color: #599692;
}

.text-\[\#DD907D\] {
  color: #DD907D;
}

.text-\[\#fef5f2\] {
  color: #fef5f2;
}

.bg-\[\#fef5f2\] {
  background-color: #fef5f2;
}

.bg-\[\#96A8A7\] {
  background-color: #96A8A7;
}

.bg-\[\#599692\] {
  background-color: #599692;
}

.bg-\[\#DD907D\] {
  background-color: #DD907D;
}

.bg-\[\#1F2C34\] {
  background-color: #1F2C34;
}

.bg-white {
  background-color: white;
}

.bg-opacity-80 {
  background-color: rgba(254, 245, 242, 0.8);
}

.bg-\[\#fef5f2\]\/60 {
  background-color: rgba(254, 245, 242, 0.6);
}

/* Layout */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.top-5 {
  top: 1.25rem;
}

.top-8 {
  top: 2rem;
}

.top-10 {
  top: 2.5rem;
}

.top-20 {
  top: 5rem;
}

.left-\[-150px\] {
  left: -150px;
}

.right-0 {
  right: 0;
}

.right-\[-40px\] {
  right: -40px;
}

.right-\[-80px\] {
  right: -80px;
}

.right-\[1300px\] {
  right: 1300px;
}

.inset-0 {
  inset: 0;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.w-full {
  width: 100%;
}

.w-5 {
  width: 1.25rem;
}

.w-8 {
  width: 2rem;
}

.w-24 {
  width: 6rem;
}

.w-64 {
  width: 16rem;
}

.w-\[70\%\] {
  width: 70%;
}

.w-\[200px\] {
  width: 200px;
}

.w-\[230px\] {
  width: 230px;
}

.w-\[250px\] {
  width: 250px;
}

.w-\[300px\] {
  width: 300px;
}

.w-\[350px\] {
  width: 350px;
}

.h-full {
  height: 100%;
}

.h-1 {
  height: 0.25rem;
}

.h-5 {
  height: 1.25rem;
}

.h-8 {
  height: 2rem;
}

.h-16 {
  height: 4rem;
}

.min-h-\[350px\] {
  min-height: 350px;
}

.min-h-\[400px\] {
  min-height: 400px;
}

.min-h-\[450px\] {
  min-height: 450px;
}

.h-\[250px\] {
  height: 250px;
}

.h-\[300px\] {
  height: 300px;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-\[140px\] {
  max-width: 140px;
}

.max-w-\[160px\] {
  max-width: 160px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pb-16 {
  padding-bottom: 4rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-12 > * + * {
  margin-top: 3rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-y-1 {
  row-gap: 0.25rem;
}

/* Flex */
.flex {
  display: flex;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.shrink-0 {
  flex-shrink: 0;
}

.inline-block {
  display: inline-block;
}

.block {
  display: block;
}

/* Object */
.object-cover {
  object-fit: cover;
}

.object-contain {
  object-fit: contain;
}

/* Effects */
.rounded {
  border-radius: 0.25rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow {
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.shadow-md {
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.opacity-80 {
  opacity: 0.8;
}

.overflow-hidden {
  overflow: hidden;
}

.pointer-events-none {
  pointer-events: none;
}

.transition-colors {
  transition: background-color 0.2s ease;
}

.transition-transform {
  transition: transform 0.3s ease-in-out;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.ease-in-out {
  transition-timing-function: ease-in-out;
}

.translate-x-full {
  transform: translateX(100%);
}

.translate-x-0 {
  transform: translateX(0);
}

/* Hover */
.hover\:underline:hover {
  text-decoration: underline;
}

.hover\:text-\[\#599692\]:hover {
  color: #599692;
}

.hover\:bg-\[\#E7A898\]:hover {
  background-color: #E7A898;
}


/* Links */
.nav-link {
  color: #1F2C34;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 700;
}

.nav-link:hover {
  color: #96A8A7;
}

/* ACTIVE STATE styres centralt via body[data-page] */
body[data-page="home"] .nav-home,
body[data-page="om"] .nav-om,
body[data-page="ydelser"] .nav-ydelser,
body[data-page="kontakt"] .nav-kontakt {
  color: #599692;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: #DD907D;
  color: #fef5f2;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #fef5f2;
  color: #DD907D;
}


/* Tables */
.border-collapse {
  border-collapse: collapse;
}

.border-b {
  border-bottom: 1px solid #ddd;
}

.border-\[\#ddd\] {
  border-color: #ddd;
}

.align-top {
  vertical-align: top;
}

/* Lists */
.list-disc {
  list-style-type: disc;
}

/* Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(10px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}


/* Responsive */
@media (min-width: 640px) {

  .sm\:h-20 {
    height: 5rem;
  }
  
  
  .sm\:h-22 {
    height: 5.5rem;
  }

  .sm\:text-lg {
    font-size: 1.125rem;
  }

  .sm\:text-xl {
    font-size: 1.25rem;
  }

  .sm\:text-5xl {
    font-size: 3rem;
  }
}


@media (min-width: 768px) {

  .md\:hidden {
    display: none;
  }

  .md\:block {
    display: block;
  }

  .md\:flex {
    display: flex;
  }

  .md\:space-x-6 > * + * {
    margin-left: 1.5rem;
  }

  .md\:items-end {
    align-items: flex-end;
  }

  .md\:self-end {
    align-self: flex-end;
  }

  .md\:text-base {
    font-size: 1rem;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
  }

  .md\:text-6xl {
    font-size: 3.75rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
  }

  .md\:h-\[350px\] {
    height: 350px;
  }

  .md\:h-\[400px\] {
    height: 400px;
  }

  .md\:h-\[450px\] {
    height: 450px;
  }

  .md\:h-\[500px\] {
    height: 500px;
  }

  .md\:h-\[600px\] {
    height: 600px;
  }

  .md\:w-\[350px\] {
    width: 350px;
  }

  .md\:top-20 {
    top: 5rem;
  }

  .md\:font-semibold {
    font-weight: 600;
  }

  .md\:w-\[300px\] {
    width: 300px;
  }

  .md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .md\:bg-transparent {
    background-color: transparent;
  }
}

/* =========================================================
   Links
   ========================================================= */

a {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
}

a:active {
  color: #599692;
}


/* Footer-links */
footer a,
footer a:visited {
  color: #599692;
}

footer a:hover {
  color: #DD907D;
}

/* Breadcrumbs */
.breadcrumb a,
.breadcrumb a:visited {
  color: #599692;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0.5rem;
}

@media (max-width: 480px) {
  .breadcrumb {
    white-space: normal;
    flex-wrap: wrap;
  }
}

/* Rent kosmetiske/tilgængeligheds-klasser uden synlig effekt indtil nu */
.transform {
  /* placeholder – transform sættes direkte af translate-x-klasserne */
}

.focus\:outline-none:focus {
  outline: none;
}
