@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* == COLOR == */

:root {
    --color-black: #333;
    --color-white: #FFF;

    --color-primary: "";
    --color-secondary: "";
    --color-light: "";

    --color-side: #f9faff;

    --color-border: #dad6d6;

    --color-primary-base: #0b2a4b;
    --bg-primary-base: linear-gradient(180deg, #0a2540 0%, #0d2f56 100%);

    --color-bg-section-1: #f2f0eb;
    --color-bg-section-2: #ffffff;
    --color-bg-section-3: linear-gradient(135deg, #0b2a4b 0%, #1a4a7a 100%);
    --color-title-section: #c6a87c;

    --size-title-section: 0.875rem;


}

@font-face {
    font-family: "Playfair";
    font-style: normal;
    font-display: swap;
    src: url("../font/Playfair-VariableFont_opsz,wdth,wght.ttf") format("truetype");
}

@font-face {
    font-family: "Montserra";
    font-style: normal;
    font-display: swap;
    src: url("../font/Montserrat-VariableFont_wght.ttf") format("truetype");
}

/* == RESET == */

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

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.4;
    font-size: 1rem;
    color: var(--color-black);
    font-family: "Open Sans", sans-serif, serif;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    /* background-color: #ebebeb; */
    background-color: #FFF;
}

a,
img,
input,
span,
button {
    display: block;
}

a,
img,
input,
span,
button,
p {
    font-family: "Montserra", sans-serif, serif;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
}

button,
input {
    background: none;
    border: none;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1;
    font-family: "Playfair", sans-serif, serif;
}

p {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-size: clamp(1rem, 1.8rem, 1.1rem);
}

ul,
li {
    list-style-type: none;
}

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

.title_section {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: var(--size-title-section);
    font-weight: 500;
    color: var(--color-title-section);
}

/* ****** APP CONTAINER ***** */

/* ****** NAV SECTION ******* */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 75px;
    width: 100%;
    z-index: 20;
    background-color: transparent;
    transition: all .3s ease;
}

header .nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    width: 100%;
    /* border: 1px solid red; */
}

.nav_bloc {
    /* border: 1px solid red; */
    color: var(--color-white);
}

.logo_site {
    font-family: "Playfair", sans-serif, serif;
    font-size: 1.3rem;
}

.nav_bloc ul {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    gap: 5rem;
}

.nav_bloc ul li a {
    position: relative;
    color: var(--color-white);
}

.nav_bloc .btn {
    border-radius: 0 !important;
}

header.active {
    height: 70px;
    background-color: #21304d;
    transition: all .3s ease;
}

/* ***** HERO SECTION ******* */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero_section {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        linear-gradient(to bottom, rgba(33, 55, 82, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero_section:nth-child(1) {
    background:
        linear-gradient(to bottom, rgba(33, 55, 82, 0.8) 0%, rgba(255, 255, 255, 0) 100%),
        url('../img/tryp-home-lifestyle.jpg');
    background-position: center center;
    background-size: cover;
}

.hero_section:nth-child(2) {
    background:
        linear-gradient(to bottom, rgba(33, 55, 82, 0.8) 0%, rgba(255, 255, 255, 0) 100%),
        url('../img/tryp-home-lifestyle.jpg');
    background-position: center center;
    background-size: cover;
}

.hero_section:nth-child(3) {
    background:
        linear-gradient(to bottom, rgba(33, 55, 82, 0.8) 0%, rgba(255, 255, 255, 0) 100%),
        url('../img/tryp-home-lifestyle.jpg');
    background-position: center center;
    background-size: cover;
}

.content_hero {
    position: relative;
    top: 30%;
    z-index: 10;
    height: auto;
    color: var(--color-white);
    width: 100%;
    padding: 1rem;
    max-width: 700px;
    /* border: 1px solid red; */
}

.content_hero h1 {
    font-size: clamp(3rem, 34px, 1rem);
}

.content_hero p {
    line-height: 1.5;
    font-size: clamp(1.125rem, 20px, 1rem);
}

.group_btn {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: .5rem;
}

/* SECTION WELCOME */

.welcome-page {
    position: relative;
    /* border: 1px solid red; */
}

.welcome-page .container {
    position: relative;
}

.welcome-page p {
    font-size: 1rem;
    line-height: 1.5;
}

.welcome_content {
    padding: 1rem;
    display: grid;
    gap: 1rem;
}

@media (max-width: 300px) {
    .welcome_content .grid-col-3 {
        grid-template-columns: repeat(1, 1fr);
    }
}


@media (max-width: 400px) {
    .welcome_content .grid-col-3 {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 700px) {
    .welcome_content .grid-col-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.item_welcom {
    display: block;
    border-radius: 4px;
    background-color: #0b2a4b;
}

.item_welcom a {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .5rem;
    padding: 2rem 1rem;
    transition: all .3s ease;
}

.item_welcom a:hover .small {
    color: #c6a87c;
    transition: all .3s ease;
}

.item_welcom a:hover svg {
    fill: #c6a87c;
    transition: all .3s ease;
}

.item_welcom .small {
    color: var(--color-white);
    font-weight: 500;
}

.item_welcom svg {
    fill: var(--color-white);
}

.galery {
    position: relative;
    display: none;
    position: relative;
    width: 100%;
    height: 400px;
    border: 0.7rem solid #ffffff;
    filter: drop-shadow(20px 20px 40px rgba(0, 0, 0, 0.1));
    transform: rotate(5deg) translateX(30px);
}

.galery .container_galery {
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: yellow;
}

.container_galery img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* SECTION CONCEPT */

.container .container_grid {
    position: relative;
    display: grid;
    gap: 1rem;
}

.collection .title_section {
    margin-bottom: 1rem;
}

.collection h2 {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.container_grid .grid_item {
    position: relative;
    overflow: hidden;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.grid_item .blog_title {
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 10;
    font-size: 1.4rem;
    color: #FFF;
}

.blog_title .title_concept {
    margin-bottom: 2px;
}

.grid_item img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s ease;
}

.grid_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: block;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    z-index: 10;
    cursor: pointer;
}

.grid_item:hover img {
    transform: scale(1.1);
    transition: all .3s ease;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

/* ***** ** Collection ****** */

.head-confort {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.container-slider {
    position: relative;
}

.container-slider .slider {
    position: relative;
}

.slide {
    position: relative;
    background-color: var(--color-white);
    box-shadow: 0px 2px 8px 0px #1a1a1a29;
    border-radius: 6px;
    margin-bottom: 1.1rem;
    /* box-shadow: 0px 2px 16px 0px #1a1a1a3d; */
    transition: transform .3s ease;
}

.slide:hover {
    transform: translateY(-8px);
    transition: transform .3s ease;
}

.slide .container_slider {
    position: relative;
    padding: 1rem;
}

.slide .image {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 200px;
    background-color: #e6e6e6;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image svg {
    height: 100%;
    width: 100%;
    object-fit: cover;
    fill: #595959;
}

.container_slider .note_group {
    position: relative;
    display: flex;
    gap: .5rem;
    align-items: center;
}

.note_group .note {
    background-color: #006ce4;
    background-color: #c9a962;
    padding: .4rem;
    border-radius: 3px;
    font-size: 12px;
    color: var(--color-white);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

.prix {
    padding: .4rem 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.prix .prix_note {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.125rem;
}

/* **** your-key-waits ****** */

section.your-key-waits {
    background-color: var(--color-bg-section-1);
}

.header-your-key h3 {
    margin-bottom: 2rem;
    font-family: inherit;
}

.header-your-key h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #1A1A1A;
}

.your-key-waits .five-star {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 2rem auto 0;
}

.five-star .grid {
    gap: 0;
}

.five-star .item-five {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 3rem;
    border: 1px solid #e6e6e6;
}

.item-five .icons {
    margin-bottom: 1rem;
}

.item-five h4 {
    margin-bottom: 4px;
}

.item-five p {
    margin: 0;
}

.item-five .title_desc {
    font-size: .935rem;
}

/* ********** CTA *********** */

.cta {
    position: relative;
}

.container-cta {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 3rem;
}

.container-content {
    padding: 4rem 2rem;
    color: #FFF;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 1.5rem;
    background: var(--color-bg-section-3);

}

.container-content h2 {
    margin-bottom: 1rem;
    color: var(--color-white);
    font-size: 3rem;
}

.container-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* ********* FOOTER ********* */

footer {
    position: relative;
    background: var(--color-bg-section-3);
}

footer .container {
    padding: 3rem 1rem;
    color: var(--color-white);
    padding-bottom: 0;
}

footer .grid.grid-col-3 {
    margin: 0 auto;
    padding: 0 1rem;
}

.grid ul {
    position: relative;
}

.grid ul li {
    padding: .1rem 0;
}

.title {
    display: inline-block;
    position: relative;
    padding: .5rem 0;
    font-size: 1.3rem;
    margin-top: .3rem;
}

.title::after {
    content: '';
    position: absolute;
    display: inline;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: var(--color-white);
}

.footer-brand {
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.desc_futuris {
    color: rgba(255, 255, 255, 0.7);
    font-size: .875rem;
    line-height: 1.7;
}

.social_link ul {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.social_link li {
    position: relative;
    overflow: hidden;
    height: 30px;
    width: 30px;
    color: var(--color-white);
    fill: var(--color-white);
    transition: all .3s ease;
}

.social_link li:hover {
    fill: #c9a962;
    transition: all .3s ease;
}

.form {
    position: relative;
    width: 100%;
    max-width: 500px;
    /* background-color: red; */
    height: auto;
    /* overflow: hidden; */
    color: var(--color-white);
    margin: 1rem 0;
    display: grid;
    gap: 1rem;
}

ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: .875rem;
    transition: all .3s ease;
}

ul li a:hover {
    color: #c9a962;
    transition: all .3s ease;
}

.form .input {
    position: relative;
    width: 100%;
    height: 40px;
    /* overflow: hidden; */
    /* border: 1px solid red; */
}

.form .input input {
    position: relative;
    width: 100%;
    height: 100%;
    outline: none;
    color: var(--color-white);
    font-weight: 500;
    font-size: 1rem;
    padding: .8rem .3rem;
    border-bottom: 2px solid var(--color-white);
}

.form .input label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s;
    z-index: 9;
}

.form .input label.focus {
    top: -5%;
    font-size: .825rem;
    transition: all .3s;
}

.form .btn {
    color: var(--color-white);
    margin-top: .5rem;
}

.item_grid_footer .logo {
    position: relative;
    width: auto;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

.item_grid_footer .logo img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.copyright {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: .875rem;
    text-align: center;
}

/* ********* LOGIQUE ******* */

section {
    position: relative;
    width: 100%;
    height: auto;
    /* border: 1px solid red; */
    padding: 3rem 1rem;
}

section.collection {
    background-color: var(--color-bg-section-1);
}

.grid {
    position: relative;
    display: grid;
    gap: 1rem;
}

.grid-col-2 {
    grid-template-columns: 1fr;
}

.grid-col-3 {
    grid-template-columns: 1fr;
}

.small {
    opacity: .9;
    font-size: .860rem;
}

.small_xs {
    opacity: .9;
    font-size: .800rem;
    font-weight: 400;
}

.block-center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.title_desc {
    font-size: 1.125rem;
    color: #595959;
}

.container {
    padding-inline: 1rem;
    width: 100%;
    margin: 0 auto;
    /* border: 1px solid red; */
}

.plus {
    color: #006ce4;
    background-color: #dde7f3;
    padding: 8px 1rem;
    font-size: 15px;
    border-radius: 6px;
    transition: all .3s ease;
}

.plus:hover {
    background-color: #cae0f9;
    transition: all .3s ease;
}

.carousel {
    position: relative;
}

.carousel_container {
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: center;
}



.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    position: relative;
    padding: .75rem 1.5rem;
    font-size: .875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #e6e6e6;
    border-radius: 9999px;
    cursor: pointer;
    width: 100%;
    max-width: max-content;
    transition: all .3s ease;
}

.btn:hover,
.btn:focus {
    background-color: var(--color-white);
    color: var(--color-black);
    transition: all .3s ease;
}

.btn-secondaty {
    background-color: #2cabe2;
    border-color: #2cabe2;
    border-width: 2px;
}

.btn-secondaty:hover {
    background-color: transparent;
    color: var(--color-white);
}

/* CAROUSEL NAVIGATION */
.carousel {
    position: relative;
    /* overflow hidden removed from here */
}

.carousel_window {
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Make the carousel section wider on large screens */
@media (min-width: 1200px) {
    .comfort .container {
        max-width: 1350px;
    }
}

.carousel_next,
.carousel_prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #e6e6e6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel_next:hover,
.carousel_prev:hover {
    background-color: #0b2a4b;
    border-color: #0b2a4b;
    transform: translateY(-50%) scale(1.1);
}

.carousel_next:hover svg,
.carousel_prev:hover svg {
    stroke: #fff;
}

.carousel_prev {
    left: -25px;
}

.carousel_next {
    right: -25px;
}

.carousel_next svg,
.carousel_prev svg {
    width: 24px;
    height: 24px;
    stroke: #333;
    stroke-width: 2;
    fill: none;
}

.carousel_next.hidden,
.carousel_prev.hidden {
    opacity: 0;
    pointer-events: none;
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }

    .grid-col-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-col-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .content_hero {
        top: 50%;
        left: 15%;
    }

    .group_btn {
        flex-direction: row;
    }

    footer .grid.grid-col-3 {
        margin: 0;
        padding: 0;
    }

}

@media (min-width: 1100px) {
    .container {
        max-width: 1000px;
    }

    .grid-col-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .item_grid_footer .logo {
        position: relative;
        /* absolute removed to prevent overlap, grid handles placement */
    }

    footer .grid.grid-col-3 {
        margin: 0;
        padding: 0;
    }

    .welcome_content {
        grid-template-columns: repeat(2, 1fr);
    }

    .galery {
        display: block;
    }

}

@media (min-width: 1224px) {
    .container {
        max-width: 1100px;
    }

    footer .grid.grid-col-3 {
        margin: 0;
        padding: 0;
    }
}

@media (min-width: 1500px) {
    .container {
        max-width: 1224px;
    }
}

@media (max-width: 450px) {
    section {
        padding: 3rem 0;
    }
}

/* MOBILE NAVIGATION */
.mobile-toggle {
    display: none;
    cursor: pointer;
    color: var(--color-white);
}

.mobile-menu {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 70%;
    height: calc(100vh - 75px);
    background-color: #0b2a4b;
    padding: 2rem;
    transition: left 0.3s ease;
    z-index: 999;
}

.nav-open .mobile-menu {
    left: 0;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.mobile-menu ul li a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 900px) {
    .nav_bloc ul {
        display: none;
        /* Hide desktop menu */
    }

    .mobile-toggle {
        display: block;
    }

    .desktop-only {
        display: none;
        /* Explicitly hide desktop elements on mobile */
    }

    /* Ensure only the toggle and logo are visible in header nav bar options */
}

@media (min-width: 901px) {
    .mobile-menu {
        display: none;
    }
}