/*
Theme Name: Nulhype
Theme URI: http://example.com/nulhype
Author: Your Name
Author URI: http://example.com
Description: A custom theme for Nulhype.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nulhype
*/

/* Logo & Branding */
#logo-nul, #logo-hype {
    position: fixed;
    z-index: 1000; /* Sikrer at logoerne er over andet indhold */
    pointer-events: none;
}

#logo-nul {
    top: 0;
    left: 0;
}

#logo-hype {
    bottom: 0;
    right: 0;
}

#logo-nul img, #logo-hype img {
    width: auto; /* Juster størrelsen efter behov */
    height: 100px; /* Juster størrelsen efter behov */
    display: block; /* Sikrer at der ikke er nogen uønsket whitespace */
}

@media (min-width: 768px) {
    #logo-nul img, #logo-hype img {
        height: 150px; /* Større størrelse for desktop */
    }
}
@media (min-width: 1200px) {
    #logo-nul img, #logo-hype img {
        height: 200px; /* Større størrelse for desktop */
    }
}

/* Farvepalet */
:root {
    --primary-background: #F4EDE4;
    --primary-text: #1A1A1A;
    --accent-color: #FF7A00;
    --dark-gray: #333333;
    --medium-gray: #999999;
}

body {
    background-image: url('/wp-content/themes/nulhype/images/wildflowers_bg_mobile.jpg');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    background-attachment: fixed;
    background-color: var(--primary-background);
    color: var(--primary-text);
    font-family: 'Manrope', sans-serif;
    padding: 0;
    margin: 0;
}
@media (min-width: 768px) {
    body {
	    background-image: url('/wp-content/themes/nulhype/images/wildflowers_bg_2_desktop.jpg');
        background-position: center bottom;
        background-size: cover;
        background-repeat: repeat-x; /* Spejler billedet i begge sider */
    }
}

.content-area {
    padding: 20px;
}

@media (min-width: 768px) {
    .content-area {
        padding: 40px;
    }
}

main {
    margin-top: 80px;
}

@media (min-width: 768px) {
    main {
        margin-top: 150px;
    }
}

/* Container for indhold */
.content-wrapper {
    width: 100%;
    max-width: 800px; /* Maksimal bredde for desktop */
    margin: 0 auto; /* Centrer indholdet */
    padding: 10px 20px; /* Padding for mobil */
    box-sizing: border-box;
	background-color: var(--primary-background);
}

.content-wrapper p {
    width: 100%;
}

@media (min-width: 768px) {
    .content-wrapper {
        padding: 20px 40px; /* Padding for desktop */
    }
}



/* Typografi */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 600 !important;
    padding-bottom: .5em;
}

p {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    line-height: 1.8;
}

p strong {
    font-weight: 600;
}

/* Knapper & Links */
button, .wp-block-button__link, input[type="submit"] {
    background-color: var(--primary-text);
    color: #F9F9F9;
    border: none;
    padding: 10px 20px;
    margin: 10px 0 20px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
    border-radius: 0;
}

button:hover, .wp-block-button__link:hover, input[type="submit"]:hover{
    background-color: var(--accent-color);
    color: var(--primary-text);
}

a {
    color: var(--primary-text);
    text-decoration: underline;
    background: none;
    padding: 0;
    border: none;
}

a:hover {
    color: var(--accent-color);
}




/* Burger Menu Styles */
.burger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu img {
    height: 40px;
    filter: invert(0); /* Sikrer at ikonet er i den rigtige farve */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.burger-menu img:hover {
    filter: invert(1); /* Inverter farver for hover-effekt */
    transform: scale(1.1);
}

@media (min-width: 768px) {

    .burger-menu {
        top: 60px;
        right: 60px
    }
    .burger-menu img {
        height: 40px;
        filter: invert(0); /* Sikrer at ikonet er i den rigtige farve */
        transition: filter 0.3s ease, transform 0.3s ease;
    }
}

/* Full Screen Overlay */
.full-screen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.full-screen-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-list {
    list-style: none;
    padding: 0;
}

.menu-list li {
    margin: 15px 0;
}

.menu-list a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu-list a:hover {
    color: var(--accent-color);
}


.menu-footer-contact {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: transparent;
  color: #f9f9f9;
    position: absolute;
    bottom: 0;
}

.menu-footer-contact .footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-footer-contact .footer-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
  filter: invert(1);
}

.menu-footer-contact a {
  color: #f9f9f9;
  text-decoration: none;
}

.menu-footer-contact a:hover {
  color: var(--accent-color);
}

@media (min-width: 768px) {
  .menu-footer-contact .footer-content {
    flex-direction: row;
    justify-content: flex-start;
  }
}


.page-links {
    clear: both;
    text-align: center;
    margin-top: 20px;
}

.page-links a,
.page-links > span {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #0073aa;
}

.page-links > span.current {
    background-color: #0073aa;
    color: #fff;
}


/* Metrolinjenavigation */
.metro-line-navigation {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto; /* gør den scrollbar hvis for mange */
    gap: 10px;
    height: auto; /* fjern fast højde */
    padding: 10px 0;
}

.metro-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px; /* Højden af linjen */
    background-color: var(--primary-text); /* Farven på linjen */
}

.metro-station {
    position: relative; /* var: absolute */
    background-color: var(--primary-text);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    z-index: 1;
    flex-shrink: 0;
}

.metro-station.current {
    background-color: var(--accent-color);
    color: #fff;
}


/* Navigation knapper */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto;
    max-width: 800px;
}

.navigation-buttons .placeholder {
    visibility: hidden;
    min-width: 120px; /* matcher knappernes bredde */
}

.navigation-buttons a {
    background-color: #1A1A1A;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 200ms ease;
    min-width: 120px;
    text-align: center;
}

.navigation-buttons a:hover {
    background-color: #FF7A00;
}



/* Styling for fremhævede citater uden baggrund eller kanter */
.wp-block-pullquote {
    max-width: 800px;
    margin: 0 auto; /* Centrer indholdet */
}

.wp-block-pullquote blockquote {
  position: relative;
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  color: #1A1A1A;
  font-size: 1.5rem;
  line-height: 1.6;
}

.wp-block-pullquote blockquote::before {
  content: '';
  display: inline-block;
  width: 48px; /* Størrelse af ikonet */
  height: 48px;
  background-image: url('phosphor-icons/quotes-duotone.svg'); /* Erstat med direkte link til Phosphor Icon */
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  left: 0; /* Ikonet placeres på venstre side */
  top: 50%;
  transform: translateY(-50%);
}

.wp-block-pullquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
    font-size: .9rem;
  font-weight: 600;
  color: #333333;
}




/* Hero Base */
.hero {
  padding: 20px 0;
  display: block;
  max-width: 600px; /* Hvis du ønsker en øvre bredde på hele hero-området */
  margin: 0 auto;    /* Centrer i forhold til siden */
  box-sizing: border-box;
    min-height: calc(100vh - 80px); 
}

@media (min-width: 768px) {
  .hero {
    padding: 40px 0;
      min-height: calc(100vh - 150px); 
  }
}

/* Hero Content */
.hero-content {
  margin: auto 0 !important; 
  box-sizing: border-box;
}

.hero-content h1 {
  font-size: 3.4rem; 
  margin: 0 0 1rem 0;
    line-height: 1;
}

@media (min-width: 768px) {
    .hero-content h1, .hero-content a, .hero-content p {
        text-align: center;
    }
}

/* Justér eventuel afstand mellem liste og overskrift */
.hero-content ul {
  margin-bottom: 20px;
    font-size: 1.8em;
  padding-left: 1.5rem;
  list-style: square; 
}

.hero-content ul li {
    margin: 1em 0 .5em;
}



.hero-content p {
  margin-bottom: 20px;
  font-weight: 300; 
  line-height: 1.6;
}

@media (min-width: 768px) {
    .hero-profile {
        max-width: 600px;
        margin: 0 auto;
    }
}



/* === Ikon + tekst-gruppe i hero === */

.group-icon-text > div{
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .group-icon-text > div{
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .group-icon-text  .blockgroup-icon-text-phosphor {
    flex: 1 1 30%;
    max-width: 32%;
  }
}

/* Indre layout: ikon og tekst */
.blockgroup-icon-text-phosphor .wp-block-group__inner-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  width: 100%;
}

@media (min-width: 768px) {
  .blockgroup-icon-text-phosphor .wp-block-group__inner-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}

/* Ikoner */
.svg-icon svg{
  width: 36px !important;
  height: 36px !important;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .svg-icon svg {
    width: 72px !important;
    height: 72px !important;
  }

  .svg-icon:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out;
  }
}

/* Overskrifter */
.blockgroup-icon-text-phosphor h3 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
}





/*FOOTER*/

.site-footer {
  background-color: var(--primary-text);
  color: #f9f9f9;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1002; /* højere end #logo-hype (som har 1001) */
}

@media (min-width: 768px) {
    .site-footer {
        padding: 40px;
    }
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
  filter: invert(1);
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: flex-start;
  }
}

.site-footer a {
  color: #f9f9f9;
    text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-color);
}



/* Formular-container – neutral og stram */
.wpcf7-form {
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: none;
  background: none;
  padding: 0;
  font-family: sans-serif;
  border: none;
  border-radius: 0;
}

/* Labels og inputs */
.wpcf7-form p {
  margin-bottom: 1.5rem;
}

.wpcf7-form label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 1rem;
  box-sizing: border-box;
}

.wpcf7-form textarea {
  min-height: 150px;
}


/* Slider */

.slick-next, .slick-prev {
    width: 40px !important;
    height: 40px !important;
}

.slick-next:before, .slick-prev:before {
    font-size: 40px !important;
}