/*
    Theme: Hôtels (Hotels)
    Design System: Neumorphism + Eco-minimalism
    Color Scheme: Monochromatic
    Animation Style: Hand-drawn inspired
    Fonts: Poppins (Headings), Work Sans (Body)
*/

/* -------------------------------------------------------------------------- */
/*                                CSS Variables                               */
/* -------------------------------------------------------------------------- */

:root {
    /* Color Palette (Monochromatic) */
    --color-background: #E0E5EC;
    --color-text: #333740;
    --color-text-light: #5a616d;
    --color-primary: #4a7a8c;
    --color-primary-dark: #3b6270;
    --color-white: #FFFFFF;
    --color-light-gray: #f4f5f7;
    
    /* Neumorphism Shadows */
    --shadow-light: rgba(255, 255, 255, 0.8);
    --shadow-dark: #A3B1C6;
    --shadow-distance: 8px;
    --shadow-blur: 16px;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Work Sans', sans-serif;

    /* Sizing & Spacing */
    --border-radius: 20px;
    --section-padding: 4rem 1.5rem;
    --container-width: 1140px;

    /* Transitions */
    --transition-fast: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    --transition-smooth: all 0.3s ease-in-out;
}

/* -------------------------------------------------------------------------- */
/*                                Global Styles                               */
/* -------------------------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    background-color: var(--color-background);
}

body {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.title {
    color: #222222; /* High contrast for titles */
}

.subtitle {
    color: var(--color-text-light);
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

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

/* -------------------------------------------------------------------------- */
/*                              Layout & Helpers                              */
/* -------------------------------------------------------------------------- */

.main-container {
    width: 100%;
    margin: 0 auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}

.section-title {
    margin-bottom: 3rem;
    font-size: 2.5rem;
    text-transform: capitalize;
}

.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.column {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0.75rem;
}
.column.is-one-third { flex: none; width: 33.3333%; }
.column.is-one-quarter { flex: none; width: 25%; }
.column.is-two-thirds { flex: none; width: 66.6666%; }
.column.is-offset-2 { margin-left: 16.6666%;}
.columns.is-vcentered { align-items: center; }
.columns.is-centered { justify-content: center; }
.columns.is-multiline { flex-wrap: wrap; }
.columns.is-mobile { display: flex; }

.has-text-centered {
    text-align: center;
}

/* -------------------------------------------------------------------------- */
/*                              Neumorphism Styles                            */
/* -------------------------------------------------------------------------- */

.neu-element {
    background: var(--color-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-distance) var(--shadow-distance) var(--shadow-blur) var(--shadow-dark),
                calc(-1 * var(--shadow-distance)) calc(-1 * var(--shadow-distance)) var(--shadow-blur) var(--shadow-light);
    transition: var(--transition-smooth);
}

.neu-element--inset {
    background: var(--color-background);
    border-radius: var(--border-radius);
    box-shadow: inset var(--shadow-distance) var(--shadow-distance) var(--shadow-blur) var(--shadow-dark),
                inset calc(-1 * var(--shadow-distance)) calc(-1 * var(--shadow-distance)) var(--shadow-blur) var(--shadow-light);
}

/* -------------------------------------------------------------------------- */
/*                                  Components                                */
/* -------------------------------------------------------------------------- */

/* ----- Buttons ----- */
.button, button {
    cursor: pointer;
    border: none;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 50px;
    background-color: var(--color-background);
    color: var(--color-primary);
    box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
    transition: var(--transition-fast);
}

.button:hover, button:hover {
    box-shadow: 2px 2px 4px var(--shadow-dark), -2px -2px 4px var(--shadow-light);
    transform: translateY(1px);
}

.button:active, button:active {
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
    transform: translateY(2px);
}

.button.is-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ----- Header & Navbar ----- */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 1rem 0;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.navbar-brand .logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
}
.navbar-menu {
    display: flex;
}
.navbar-end {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.navbar-item {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: var(--transition-smooth);
}
.navbar-item:hover {
    color: var(--color-primary);
    text-decoration: none;
}
.navbar-burger {
    display: none;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    position: relative;
}
.navbar-burger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--color-text);
    border-radius: 3px;
    left: 0;
    transition: all 0.3s ease-in-out;
}
.navbar-burger span:nth-child(1) { top: 0.25rem; }
.navbar-burger span:nth-child(2) { top: 0.875rem; }
.navbar-burger span:nth-child(3) { top: 1.5rem; }
.navbar-burger.is-active span:nth-child(1) { transform: translateY(0.625rem) rotate(135deg); }
.navbar-burger.is-active span:nth-child(2) { opacity: 0; }
.navbar-burger.is-active span:nth-child(3) { transform: translateY(-0.625rem) rotate(-135deg); }

/* ----- Hero Section ----- */
.hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.hero-body {
    padding: 2rem;
}
.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* ----- Cards ----- */
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    background: var(--color-background);
}
.neu-card {
    box-shadow: var(--shadow-distance) var(--shadow-distance) var(--shadow-blur) var(--shadow-dark),
                calc(-1 * var(--shadow-distance)) calc(-1 * var(--shadow-distance)) var(--shadow-blur) var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.neu-card:hover {
    transform: translateY(-5px);
    box-shadow: calc(var(--shadow-distance) * 1.5) calc(var(--shadow-distance) * 1.5) calc(var(--shadow-blur) * 1.5) var(--shadow-dark),
                calc(-1.5 * var(--shadow-distance)) calc(-1.5 * var(--shadow-distance)) calc(var(--shadow-blur) * 1.5) var(--shadow-light);
}
.card-image {
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}
.card-content .title {
    margin-bottom: 0.75rem;
}

/* ----- Forms ----- */
.neu-form .label {
    color: var(--color-text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
    text-align: left;
}
.neu-form .field {
    margin-bottom: 1.5rem;
}
.neu-form .input, .neu-form .textarea {
    width: 100%;
    border: none;
    outline: none;
    padding: 1rem;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-background);
    border-radius: 15px;
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}
.neu-form .textarea {
    min-height: 150px;
    resize: vertical;
}

/* ----- Clientele Section ----- */
#clientele .carousel-container {
    padding: 2rem;
}
#clientele .client-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
#clientele .client-logos img {
    max-height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-smooth);
}
#clientele .client-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ----- Statistics Section ----- */
#statistics .level {
    padding: 2rem;
}
#statistics .heading {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}
#statistics .title {
    font-size: 3rem;
}

/* ----- Gallery Section ----- */
#gallery .image img {
    border-radius: var(--border-radius);
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* ----- Testimonials ----- */
#success-stories .testimonial-card .media {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
#success-stories .testimonial-card .media-left {
    margin-right: 1rem;
}
#success-stories .testimonial-card .image img {
    border: 3px solid var(--color-background);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* ----- Resources ----- */
#resources .content {
    padding: 2rem;
    border-radius: var(--border-radius);
}
#resources ul {
    list-style: none;
}
#resources li {
    padding: 0.75rem 0;
    font-size: 1.2rem;
}
#resources li:not(:last-child) {
    border-bottom: 2px solid rgba(163, 177, 198, 0.3);
}

/* ----- Footer ----- */
.footer {
    background-color: #d1d9e6; /* Slightly darker than main background */
    padding: 3rem 1.5rem;
    color: var(--color-text-light);
}
.footer .title {
    color: var(--color-text);
}
.footer a {
    color: var(--color-text-light);
}
.footer a:hover {
    color: var(--color-primary);
}
.footer ul {
    list-style: none;
    margin: 0;
}
.footer li {
    margin-bottom: 0.5rem;
}

/* -------------------------------------------------------------------------- */
/*                            Page Specific Styles                            */
/* -------------------------------------------------------------------------- */
.static-page-container {
    padding-top: 100px; /* Offset for fixed header */
}

body.success-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}
.success-container {
    padding: 3rem;
}

/* -------------------------------------------------------------------------- */
/*                                Media Queries                               */
/* -------------------------------------------------------------------------- */

/* ----- Tablet ----- */
@media (max-width: 1024px) {
    .column.is-one-third, .column.is-one-quarter {
        flex: none;
        width: 50%;
    }
    .column.is-two-thirds {
        flex: none;
        width: 100%;
    }
}

/* ----- Mobile ----- */
@media (max-width: 768px) {
    body {
        font-size: 1rem;
    }
    .section {
        padding: 3rem 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .column.is-one-third, .column.is-one-quarter, .column.is-two-thirds, .column.is-offset-2 {
        flex: none;
        width: 100%;
        margin-left: 0;
    }
    
    .navbar-burger {
        display: block;
    }
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-light-gray);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    .navbar-menu.is-active {
        display: block;
    }
    .navbar-end {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .footer .columns {
        flex-direction: column;
        text-align: center;
    }
    .footer .column:not(:last-child) {
        margin-bottom: 2rem;
    }
}