* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #f8f1e6;
    --text-color: #24180d;
    --card-color: #ffffff;
    --main-color: #c99a3d;
    --gold-light: #f0cf78;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

body.dark-mode {
    --bg-color: #111;
    --text-color: #f7f0e4;
    --card-color: #1b1b1b;
}

body {
    font-family: Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
}

img,
video {
    width: 100%;
    display: block;
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(45, 25, 8, 0.42), rgba(45, 25, 8, 0.18));
    backdrop-filter: blur(8px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

body.hide-header .header {
    transform: translateY(-100%);
    opacity: 0;
}

.navbar {
    width: 94%;
    min-height: 110px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.brand img {
    width: 260px;
    max-height: 95px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 34px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--gold-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-actions button {
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    padding: 12px 24px;
    border-radius: 35px;
    cursor: pointer;
}

.wa-nav {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-nav img {
    width: 25px;
    height: 25px;
}

/* HERO */

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;

    background:
        linear-gradient(rgba(35, 22, 10, 0.35),
            rgba(35, 22, 10, 0.68)),
        url("assets/images/hero.png") center/cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    color: white;

    overflow: hidden;
}

.hero::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 140px;

    background: linear-gradient(to bottom,
            rgba(248, 241, 230, 0) 0%,
            rgba(248, 241, 230, 0.35) 30%,
            rgba(248, 241, 230, 0.7) 60%,
            var(--bg-color) 100%);

    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 1200px;
    width: 90%;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    background: linear-gradient(120deg, #f8e7b2, #d8a541, #fff2b8, #b9781e);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShine 20s linear infinite;
}

@keyframes goldShine {
    100% {
        background-position: 300% center;
    }
}

.hero-typing {
    position: relative;
    height: 55px;
    margin: 25px 0 35px;
    overflow: hidden;
}

.hero-typing span {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(15px);
    transition: 0.8s ease;
    font-size: clamp(1.1rem, 2vw, 1.7rem);
}

.hero-typing span.active {
    opacity: 1;
    transform: translateY(0);
}

/* BUTTONS */

.main-btn,
.small-btn,
.order-form button {
    background: linear-gradient(135deg, #8a5a18, #d4a85c, #8a5a18);
    color: white;
    text-decoration: none;
    border: 1px solid rgba(240, 207, 120, 0.7);
    padding: 15px 34px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 10px 25px rgba(201, 154, 61, 0.25);
}

.main-btn:hover,
.small-btn:hover,
.order-form button:hover {
    transform: translateY(-4px);
}

/* SECTIONS */

.section {
    width: 90%;
    margin: auto;
    padding: 90px 0;
}

.section h2 {
    font-size: 2.4rem;
    margin-bottom: 30px;
    color: var(--main-color);
    text-align: center;
}

.section p {
    max-width: 900px;
    margin: auto;
    text-align: justify;
    font-size: 1.15rem;
}

/* PACKAGES PREVIEW */

/* PACKAGES PREVIEW */

.packages-grid {
    max-width: 1150px;
    margin: 55px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 34px;
}

.package-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    width: 320px;
    height: 390px;
    background: #111;
    box-shadow:
        0 16px 35px rgba(0, 0, 0, 0.22),
        0 0 14px rgba(201, 154, 61, 0.12);
    transition: 0.45s ease;
}

.package-card:hover {
    transform: translateY(-10px) scale(1.015);
}

.package-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.package-card:hover .package-cover {
    transform: scale(1.08);
}

.package-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.88),
            rgba(0, 0, 0, 0.28),
            rgba(0, 0, 0, 0.05));
    z-index: 1;
}

.package-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 22px;
    z-index: 5;
    text-align: center;
}

.package-card h3 {
    color: #e0b04b;
    margin-bottom: 10px;
    font-size: 1.55rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.package-card p {
    color: rgba(255, 255, 255, 0.94);
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.package-card .small-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
    padding: 13px 32px;
}

.package-card .small-btn:hover {
    background: rgba(201, 154, 61, 0.9);
}

/* MOBILE */

@media (max-width: 700px) {

    .package-card {
        width: 100%;
        height: 380px;
    }

}

/* MOBILE */

@media (max-width: 900px) {

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .package-card,
    .package-card:nth-child(4),
    .package-card:nth-child(5) {
        grid-column: auto;
    }

    .package-card {
        max-width: 100%;
        height: 430px;
    }

}

/* ORDER */

#order {
    display: none;
}

#order.active {
    display: block;
}

.order-form {
    max-width: 700px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.order-form input,
.order-form select {
    padding: 16px;
    border: 1px solid rgba(201, 154, 61, 0.35);
    border-radius: 14px;
    background: var(--card-color);
    color: var(--text-color);
}

/* FOOTER */

.footer {
    background: #ffffff;
    color: #222222;
    padding: 70px 7% 45px;
    margin-top: 90px;
    border-top: 1px solid #eeeeee;
}

body.dark-mode .footer {
    background: #111111;
    color: #ffffff;
    border-top-color: rgba(255, 255, 255, 0.12);
}

.footer-layout {
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: flex-start;
    direction: ltr;
}

.footer-social-column {
    text-align: center;
}

.footer-social-column h3,
.footer-info-column h3,
.section h2 {
    color: #8a5a18;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.18),
        0 1px 1px rgba(255, 255, 255, 0.25);
}

body.dark-mode .footer-social-column h3,
body.dark-mode .footer-info-column h3,
body.dark-mode .section h2 {
    color: #d4a85c;
    text-shadow:
        0 2px 10px rgba(212, 168, 92, 0.25),
        0 1px 2px rgba(0, 0, 0, 0.6);
}

body.dark-mode .footer-social-column h3,
body.dark-mode .footer-info-column h3,
body.dark-mode .section h2 {
    color: #d4a85c;
}

.footer-socials {
    display: grid;
    grid-template-columns: repeat(4, 58px);
    justify-content: center;
    gap: 18px;
}

.footer-socials a {
    width: 58px;
    height: 58px;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: 0.3s ease;
}

.footer-socials a:hover {
    transform: translateY(-5px);
    border-color: var(--main-color);
}

.footer-socials img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-info-column {
    direction: rtl;
    text-align: right;
}

.footer-info-column h3 {
    color: var(--main-color);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.footer-info-column p {
    color: #222222;
    line-height: 2;
    font-size: 1.05rem;
}

body.dark-mode .footer-info-column p {
    color: #ffffff;
}

.footer-info-column p:first-of-type {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.08rem;
    font-weight: 700;
    color: #444444;
}

body.dark-mode .footer-info-column p:first-of-type {
    color: #ffffff;
}

.footer-info-column p:nth-of-type(2) {
    margin-top: 28px;
    margin-bottom: 22px;
    font-weight: 700;
    color: #222222;
}

body.dark-mode .footer-info-column p:nth-of-type(2) {
    color: #ffffff;
}

.footer-fast-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 18px 0 28px;
}

.footer-fast-links a {
    color: #000000;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 0.98rem;
    font-weight: 700;
    width: fit-content;
}

body.dark-mode .footer-fast-links a {
    color: #ffffff;
}

.footer-fast-links a:hover {
    color: var(--main-color);
    transform: translateX(-4px);
}

html[dir="ltr"] .footer-info-column {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .footer-fast-links a:hover {
    transform: translateX(4px);
}

.footer-copyright {
    width: 100%;
    text-align: right;
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
}

.footer-copyright p {
    font-size: 0.9rem;
    color: #444444;
}

body.dark-mode .footer-copyright {
    border-top-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .footer-copyright p {
    color: #ffffff;
}

/* FLOATING WHATSAPP */

.floating-whatsapp {
    position: fixed;
    left: 25px;
    bottom: 25px;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: 0.35s ease;
}

body.hide-header .floating-whatsapp {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-whatsapp img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

/* PACKAGE DETAILS PAGE */

.package-page {
    width: 90%;
    margin: auto;
    padding: 150px 0 90px;
}

.package-page h1 {
    text-align: center;
    color: var(--main-color);
    margin-bottom: 45px;
    font-size: 2.6rem;
}

.package-description {
    max-width: 900px;
    margin: 20px auto 45px;
    text-align: center;
    line-height: 2.2;
    font-size: 1.08rem;
    color: #444444;
    font-weight: 600;
}

body.dark-mode .package-description {
    color: #dddddd;
}

.media-viewer {
    max-width: 900px;
    margin: auto;
}

.main-media {
    background: var(--card-color);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.main-media img,
.main-media video {
    max-height: 600px;
    object-fit: contain;
    border-radius: 18px;
}

.media-controls {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.media-thumbs {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 14px;
}

.media-thumbs img,
.media-thumbs video {
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
}

/* PACKAGE GALLERY */

.package-gallery {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, calc((100% - 48px) / 3));
    gap: 24px;
    justify-content: center;
}

.package-gallery img.gallery-item,
.package-gallery video.gallery-item {
    width: 100%;
  height: 420px !important;
    object-fit: cover;
    object-position: center;

    border-radius: 26px;
    cursor: pointer;

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.18),
        0 0 14px rgba(201, 154, 61, 0.10);

    transition: 0.35s ease;
}

/* TABLET */

@media (max-width: 950px){

    .package-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

}


/* LIGHTBOX */

.media-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
}

.media-lightbox.active {
    display: flex;
}

.media-display {
    max-width: 85%;
    max-height: 82%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-display img,
.media-display video {
    width: auto;
    height: auto;
    max-width: 92vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 16px;
    transition: 0.2s ease;
}

.lightbox-close,
.lightbox-arrow,
.zoom-controls button {
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    cursor: pointer;
    border-radius: 50px;
    transition: 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2rem;
    width: 52px;
    height: 52px;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    width: 65px;
    height: 65px;
}

.lightbox-prev {
    left: 35px;
}

.lightbox-next {
    right: 35px;
}

.zoom-controls {
    position: absolute;
    bottom: 28px;
    display: flex;
    gap: 12px;
}

.zoom-controls button {
    padding: 12px 18px;
}

.lightbox-close:hover,
.lightbox-arrow:hover,
.zoom-controls button:hover {
    background: var(--main-color);
}

/* ARTICLES */

.articles-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

.article-card {
    background: var(--card-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 22px;
}

.article-card img {
    width: 240px;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    flex-shrink: 0;
}

.article-content {
    flex: 1;
}

.article-content h3 {
    color: var(--main-color);
    margin-bottom: 14px;
    font-size: 1.6rem;
}

.article-content p {
    margin-bottom: 18px;
    line-height: 1.9;
}

html[dir="rtl"] .article-card {
    flex-direction: row;
    text-align: right;
}

html[dir="ltr"] .article-card {
    flex-direction: row-reverse;
    text-align: left;
}

.article-detail-page {
    width: 90%;
    margin: auto;
    padding: 150px 0 90px;
}

.article-detail-container {
    max-width: 1100px;
    margin: auto;
    background: var(--card-color);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 35px;
}

.article-detail-image {
    width: 320px;
    height: 240px;
    object-fit: cover;
    border-radius: 22px;
    flex-shrink: 0;
}

.article-detail-content {
    flex: 1;
}

.article-detail-content h1 {
    color: var(--main-color);
    font-size: 2rem;
    margin-bottom: 22px;
}

.article-detail-content p {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 18px;
}

html[dir="rtl"] .article-detail-container {
    flex-direction: row;
    text-align: right;
}

html[dir="ltr"] .article-detail-container {
    flex-direction: row-reverse;
    text-align: left;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
}

/* MOBILE */

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--gold-light);
    cursor: pointer;
}

@media (max-width: 900px) {

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .package-card,
    .package-card:nth-child(4),
    .package-card:nth-child(5) {
        grid-column: auto;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 95px;
        right: 5%;
        width: 90%;
        background: rgba(43, 27, 14, 0.9);
        border-radius: 20px;
        flex-direction: column;
        padding: 24px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .brand img {
        width: 170px;
    }
}

@media (max-width: 850px) {

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-info-column {
        text-align: center;
    }

    .footer-fast-links {
        align-items: center;
    }

    .footer-copyright {
        text-align: center;
    }
}

@media (max-width: 750px) {

    .article-card,
    html[dir="ltr"] .article-card,
    html[dir="rtl"] .article-card {
        flex-direction: column;
        text-align: center;
    }

    .article-card img {
        width: 100%;
        height: 240px;
    }
}

@media (max-width: 800px) {

    .article-detail-container,
    html[dir="rtl"] .article-detail-container,
    html[dir="ltr"] .article-detail-container {
        flex-direction: column;
        text-align: center;
    }

    .article-detail-image {
        width: 100%;
        height: 240px;
    }
}

@media (max-width: 600px) {

    .package-gallery {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .package-gallery img.gallery-item,
    .package-gallery video.gallery-item {
        width: 100%;
    }

    .lightbox-arrow {
        width: 48px;
        height: 48px;
        font-size: 3rem;
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }
}

#about p {
    text-align: justify;
    max-width: 950px;
    line-height: 2.2;
}

html[lang="en"] #about p {
    text-align: center;
}

/* FINAL MOBILE HEADER FIX */

@media (max-width: 768px) {

    .navbar {
        width: 96%;
        min-height: 92px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        direction: ltr;
    }

    /* Left side: menu icon */
    .menu-toggle {
        display: block !important;
        order: 1;
        margin: 0 !important;
        font-size: 2.4rem;
        color: var(--gold-light);
        flex-shrink: 0;
    }

    /* Center: logo */
    .brand {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
        min-width: 0;
    }

    .brand img {
        width: 145px;
        max-height: 75px;
        object-fit: contain;
    }

    /* Right side: WhatsApp + language + theme */
    .nav-actions {
        order: 3;
        display: flex !important;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
        direction: ltr;
    }

    .wa-nav {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        flex-shrink: 0;
    }

    .wa-nav img {
        width: 22px;
        height: 22px;
        object-fit: contain;
    }

    .nav-actions button {
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: 25px;
    }

    .nav-links {
        direction: rtl;
        top: 92px;
        right: 5%;
        left: auto;
    }

    .hero h1 {
        font-size: 3.1rem;
        line-height: 1.4;
    }

    .hero-typing {
        height: 90px;
    }

    .hero-typing span {
        font-size: 1.25rem;
        line-height: 1.8;
    }

    .floating-whatsapp {
        left: 18px;
        bottom: 18px;
        width: 58px;
        height: 58px;
        z-index: 99999;
    }

    .floating-whatsapp img {
        width: 31px;
        height: 31px;
    }
}

.article-date {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 25px;
    font-weight: 500;
}


.article-main-image {
    width: 250px;
    height: auto;
    display: block;
    margin: 20px auto 30px;
    border-radius: 15px;
}