/* ==========================================================================
   Base Styles
   ========================================================================== */
.container {}

.min-page-height {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

::selection {
    background-color: #000;
    color: #fff;
}

h1, h2, h3 {
    font-weight: 500;
    font-style: normal;
    font-family: "Cormorant", serif;
}

p, li {
    font-family: "Merriweather", serif;
    line-height: 1.6em;
    font-weight: 300;
}
/* ==========================================================================
   Navigation Styles
   ========================================================================== */
nav {
    background: transparent;
}

.navbar {
    font-family: "Cormorant", serif;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    border-radius: 0;
    z-index: 999;
    margin-bottom: 0px !important;
}

.navbar-header {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
}

#navbar-holder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.icon-bar {
    background-color: black;
}

.menuItems {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.menuItems li {
    margin: 10px;
}

.menuItems li a {
    text-decoration: none;
    color: #1a4f3c;
    font-size: 20px;
    font-weight: 300;
    position: relative;
    text-transform: uppercase;
    line-height: 1.4;

    /* Animated underline */
    --bg-h: 2px; /* underline thickness */
    background-color: transparent; /* prevent background box */
    background-image: linear-gradient(0deg, #384536, #384536);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 0 var(--bg-h);
    transition: background-size 0.35s ease-in-out, background-position 0.35s ease-in-out, color 0.3s ease-in-out;

    -webkit-tap-highlight-color: transparent;
}

.menuItems li a:hover,
.menuItems li a:focus-visible {
    background-size: 100% var(--bg-h);
    background-position-x: left;
    color: #384536;
}

.menuItems li a:active,
.menuItems li a:focus {
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none;
}

.menuItems li.mainMenuSelected a,
.menuItems li.active a {
    color: #384536 !important;
    font-weight: 500;
    background-size: 100% var(--bg-h);
    background-position-x: left;
    background-color: transparent !important;
    box-shadow: none !important;
}

.navbar-nav > li.active > a,
.navbar-nav > li > a:focus,
.navbar-nav > li > a:active {
    background-color: transparent !important;
    box-shadow: none !important;
}

.navbar .navbar-nav > li > a {
    color: #082023;
    font-weight: 500;
    background-color: transparent;
    font-size: 20px;
    padding: 8px 20px;
    text-decoration: none;
}

.center-navbar {
    width: 100%;
    text-align: center;
}

.center-navbar > li {
    display: inline-block;
    float: none;
}

.navHeader {
    position: relative;
    display: flex;
    align-items: center;
    background-color: transparent;
    margin: auto;
    padding: 0;
}

.navbar-toggle {
    margin-left: auto;
    margin-right: 0px;
}




/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    background: url('');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 60px 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInFromTop 1.2s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: slideInFromBottom 1.2s ease-out 0.6s both;
}

.hero-cta {
    display: inline-flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeIn 1.5s ease-out 0.9s both;
}

.btn-hero {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary-hero {
    background: linear-gradient(45deg, #34c759, #28a745);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 199, 89, 0.4);
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 199, 89, 0.6);
    color: white;
    text-decoration: none;
}

.btn-secondary-hero {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary-hero:hover {
    background: white;
    color: #1a4f3c;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Mobile Hero Section */
.hero-section-mobile {
    background-image: url('https://cdn.hsystemcontent.com/images/101252.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 60px 20px;
}

@media (max-width: 767px) {
    .hero-section-mobile .hero-title {
        font-size: 2.5rem;
    }

    .hero-section-mobile .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .btn-glass {
        font-size: 2rem;
        padding: 10px 20px;
    }
}


/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
    padding: 100px 0;
    background: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    border-radius: 15px;
    height: 250px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
    transform: none;
    transition: none;
}

/*.gallery-item:hover .gallery-overlay {*/
/*    transform: translateY(0);*/
/*}*/

/* ==========================================================================
   Footer Styles
   ========================================================================== */
footer.footer {
    font-family: "Merriweather", serif;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
    font-family: "Cormorant", serif;
    margin-top: 10px;
}

footer.footer a:hover {
    color: #FC0005 !important;
    text-decoration: none;
    text-shadow: 0 0 5px #FC0005;

}
 

.mainFooter {
    font-family: "Merriweather", serif;
    color: black;
    padding: 10px; 
    /*background: linear-gradient(to right, rgb(245, 110, 189), rgb(249, 209, 100));*/
    background: #f9f7fa;
}

/* ==========================================================================
   Section Titles
   ========================================================================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Button Glass Style
   ========================================================================== */
.btn-glass {
    background: rgba(42, 37, 37, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(42, 37, 37, 1);
    padding: 12px 24px;
    font-weight: 500;
    font-size: 4rem;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 35px rgba(0, 0, 0, 0.15);
    color: #fff;
    text-decoration: none;
}

/* ==========================================================================
   Floating Elements
   ========================================================================== */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromTop {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromBottom {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn-hero { width: 250px; }
    .features-section,
    .gallery-section,
    .contact-section { padding: 60px 0; }
    #navbar-holder { flex-direction: column; }
    footer.footer .text-right { text-align: center !important; margin-top: 10px; }
    .menuItems { flex-direction: column; align-items: center; }
}

@media (max-width: 767px) {
    .navbar .navbar-nav > li > a {
        font-size: 22px;
        padding: 5px 10px;
        margin: 30px 3vw;
        text-align: center;
    }

    .navbar-right { text-align: right; }
    /*Dessa är lite onädiga efter att ha gjort om hover animationen.*/
    .menuItems li.mainMenuSelected {
        background: rgba(255, 255, 255, 0.04);
        border-radius: 5px;
        padding: 5px;
    }
}

/* ==========================================================================
   Well Box Style
   ========================================================================== */
.well {
    /*position: relative;*/
    background: rgba(242, 242, 242, 0.32);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

/* ==========================================================================
   Inloggningsmenyn
   ========================================================================== */
.login-colorgraph {
        background: #384536;
}
#panorama {
    background-image: 
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 1) 0%,   /* helt vitt från toppen */
            rgba(255, 255, 255, 1) 0%, /* behåll vitt längre ner */
            rgba(255, 255, 255, 0) 0%  /* börja tona ut mot transparent */
        ),
        url(https://cdn.hsystemcontent.com/images/102299.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 55px;
    height: 60vh;
    min-height: 500px;
}
@media (max-width: 768px) {
    #panorama .container .row .col-sm-12 {
        text-align: center !important;
    }

    #panorama h1 {
        text-align: center !important;
        margin-top: 100px !important; /* valfritt, så rubriken inte blir så långt ner */
        font-size: 48px !important;  /* valfritt justering */
    }

    #panorama .grayButton {
        display: inline-block;
        margin: 20px auto 0 auto;
    }
}
            .button-container
            {
                font-size:16px;
                margin-top:50px;
                display: left;
                flex-direction: column;
                align-items: flex;
                gap: 30px;
                /* Mellanrum mellan knapparna */
                max-width: 500px;
                /* Justera efter behov */
                margin: 60px auto;
                /* Centrera container */
            }
            
            .grayButton
            {

                display: flex;
                justify-content: center;
                padding: 10px 20px;
                border-radius: 10px;
                background-color: #ffffff;
                color: black;
                text-decoration: none;
                transition: background-color 0.3s, color 0.3s;
                cursor: pointer;
                border: 1px solid black;
                font-size: min(4.5vw, 20px);
                width: 100%;
                /* Samma bredd */
                max-width: 300px;
                /* Maxbredd om du vill begränsa */
                font-weight: 500;
                letter-spacing: 2px;
            }
            
            .grayButton:hover
            {
                color: black;
                background-color: #f9f7fa;
                 text-decoration: none;
            }
            

.CardButton
            {

                display: flex;
                justify-content: center;
                padding: 10px 20px;
                border-radius: 10px;
                background-color: #ffffff;
                color: black;
                text-decoration: none;
                transition: background-color 0.3s, color 0.3s;
                cursor: pointer;
                border: 1px solid black;
                font-size: min(4.5vw, 20px);
                width: 100%;
                /* Samma bredd */
                max-width: 300px;
                /* Maxbredd om du vill begränsa */
                font-weight: 500;
                letter-spacing: 2px;
            }
            
            .CardButton:hover
            {
                color: black;
                background-color: #f9f7fa;
                 text-decoration: none;
            }

.column {
  flex: 50%;
  padding: 10px;


}
/* För lilla inforutan om bastu och grillkåta*/
.styled-table-ft {
    border: solid 1px #f9f7fa;
    border-spacing: 0;
    font-size: 16px;
}

.styled-table-ft thead th {
    background-color: #f9f7fa;
    border: solid 1px black;
    color: #336B6B;
    padding: 10px;
    text-align: left;
    text-shadow: 1px 1px 1px #fff;
}

.styled-table-ft tbody td {
    
    border: solid 1px #DDEEEE;
    color: #333;
    padding: 10px;
    text-shadow: 1px 1px 1px #fff;
    
}

.t-tbody-tr1 {
    background-color: #f9f7fa;
    border: solid 1px black;
    color: white;
    font-weight: 700;
    padding: 10px;
    text-align: left;
    /*  text-shadow: 0.5px 0.5px 0.5px #385494;  */
}

.t-tbody-tr2 {

    border: solid 1px black;
    color: #333;
    padding: 10px;
    text-shadow: 1px 1px 1px #fff;
}

  .custom-container-ft {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 50px;
  
    }