:root {
    --sand: #f0e9de;
    --ink: #1a1612;
    --warm: #c9a96e;
    --warm-red: #e06132;
    --muted: #8a7d6e;
    --accent: #ffffff;
    /* Changed from red to white for sober look */

    --font-main: 'Jost', sans-serif;
    --font-heading: 'Quicksand', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    background: var(--accent);
    color: var(--sand);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

.contact-img img {
    border-radius: 100px;
    border: 2px solid rgba(0, 0, 0, 0.4);
    width: 200px;
}

/* â”€â”€ Header â”€â”€ */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 22, 18, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(240, 233, 222, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--sand);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.02em;
}

h1>span {
    font-family: "Castoro Titling";
    font-weight: 300;
    font-style: normal;
}

.lang-switch {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-switch a {
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
}

.lang-switch a:hover,
.lang-switch a.active {
    transform: scale(1.1);
    opacity: 1;
}

/* â”€â”€ Main Layout â”€â”€ */
main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* â”€â”€ Hero â”€â”€ */
.hero-section {
    text-align: center;
    margin-bottom: 60px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 300;
    color: var(--ink);
    letter-spacing: 0.02em;
    margin-bottom: 10px;
    animation: fadeUp .9s .2s cubic-bezier(.22, 1, .36, 1) forwards;
    opacity: 0;
    font-weight: 500;
    text-transform: uppercase;
    font-style: italic;
}

.hero-subtitle {
    font-family: var(--font-main);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--muted);
    letter-spacing: 0.05em;
    animation: fadeUp .9s .4s cubic-bezier(.22, 1, .36, 1) forwards;
    opacity: 0;
}

/* â”€â”€ Dates Box â”€â”€ */
.upcoming-dates {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 30px 0 50px 0;
    animation: fadeUp .9s .6s cubic-bezier(.22, 1, .36, 1) forwards;
    opacity: 0;
}

.date-badge {
    background: rgba(240, 233, 222, 0.05);
    border: 1px solid rgba(240, 233, 222, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--sand);
    text-transform: uppercase;
}

.date-badge span {
    color: var(--warm);
    margin-right: 5px;
}

/* â”€â”€ Categories Menu â”€â”€ */
.categories-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    animation: fadeUp .9s .8s cubic-bezier(.22, 1, .36, 1) forwards;
    opacity: 0;
}

.cat-btn {
    background: transparent;
    border: 1px solid rgb(40 33 22 / 20%);
    color: var(--ink);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1.6rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.cat-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.cat-btn.active {
    background: var(--ink);
    color: var(--warm);
    border-color: var(--accent);
}

.custom-notice {
    text-align: center;
    font-style: italic;
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 60px;
    animation: fadeUp .9s 1s cubic-bezier(.22, 1, .36, 1) forwards;
    opacity: 0;
}

/* â”€â”€ Voyages Grid â”€â”€ */
.voyages-container {
    width: 100%;
}

.voyages-category {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.voyages-category.active {
    display: block;
}

.popup-voyage-badge {
    padding: 2px 5px;
    background: #c9a96e;
    border: 1px solid #8a7d6e;
    color: #f0e9de;
    font-weight: bold;
    font-size: 0.8rem;
    display: none;
}

.trip-card {
    background: rgba(240, 233, 222, 0.02);
    border: 1px solid rgba(240, 233, 222, 0.05);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.trip-card:hover {
    border-color: rgba(240, 233, 222, 0.15);
    transform: translateY(-2px);
}

.trip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(240, 233, 222, 0.1);
    padding-bottom: 15px;
    margin-bottom: 10px;
}

.trip-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--accent);
}

.trip-price {
    font-size: 1rem;
    color: var(--warm);
    font-weight: 400;
}

.trip-desc {
    font-weight: 300;
    color: rgba(240, 233, 222, 0.85);
    line-height: 1.8;
}

.trip-actions {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: var(--sand);
    color: var(--ink);
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background: white;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--ink);
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 300;
    transition: all 0.2s ease;
    border: 1px solid rgb(0 0 0 / 60%);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    border-color: var(--sand);
    background: var(--ink);
    color: var(--accent);
}

/* â”€â”€ Divider â”€â”€ */
.divider {
    width: 56px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--warm), transparent);
    margin: 60px auto;
}

/* â”€â”€ Contact Section â”€â”€ */
.contact-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: var(--ink);
}

.contact-desc {
    font-weight: 400;
    color: rgb(37 23 0 / 85%);
    line-height: 1.9;
    margin-bottom: 40px;
    text-align: justify;
    font-size: 18px;
}

.contact-form {
    background: rgba(240, 233, 222, 0.02);
    border: 1px solid rgba(240, 233, 222, 0.05);
    padding: 40px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--muted);
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(240, 233, 222, 0.2);
    color: var(--sand);
    padding: 10px 0;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--warm);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* â”€â”€ Footer â”€â”€ */
.footer {
    text-align: center;
    padding: 30px;
    font-size: .8rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    border-top: 1px solid rgba(240, 233, 222, 0.05);
    margin-top: auto;
    background-color: var(--ink);
    color: var(--sand);
}

/* â”€â”€ Background Effects â”€â”€ */
.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: -1;
}

.glow-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(201, 169, 110, .05) 0%, transparent 70%);
}

.glow-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(255, 255, 255, .02) 0%, transparent 70%);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 200px;
    pointer-events: none;
    z-index: -1;
    opacity: .5;
}

/* â”€â”€ Keyframes â”€â”€ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .trip-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .contact-form {
        padding: 20px;
    }
}

/* â”€â”€ Section Alt â”€â”€ */
.section-alt {
    background: rgba(240, 233, 222, 0.02);
    width: 100vw;
    position: relative;
    padding: 0px 20px;
}

/* â”€â”€ Grid System for Trips â”€â”€ */
.voyages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-card {
    background: rgb(233 228 186 / 80%);
    border: 1px solid rgb(100 65 9 / 28%);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.grid-card:hover {
    transform: translateY(-3px);
    border-color: rgba(240, 233, 222, 0.2);
}

.grid-card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.grid-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.grid-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--warm-red);
    margin-bottom: 5px;
}

.grid-card-price {
    font-size: 0.9rem;
    color: var(--warm);
    margin-bottom: 12px;
}

.grid-card-content p {
    color: rgb(54 37 10 / 70%);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}

.grid-actions {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

/* â”€â”€ Modal Overlay â”€â”€ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--ink);
    border: 1px solid rgba(240, 233, 222, 0.1);
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--sand);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent);
}

/* â”€â”€ Gallery Grid â”€â”€ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.gallery-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(240, 233, 222, 0.1);
}

/* --- Lightbox --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    user-select: none;
    transition: transform 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    line-height: 1;
    z-index: 3010;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 20px;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 3010;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }