/*
Theme Name: Wave
Text Domain: Wave
Author: Noli Alickaj
Author URI: https://wavecode.no
*/

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --brown: #3A2E27;
    --copper: #C6815C;
    --sand: #F3E8DF;
    --white: #fff;
    --green: #7A8A7F;
}

*, ::after, ::before {
    box-sizing: border-box;
}

body {
    font-family: 'lato';
    font-weight: 400;
    color: var(--brown);
    margin: 0;
    padding: 0;
    font-size: 20px;
}


@font-face {
    font-family: 'lato';
    src: url('/wp-content/themes/wavecode/assets/fonts/lato/lato-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'lato';
    src: url('/wp-content/themes/wavecode/assets/fonts/lato/lato-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'lato';
    src: url('/wp-content/themes/wavecode/assets/fonts/lato/lato-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'montserrat';
    src: url('/wp-content/themes/wavecode/assets/fonts/montserrat/montserrat-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'montserrat';
    src: url('/wp-content/themes/wavecode/assets/fonts/montserrat/montserrat-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'montserrat';
    src: url('/wp-content/themes/wavecode/assets/fonts/montserrat/montserrat-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* ----------------- BASICS ----------------- */
h1, h2, h3, h4, h5 {
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
    font-size: 40px;
    font-family: 'montserrat';
}
p {
    margin: 0;
    line-height: 1.6;
}
.content p {
    margin-bottom: 20px;
}
a {
    text-decoration: none;
    vertical-align: bottom;
    color: var(--red);
}
img {
    vertical-align: bottom;
    width: 100%;
    height: auto;
    border-radius: 20px;
}
strong {
    font-weight: 700;
}
hr {
    width: 100%;
    height: 1px;
    background: var(--border);
    border: 0;
    margin: 0;
}


/* ----------------- EDITOR ----------------- */
.editor p {
    margin-bottom: 20px;
    line-height: 1.6;
}
.editor p:last-child {
    margin-bottom: 0;
}
.editor ul {
    margin: 0;
    margin-bottom: 30px;
    padding-left: 18px;
}
.editor li {
    margin-bottom: 10px;
    line-height: 1.4;
}
.editor li::marker {
  font-size: 0.7em;
}
.editor a {
    color: var(--copper);
    text-decoration: underline;
}
.editor h1, .editor h2, .editor h3, .editor h4, .editor h5 {
    margin-top: 54px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 30px;
}
.editor img {
    margin-top: 25px;
    margin-bottom: 25px;
}


/* ----------------- HEADER ----------------- */
.header {
    position: relative;
    z-index: 99;
    padding-top: 40px;
    padding-bottom: 40px;
}
.header .logo {
    width: 100%;
    max-width: 160px;
    height: auto;
}


/* ----------------- NAV ----------------- */
.menu {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--sand);
    padding: 6px 6px 6px 30px;
    border-radius: 30px;
}
.menu a {
    color: var(--dark);
    font-size: 18px;
}

.menu--mobile {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--brown);
}
.menu--mobile a:not(:last-child) {
    border-bottom: 1px solid var(--brown);
    padding: 16px 0;
}
.menu--mobile a:last-child {
    margin-top: 30px;
}


/* ----------------- TRANSPARENT START ----------------- */
/*.transparent .header .logo path {
    fill: var(--white);
}*/
.transparent.no-scroll .header .logo path {
    fill: var(--brown);
}
.transparent .menu {
    background: rgba(56, 44, 37, 0.4);
}
.transparent .menu a {
    color: var(--white);
}
.transparent .hamburger .line {
    background: var(--white);
}
.transparent .hamburger.is-active .line {
    background: var(--brown);
}
.transparent main {
    margin-top: -144px;
}


/* ----------------- FOOTER ----------------- */
footer {
    margin-top: 20px;
    margin-bottom: 50px;
}
.footer {    
    padding: 50px 50px;
}


/* ----------------- LAYOUT ----------------- */
.wrapper {
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
}


/* ----------------- HERO ----------------- */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
}
.hero--media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.hero > .hero--media {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-carousel__swiper {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}
.hero-carousel__slide {
    height: 100%;
}
.hero-carousel__pagination {
    z-index: 4;
    bottom: 34px !important;
}
.hero-carousel__pagination .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    background: var(--white);
    opacity: 0.55;
}
.hero-carousel__pagination .swiper-pagination-bullet-active {
    background: var(--sand);
    opacity: 1;
}
.hero--overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.46);
    z-index: 2;
}
.hero--content {
    position: relative;
    z-index: 3;
    padding-bottom: 80px;
}
.hero--btn {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero--btn .btn {
    padding: 18px 30px;
    font-size: 20px;
}
.hero--icon {
    width: 54px;
    height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--sand);
    border-radius: 50%;
}

/* ----------------- GRID ----------------- */
/* -- DEFAULT -- */
.grid--1-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
}
.grid--2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
}
.grid--auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* -- COLUMNS -- */
.col-gap--l {
    column-gap: 100px;
}
.col-gap--m {
    column-gap: 50px;
}
.col-gap--s {
    column-gap: 20px;
}

/* -- ROWS -- */
.row-gap--l {
    row-gap: 100px;
}
.row-gap--m {
    row-gap: 50px;
}
.row-gap--s {
    row-gap: 20px;
}


/* ----------------- WIDTH ----------------- */
.width--l {
    width: 100%;
    max-width: 800px;
}
.width--m {
    width: 100%;
    max-width: 600px;
}
.width--s {
    width: 100%;
    max-width: 400px;
}
.width--img {
    width: 70%;
}


/* ----------------- PADDING ----------------- */
/* -- TOP -- */
.pad-t--xl {
    padding-top: 140px;
}
.pad-t--l {
    padding-top: 100px;
}
.pad-t--m {
    padding-top: 60px;
}
.pad-t--s {
    padding-top: 30px;
}

/* -- BOTTOM -- */
.pad-b--xl {
    padding-bottom: 140px;
}
.pad-b--l {
    padding-bottom: 100px;
}
.pad-b--m {
    padding-bottom: 60px;
}
.pad-b--s {
    padding-bottom: 30px;
}


/* ----------------- FONT SIZES ----------------- */
.font--xl {
    font-size: 50px;
}
.font--l {
    font-size: 42px;
}
.font--m {
    font-size: 30px;
}
.font--s {
    font-size: 24px;
}
.font--18 {
    font-size: 18px;
}


/* ----------------- GAP ----------------- */
.gap--xl {
    gap: 60px;
}
.gap--l {
    gap: 40px;
}
.gap--m {
    gap: 30px;
}
.gap--s {
    gap: 20px;
}
.gap--pb {
    gap: 80px;
}


/* ----------------- BACKGROUND ----------------- */
.bg--brown {
    background: var(--brown);
}
.bg--sand {
    background: var(--sand);
}
.bg--opac {
    background: rgba(255, 255, 255, 0.08);
}


/* ----------------- COLOR ----------------- */
.color--white {
    color: var(--white);
}


/* ----------------- BUTTON ----------------- */
/* -- DEFAULT -- */
.btn {
    width: fit-content;
    height: fit-content;
    padding: 16px 22px;
    border-radius: 30px;

    font-size: 18px;
    line-height: 1;
    text-align: center;
    font-weight: 400;

    transition: 0.2s ease;
}

/* -- COPPER -- */
.btn.copper {
    background: var(--copper);
    color: var(--white);
}
.btn.copper:hover {
    background: var(--brown);
    color: var(--sand);
}
.btn.sand {
    background: var(--sand);
    color: var(--brown);
}


/* ----------------- GALLERY ----------------- */
.gallery {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}
.gallery img {
    aspect-ratio: 3/2;
    object-fit: cover;
}


/* ----------------- OTHER ----------------- */
.top {
    margin-top: 20px;
}
.rounded {
    border-radius: 20px;
}
.icon {
    min-width: 36px;
}


/* ----------------- TABLET ----------------- */
@media (max-width: 992px) {

    /* ----------------- HEADER ----------------- */
    .menu {
        display: none;
    }
    .transparent main {
        margin-top: -165px;
    }

    /* ----------------- FOOTER ----------------- */
    .footer {
        padding: 60px 40px;
    }

    /* ----------------- GRID ----------------- */
    .grid--2 {
        grid-template-columns: repeat(1, minmax(200px, 1fr));
    
    }
    .grid--1-2 {
        grid-template-columns: 1fr;
    }

    /* ----------------- GRID ----------------- */
    .font--xl {
        font-size: 40px;
    }
    .font--l {
        font-size: 34px;
    }
    .font--m {
        font-size: 26px;
    }
    .font--s {
        font-size: 22px;
    }
}


/* ----------------- MOBILE ----------------- */
@media (max-width: 768px) {
    
    /* ----------------- GENERAL ----------------- */
    .wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

}
