/* =========================================
   TIMLALINE TAGHAZOUT
   LUXURY GOLDEN SAND EXPERIENCE
   EXTREME MOTION DESIGN
========================================= */

:root {
    --gold: #c49b5c;
    --gold-light: #e3c797;
    --sand: #ead8b8;
    --beige: #f0e1c9;
    --warm-beige: #f5ead8;
    --cream: #fbf7ef;

    --text: #604c34;
    --text-soft: #806c52;
    --text-light: #9a856a;

    --white: #fffdf8;
    --border: rgba(169, 128, 73, .25);
    --shadow: 0 18px 45px rgba(112, 82, 43, .12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: Arial, sans-serif;
    background:
        linear-gradient(
            180deg,
            #d9bd8d 0%,
            #e5cda6 13%,
            #ead8b8 27%,
            #f0e1c9 43%,
            #f4e9d7 59%,
            #f8f1e5 76%,
            #fcf9f3 100%
        );
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

body.lightbox-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* =========================================
   LOADER
========================================= */

.loader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at center, #f8e8c9, transparent 65%),
        linear-gradient(135deg, #d8b77f, #f3e4ca);
    transition: opacity .8s, visibility .8s;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    animation: loaderZoom 1.5s ease infinite alternate;
}

.loader-content span {
    color: #806039;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 8px;
}

.loader-content p {
    color: #92764d;
    letter-spacing: 5px;
    font-size: 11px;
}

@keyframes loaderZoom {
    from {
        transform: scale(.88);
        opacity: .65;
    }
    to {
        transform: scale(1.07);
        opacity: 1;
    }
}

/* =========================================
   SCROLL PROGRESS
========================================= */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    z-index: 100001;
    background: linear-gradient(
        90deg,
        #b98a4c,
        #e9cb91,
        #fff0ce
    );
    box-shadow: 0 0 15px rgba(190, 145, 77, .6);
}

/* =========================================
   CURSOR LIGHT
========================================= */

.cursor-light {
    position: fixed;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(221, 183, 119, .18),
        rgba(245, 224, 190, .06) 40%,
        transparent 72%
    );
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* =========================================
   HEADER
========================================= */

.header {
    padding: 20px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(250, 245, 235, .88);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(174, 132, 75, .25);
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 25px rgba(100, 74, 39, .06);
}

.logo {
    color: #806039;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo span {
    color: #b18a54;
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav a {
    color: #715b40;
    font-size: 14px;
    font-weight: 700;
    transition: .3s;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #b88b50, #e6c58f);
    transition: .35s;
}

.nav a:hover,
.nav a.active {
    color: #b08347;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

/* =========================================
   HERO
========================================= */

.hero {
    min-height: 85vh;
    padding: 100px 8%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(38, 29, 20, .76),
            rgba(55, 40, 24, .34),
            rgba(60, 43, 25, .08)
        ),
        url("images/hero.jpg") center/cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(220, 192, 148, .18),
        transparent 45%
    );
    pointer-events: none;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
    animation: heroEntrance 1.2s cubic-bezier(.2,.8,.2,1) both;
}

.eyebrow {
    color: #f0d4a5;
    letter-spacing: 4px;
    font-size: 12px;
    font-weight: bold;
}

.hero h1 {
    max-width: 750px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 1.08;
    margin-top: 18px;
    color: #fffaf0;
    text-shadow: 0 8px 35px rgba(0,0,0,.3);
}

.hero p {
    margin-top: 20px;
    font-size: 18px;
    color: #f5e5cb;
    max-width: 550px;
}

@keyframes heroEntrance {
    from {
        opacity: 0;
        transform: translateY(55px) scale(.96);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* =========================================
   BUTTONS
========================================= */

.btn,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    margin-top: 25px;
    background: linear-gradient(
        110deg,
        #c49a5d,
        #eddbb6,
        #d0a76c
    );
    background-size: 200% auto;
    color: #49351f;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: .45s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(126, 91, 43, .16);
}

.btn:hover,
.button:hover {
    transform: translateY(-5px) scale(1.035);
    background-position: right center;
    box-shadow: 0 15px 35px rgba(145, 105, 51, .25);
}

/* =========================================
   SECTIONS
========================================= */

section,
.section {
    padding: 85px 7%;
    position: relative;
}

section h2 {
    color: #80613b;
    font-size: 34px;
    margin-bottom: 20px;
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading > p:last-child {
    color: var(--text-soft);
}

/* =========================================
   REVEAL ANIMATIONS
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.2,.8,.2,1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   HIGHLIGHTS
========================================= */

.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: linear-gradient(
        135deg,
        rgba(228, 204, 165, .55),
        rgba(244, 230, 207, .55)
    );
}

.highlight {
    padding: 30px 22px;
    background: linear-gradient(
        145deg,
        rgba(255, 252, 245, .82),
        rgba(238, 221, 192, .75)
    );
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: .45s;
}

.highlight:hover {
    transform: translateY(-9px) scale(1.025);
    border-color: #c69d63;
    box-shadow: 0 20px 45px rgba(112, 82, 43, .17);
}

.highlight span {
    color: #b18a51;
    font-size: 28px;
    font-weight: 900;
}

.highlight h3 {
    color: #765b39;
    margin: 10px 0;
}

.highlight p {
    color: var(--text-soft);
}

/* =========================================
   ACTIVITIES
========================================= */

.activities {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.activity-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 18px;
    background: linear-gradient(
        145deg,
        rgba(255, 253, 247, .88),
        rgba(239, 224, 198, .78)
    );
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(113, 82, 43, .10);
    transition: border-color .4s, box-shadow .4s, transform .4s;
    transform-style: preserve-3d;
}

.activity-card:hover {
    border-color: #c59b60;
    box-shadow: 0 22px 50px rgba(113, 82, 43, .18);
}

.activity-image {
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 19px;
    background: #e6d2b1;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 19px;
    transition: transform .8s cubic-bezier(.2,.8,.2,1);
    cursor: zoom-in;
}

.activity-card:hover .activity-image img {
    transform: scale(1.065);
}

.activity-info {
    padding: 10px 8px;
}

.activity-info > span {
    color: #a27a43;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;
}

.activity-info h3 {
    color: #806039;
    font-size: 25px;
    margin: 8px 0;
}

.activity-info p {
    color: var(--text-soft);
    margin-bottom: 10px;
}

.activity-info .price {
    color: #a47a42;
    font-size: 22px;
    font-weight: bold;
}

.price-note {
    font-size: 13px;
    color: #9a856a;
}

/* =========================================
   PACKAGE
========================================= */

.package {
    background:
        radial-gradient(
            circle at top right,
            rgba(255,255,255,.65),
            transparent 55%
        ),
        linear-gradient(
            145deg,
            #ead6b2,
            #f5ead8,
            #e8d2ad
        );
    border: 1px solid rgba(173, 132, 76, .35);
    border-radius: 26px;
    padding: 45px 30px;
    text-align: center;
    box-shadow: 0 20px 55px rgba(110, 78, 39, .13);
}

.package h2 {
    color: #806039;
}

.package > p {
    color: #806c52;
}

.package-activities {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.package-activities span {
    padding: 10px 20px;
    background: rgba(255, 252, 244, .65);
    border: 1px solid rgba(174, 132, 75, .35);
    border-radius: 30px;
    color: #85663e;
    transition: .35s;
}

.package-activities span:hover {
    background: #d6b47e;
    color: #fffdf8;
    transform: translateY(-5px);
}

.package-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.package-price .old-price {
    text-decoration: line-through;
    color: #a18c70;
    font-size: 22px;
}

.package-price strong {
    font-size: 48px;
    color: #a77d43;
}

.package-price > span:last-child {
    color: #99713c;
    font-weight: bold;
}

/* =========================================
   SUNSET BANNER
========================================= */

.sunset-banner {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(
            rgba(43, 31, 20, .40),
            rgba(43, 31, 20, .58)
        ),
        url("images/sunset.jpg") center/cover no-repeat;
}

.sunset-banner h2 {
    color: white;
    font-size: clamp(30px, 5vw, 45px);
    text-shadow: 0 5px 20px rgba(0,0,0,.3);
}

.sunset-banner p {
    color: #f4e5cb;
}

/* =========================================
   GALLERY
========================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    border-radius: 19px;
    border: 2px solid rgba(171, 128, 70, .35);
    box-shadow: 0 10px 28px rgba(113, 82, 43, .10);
    transition: transform .5s, border-color .5s, box-shadow .5s;
    cursor: zoom-in;
}

.gallery-grid img:hover {
    transform: scale(1.035) translateY(-4px);
    border-color: #bd9459;
    box-shadow: 0 18px 35px rgba(113, 82, 43, .18);
}

/* =========================================
   RESERVATION
========================================= */

.reservation-section {
    padding: 110px 7%;
    background:
        radial-gradient(
            circle at top left,
            rgba(255,255,255,.8),
            transparent 55%
        ),
        linear-gradient(
            135deg,
            #f0e1c9,
            #f8f1e5,
            #fcf9f3
        );
    scroll-margin-top: 90px;
}

.reservation-container {
    max-width: 900px;
    margin: auto;
    padding: 48px;
    background: rgba(255, 253, 248, .92);
    border: 1px solid rgba(181, 140, 84, .32);
    border-radius: 28px;
    box-shadow: 0 25px 70px rgba(105, 78, 42, .13);
}

.reservation-heading {
    text-align: center;
    margin-bottom: 38px;
}

.reservation-heading .eyebrow {
    color: #a47a43;
}

.reservation-heading h2 {
    color: #806039;
    font-size: clamp(30px, 5vw, 48px);
    margin: 12px 0;
}

.reservation-heading p:last-child {
    color: #806c52;
    line-height: 1.7;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #806039;
    font-size: 14px;
    font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid #e0cba9;
    border-radius: 13px;
    background: #fffefa;
    color: #59452d;
    font-family: Arial, sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color .3s, box-shadow .3s, transform .3s;
}

.form-group textarea {
    min-height: 125px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #c49b5c;
    box-shadow: 0 0 0 4px rgba(196, 155, 92, .15);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ad9b82;
}

.form-group [hidden] {
    display: none !important;
}

.reservation-submit {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    min-height: 60px;
    margin-top: 30px;
    padding: 15px 25px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 15px;
    background: linear-gradient(
        110deg,
        #b88a4e,
        #e6ca97,
        #c59a60
    );
    background-size: 200% auto;
    color: #fffdf7;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(125, 83, 42, .18);
    transition: transform .3s, box-shadow .3s, background-position .4s;
}

.reservation-submit:hover {
    transform: translateY(-4px);
    background-position: right center;
    box-shadow: 0 17px 35px rgba(125, 83, 42, .25);
}

.reservation-submit span {
    font-size: 23px;
}

.reservation-note {
    margin-top: 18px;
    color: #8b785e;
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
}

/* =========================================
   ABOUT
========================================= */

.about {
    background: linear-gradient(
        135deg,
        rgba(255, 253, 247, .83),
        rgba(240, 226, 204, .78)
    );
    border-radius: 24px;
    padding: 45px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.about h2 {
    color: #806039;
}

.about p {
    color: #806c52;
    font-size: 17px;
}

/* =========================================
   CONTACT
========================================= */

.contact-list,
.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 25px;
}

.contact-card,
.contact-links a {
    min-width: 200px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: linear-gradient(
        145deg,
        rgba(255, 253, 248, .94),
        rgba(239, 224, 199, .82)
    );
    color: #765b39;
    border: 1px solid var(--border);
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(113, 82, 43, .09);
    transition: .4s;
}

.contact-card span {
    color: #a17a47;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
}

.contact-card strong {
    color: #806c52;
}

.contact-card .brand-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.contact-card:hover,
.contact-links a:hover {
    transform: translateY(-7px);
    border-color: #c49b5c;
    box-shadow: 0 18px 38px rgba(113, 82, 43, .16);
}

/* =========================================
   LIGHTBOX
========================================= */

.timlaline-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: rgba(38, 29, 20, .88);
    backdrop-filter: blur(13px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.timlaline-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-panel {
    position: relative;
    width: min(75vw, 950px);
    height: 72vh;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6eddf;
    border: 1px solid rgba(233, 197, 142, .6);
    border-radius: 28px;
    box-shadow: 0 25px 80px rgba(0,0,0,.45);
    transform: scale(.92);
    transition: transform .35s;
}

.timlaline-lightbox.active .lightbox-panel {
    transform: scale(1);
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(112, 82, 43, .9);
    color: white;
    font-size: 27px;
    cursor: pointer;
    transition: .3s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: #d0a66d;
    color: #fff;
    transform: scale(1.08);
}

.lightbox-close {
    top: 14px;
    right: 14px;
}

.lightbox-prev {
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.08);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.08);
}

.lightbox-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: #806039;
    font-size: 12px;
}

/* =========================================
   FOOTER
========================================= */

.footer,
footer {
    padding: 35px 7%;
    text-align: center;
    background: linear-gradient(
        120deg,
        #ead8b8,
        #f5ead8,
        #fbf7ef
    );
    color: #806c52;
    border-top: 1px solid rgba(169, 128, 73, .25);
}

.footer h3 {
    color: #806039;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

/* =========================================
   RIPPLE EFFECT
========================================= */

.button-ripple {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    transform: translate(-50%,-50%);
    pointer-events: none;
    animation: rippleEffect .65s ease-out forwards;
}

@keyframes rippleEffect {
    to {
        width: 350px;
        height: 350px;
        opacity: 0;
    }
}

/* =========================================
   EXTRA PREMIUM EFFECTS
========================================= */

.activity-card,
.highlight,
.package,
.about,
.contact-card {
    animation: softEntrance .8s ease both;
}

@keyframes softEntrance {
    from {
        opacity: .75;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

::selection {
    background: #d8b77f;
    color: #fffdf8;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f7efe2;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #c49b5c,
        #ead8b8
    );
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a98149;
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 700px) {

    .header {
        flex-direction: column;
        gap: 14px;
        padding: 17px 5%;
    }

    .logo {
        font-size: 17px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 16px;
    }

    .nav a {
        font-size: 12px;
    }

    .hero {
        min-height: 70vh;
        padding: 75px 6%;
        background-position: center;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 15px;
    }

    section,
    .section {
        padding: 60px 5%;
    }

    .highlights {
        grid-template-columns: 1fr;
    }

    .activity-image {
        height: 260px;
    }

    .activity-card {
        padding: 13px;
        border-radius: 19px;
    }

    .activity-info h3 {
        font-size: 22px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .gallery-grid img {
        height: 190px;
        border-radius: 14px;
    }

    .package {
        padding: 25px 18px;
    }

    .package-price strong {
        font-size: 38px;
    }

    .sunset-banner {
        min-height: 280px;
    }

    .about {
        padding: 25px;
    }

    .contact-list,
    .contact-links {
        flex-direction: column;
    }

    .contact-card,
    .contact-links a {
        width: 100%;
    }

    .reservation-section {
        padding: 65px 5%;
    }

    .reservation-container {
        padding: 26px 18px;
        border-radius: 21px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    .lightbox-panel {
        width: 85vw;
        height: 60vh;
        padding: 12px;
        border-radius: 22px;
    }

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 38px;
        height: 38px;
        font-size: 23px;
    }

    .cursor-light {
        display: none;
    }
}

/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 35px;
    }

    .nav {
        gap: 10px 12px;
    }

    .nav a {
        font-size: 11px;
    }

    .gallery-grid img {
        height: 155px;
    }

    .activity-image {
        height: 220px;
    }
}

/* =========================================
   REDUCED MOTION ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}