@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root{
    --primary-color: #FD9843;
    --accent-color: #FD7E14;
    --secondary-color: #e63946;
    --background-color: #fafafa;
    --text-color: #333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', inter, 'Georgia', serif;
    background-color: var(--background-color); /* Light beige background */
    color: var(--text-color); /* Dark text color */
}

header {
    background-color: var(--background-color);
    padding: 20px 0;
    text-align: center;
}

nav svg {
    fill: var(--text-color);
}

@media(max-width: 900px){

    nav {
        justify-content: space-around !important;
    }

    .links-container {
        padding: 20px 30px;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 10vh;

        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 300px !important;

        background-color: var(--background-color);
        box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
        
        transition: .50s ease-out;
    }

    .text-links-container{
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }

    nav div{
        height: auto;
        justify-content: flex-start;
    }

    .close-sidebar-button {
        position: absolute;
        top: 20px;
        right: 20px;

        cursor: pointer;
    }

    .open-sidebar-button, .close-sidebar-button {
        display: block !important;
    }

    #sidebar-active:checked ~ .links-container {
        right: 0;
    }

    #sidebar-active:checked ~ #overlay {
        /* background: red; */
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
    }

    .logo-mobile {
        display: block !important;
        margin: 0;
        padding: 0;
    }
}

#overlay {
    display: none;
}

#sidebar-active {
    display: none;
}

.open-sidebar-button, .close-sidebar-button {
    display: none;
    padding: 0 20px;
}

nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

nav a {
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.text-links-container a:hover {
    color: var(--secondary-color);
}

.text-links-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.text-links-container a {
    text-decoration: none;
}

.links-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.logo-mobile {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-wrap: nowrap;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color); /* Deep red color */
    text-decoration: none;
}

main {
    /* padding: 40px 20px; */
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    color: var(--text-color);
}

h1 {
    font-weight: bold;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
}

h3 {
    color: var(--accent-color);
}

h4 {
    color: var(--secondary-color);
    font-size: small;
    font-family: 'Inter';
}


footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    font-size: 14px;
}

.title-box {
    margin: 20px 0;
}

.primary-button {
    display: flex;
    justify-content: center;
}

.primary-button a {
    padding: 10px 20px;
    background-color: var(--primary-color);
    border: 2px solid transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 40px;
    font-weight: bold;
    transition: ease-in-out 0.2s;
}

.primary-button i {
    display: inline-block;
    height: 1rem;
    width: 1rem;
    font-size: 16px;
    margin-right: 10px;
}

.primary-button a:hover {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.secondary-button a {
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    border-radius: 40px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: ease-in-out 0.2s;
}

.secondary-button a:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.primary-button a, .secondary-button a {
    white-space: nowrap;
}

.hero {
    display: flex;
    gap: 10%;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    margin-left: 10%;
    margin-right: 10%;
}

@media(max-width: 1210px){
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 5vh;
    }

    .hero-images{
        order: 1;
    }

    .hero-images > img {
       max-width: 80vw;
    }

    .hero-content {
        order: 2;
    }

    .testimonies-cards{
        flex-direction: column;
    }
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero h2 {
    font-size: 1.5rem;
    color: #4a4a4a;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: 35px;
}

.hero-images > img {
    border-radius: 10px;
}

.hero-title {
    position: relative;
    overflow: visible;
    display: inline-block;
    line-height: 1.2;
    z-index: 1;
}

.highlight {
    color: var(--accent-color);
    position: relative;
    z-index: 1;
}

.image-circle {
    border-radius: 50%;
    object-fit: cover;
}

/* La nostra historia section */

@media (max-width: 1200px) {
    .historia-content {
        max-width: 70vw !important;
        flex-wrap: wrap !important;
        margin: 20px 0 !important;
    }
    
    .historia-image img{
        width: 100% !important;
    }

    .historia-content .historia-image{
        order: 1;
    }

    .historia-content .historia-text{
        order: 2;
    }
}

.historia-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.historia-title {
    max-width: 100%;
}

.historia-image img{
    max-height: 50vh;
    width: auto;
    object-fit: scale-down;
}

.historia-content {
    max-width: 100%;
    margin: 20px 15vw;
    display: flex;
    text-align: justify;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    gap: 40px;
}

.historia-text {
    flex-shrink: 1;
    text-wrap: wrap;
}

.historia-text h3 {
    color: var(--text-color);
    font-weight: bolder;
}

.news-cards {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: stretch; /* Stretch the cards to the same height */
    text-align: center;
}

.article-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 0; /* Remove padding */
    gap: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: 450px; /* Set a minimum height for all cards */
    text-align: center;
    overflow: hidden; /* Ensure content respects border-radius */
}

.article-card > img {
    width: 100%; /* Ensure image fills the width of the card */
    height: 150px; /* Set a fixed height for the images */
    border-top-left-radius: 10px; /* Apply same border-radius as the card */
    border-top-right-radius: 10px; /* Apply same border-radius as the card */
    object-fit: cover; /* Cover the area without distortion */
    margin: 0; /* Remove default margin */
}

.article-text-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    flex-grow: 1; /* Allow text content to fill available space */
}

.article-text-content p {
    text-align: justify;
}

.article-text-content h5 {
    margin-bottom: 0;
}

.favourites-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.favourites-cards > div {
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    position: relative;
}

.card {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 300px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card > h3 {
    font-weight: bold;
}

.card img {
    width: 100px;
    height: 100px;
    border: none;
    border-radius: 50%;
    object-fit: contain; /* Try cover later */
    margin: 0 auto 15px auto;
}

.testimonies {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.testimonies-cards {
    display: flex;
    gap: 20px;
}

.review-card {
    display: flex;
    flex-direction: column;
    background-color: rgb(255, 255, 255);
    padding: 30px;
    color: var(--text-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    border-radius: 10px;
    max-width: 500px;
    text-align: justify;
    gap: 10px;
}

.review-card > .review-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.review-card-header h4, p{
    margin-bottom: 0px;
}

.review-card-header p {
    color: #e8aa00;
}

/* Reservations */

.form-box {
    max-width: 50vh;
    margin: auto;
    background: #f1f7fe;
    overflow: hidden;
    border-radius: 16px;
    color: #010101;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
  }
  
  .form {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 24px 24px;
    gap: 16px;
    text-align: center;
  }
  
  /*Form text*/
  .title {
    font-weight: bold;
    font-size: 1.6rem;
  }
  
  .subtitle {
    font-size: 1rem;
    color: #666;
  }
  
  /*Inputs box*/
  .form-container {
    overflow: hidden;
    border-radius: 8px;
    background-color: #fff;
    margin: 1rem 0 .5rem;
    width: 100%;
  }
  
  .input {
    background: none;
    border: 0;
    outline: 0;
    height: 40px;
    width: 100%;
    border-bottom: 1px solid #eee;
    font-size: .9rem;
    padding: 8px 15px;
  }

  section {
    padding: 0px 40px;
  }
  
  .form-section {
    padding: 16px;
    font-size: .85rem;
    background-color: #e0ecfb;
    box-shadow: rgb(0 0 0 / 8%) 0 -1px;
  }
  
  .form-section a {
    font-weight: bold;
    color: #0066ff;
    transition: color .3s ease;
  }
  
  .form-section a:hover {
    color: #005ce6;
    text-decoration: underline;
  }
  
  /*Button*/
  .form button {
    background-color: #0066ff;
    color: #fff;
    border: 0;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .3s ease;
  }
  
  .form button:hover {
    background-color: #005ce6;
  }
  

  /* Spacer */

.spacer {
    aspect-ratio: 960/100;
    width: 100% !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 0px !important;
}

.white-orange-layer-top{
    background-image: url('./svg/top-wave.svg');
}

.white-orange-layer-bottom{
    background-image: url('./svg/bottom-wave.svg');
}

/* Menu section */

.menu{
    background-color: var(--primary-color);
    padding-bottom: 40px;
    padding-left: 10vw;
    padding-right: 10vw;
}

.menu-items {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.menu-item-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.menu-title {
    margin-bottom: 40px;
}

.menu-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    flex-shrink: 1;
}

.menu-item{
    background-color: #ffffff;
    color: var(--text-color); /* Dark text color */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    height: 340px;
    flex: 0 1 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.menu-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color); /* Orange text color */
}

.menu-item p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #666666; /* Slightly lighter text color for descriptions */
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color); /* Red or dark accent color for prices */
}

/* Contact section */

.contacte {
    background-color: var(--primary-color);
    
}

.contacte-info {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping of items on smaller screens */
    gap: 50px; /* Increased gap slightly for better spacing */
    padding: 40px 10vw;
    justify-content: center;
    align-items: center; /* Align items to the start */
}

.contact-left {
    flex: 1 1 300px; /* Allows the map to take up more space but remain responsive */
    aspect-ratio: 1/1;

    max-height: 400px;
    max-width: 400px;
}

.contact-left .contacte-item-map {
    height: 100%;
    
}

.contacte-item-map {
    background-color: #ffffff;
    color: var(--text-color);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.contacte-item {
    display: flex;
    align-items: center;
    background-color: var(--background-color);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
}

.contacte-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    background-color: var(--text-color);
    border-radius: 0 8px 8px 0;
}

.icon-container {
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--text-color);
    display: flex;
    width: 70px;
    height: 70px;
    align-items: center;
    justify-content: center;
    transform: translateX(-60%);
    margin-right: -5%;
    color: var(--background-color);
    font-size: 1.5rem;
    z-index: 0;
}

.contacte-item p {
    font-weight: bold;
}


.contacte-link {
    display: block;
    width: 100%;
    text-decoration: none !important;
    color: inherit;
}

.contacte-link:hover {
    color: var(--secondary-color) !important;
}

.contacte-link:hover .contacte-item::before{
    background-color: var(--secondary-color);
}

.contacte-link:hover .icon-container {
    background-color: var(--secondary-color);
}

/* Footer */
.footer-bottom {
/*     margin-top: 30px;
    border-top: 1px solid #444;
    padding-top: 15px; */
    font-size: 0.9rem;
    color: #aaa;
}
