/* =========================================================
   CLARIS WORLD TRAVEL & ADVENTURES
   TERMS & CONDITIONS
   PREMIUM GLASSMORPHISM DESIGN
========================================================= */


/* =========================================================
   1. ROOT VARIABLES
========================================================= */

:root {

    --gold: #d4af37;
    --gold-light: #f0d77b;
    --gold-dark: #a98518;

    --dark: #061018;
    --dark-2: #0a1822;
    --dark-3: #102532;

    --white: #ffffff;
    --text: #d7e0e5;
    --muted: #9eabb3;

    --glass: rgba(255, 255, 255, 0.055);
    --glass-border: rgba(255, 255, 255, 0.12);

    --shadow:
        0 25px 70px rgba(0, 0, 0, 0.35);

    --radius: 24px;

}


/* =========================================================
   2. GLOBAL RESET
========================================================= */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: "Inter", sans-serif;

    background:

        radial-gradient(
            circle at 10% 10%,
            rgba(212, 175, 55, 0.08),
            transparent 30%
        ),

        radial-gradient(
            circle at 90% 70%,
            rgba(30, 100, 120, 0.08),
            transparent 35%
        ),

        var(--dark);

    color: var(--text);

    line-height: 1.8;

    overflow-x: hidden;

}


img {

    max-width: 100%;

    display: block;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input,
textarea,
select {

    font-family: inherit;

}


/* =========================================================
   3. PAGE LOADER
========================================================= */

#pageLoader {

    position: fixed;

    inset: 0;

    background: var(--dark);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    z-index: 10000;

    transition:
        opacity .6s ease,
        visibility .6s ease;

}


#pageLoader.hidden {

    opacity: 0;

    visibility: hidden;

}


.loader-logo img {

    width: 110px;

    margin-bottom: 25px;

}


.loader-spinner {

    width: 38px;

    height: 38px;

    border: 3px solid rgba(255,255,255,.15);

    border-top-color: var(--gold);

    border-radius: 50%;

    animation: spin 1s linear infinite;

}


@keyframes spin {

    to {

        transform: rotate(360deg);

    }

}


/* =========================================================
   4. NAVIGATION
========================================================= */

.site-header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 5000;

    padding: 18px 5%;

    transition: .4s ease;

}


.site-header.scrolled {

    padding: 10px 5%;

}


.navbar {

    max-width: 1400px;

    margin: auto;

    min-height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 10px 18px;

    background: rgba(7, 18, 27, .35);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 22px;

    box-shadow:

        0 15px 45px rgba(0,0,0,.2);

}


/* Brand */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

}


.brand img {

    width: 48px;

    height: 48px;

    object-fit: contain;

}


.brand span {

    color: var(--white);

    font-weight: 700;

    font-size: 15px;

    line-height: 1.2;

}


.brand small {

    display: block;

    color: var(--gold);

    font-size: 11px;

    letter-spacing: 1px;

}


/* Navigation Links */

.nav-links {

    display: flex;

    align-items: center;

    gap: 28px;

    list-style: none;

}


.nav-links a {

    position: relative;

    color: rgba(255,255,255,.82);

    font-size: 14px;

    font-weight: 500;

    transition: .3s;

}


.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 2px;

    background: var(--gold);

    transition: .3s;

}


.nav-links a:hover {

    color: var(--gold-light);

}


.nav-links a:hover::after {

    width: 100%;

}


/* Book button */

.nav-book {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 12px 20px;

    border-radius: 50px;

    background: var(--gold);

    color: #101010;

    font-size: 13px;

    font-weight: 700;

    transition: .3s;

}


.nav-book:hover {

    transform: translateY(-2px);

    background: var(--gold-light);

}


/* Mobile menu */

.menu-toggle {

    display: none;

    border: none;

    background: transparent;

    cursor: pointer;

}


.menu-toggle span {

    display: block;

    width: 26px;

    height: 2px;

    background: white;

    margin: 5px;

}


/* =========================================================
   5. TERMS HERO
========================================================= */

.terms-hero {

    min-height: 70vh;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 150px 20px 100px;

    overflow: hidden;

    background:

        linear-gradient(
            rgba(3,10,15,.55),
            rgba(3,10,15,.9)
        ),

        url("../img/amboseli.jpg")
        center / cover no-repeat;

}


/* Decorative glow */

.terms-hero::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    border-radius: 50%;

    background: rgba(212,175,55,.12);

    filter: blur(100px);

    top: -250px;

    left: -150px;

}


.terms-hero::after {

    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    border-radius: 50%;

    background: rgba(0,120,150,.08);

    filter: blur(100px);

    bottom: -250px;

    right: -150px;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            180deg,
            rgba(0,0,0,.15),
            rgba(0,0,0,.55)
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    max-width: 850px;

}


.hero-tag {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 10px 18px;

    border: 1px solid rgba(212,175,55,.4);

    border-radius: 50px;

    background: rgba(212,175,55,.08);

    color: var(--gold-light);

    font-size: 11px;

    letter-spacing: 2px;

    font-weight: 700;

}


.hero-content h1 {

    font-family: "Playfair Display", serif;

    font-size: clamp(3.5rem, 7vw, 6rem);

    line-height: 1.05;

    color: white;

    margin: 25px 0;

}


.hero-content h1::after {

    content: "";

    display: block;

    width: 70px;

    height: 3px;

    margin: 25px auto 0;

    background: var(--gold);

}


.hero-content > p {

    max-width: 650px;

    margin: auto;

    color: #c7d1d6;

    font-size: 1.05rem;

}


.hero-meta {

    margin-top: 30px;

    display: flex;

    justify-content: center;

    gap: 30px;

    flex-wrap: wrap;

    color: #c5ced2;

    font-size: 14px;

}


.hero-meta span {

    display: flex;

    align-items: center;

    gap: 8px;

}


.hero-meta i {

    color: var(--gold);

}


/* =========================================================
   6. TERMS MAIN AREA
========================================================= */

.terms-section {

    padding: 100px 5%;

}


.terms-container {

    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns: 280px minmax(0, 1fr);

    gap: 60px;

    align-items: start;

}


/* =========================================================
   7. SIDEBAR
========================================================= */

.terms-sidebar {

    position: sticky;

    top: 120px;

}


.sidebar-card {

    padding: 28px;

    background:

        linear-gradient(
            145deg,
            rgba(255,255,255,.075),
            rgba(255,255,255,.025)
        );

    border:

        1px solid var(--glass-border);

    border-radius: var(--radius);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    box-shadow: var(--shadow);

}


.sidebar-card h3 {

    color: white;

    font-size: 15px;

    margin-bottom: 20px;

}


.sidebar-card ul {

    list-style: none;

}


.sidebar-card li {

    margin-bottom: 4px;

}


.sidebar-card a {

    display: block;

    padding: 9px 12px;

    color: var(--muted);

    border-radius: 10px;

    font-size: 13px;

    transition: .3s;

}


.sidebar-card a:hover,
.sidebar-card a.active {

    color: var(--gold-light);

    background: rgba(212,175,55,.08);

    padding-left: 17px;

}


/* =========================================================
   8. TERMS DOCUMENT
========================================================= */

.terms-content {

    min-width: 0;

    padding: 65px;

    background:

        linear-gradient(
            145deg,
            rgba(255,255,255,.065),
            rgba(255,255,255,.025)
        );

    border: 1px solid var(--glass-border);

    border-radius: 32px;

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    box-shadow: var(--shadow);

}


/* =========================================================
   9. INDIVIDUAL TERMS BLOCKS
========================================================= */

.terms-block {

    position: relative;

    padding-bottom: 55px;

    margin-bottom: 55px;

    border-bottom:

        1px solid rgba(255,255,255,.08);

    scroll-margin-top: 120px;

}


.terms-block:last-of-type {

    border-bottom: none;

}


.section-number {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 30px;

    margin-bottom: 18px;

    border-radius: 30px;

    background: rgba(212,175,55,.1);

    border: 1px solid rgba(212,175,55,.25);

    color: var(--gold-light);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

}


.terms-block h2 {

    font-family: "Playfair Display", serif;

    color: white;

    font-size: clamp(1.8rem, 3vw, 2.5rem);

    line-height: 1.2;

    margin-bottom: 25px;

}


.terms-block h3 {

    color: var(--gold-light);

    font-size: 1.05rem;

    margin: 30px 0 12px;

}


.terms-block p {

    color: #b9c4ca;

    font-size: 15px;

    margin-bottom: 18px;

}


.terms-block strong {

    color: white;

}


/* =========================================================
   10. TERMS LIST
========================================================= */

.terms-list {

    list-style: none;

    margin: 25px 0;

}


.terms-list li {

    position: relative;

    padding: 8px 0 8px 28px;

    color: #bac5ca;

}


.terms-list li::before {

    content: "";

    position: absolute;

    left: 0;

    top: 17px;

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:

        0 0 12px rgba(212,175,55,.6);

}


/* =========================================================
   11. DEFINITIONS
========================================================= */

.definition-list {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

    margin-top: 25px;

}


.definition-list > div {

    padding: 25px;

    border-radius: 18px;

    background: rgba(255,255,255,.035);

    border: 1px solid rgba(255,255,255,.07);

    transition: .3s;

}


.definition-list > div:hover {

    transform: translateY(-4px);

    border-color: rgba(212,175,55,.3);

}


.definition-list strong {

    display: block;

    color: var(--gold-light);

    margin-bottom: 10px;

}


.definition-list p {

    margin-bottom: 0;

    font-size: 13px;

}


/* =========================================================
   12. IMPORTANT NOTICE
========================================================= */

.important-note {

    display: flex;

    gap: 18px;

    margin: 30px 0;

    padding: 22px;

    background:

        linear-gradient(
            135deg,
            rgba(212,175,55,.1),
            rgba(212,175,55,.025)
        );

    border:

        1px solid rgba(212,175,55,.22);

    border-left:

        3px solid var(--gold);

    border-radius: 16px;

}


.important-note > i {

    color: var(--gold);

    font-size: 22px;

    margin-top: 3px;

}


.important-note strong {

    display: block;

    color: var(--gold-light);

    margin-bottom: 5px;

}


.important-note p {

    margin-bottom: 0;

    font-size: 13px;

}


/* =========================================================
   13. CONTACT BLOCK
========================================================= */

.contact-block {

    padding: 35px;

    background:

        linear-gradient(
            135deg,
            rgba(212,175,55,.08),
            rgba(255,255,255,.025)
        );

    border:

        1px solid rgba(212,175,55,.18);

    border-radius: 22px;

}


.contact-details {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;

    margin-top: 30px;

}


.contact-details div {

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 16px;

    border-radius: 14px;

    background: rgba(0,0,0,.15);

    color: #c7d0d4;

    font-size: 13px;

}


.contact-details i {

    width: 35px;

    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(212,175,55,.1);

    color: var(--gold);

}


/* =========================================================
   14. FINAL NOTICE
========================================================= */

.terms-final-note {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 20px;

    padding: 25px;

    border-radius: 18px;

    background: rgba(255,255,255,.035);

    border: 1px solid rgba(255,255,255,.08);

}


.terms-final-note i {

    color: #58d68d;

    font-size: 25px;

}


.terms-final-note p {

    margin: 0;

    color: #c3cdd1;

    font-size: 13px;

}


/* =========================================================
   15. FOOTER
========================================================= */

.site-footer {

    padding: 80px 5% 25px;

    background: #030a0f;

    border-top: 1px solid rgba(255,255,255,.08);

}


.footer-container {

    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1.5fr;

    gap: 50px;

}


.footer-brand img {

    width: 90px;

    margin-bottom: 20px;

}


.footer-brand p {

    color: var(--muted);

    max-width: 250px;

}


.footer-links h4,
.footer-social h4 {

    color: white;

    margin-bottom: 20px;

}


.footer-links {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.footer-links a {

    color: var(--muted);

    font-size: 14px;

    transition: .3s;

}


.footer-links a:hover {

    color: var(--gold);

    transform: translateX(4px);

}


.social-icons {

    display: flex;

    gap: 12px;

}


.social-icons a {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: white;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.1);

    transition: .3s;

}


.social-icons a:hover {

    color: #000;

    background: var(--gold);

    transform: translateY(-4px);

}


.footer-bottom {

    max-width: 1400px;

    margin: 60px auto 0;

    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,.08);

    text-align: center;

}


.footer-bottom p {

    color: #718087;

    font-size: 12px;

}


/* =========================================================
   16. TABLET
========================================================= */

@media (max-width: 1100px) {

    .nav-links {

        gap: 15px;

    }


    .terms-container {

        grid-template-columns: 230px minmax(0,1fr);

        gap: 30px;

    }


    .terms-content {

        padding: 45px;

    }


    .footer-container {

        grid-template-columns: repeat(2, 1fr);

    }

}


/* =========================================================
   17. MOBILE NAVIGATION
========================================================= */

@media (max-width: 850px) {

    .nav-links {

        position: fixed;

        top: 95px;

        left: 5%;

        width: 90%;

        padding: 25px;

        flex-direction: column;

        align-items: stretch;

        background: rgba(5,15,22,.96);

        backdrop-filter: blur(20px);

        border: 1px solid rgba(255,255,255,.1);

        border-radius: 20px;

        transform: translateY(-20px);

        opacity: 0;

        visibility: hidden;

        transition: .3s;

    }


    .nav-links.active {

        transform: translateY(0);

        opacity: 1;

        visibility: visible;

    }


    .nav-links a {

        display: block;

        padding: 12px;

    }


    .nav-book {

        display: none;

    }


    .menu-toggle {

        display: block;

    }


    .terms-container {

        display: block;

    }


    .terms-sidebar {

        position: relative;

        top: auto;

        margin-bottom: 30px;

    }


    .sidebar-card {

        position: relative;

    }


    .sidebar-card ul {

        display: grid;

        grid-template-columns: repeat(2,1fr);

        gap: 3px;

    }

}


/* =========================================================
   18. MOBILE
========================================================= */

@media (max-width: 600px) {

    .site-header {

        padding: 10px 4%;

    }


    .navbar {

        min-height: 65px;

        border-radius: 17px;

    }


    .brand span {

        font-size: 12px;

    }


    .brand img {

        width: 40px;

        height: 40px;

    }


    .terms-hero {

        min-height: 60vh;

        padding: 130px 20px 80px;

    }


    .hero-content h1 {

        font-size: 3rem;

    }


    .hero-content > p {

        font-size: .9rem;

    }


    .hero-meta {

        flex-direction: column;

        gap: 10px;

    }


    .terms-section {

        padding: 60px 4%;

    }


    .terms-content {

        padding: 28px 20px;

        border-radius: 22px;

    }


    .terms-block {

        padding-bottom: 40px;

        margin-bottom: 40px;

    }


    .terms-block h2 {

        font-size: 1.8rem;

    }


    .terms-block p {

        font-size: 14px;

    }


    .definition-list {

        grid-template-columns: 1fr;

    }


    .contact-details {

        grid-template-columns: 1fr;

    }


    .contact-block {

        padding: 25px 20px;

    }


    .terms-final-note {

        align-items: flex-start;

    }


    .sidebar-card ul {

        grid-template-columns: 1fr;

    }


    .footer-container {

        grid-template-columns: 1fr;

        gap: 35px;

    }

}