/*
Theme Name: Alldog
Theme URI: https://example.com/my-custom-theme
Author: Alectiv
Author URI: https://example.com
Description: Ett anpassat WordPress-tema för att använda ACF och dynamiska menyer.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-theme
Tags: responsive, flexible-content, modern
*/

.navbar__home-link {
    margin: 13px 0;
    display: flex;
    align-items: center;
}

#logo-image {
    max-width: 150px;
}

.navbar--scrolled #logo-image {
    max-width: 120px;
}

*, :after, :before {
    border: 0 solid #e5e7eb;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    -webkit-text-size-adjust: 100%;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navbar__menu {
    margin-left: auto;
}

.navbar__menu-right .navbar__menu-list {
    gap: 12px;
}

.navbar__menu-right .button a::after {
    display: none !important;
}

.navbar--scrolled .navbar__menu-right .button {
    border-color: #3C393C;
}

html {
    padding: 0;
    margin: 0;
}

* {
    box-sizing: border-box;
}

html {
    box-sizing: border-box;
    -ms-overflow-style: scrollbar;
}

html {
    line-height: 1.5;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}


body {
    margin: 0;
}

.button {
    align-items: center;
    background: #3C393C;
    border: 1px solid #fff;
    border-radius: 10em;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-family: "Serifa", sans-serif;
    font-size: 14px;
    justify-content: center;
    padding: 15px 25px;
    transition: .5s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.button.standard {
    border-color: #3C393C;
    background: #3C393C;
    color: #fff;
}

.button.secondary {
    background: #F4A656;
    border-color: #F4A656;
    color: #000000;
}

.layout-dark .navbar .menu-item.current-menu-item a {
    color: #000;
}

.layout-dark .navbar .menu-item.current-menu-item a:hover {
    color: #000;
}


.layout-dark .navbar .menu-item.current-menu-item a:hover:after {
    color: #000;
}


.button:hover {
    opacity: 0.9;
}

.open {
    box-shadow: none !important;
}

.button.outlined {
    background: none;
    border-color: currentColor;
    color: currentColor;
}

.button.outlined:hover {
    background: rgba(0, 0, 0, 0.1); /* En subtil skuggning */

}

.button.outlined:hover a {
    color: #000 !important;
}

.navbar--scrolled .navbar__menu-right .button.outlined:hover {
    background: #000;
}

.navbar--scrolled .navbar__menu-right .button.outlined:hover a {
    color: #fff !important;
}

.layout-dark .navbar--scrolled .navbar__menu-right .button.outlined:hover a {
    color: #fff !important;
}

.layout-dark .navbar__menu-right .button.outlined:hover a {
    color: #fff !important;
}

html {
    margin-top: 0 !important;
}

.navbar__mobile-contact {
    margin: 30px 15px 15px;
}

ul {
    margin: 0;
    list-style: none;
    padding-left: 0;
}

/* Navbar base styles */
.navbar {
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    height: 96px;
    transition: background-color 0.3s ease, top 0.3s ease;
}

.navbar.hidden {
    top: -7rem;
}

.navbar__left,
.navbar__right {
    align-items: center;
    display: flex;
}

.navbar__menu-list {
    list-style: none;
    margin: 0;
}

.navbar.navbar--opened {
    background-color: #3C393C;
}

.navbar.navbar--opened .navbar__container {
    z-index: 1;
    position: relative;
    background: #3C393C;
}

.layout-dark .navbar .menu-item a {
    color: #000;
}

.layout-dark .navbar .menu-item a:hover {
    color: #000;
}

.navbar.navbar--dark .menu-icon__bar {
    background-color: #3C393C;
}

.navbar.navbar--scrolled {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(244,166,86, 0.9);
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.10);
    border-radius: 0px;
    left: 0px;
    right: 0px;
    top: 0px;
    width: 100%;
    height: 76px;
}


.navbar.navbar--scrolled .menu-item a {
    color: #000;
}

.navbar.navbar--scrolled .menu-item a:hover {
    color: #000;
}

.navbar.navbar--scrolled .menu-icon__bar {
    background-color: #000;
}

.navbar__container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 92.5rem;
    margin: 0 3.125rem;
}

@media screen and (max-width: 992px) {
    #menu-main-menu-right {
        display: none;
    }

    .navbar__container {
        height: 4.25rem;
        justify-content: space-between;
        margin: 0;
        padding-left: 1.125rem;
        padding-right: 1.125rem;
    }
}

.navbar__home-link {
    display: flex;
    align-items: center;
}

.navbar__home-link img {
    height: auto;
}

@media (max-width: 991px) {
    .navbar__home-link img {
        width: 94px;
    }
}

.navbar__menu-list {
    display: flex;
    align-items: center;
    left: 50%;

}

.navbar__menu-list .menu-item a {
    color: white;
}

.layout-dark .navbar__menu-list .menu-item a {
    color: #000;
}

.layout-light .navbar__menu-list .menu-item a {
    color: #fff;
}

.layout-light  .navbar__menu-list .sub-menu a {
    color: #000;
}

.layout-light .navbar--scrolled  .navbar__menu-list .menu-item a {
    color: #000;
}

.navbar__menu-list .menu-item:not(.button) a {
    margin: 0.8vw;
    position: relative;
    font-family: "Serifa", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    align-items: center;
    line-height: normal;
    display: flex;
}

.navbar__menu-list .menu-item.button a{
    color: #000;
    height: 100%;
    width: 100%;
}

.navbar__menu-list .menu-item.button{
    color: #000;
    height: 100%;
    width: 100%;
    margin-left: 10px;
}

.navbar__menu-list .menu-item.button:hover a {
    color: #000;
}

.layout-dark .navbar__menu-list .menu-item.button:hover a {
    color: #fff;
}

.menu-item.button a:after {
    display: none;
}

.navbar--scrolled .navbar__menu-list .menu-item.button a {
    color: #fff;
}

.menu-item a:hover:after {
    transform: scaleX(1);
}

.menu-item a:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1.2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

@media (min-width: 991px) {
    .sub-menu .menu-item a:hover {
        background: #eee;
        transition: 0.4s;
    }
}

.sub-menu .menu-item a:after {
    display: none;
}

@media (max-width: 991px) {
    .navbar__menu {
        display: none;
    }
}

/* Contact link */
.navbar__contact-link {
    color: #000;
    background-color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 0 2.2rem;
    height: 3.4375rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Mobile menu button */
.navbar__menu-button {
    display: none;
    cursor: pointer;
    margin-left: 1.25rem;
    background: none;
    border: none;
}

.navbar__menu-button.menu-icon__bar--top {
    transform: translateY(6px) rotate(45deg);
}

.navbar__menu-button.menu-icon__bar--bottom {
    transform: translateY(-6px) rotate(-45deg);
}

.navbar__menu-button .menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 1.45rem;
    height: 0.8rem;
}

.navbar__menu-button .menu-icon__bar {
    width: 100%;
    height: 1.3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .navbar__menu-button {
        display: block;
    }
}

/* Mobile menu */
.navbar__mobile-menu {
    position: fixed;
    top: 0;
    right: 0; /* Start hidden off-screen */
    width: 80%; /* Adjust width as needed */
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease-in-out; /* Smooth slide-in animation */
    transform: translateX(100%); /* Start off-screen */
    z-index: 10;
}


.navbar__mobile-menu .navbar__mobile-list {
    padding-top: 90px;
}

.navbar__mobile-menu.open {
    transform: translateX(0); /* Slide into view */
}

.navbar__mobile-menu.closing {
    transform: translateX(100%); /* Slide out to the right */
}

.navbar__mobile-menu.open {
    display: block;
}

.navbar__mobile-link {
    color: #fff;
    height: 4.0625rem;
    padding: 0 1rem;
    font-size: 1.1rem;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    transition: color 0.3s ease;
    align-items: center;
}

@media screen and (max-width: 767px) {
    .navbar__mobile-link {
        font-size: 1.1rem;
        height: 4.0625rem;
        padding-left: .9375rem;
        padding-right: .9375rem;
    }
}

/* Style for mobile menu */
.navbar__mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen */
    width: 100%;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 10;
}

.navbar__mobile-menu.open {
    right: 0; /* Slide in */
}

/* Hamburger icon animation */
.menu-icon {
    position: relative;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 15; /* Ensure it's above menu */
}

.menu-icon__bar {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: black;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-icon__bar--top {
    top: 0;
}

.menu-icon__bar--middle {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon__bar--bottom {
    bottom: 0;
}

.navbar__menu-button.open .menu-icon__bar--top {
    transform: rotate(45deg) translate(4px, 4px);
    background-color: #000;
}

.navbar__menu-button.open .menu-icon__bar--middle {
    opacity: 0; /* Hide middle bar */
    background-color: #000;
}

.navbar__menu-button.open .menu-icon__bar--bottom {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: #000;
}

/* Mobile menu links */
.navbar__mobile-list {
    margin: 0;
    padding: 20px;
    list-style: none;
    text-align: left;
}

.navbar__mobile-list li {
    margin: 20px 0;
}

.navbar__mobile-list a {
    text-decoration: none;
    font-size: 20px; /* Larger text */
    color: black;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar__mobile-list a:hover {
    color: gray;
}

/* Dropdown menu */
.dropdown {
    position: absolute;
    background-color: #fff;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 15px 20px;
    min-width: 200px;
    display: none;
    margin-top: 15px;
    margin-left: 30px;
    z-index: 100;
}

.dropdown.is-hovered {
    display: block;
}

.dropdown__item {
    padding: 10px 0;
}

.dropdown__item a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.dropdown__item a:hover {
    color: #0459A6;
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.layout-dark {
    padding-top: 75px;
}

.layout-dark .navbar__menu-button .menu-icon__bar {
    background-color: #000;
}

.layout-dark .navbar__container .button {
    color: #000;
    margin-left: 10px;
}

.layout-dark .navbar__container .button:hover {
    background: #000;
    color: #fff;
}

.layout-dark.navbar--scrolled .navbar__container .button,
.layout-dark.navbar--opened .navbar__container .button {
    color: #fff;
    border: 1px solid #fff;
}

.layout-dark.navbar--scrolled .navbar__container .button:hover,
.layout-dark.navbar--opened .navbar__container .button:hover {
    background: #fff;
    color: #000;
}

.navbar--scrolled .navbar__home-link img {
    height: auto;
}

.hero__headline, .hero__subtext, .hero__actions, .hero__subheadline {
    white-space: pre-line;
}

.hero {
    position: relative;
    color: white;
    margin-top: 0;
    overflow: hidden;
}


.hero__container {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    z-index: 1;
    position: relative;
    max-width: 92.5rem;
    justify-content: flex-end;
    margin-left: 3.125rem;
    margin-right: 3.125rem;
    min-height: calc(40rem + 20px);
    max-height: 78vh;
    padding-top: 70px;
    padding-bottom: 70px;
    width: 100%;
}

.hero__container.no-background {
    color: #000;
    padding-bottom: 0px;
    min-height: calc(12rem + 20px);
}


@media only screen and (max-width: 991px) {
    .hero__container {
        margin-left: 1.875rem;
        margin-right: 1.875rem;
        justify-content: flex-end;
        min-height: 19.5rem;
        max-height: 50vh;
    }
    .navbar__menu-right {
        margin-left: auto;
    }
}

@media only screen and (max-width: 767px) {
    .hero__container {
        margin-left: 1.125rem;
        margin-right: 1.125rem;
        min-height: 19.5rem;
        max-height: 50vh;
    }

    .hero__container.no-background {
        color: #000;
        padding-bottom: 0px;
        min-height: calc(8rem + 20px);
    }
}

.hero__container.align-items-start {
    align-items: flex-start;
}

.hero__container.align-items-center {
    align-items: center;
}

.hero__container.justify-content-start {
    justify-content: flex-start;
}

.hero__container.justify-content-center {
    justify-content: center;
}

.hero__container.justify-content-end {
    justify-content: center;
}

.hero__container.text-align-left {
    text-align: left;
}

.hero__container.text-align-center {
    text-align: center;
}

.hero__container.text-align-right {
    text-align: right;
}

@media only screen and (max-width: 767px) {
    .hero__container.justify-content-mobile-flex-start {
        justify-content: flex-start;
    }

    .hero__container.justify-content-mobile-center {
        justify-content: center;
    }

    .hero__container.justify-content-mobile-space-between {
        justify-content: space-between;
    }
}

.hero__image {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero.no-slider .hero__text {
    padding-bottom: 0px;
}

.hero__text.with-see-more {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.hero__see-more svg {
    width: 45px;
    height: 45px;
}

@media only screen and (max-width: 767px) {
    .hero__see-more svg {
        width: 37px;
        height: 37px;
    }
}

.hero__see-more:hover {
    cursor: pointer;
}

.hero__see-more:hover svg circle {
    fill: #fff;
    fill-opacity: 1;
    transition: 0.4s;
}

.hero__see-more:hover svg path {
    fill: #fff;
    transition: 0.4s;
}

.hero__see-more:hover svg path:nth-child(2), .hero__see-more:hover svg path:nth-child(3) {
    fill: transparent;
    stroke: #000;
    transition: 0.4s;
}

.hero__image img {
    min-height: 100%;
    height: 100svh;
    width: 100%;
    object-fit: cover;
}

.hero__video {
    height: 100%;
    width: 100%;
    position: absolute;
}

.hero__video video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 55%, rgba(0, 0, 0, 0.7) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    z-index: 1;
}

.hero__subheadline {
    margin-bottom: 36px;
    color: #FFF;
    font-family: "Serifa", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.8px;
}

@media only screen and (max-width: 767px) {
    .hero__subheadline {
        font-size: 17px;
    }
}

@media only screen and (max-width: 767px) {
    .hero__subtext {
        font-size: 1rem;
        line-height: 140%;
        margin-top: 24px;
    }
}

.hero__headline {
    font-size: clamp(3rem, 5vw + 1rem, 5rem);
    max-width: 1200px;
    line-height: 110%;
    margin: 0;
    font-family: "Helvetica Neue LT Pro";
    font-weight: 500;
}

@media only screen and (max-width: 767px) {
    .hero__headline {
        font-size: clamp(2rem, 4vw + 1rem, 3.125rem);
        line-height: 100%;
    }
}

.hero__headline.small-title {
    font-size: clamp(2.5rem, 4vw + 1rem, 4.625rem);
}

@media only screen and (max-width: 767px) {
    .hero__headline.small-title {
        font-size: clamp(1.5rem, 5vw + 0.5rem, 2.125rem);
        line-height: 100%;
    }
}

.hero__actions {
    display: flex;
    margin-top: 46px;
    gap: 14px;
}

@media only screen and (max-width: 767px) {
    .hero__actions {
        margin-top: 30px;
    }
}

.full-height {
    height: 100vh;
}

.full-height .hero__container {
    min-height: 100vh;
}

.full-height .hero__image {
    min-height: 100vh;
}

.navbar--scrolled .navbar__container .button {
    color: #fff;
    background: #3C393C;
}

.admin-bar .navbar {
    top: 32px;
}

.big-arrow {
    position: absolute;
    right: 300px;
    margin-top: -40px;
}

@media (max-width: 992px) {
    .big-arrow {
        display: none;
    }

    body .big-title {
        font-size: 30px;
        line-height: 2;
    }
}

.text-column__text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #fff;
    white-space: pre-line;
}

.navbar__menu-button.open .menu-icon__bar--bottom {

    background-color: #fff;
}

.navbar__menu-button.open .menu-icon__bar--top {
    background-color: #fff;
}


@media (max-width: 991px) {
    body .navbar__home-link img {
        width: 120px;
    }

    body .two-columns {
        margin-top: 2.313rem;
        margin-bottom: 2.313rem;
    }


    .two-columns__image img {

        height: auto;
    }


    body .two-columns__title, body .bi-title {
        font-size: clamp(2rem, 3.5vw + 1rem, 3.025rem);
        line-height: 100%;
    }
}

.slider-item__content {
    display: flex;
    bottom: 0;
    width: 100%;
    padding: 20px;
    flex-direction: column;
    height: 100%;
}

.slider-item__content .title {
    color: #000;
    font-family: "Serifa", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.featured_image img {
    width: 140px;
    height: auto;
}

.featured_image {
    flex-grow: 1;
}

body .hero__headline {
    line-height: 110%;
}

body .two-columns__container {
    gap: 40px;
}

@media only screen and (max-width: 767px) {
    body .footer__input-wrapper-title {
        font-size: 18px;
    }

    body .footer__lists li a {
        font-size: 16px;
    }

    .footer__extra .footer__extra-columns .footer__column:nth-child(1) ul {
        gap: 20px;
        text-align: center;
        flex-direction: row;
    }

    .footer__extra .footer__extra-columns .footer__column:nth-child(2) ul {
        text-align: center;
    }
}

body .navbar__mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #3C393C;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 10;
}

body .image-column {
    line-height: 0;
    height: 100%;
}

@media (max-width: 768px) {
    .navbar__mobile-list li:not(.button) a {
        text-decoration: none;
        font-size: 20px;
        color: #fff;
        font-weight: 500;
        transition: color 0.2s;
    }

    body .image-column {
        line-height: 0;
        width: 100%;
    }

    body .text-column__content {
        max-width: unset;
    }

    .text-column {
        padding: 0.5rem;
    }
}

@media (max-width: 768px) {
    body .image-text-section.image-left .image-text-container {
        flex-direction: column;
    }
}

.navbar.navbar--scrolled.open {
    background: none;
}

html:not(.no-js) main [data-aos=fade-up], html:not(.no-js) footer [data-aos=fade-up] {
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0);
}

.menu-open {
    overflow-y: hidden;
}

section+section {
    margin-bottom: 7.313rem !important;
    margin-top: 0 !important;
}

.hero + .two-columns {
    margin-top: 7.313rem !important;
}


.hero + .columns {
    margin-top: 7.313rem !important;
}

@media (max-width: 992px) {
    section+section {
        margin-bottom: 3.313rem !important;
        margin-top: 0 !important;
    }

    .hero + .two-columns {
        margin-top: 3.313rem !important;
    }


    .hero + .columns {
        margin-top: 3.313rem !important;
    }

}

.two-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem; /* spacing mellan kolumnerna */
    font-size: 1rem; /* motsv. text-base */
    line-height: 1.75rem; /* motsv. leading-7 */
    color: #374151; /* motsv. text-gray-700 */
}

@media (min-width: 768px) {
    .two-columns {
        grid-template-columns: 1fr 1fr; /* två kolumner på desktop */
    }
}

.two-columns ul {
    list-style-type: disc;
    padding-left: 1.5rem; /* motsv. pl-6 */
    margin: 0;
}

.two-columns li {
    margin-bottom: 0.5rem; /* space-y-2 */
    padding-left: 0.25rem; /* lite space mellan bullet och text */
}

.two-columns p {
    margin-bottom: 1rem; /* motsv. mb-4 */
}
