/* ========================================
   JAPANESE-INSPIRED MINIMALIST DESIGN
   Smooth, clean, breathing space
   ======================================== */

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.7;
    color: #2c2c2c;
    background-color: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

/* Smooth fade-in for all sections */
section,
.intro-section,
.video-section,
.info-section,
.booking-section,
.social-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animations for sections */
.intro-section {
    animation-delay: 0.1s;
}
.video-section {
    animation-delay: 0.2s;
}
.about-section {
    animation-delay: 0.3s;
}
.info-section {
    animation-delay: 0.4s;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.9;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ========================================
   NAVIGATION - Clean & Minimal
   ======================================== */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
}

.nav-logo {
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.85;
}

.nav-logo img {
    height: 100px;
    transition: transform 0.3s ease;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    width: 28px;
    height: 2px;
    background-color: #2c2c2c;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

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

.nav-link {
    padding: 8px 4px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #253259;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link img {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.nav-link:hover img {
    transform: scale(1.1);
}

/* ========================================
   CAROUSEL - Smooth Fade Transitions
   ======================================== */
/*.carousel {
  position: relative;
  overflow: hidden;
  max-height: 700px;
  background-color: #000;
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 700px;
}*/
.carousel,
.carousel-inner {
    position: relative;
    overflow: hidden;
    /* Ändrat från 700px till 60vh (60% av skärmhöjden),
     men med max/min-värden för att det inte ska bli tokigt */
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    background-color: #253259;
    width: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

.carousel-item.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* Se till att picture-elementet fyller hela ytan */
.carousel-item picture {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*display: block;*/
    object-position: center;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 2.5rem;
    /*padding: 15px 25px;*/
    /* --- NYTT FÖR CENTRERING --- */
    display: flex; /* Aktivera flexbox */
    align-items: center; /* Centrera vertikalt */
    justify-content: center; /* Centrera horisontellt */
    width: 60px; /* Fast bredd */
    height: 60px; /* Fast höjd (samma som bredd = kvadrat) */
    padding: 0; /* Ta bort padding som stökar till det */
    line-height: 1; /* Nollställ radhöjd */
    padding-bottom: 5px; /* Finlir: Ibland behöver pilen knuffas upp några pixlar visuellt */
    /* -------------------------- */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    border-radius: 4px;
    font-weight: 300;
}

.carousel-control:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.05);
}

.carousel-control:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

/* Carousel dots */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    width: 30px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   INTRO SECTION - Clean Typography
   ======================================== */
.intro-section {
    background: #253259;
    color: #fff;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
    margin-top: -50px;
}

.intro-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    /*background: radial-gradient(
        circle,
        rgba(242, 193, 46, 0.1) 0%,
        transparent 70%
    );*/
    border-radius: 50%;
}

.intro-section h1 {
    color: #f2c12e;
    font-size: 3rem;
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.intro-section .lead {
    font-size: 1.15rem;
    max-width: 900px;
    line-height: 1.8;
    opacity: 0.95;
}

/* ========================================
   VIDEO SECTION - Subtle Shadow
   ======================================== */
.video-section {
    padding: 80px 40px;
    background-color: #fff;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* ========================================
   ABOUT SECTION - Split Design
   ======================================== */
.about-section {
    background-color: #000;
    color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.about-content {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
}

.about-content h1 {
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* ========================================
   INFO SECTION - Spacious Layout
   ======================================== */
.info-section {
    padding: 100px 40px;
    background-color: #fafafa;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: center;
}

.info-text h2 {
    margin-bottom: 24px;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #253259;
}

.info-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.info-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.info-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.image-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.image-col {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.image-col:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* ========================================
   BOOKING SECTION
   ======================================== */
.boat-image {
    width: 100%;
    overflow: hidden;
}

.boat-image img {
    width: 100%;
    transition: transform 8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.booking-section {
    padding: 100px 40px;
    background-color: #fff;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.booking-info h1 {
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #253259;
}

.booking-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.booking-info h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #253259;
}

.contact-list,
.price-list {
    line-height: 2.2;
    list-style-position: inside;
    font-size: 1.05rem;
}

/* Behåll fetstil för kontaktnamnet */
.contact-list li:first-child {
    list-style: none;
    font-weight: 600;
    color: #253259;
}

/* Prislistan ska vara normal, men vi behåller färgen/stilen utan bold */
.price-list li:first-child {
    list-style: none;
    font-weight: 400; /* Ändrat till 400 (normal) */
    color: #253259;
}

.contact-list a {
    color: #253259;
    border-bottom: 1px solid transparent;
}

.contact-list a:hover {
    border-bottom: 1px solid #253259;
}

.booking-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.booking-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.booking-extras {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.wellness-card {
    background: linear-gradient(135deg, #253259 0%, #1a2340 100%);
    color: #f2c12e;
    padding: 50px 40px;
    text-align: center;
    font-size: 1.1rem;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(37, 50, 89, 0.2);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.wellness-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 50, 89, 0.3);
}

.wellness-card hr {
    margin: 30px auto;
    border: none;
    border-top: 1px solid rgba(242, 193, 46, 0.3);
    max-width: 200px;
}

.package-card {
    border: 2px solid #e0e0e0;
    padding: 50px 40px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.package-card:hover {
    border-color: #253259;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.package-card h2 {
    margin-bottom: 24px;
    font-size: 1.8rem;
    color: #253259;
}

.package-card a {
    color: #253259;
    word-break: break-word;
    font-weight: 500;
}

.package-card a:hover {
    opacity: 0.7;
}

.package-card img {
    margin: 30px auto 0;
    max-width: 280px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.package-card:hover img {
    transform: scale(1.05);
}

/* ========================================
   SOCIAL MEDIA SECTION
   ======================================== */
.social-section {
    padding: 80px 40px;
    background-color: #fafafa;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.social-item {
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-item:hover {
    transform: translateY(-4px);
}

.social-item iframe {
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* ========================================
   FOOTER - Elegant & Clean
   ======================================== */
.footer-logo {
    padding: 80px 40px;
    text-align: center;
    background-color: #fff;
}

.footer-logo img {
    max-width: 300px;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}

/*.footer-logo:hover img {
  opacity: 0.85;
}*/

footer {
    background-color: #000;
    color: #f2c12e;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
}

.footer-info {
    padding: 60px 60px;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
}

.footer-info h2 {
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.footer-info ul li {
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.footer-info a {
    color: #f2c12e;
    border-bottom: 1px solid transparent;
}

.footer-info a:hover {
    border-bottom: 1px solid #f2c12e;
    opacity: 0.85;
}

.footer-image {
    overflow: hidden;
    position: relative;
}

.footer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    /* Container padding */
    .container {
        padding: 0 24px;
    }

    .nav-container {
        padding: 0 24px;
    }

    /* Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .nav-menu.active .nav-item:nth-child(1) {
        transition-delay: 0.1s;
    }
    .nav-menu.active .nav-item:nth-child(2) {
        transition-delay: 0.15s;
    }
    .nav-menu.active .nav-item:nth-child(3) {
        transition-delay: 0.2s;
    }
    .nav-menu.active .nav-item:nth-child(4) {
        transition-delay: 0.25s;
    }
    .nav-menu.active .nav-item:nth-child(5) {
        transition-delay: 0.3s;
    }
    .nav-menu.active .nav-item:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    /* Carousel */
    .carousel-inner {
        height: 500px;
    }

    .carousel-control {
        font-size: 2rem;
        padding: 10px 20px;
    }

    .carousel-control.prev {
        left: 15px;
    }

    .carousel-control.next {
        right: 15px;
    }

    /* Sections */
    .intro-section {
        padding: 60px 24px;
    }

    .intro-section h1 {
        font-size: 2.2rem;
    }

    .video-section {
        padding: 60px 24px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .about-content {
        padding: 60px 30px;
    }

    .info-section {
        padding: 60px 24px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Booking */
    .booking-section {
        padding: 60px 24px;
    }

    .booking-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /*.booking-extras {
    grid-template-columns: 1fr;
  }*/

    .booking-extras {
        grid-template-columns: 1fr;
        gap: 30px; /* Lite mindre gap på mobil */
    }

    /* NYTT: Centrera innehållet i boxarna bättre på mobil */
    .wellness-card,
    .package-card {
        text-align: center;
        margin: 0 auto; /* Centrera själva kortet om det inte är fullbredd */
        width: 100%;
        max-width: 400px; /* Förhindra att de blir gigantiskt breda på liggande mobil */
    }

    /* Se till att bilden i paketet är centrerad */
    .package-card img {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    /* Social */
    .social-section {
        padding: 60px 24px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-info {
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .intro-section h1 {
        font-size: 1.9rem;
    }

    .about-content h1 {
        font-size: 2rem;
    }

    .booking-info h1 {
        font-size: 2rem;
    }

    .nav-logo img {
        height: 80px;
    }

    .nav-container {
        min-height: 80px;
    }

    .carousel-inner {
        height: 400px;
    }
}

/* Specifik styling för flaggorna (de två sista länkarna i menyn) */
.nav-menu .nav-item:nth-last-child(-n + 2) .nav-link img {
    height: 25px; /* Minska från 40px till 25px */
    width: auto;
    vertical-align: middle;
}

/* Ta bort understrykningen (after-elementet) för flaggorna */
.nav-menu .nav-item:nth-last-child(-n + 2) .nav-link::after {
    display: none !important;
}

/* Justera hover-effekten så den bara förstorar flaggan lite lagom */
.nav-menu .nav-item:nth-last-child(-n + 2) .nav-link:hover img {
    transform: scale(1.1);
}
