* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #082f49;
    --navy-dark: #031f30;
    --cyan: #0e7490;
    --gold: #d4a017;
    --gold-dark: #b8860b;
    --light: #f5f7fa;
    --text: #333333;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
}

/* ==============================
   HEADER AK NAVIGATION
============================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: var(--navy);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.navbar {
    width: min(94%, 1380px);
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 58px;
    height: 58px;
    display: block;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background-color: var(--white);
}

.hotel-name {
    color: var(--white);
    font-size: 23px;
    font-weight: 700;
    white-space: nowrap;
}

.nav-links {
    margin-left: auto;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.nav-links li {
    flex-shrink: 0;
}

.nav-links a {
    display: block;
    padding: 11px 13px;
    border-radius: 6px;
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.12);
}

.nav-links .btn-connexion {
    margin-left: 18px;
    padding: 12px 20px;
    background-color: var(--gold);
    box-shadow: 0 5px 14px rgba(212, 160, 23, 0.28);
    font-weight: 700;
}

.nav-links .btn-connexion:hover {
    background-color: var(--gold-dark);
    transform: translateY(-2px);
}

/* ==============================
   HERO PAJ DAKÈY
============================== */

main {
    width: 100%;
}

.hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 650px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background-color: var(--navy);
}

.hero-image {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(1, 17, 32, 0.60) 0%,
            rgba(1, 17, 32, 0.36) 50%,
            rgba(1, 17, 32, 0.50) 100%
        ),
        linear-gradient(
            180deg,
            rgba(1, 17, 32, 0.12) 0%,
            rgba(1, 17, 32, 0.42) 100%
        );
}

.hero-content {
    width: min(92%, 940px);
    padding: 50px 24px;
    text-align: center;
    color: var(--white);
}

.hero-subtitle {
    display: inline-block;
    margin-bottom: 16px;
    color: #f6d36b;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-content h1 {
    margin-bottom: 20px;
    font-size: clamp(42px, 5.5vw, 72px);
    line-height: 1.08;
    font-weight: 800;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.58);
}

.hero-content p {
    max-width: 800px;
    margin: 0 auto 32px;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.7;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.60);
}

.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 7px;
    background-color: var(--gold);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s ease;
}

.btn-primary:hover {
    background-color: var(--gold-dark);
    box-shadow: 0 11px 26px rgba(0, 0, 0, 0.30);
    transform: translateY(-3px);
}

/* ==============================
   SEKSYON JENERAL
============================== */

.section {
    padding: 78px 6%;
}

.section-title {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-title h2 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: clamp(30px, 4vw, 38px);
}

.section-title p {
    color: #666666;
    font-size: 17px;
}

/* ==============================
   SÈVIS
============================== */

.cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.card {
    padding: 30px 22px;
    border: 1px solid rgba(8, 47, 73, 0.07);
    border-radius: 12px;
    background-color: var(--white);
    text-align: center;
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.08);
    transition: 0.25s ease;
}

.card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-7px);
}

.card-icon {
    margin-bottom: 15px;
    font-size: 42px;
}

.card h3 {
    margin-bottom: 12px;
    color: var(--navy);
}

/* ==============================
   CHANM
============================== */

.chambres-section {
    background-color: #eaf0f5;
}

.room-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.room-card {
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--white);
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.10);
    transition: 0.25s ease;
}

.room-card:hover {
    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.14);
    transform: translateY(-6px);
}

.room-card img {
    width: 100%;
    height: 240px;
    display: block;
    object-fit: cover;
}

.room-content {
    padding: 24px;
}

.room-content h3 {
    margin-bottom: 10px;
    color: var(--navy);
}

.room-content p {
    margin-bottom: 18px;
}

.btn-room {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 5px;
    background-color: var(--cyan);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s ease;
}

.btn-room:hover {
    background-color: var(--navy);
    transform: translateY(-2px);
}

/* ==============================
   À PROPOS
============================== */

.about-section {
    background-color: var(--navy);
    color: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 4vw, 38px);
}

.about-content p {
    font-size: 18px;
}

/* ==============================
   CONTACT
============================== */

.contact-section {
    background-color: var(--white);
}

.contact-info {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-item {
    padding: 27px;
    border: 1px solid rgba(8, 47, 73, 0.07);
    border-radius: 10px;
    background-color: var(--light);
    text-align: center;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: var(--navy);
}

/* ==============================
   FOOTER
============================== */

.footer {
    background-color: var(--navy-dark);
    color: var(--white);
}

.footer-content {
    width: min(90%, 1200px);
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-content h3 {
    margin-bottom: 14px;
}

.footer-content a {
    display: block;
    margin-bottom: 8px;
    color: #dddddd;
    text-decoration: none;
}

.footer-content a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

/* ==============================
   TABLET
============================== */

@media screen and (max-width: 1050px) {
    .navbar {
        width: 94%;
        gap: 18px;
    }

    .hotel-name {
        font-size: 20px;
    }

    .nav-links {
        gap: 2px;
    }

    .nav-links a {
        padding: 10px 9px;
        font-size: 14px;
    }

    .nav-links .btn-connexion {
        margin-left: 8px;
    }
}

@media screen and (max-width: 900px) {
    .navbar {
        padding: 15px 0;
        flex-direction: column;
        gap: 14px;
    }

    .logo-container {
        align-self: flex-start;
    }

    .nav-links {
        width: 100%;
        margin-left: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: 560px;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .room-container,
    .contact-info,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        text-align: center;
    }
}

/* ==============================
   TELEFÒN
============================== */

@media screen and (max-width: 600px) {
    .header {
        position: relative;
    }

    .navbar {
        width: 90%;
    }

    .logo-container {
        align-self: center;
    }

    .hotel-name {
        font-size: 19px;
    }

    .nav-links {
        flex-direction: column;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        width: 100%;
    }

    .nav-links .btn-connexion {
        margin-left: 0;
        margin-top: 5px;
    }

    .hero {
        min-height: 510px;
    }

    .hero-content {
        width: 94%;
        padding: 35px 15px;
    }

    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 1.4px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .btn-primary {
        padding: 13px 22px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 58px 5%;
    }
}

.hero-slides {
    position: absolute;
    z-index: -3;
    inset: 0;
}

.hero-slides .hero-image {
    z-index: auto;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1s ease, transform 6s ease;
}

.hero-slides .hero-image.active {
    opacity: 1;
    transform: scale(1);
}
