/* =========================================================
   GLOBAL
========================================================= */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    overflow-x: hidden;
    background: #f8f8f8;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}


/* =========================================================
   HEADER / NAVBAR
========================================================= */

header {
    background-color: #041c4a;
}

nav {
    padding: 20px 15px;
    position: relative;
    z-index: 1002;
    max-width: 1280px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-weight: 500;
    text-align: center;
}

.logo-svg {
    width: 160px;
}


/* =========================================================
   DESKTOP NAV LINKS
========================================================= */

.nav-link-items {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link-items a {
    color: #fff;
    font-size: 1rem;
}

.nav-link-items a:hover {
    color: #f5b400;
}

.nav-link-items .side-icons {
    display: none;
}


/* =========================================================
   NAV BUTTONS
========================================================= */
.nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-btn,
.book-btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.2s;
}

.login-btn {
    color: #fff;
    border: 1px solid #fff;
}

.login-btn:hover {
    scale: 1.05;
    transform: 0.1s;
}

.book-btn {
    background: #f5b400;
    color: #041c4a;
    border: 1px solid #f5b400;
}

.book-btn:hover {
    scale: 1.05;
    transform: 0.1s;
}



/* =========================================================
   MENU BUTTON
========================================================= */

.menu-btn {
    display: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}


/* =========================================================
   TERMS HERO
========================================================= */

.terms-hero {
    background: #041c4a;
    padding: 70px 20px;
    text-align: center;
}

.terms-hero-content {
    max-width: 900px;
    margin: auto;
}

.terms-hero h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.terms-hero p {
    color: #d1d5db;
    font-size: 1.05rem;
    line-height: 1.7;
}


/* =========================================================
   TERMS SECTION
========================================================= */

.terms-section {
    padding: 70px 20px;
}

.terms-container {
    max-width: 1000px;
    margin: auto;
}


/* =========================================================
   LAST UPDATED
========================================================= */

.last-updated {
    color: #555;
    text-align: right;
    font-size: 0.9rem;
    margin-bottom: 25px;
}


/* =========================================================
   TERMS CARDS
========================================================= */

.terms-card {
    background: #fff;

    padding: 30px;

    margin-bottom: 25px;

    border-radius: 15px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

.terms-card h2 {
    color: #001b5e;

    font-size: 1.35rem;

    margin-bottom: 18px;
}

.terms-card p {
    color: #555;

    font-size: 1rem;

    line-height: 1.7;

    margin-bottom: 15px;
}

.terms-card p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   TERMS CONTACT
========================================================= */

.terms-contact {
    margin-top: 20px;

    padding: 20px;

    background: #fff4cc;

    border-radius: 8px;
}

.terms-contact p {
    color: #555;

    margin-bottom: 10px;
}

.terms-contact p:last-child {
    margin-bottom: 0;
}

.terms-contact strong {
    color: #001b5e;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #041c4a;
}

.footer-section {
    max-width: 1280px;
    margin: auto;

    padding: 40px 20px;

    display: grid;
    grid-template-columns: 1fr;

    gap: 30px;

    align-items: center;
    text-align: center;
}


/* =========================================================
   FOOTER LOGO
========================================================= */

#footer-logo {
    max-width: 220px;
    width: 100%;
    height: auto;
}

.footer-sm-icon-box img {
    width: 24px;
    height: 24px;
}


/* =========================================================
   FOOTER ITEMS
========================================================= */

.footer-items h2 {
    color: #fff;
}

.footer-items {
    display: flex;
    flex-direction: column;

    gap: 15px;

    color: #d1d5db;

    padding: 40px 20px;
}

.footer-items a {
    text-decoration: none;
    color: #d1d5db;
}

.footer-items a:hover {
    color: #f5b400;
    transform: 0.1s;
    scale: 1.04;
    cursor: pointer;
}

.footer-items,
.footer-items-logo {
    text-align: center;
    align-items: center;
}


/* =========================================================
   FOOTER LIST
========================================================= */

.footer-items ul {
    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 12px;

    font-weight: 400;
}

.footer-items li:hover {
    color: #f5b400;
    transform: 0.1s;
    scale: 1.04;
    cursor: pointer;
}

.footer-items a.active {
    color: #f5b400;
}

/* =========================================================
   FOOTER LOGO / SOCIAL SECTION
========================================================= */

.fl {
    color: #d1d5db;

    display: flex;
    flex-direction: column;

    gap: 30px;

    margin: 15px auto;
}


/* =========================================================
   SOCIAL ICONS
========================================================= */

.footer-sm-icon-box {
    display: flex;
    justify-content: center;

    gap: 16px;
}

.footer-sm-icon-box a:hover {
    transition: all 0.3s;
    scale: 1.2;
}


/* =========================================================
   FOOTER CONTACT
========================================================= */

.footer-contact img:hover {
    scale: 1.2;

    filter: brightness(0) saturate(100%) invert(72%) sepia(87%) saturate(1454%) hue-rotate(4deg) brightness(101%) contrast(103%);
}

.footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 15px;
}

.footer-contact a {
    color: #d1d5db;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #f5b400;
    scale: 1.05;
}

.footer-contact img {
    width: 25px;
    height: 25px;

    flex-shrink: 0;

    transition: 0.1s;
}

.footer-email {
    flex: 1;
    min-width: 0;

    color: #d1d5db;

    text-decoration: none;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-contact span {
    flex: 1;
    min-width: 0;

    overflow-wrap: anywhere;
}

.contacts {
    align-items: center;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.copyright p {
    text-align: center;

    padding: 15px 0;

    color: #d1d5db;

    font-size: 1rem;
}

.copyright hr {
    color: #d1d5db;
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 768px) {

    nav {
        padding: 20px 15px;
    }

    .nav-link,
    .nav-btn {
        display: none;
    }

    .menu-btn {
        display: block;

        position: fixed;

        top: 22px;
        right: 20px;

        z-index: 1005;
    }

    .nav-link.active {
        display: block;

        position: fixed;

        top: 0;
        right: 0;

        width: 48%;
        height: 100vh;

        background: #041c4a;

        z-index: 1003;

        padding-top: 90px;
    }

    .nav-link.active::before {
        content: "";

        position: fixed;

        top: 0;
        left: 0;

        width: 52%;
        height: 100vh;

        background: rgba(0, 0, 0, 0.5);

        z-index: -1;
    }

    .nav-link.active .nav-link-items {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 25px;

        padding: 0 25px;
    }

    .nav-link.active .nav-link-items li {
        display: flex;

        align-items: center;

        gap: 12px;

        width: 100%;
    }

    .nav-link.active .nav-link-items a {
        color: #fff;
    }

    .nav-link.active .nav-link-items a:hover {
        color: #f5b400;
    }

    .nav-link.active .side-icons {
        display: block;

        color: #f5b400;

        width: 20px;
    }

    .nav-link.active~.nav-btn {
        display: flex;

        position: fixed;

        bottom: 25px;
        right: 0;

        width: 48%;

        z-index: 1004;

        justify-content: center;

        gap: 10px;
    }

    .nav-link.active~.nav-btn .login-btn,
    .nav-link.active~.nav-btn .book-btn {
        display: block;
    }

    .nav-link.active~.nav-btn a {
        padding: 9px 12px;
        font-size: 0.9rem;
    }
}


/* =========================================================
   TERMS MOBILE
========================================================= */

@media (max-width: 768px) {

    .terms-hero {
        padding: 60px 20px;
    }

    .terms-hero h1 {
        font-size: 2rem;
    }

    .terms-hero p {
        font-size: 0.95rem;
    }

    .terms-section {
        padding: 55px 15px;
    }

    .terms-container {
        width: 100%;
    }

    .last-updated {
        text-align: left;
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .terms-card {
        padding: 22px 18px;

        margin-bottom: 20px;

        border-radius: 15px;
    }

    .terms-card h2 {
        font-size: 1.15rem;

        line-height: 1.4;

        margin-bottom: 15px;
    }

    .terms-card p {
        font-size: 0.95rem;

        line-height: 1.7;

        margin-bottom: 13px;
    }

    .terms-contact {
        padding: 17px;
    }

    .terms-contact p {
        font-size: 0.95rem;

        overflow-wrap: anywhere;
    }
}


/* =========================================================
   546px
========================================================= */

@media (min-width: 546px) {

    .footer-section {
        grid-template-columns: repeat(2, 1fr);

        align-items: flex-start;
    }

    .footer-items {
        align-items: start;
    }

    .footer-section ul {
        align-items: flex-start;
    }
}


/* =========================================================
   668px
========================================================= */

@media (min-width: 668px) {

    .terms-hero {
        padding: 80px 30px;
    }

    .terms-hero h1 {
        font-size: 2.8rem;
    }

    .terms-section {
        padding: 80px 30px;
    }

    .terms-card {
        padding: 32px;
    }
}


/* =========================================================
   768px
========================================================= */

@media (min-width: 768px) {

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


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

@media (min-width: 769px) {

    nav {
        min-height: 82px;
    }

    .nav-link {
        display: block;
    }

    .nav-link-items {
        display: flex;
    }

    .nav-btn {
        display: flex;
    }
}


/* =========================================================
   1024px
========================================================= */

@media (min-width: 1024px) {

    .footer-section {
        grid-template-columns: repeat(5, 1fr);
    }
}