/* Import custom fonts */
@font-face {
    font-family: 'SaolDisplay';
    src: url('../fonts/SaolDisplay-Regular.woff2') format('woff2'),
        url('../fonts/SaolDisplay-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SaolDisplay-Light';
    src: url('../fonts/SaolDisplay-Light.woff2') format('woff2'),
        url('../fonts/SaolDisplay-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SaolDisplay';
    src: url('../fonts/SaolDisplay-LightItalic.woff2') format('woff2'),
        url('../fonts/SaolDisplay-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
}

/* Legg til font imports */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.njord-heading {
    font-family: 'SaolDisplay-Light' !important;
    font-weight: 100 !important;
    font-size: 3em;
    line-height: normal!important;
}

/* Navigation */
.main-nav {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}




/* Hotel Plans */
.hotel-plans {
    margin-top: 100px;
    text-align: center;
}



.plans-title {
    font-family: 'SaolDisplay-Light';
    font-size: 2rem;
    margin-bottom: 2rem;
}

.plans-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.plan-link {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-decoration: none;
    color: #333;
    padding: 5px 15px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.plan-link.active {
    border-bottom-color: #333;
}



.plan-image {
    display: none;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    cursor: pointer;
}

.plan-image.active {
    display: block;
}





.logo-container {
    position: absolute;
    top: 30px;
    left: 50%;
    z-index: 2;
    width: 120px;
    /* margin-left: -60px; */
    transform: translateX(-50%);
}

.hero-logo {
    width: 100%;
    height: auto;
}

/* Global paragraph style */
p {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 0.1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}



.button-container {
    display: flex;
    justify-content: center;
}



/* Menu Overlay */
.menu-overlay {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    /* max-width: 1200px; */
    max-width:968px;
    height: 0;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    margin-bottom: 100px;
    z-index: 999;
}

.menu-overlay.active {
    height: 70vh;
    opacity: 1;
    visibility: visible;
}

.menu-content {
    padding: 40px;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.menu-overlay.active .menu-content {
    opacity: 1;
    transform: translateY(0);
}

.menu-main {
    display: flex;
    flex: 1;
    position: relative;
    padding: 0 40px;
}

/* .menu-main::after {
    content: '';
    position: absolute;
    left: 20%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
} */

.menu-nav {
    width: 20%;
    display: flex;
    align-items: center;
    height: 100%;
}

.menu-nav ul {
    list-style: none;
    padding: 0;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-nav ul li {
    margin: 0;
    text-align: left;
}

.menu-nav ul li {
    margin: 0;
    text-align: left;
    position: relative;
    padding-left: 15px;
}

.menu-nav ul li.active::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #fff;
    font-size: 15px;
}

.menu-nav ul li a {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.menu-nav ul li a:hover {
    color: #999;
}

.menu-features {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80%;
    display: grid
;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 30px;
    margin-left: auto;
    height: 350px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 100px;
}

/* .menu-features {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    padding-left: 60px;
} */

.feature-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.feature-image {
    width: 100%;
    height: 100%;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.feature-item {
    height: 100%;
}

/* .menu-features {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 30px;
    margin-left: auto;
} */

.feature-item {
    position: relative;
    height: 100%;
}

.feature-image {
    height: 100%;
    width: 100%;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.feature-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

.feature-text .label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
    opacity: 0.8;
}

.feature-text h3 {
    font-family: 'SaolDisplay-Light';
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0;
}

.menu-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.menu-actions a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.menu-actions svg {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.menu-actions a:hover {
    color: #fff;
}

.menu-actions a:hover svg {
    opacity: 1;
}

.menu-actions .book-now {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 100px;
    transition: background-color 0.3s ease;
}

.menu-actions .book-now:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Experience Section */
.experience-section {
    padding: 20px 0;
    background: #fff;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.experience-item {
    text-align: center;
    padding: 30px;
}

/* Yachts Section */
.yachts-section {
    padding: 100px 0;
    background: #f9f9f9;
}

/* Destinations Section */
.destinations-section {
    padding: 100px 0;
    background: #fff;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}




/* Standardiserte seksjonsoverskrifter */
.section-label {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

/* Felles stil for discover-buttons med svart bakgrunn */
.design-section .discover-button,
.suites-text .discover-button,
.contact-form .discover-button {
    display: inline-block;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    padding: 12px 60px;
    background: #000;
    color: #fff !important;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.2rem;
    margin-top: 0.1rem;
    position: relative;
    border: 1px solid #000;
    overflow: hidden;
    transition: color 200ms ease-in-out;
}

.design-section .discover-button span,
.suites-text .discover-button span,
.contact-form .discover-button span {
    position: relative;
    z-index: 1;
}

.design-section .discover-button::after,
.suites-text .discover-button::after,
.contact-form .discover-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 100%;
    background-color: #fff;
    transform: translate(-50%, -50%);
    transition: width 200ms ease-in-out;
}

.design-section .discover-button:hover,
.suites-text .discover-button:hover,
.contact-form .discover-button:hover {
    color: #000 !important;
    border-color: #000;
}

.design-section .discover-button:hover::after,
.suites-text .discover-button:hover::after,
.contact-form .discover-button:hover::after {
    width: 110%;
}


/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #f9f9f9;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.contact-form textarea {
    height: 150px;
}

.contact-form button {
    display: block;
}

.contact-logo {
    width: 100px;
    height: auto;
    margin: -40px auto 30px;
    display: block;
}

.button-container {
    text-align: center;
    margin-top: 30px;
}

/* Contact Page Styles */
.contact-page {
    background-color: white;
    color: #333;
    font-family: 'Times New Roman', serif;
    margin: 0;
    padding: 0;
}



.contact-info {
    text-align: left;
    margin-bottom: 40px;
}



.contact-info p {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
}





.sign-in-text {
    text-align: center;
    font-size: 14px;
    margin-bottom: 50px;
}

.sign-in-link {
    color: #000;
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}




.required {
    color: red;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
}


/* Properties Section */
.properties-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
}




.full-width {
    width: 100%;
    margin-top: 20px;
}

.checkbox-group {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.2;
    color: #666;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #666;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background-color: #999;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.submit-button:hover {
    background-color: #777;
}

.pb20{
    padding-bottom: 20px;
}
.pb100{
    padding-bottom: 100px;
}

.mb20{
    margin-bottom: 20px;
}

/* Footer */
/* .site-footer {
    background: rgb(20, 20, 20);
    color: #fff;
    padding: 40px 20px;
    position: relative;
    z-index: 1000;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 40px;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section h3 {
    font-family: 'SaolDisplay-Light';
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.footer-logo {
    width: 60px;
    height: auto;
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-bottom {
    width: 100%;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-bottom p {
    margin: 5px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
} */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .experience-grid,
    .destinations-grid {
        grid-template-columns: 1fr;
    }

    /* .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-section {
        align-items: center;
    }

    .footer-logo {
        width: 50px;
    } */


}



/* Typewriter styling */
.typewriter {
    display: inline-block;
    min-width: 150px;
    font-family: 'SaolDisplay-Light';
    font-style: italic;
    font-weight: 300;
}

/* Vision Section */

.vision-image:hover {
    transform: scale(1.05);
}

.vision-label {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 7.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000;
    margin-top: 15px;
}


/* Responsive design for vision section */








.contact-form .discover-button {
    display: block;
    width: fit-content;
    margin: 30px auto;
    text-align: center;
}

.contact-form .discover-button span {
    text-align: center;
}

.menu-text {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    color: #fff;
}









.discover-link {
    text-transform: uppercase;
    text-decoration: none;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.hero .discover-link {
    color: #fff;
    border-bottom: 1px solid #fff;
}




.like-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
}

/* Hotel Page Styles */

.plan-image {
    display: none;
}

.plan-image.active {
    display: block;
}

.section-header {
    text-align: center;
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 30px; */
}

.section-subtitle {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin: 0;
}

.section-title {
    font-size: 4rem;
    margin: 0;
    line-height: 1.2;
}





.floor-tabs,
.hotelrum-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0;
    margin-bottom: 0;
}


.tab-link {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-decoration: none;
    color: #333;
    display: inline-block;
    padding-bottom: 5px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    font-weight: 400;
}

.tab-link.active {
    color: #000;
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #999;
}

.floor-tabs,
.hotelrum-tabs {
    position: relative;
    width: 100%;
    text-align: center;
    padding-top: 2rem;
    /* margin-bottom: 3rem; */
    margin-bottom: 0rem;
}

.floor-tabs .tab-link,
.hotelrum-tabs .tab-link {
    padding-bottom: 0.5rem;
    margin: 0 1.5rem;
    text-decoration: none;
    color: #333;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    position: relative;
    transition: color 0.3s ease;
}

.floor-tabs .tab-link.active,
.hotelrum-tabs .tab-link.active {
    color: #333;
}

.floor-tabs .tab-link.active::after,
.hotelrum-tabs .tab-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #999;
}

.floor-plan-container {
    max-width: 62.5rem;
    margin: 0 auto;
}

.floor-plan-image {
    width: 100%;
    height: auto;
}

.like-button:hover {
    background: #fff;
}

.like-button svg {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.like-button:hover svg {
    opacity: 1;
}



@media (max-width: 768px) {


    .voyage-card {
        margin-bottom: 20px;
    }
}





.menu-text[data-text-default],
.menu-text[data-text-active] {
    content: attr(data-text-default);
}






.liten-overskrift {
    text-align: left;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-decoration: none;
    color: #333;
    display: inline-block;
    padding-bottom: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    font-weight: 400;
}



.showm{
    display: none;
}


@media (max-width:1000px) {

    .mhide{
        display: none;
    }

    .showm{
        display: block;
    }
    img.pb100.mbp0 {
        padding-bottom: 0;
    }

    .tab-navigation {
        max-width: 100%;
    }

    h1.njord-heading {
        font-size: 2rem !important;
    }

    .hero {
        background-image: url("assets/Framsidan skymning.jpg");
        background-size: cover;
        background-position: center;
    }
    h2 {
        font-size: 25px !important;
    }

    .featured-voyages {
        padding-top: 20px!important;
        padding-bottom: 0!important;
    }

    .suites-container {
        flex-direction: column-reverse;
        margin: 0!important;
        padding: 20px 40px!important;
    }
    section.suites-section {
        padding-bottom: 0!important;
    }

    .design-section {
        padding: 20px!important;
    }

    .vision-content {
        flex-direction: column;
        gap: 0!important;;
    }
    .vision-grid {
        display: flex!important;
    }
    a.discover-button {
        display: block;
        width: 100%;
        text-align: center;
    }
    .footer-section {
        align-items: center;
        width: 100%;
    }

    .hotel-exterior .hotel-image {
        height: auto!important;
    }
    
    .hotel-exterior .hotel-image img {
        height: auto!important;
    }
    /* menu css */

 

    /* hotel page */

    .hotel-stats {
        gap: 20px!important;
    }

    .stat-number {
        font-size: 1.5rem!important;
    }
    
    p.hotel-description {
        padding: 0 20px!important;
    }

    .floor-tabs, .hotelrum-tabs {
        flex-wrap: wrap;
        max-width: 100%;
    }



    /* om page */


    .om-content {
        flex-direction: column;
        padding-top: 0!important;
    }
    
    .om-text-container {
        width: 100%!important;
    }
    
    .om-title-container {
        text-align: center;
        width: 100%!important;
    }


    /* contact page */

    .interest-form-layout {
        flex-direction: column;
        min-height: 0px!important;
    }
    
    .interest-form-left {
        width: 100%!important;
        height: auto!important;
        padding-bottom: 0!important;
        position: initial!important;
    }
    
    .interest-form-right {
        width: 100%!important;
    }
    
    .contact-form-container {
        padding: 0!important;
    }


    section.subscription {
        flex-direction: column;
        text-align: center;
    }
    
    section#subscription input {
        width: 90%!important;
        margin-bottom: 5px!important;
    }
    
    .fgroup {
        padding: 0!important;
    }
    
    .sgroup button {
        width: 90%!important;
    }

}