
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color:#fff;
}

body {
    font-family: "Georgia", serif;
    color: #222;
}


.header {
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    z-index: 10;
    color: #fff;
}

.logo {
    width: 90%;
    height: 100%;
}

.nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav a, nav p {
    text-decoration: none;
    font-size: 16px;
    font-family: sans-serif;
    font-weight: 100;
}

header:hover{
    background-color: white;
    transition: all 1s ease;
}

header:hover a, header:hover p {
    color: #000;
    transition: all 1s ease;
}

header:hover .logo, header:hover img {
    filter: invert(100%);
    transition: all 1s ease;
}

header:hover .mobile-menu-btn {
    filter: invert(0%);
    transition: all 1s ease;
}

.mobile-menu-btn {
    display: none;
    filter: invert(100%);
    font-size: 28px;
    cursor: pointer;
}

.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
}


.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 0;
}

.hero-content {
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    z-index: 2;
}

.hero-content h1 {
    font-size: 40px;
    letter-spacing: 4px;
    font-weight: 100;
    font-family: sans-serif;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 20px;
    letter-spacing: 4px;
    font-weight: 100;
    font-family: sans-serif;
}

.tagline {
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.4;
    text-align: center;
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta {
    padding: 12px 28px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 0px;
    border-color: #fff;
    font-family: sans-serif;
    font-weight: 100;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 0px;
    border-color: #fff;
}

.cta.secondary {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 0px;
    border-color: #fff;
}

/* Full-width input fields */
input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
  color: #000;
  font-family: sans-serif;
}

/* Set a style menu button */
.nbutton {
  background-color: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
}

/* style for login */
.loginbtn {
    background-color: rgb(52, 49, 49);
    border: none;
    cursor: pointer;
    width: 100%;
    height: 30px;
    margin-top: 10px; 
}

/* Center the image */
.imgcontainer {
  text-align: center;
  position: relative;
  margin-top: 10px;
  margin-right: -10px;
}

/* size of logo */
img.loginlogo {
  width: 60%;
  margin-top: 30px;
}

.container {
  padding: 16px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 3;
  left: 25%;
  top: 0;
  width: 1000px;
  height: 100%;
  overflow: auto;
  background-color: transparent; /* modal mackground */
  padding-top: 60px;
  height: 720px;
}

/* Modal Content*/
.modal-content {
  background-color: rgb(84, 81, 81);
  margin-top: 5%;
  margin-bottom: 5%;
  margin-left: 5%;
  width: 70%;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.hero-arrow {
    display: flex;
    width: 20px;
    height: 48px;
    position: absolute;
    bottom: 30px;
    left: calc(50%);
    justify-content: center;
    z-index: 1;
    animation-name: titleAnimationIn;
    animation-duration: 3s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}

.form-label {
    font-family: sans-serif;
    font-weight: 100;
}

.form-select{
    font-family: sans-serif;
    font-weight: 100;
    margin: 3px;
}

.fra{
    background-color: rgb(52, 49, 49);
}

@keyframes titleAnimationIn{
    0% {
    transform: translateY(0);
    }
    
    40% {
    transform: translateY(16px);
    }
    
    100% {
    transform: translateY(0);
    }
}



   

/* CAROUSEL SECTION */
.carousel-section {
    width: 100%;
    padding: 80px 0;
    position: relative;
    background: #fff;

  
    overflow: hidden;
}

/* Track der indeholder ALLE billeder */
.carousel-track {
    display: flex;
    gap: 40px;
    transition: transform 0.5s ease;
    width: max-content;
}



/* det her er billederne i carousellen */
.carousel-item {
    width: 500px;
    height: 333spx;
    position: relative;
    flex-shrink: 0;
    border-radius: 0%;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item h3 {
    position: absolute;
    bottom: 20px;
    left: 197px;
    color: #fff;
    font-size: 22px;
    font-weight: 100;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    font-family: sans-serif;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 40px;
    padding: 10px 18px;
    cursor: pointer;
    z-index: 5;
    border-radius: 4px;
}

.carousel-btn.left {
    left: 40px;
}

.carousel-btn.right {
    right: 40px;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.6);
}


.page-banner {
    background-color: #d8d6d3;
    padding: 80px 0;
    margin-top: 0;
    margin-left: 30px;
    margin-right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.page-banner__title {
    font-family: sans-serif;
    font-weight: 100;
    margin-bottom: 30px;
    color:#000;
}

.page-banner__description {
    color: #000;
    font-family: sans-serif;
    font-weight: 100;
}

.page-banner__content {
    align-items: center;
    text-align: center;
    max-width: 800px;
    font-family: sans-serif;
    font-weight: 100;
}

.page-banner__button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: transparent;
    color: black;
    text-decoration: none;
    font-size: 12px;
    border-radius: 0%;
    border: 1px solid #000;
    margin-top: 30px;
}



.valuation-drawer {
    position: fixed;
    top: 0;
    right: -650px; 
    width: 650px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -6px 0 30px rgba(0,0,0,0.18);
    transition: right 0.45s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}


.valuation-drawer.open {
    right: 0;
}


.valuation-drawer__inner {
    padding: 60px 50px;
    overflow-y: auto;
}


.drawer-close {
    position: absolute;
    top: 22px;
    right: 22px;
    font-size: 34px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}


.valuation-drawer__inner h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #222;
    font-family: sans-serif;
    font-weight: 100;
}


.valuation-drawer__inner p {
    font-size: 16px;
    line-height: 1.55;
    color: #444;
    margin-bottom: 30px;
    font-family: sans-serif;
    font-weight: 100;
}


.valuation-drawer form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.valuation-drawer label {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
    font-family: sans-serif;
}


.valuation-drawer input {
    padding: 14px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    font-size: 16px;
    background: #f7f7f7;
    color:#000;
    font-family: sans-serif;
    font-weight: 100;
}


.drawer-submit {
    margin-top: 10px;
    padding: 16px;
    background: transparent;
    color: black;
    border: black 1px solid;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0px;
    transition: 0.2s ease;
}

.drawer-submit:hover {
    background: #333;
    color: #fff;
}


.mobile-menu-btn {
    display: none;
    background: none;
    color: #000000;
    cursor: pointer;
    width: 40px;
}

@media (max-width: 900px) {
    .nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    padding: 4rem 2rem;
    transition: right 0.4s ease;
    z-index: 9998;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    padding: 60px 0 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 1.8rem;
}

.mobile-nav a {
    font-size: 1.4rem;
    text-decoration: none;
    color: #333;
}

.close-btn {
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    color: #333;
}

@media (min-width: 769px) {
    #mobileMenuBtn {
        display: none;
    }
}

.thin-line {
    border: none;
    border-top: 1px solid black;
    margin: 20px 0px;
    margin-top: 40px;
    margin-bottom: 10px;
}

.mobile-nav__title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #222;
    font-family: sans-serif;
}

.mobile-nav__description {
    font-size: 16px;
    line-height: 1;
    color: #444;
    margin-bottom: 10px;
    font-family: sans-serif;
}

.mobile-nav__link {
    font-size: 16px;
    color: #222;
    text-decoration: none;
    display: block;
    margin-bottom: 30px;
    margin-top: 10px;
    font-family: sans-serif;
    font-weight: 100;
}

/* --- Sektion: Gemte herligheder --- */

#savedProperties {
    margin-top: 60px;
    padding: 40px 0;
    background-color: #f7f7f7; /* Lys baggrund så alt står tydeligt */
    text-align: center;
}

/* Overskrift */
#savedProperties h2 {
    font-size: 32px;
    font-weight: 100;
    margin-bottom: 20px;
    color: black;
    font-family: sans-serif;
}

/* --- Favorit-listen (flyttet op under overskriften) --- */

#favoriteWidget {
    max-width: 600px;
    margin: 0 auto 40px auto; /* Centreret og med luft ned til cards */
    background: transparent;
    padding: 25px 30px;
    border-radius: 0px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: left;
}

#favoriteWidget h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-family: sans-serif;
    font-weight: 300;
    color: black;
}

#favoriteWidget p {
    margin-bottom: 10px;
    font-size: 16px;
    font-family: sans-serif;
    font-weight: 100;
    color: black;
}

#favoriteWidget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#favoriteWidget li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    font-family: sans-serif;
    font-weight: 100;
    color: black;
}

/* --- Cards --- */

.property-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.property-card {
    background-color: #d8d6d3;
    padding: 20px;
    border-radius: 0px;
    width: 300px;
    text-align: center;
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0px;
}

.property-title {
    font-size: 18px;
    margin: 12px 0;
    color: black;
    font-family: sans-serif;
    font-weight: 100;
}

/* --- Favoritér-knapper --- */

.fav-btn {
    background-color: transparent;
    color: black;
    padding: 8px 18px;
    border: black 1px solid;
    border-radius: 0px;
    cursor: pointer;
    font-size: 15px;
    font-family: sans-serif;
    font-weight: 100;
}

.fav-btn:hover {
    background-color: black;
    color: white;
}

.galleryElement {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 50;
    left: 35%;
    top: 25%;
    width: 400px;
    height: auto;
    padding: 10px;
    /* overflow: auto; */
    background-color: rgb(84, 81, 81);
}

.imageFocus {
    vertical-align: middle;
}

/* Position the image container (needed to position the left and right arrows) */
.galleryContainer {
    position: relative;
    width: 100%;
}

.closeGallery {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    color: #f2f2f2;
    background-color: transparent;
    font-weight: bold;
    font-size: 24px;
    padding: 2px 10px;
    border-radius: 0 0 0 3px;
    line-height: 1;
    border: none;
}

.closeGallery:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Hide the images by default */
.galleryImages {
    display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prevGallery,
.nextGallery {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: #f2f2f2;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.nextGallery {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prevGallery:hover,
.nextGallery:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.imageCount {
    color: #f2f2f2;
    font-size: 12px;
    font-weight: bold;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Container for image text */
.captionContainer {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
}


.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Six columns side by side */
.column {
    float: left;
    width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}
