/* Fonts */
@font-face {
    font-family: 'VisbyCF';
    src: url('font/Visby CF v4.2 OTF/VisbyCF-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'VisbyCF';
    src: url('font/Visby CF v4.2 OTF/VisbyCF-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'VisbyCF';
    src: url('font/Visby CF v4.2 OTF/VisbyCF-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'VisbyCF';
    src: url('font/Visby CF v4.2 OTF/VisbyCF-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'VisbyCF';
    src: url('font/Visby CF v4.2 OTF/VisbyCF-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'VisbyCF';
    src: url('font/Visby CF v4.2 OTF/VisbyCF-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'VisbyCF';
    src: url('font/Visby CF v4.2 OTF/VisbyCF-Heavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

:root {
    --gold: #d4af37;
    --gold-dark: #b8860b;
    --dark: #0a0a0a;
    --dark-muted: #1a1a1a;
    --white: #ffffff;
    --glass: #ffffff;
    --glass-border: #ffffff;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'VisbyCF', sans-serif;
    background-color: var(--dark);
    background-image: url('home page/background image/6362ccc3f6ade4bf8f93ebfc_goldem neeewArtboard 4.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--white);
    overflow-x: hidden;
}

/* Global Texture Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('home page/hero image bg/texstura Z-index top.png');
    background-repeat: repeat;
    opacity: 0.1;
    pointer-events: none;
    z-index: 100;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

#loader-lottie {
    width: 200px;
    height: 200px;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
    border-bottom: 1px solid rgba(192, 192, 211, 0.2);
}

#navbar.scrolled {
    background: transparent;
    backdrop-filter: blur(5px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(192, 192, 211, 0.4);
}

.nav-container {
    width: 98%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark);
}

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

.btn-gold {
    background: var(--gold);
    color: var(--dark);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    background: var(--white);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-destinations {
    background: transparent;
    border: 1px solid #fff;
    color: var(--white);
    padding: 8px 20px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 2px;
}

.btn-destinations:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-hero-small {
    background: #ffffff;
    color: #000000;
    font-weight: 100;
    font-size: 10px;
    padding: 6px 14px;
    border-radius: 2px;
    letter-spacing: 2px;
    border: none;
    box-shadow: none;
    text-transform: none !important;
}

.btn-hero-small:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.texture-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('home page/hero image bg/texstura Z-index top.png');
    background-repeat: repeat;
    z-index: 10;
    pointer-events: none;
    opacity: 0.6;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}



.hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 5;
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#hero-lottie {
    width: 700px;
    height: 700px;
    margin: -30px auto 0;
}

.hero h1 {
    font-size: 104px;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 85px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -1px;
    margin-bottom: 30px;
    opacity: 1;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.next-tour-banner {
    background: var(--gold);
    color: var(--dark);
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.next-tour-banner strong {
    font-weight: 800;
}

/* Hero Section Refinement */
.hero-content {
    opacity: 0;
    animation: fadeInUpHero 1s ease forwards 2s;
}

@keyframes fadeInUpHero {
    from { opacity: 0; transform: translate(-50%, calc(-50% + 30px)); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

/* Tour Sections */
.tour-section {
    position: relative;
    padding: 15px 0; /* External spacing between giant bars */
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    z-index: 20;
}

#beafit {
    margin-top: -1000px;
}

.bar-wrapper {
    width: 98%;
    max-width: 1800px;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #050314 !important; /* Solid base to prevent bleed-through */
    border: none;
    border-radius: 20px;
    padding: 80px 40px 40px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    opacity: 1 !important;
}

/* Dark overlay for readability */
.bar-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #050314 0%, #050314 40%, #050314 70%, transparent 100%);
    z-index: 1;
}

.bar-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    position: relative;
    z-index: 2;
    gap: 40px;
    padding-left: 40px;
}

.bar-logo-col {
    flex-shrink: 0;
}

.section-logo {
    width: 100%;
    max-width: 120px;
    height: auto;
    opacity: 1;
}

.generic-icon {
    width: 80px;
    height: 80px;
    background: var(--gold);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    border-radius: 50%;
}

.bar-text-col {
    flex-grow: 1;
}

.bar-text-col h2 {
    font-family: 'VisbyCF', sans-serif;
    font-weight: 400; /* Visby Regular */
    font-size: 58px;
    line-height: 0.9;
    margin-bottom: 25px;
    color: var(--white);
    letter-spacing: -3px;
}

.bar-text-col p {
    font-size: 20px;
    line-height: 1.6;
    opacity: 1;
    font-weight: 300; /* Visby Light */
    margin-bottom: 0;
    max-width: 800px;
}

.bar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 60px 0 20px;
    position: relative;
    z-index: 2;
}

.bar-bottom {
    display: grid;
    grid-template-columns: 140px repeat(4, 1fr) 200px;
    align-items: flex-end; /* Align to bottom to keep labels unified */
    gap: 30px;
    position: relative;
    z-index: 2;
}

.bar-bottom::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.strip-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.item-meta-top {
    display: flex;
    flex-direction: column;
}

.item-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    color: var(--white);
    line-height: 1.2;
}

.item-location {
    font-size: 11px;
    opacity: 0.6;
    font-weight: 400;
    margin-top: 2px;
}

.photo-bar {
    height: 70px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.photo-bar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.item-meta-bottom {
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.7;
    min-height: 34px; /* Ensure 2 lines don't break layout */
}

.bar-action-col {
    padding-bottom: 40px; /* Align button with image grid */
}

.bar-bottom .bar-logo-col {
    padding-bottom: 40px;
}

/* Removed photo-bar hover interaction */

/* Journal Section */
.journal-section {
    padding: 100px 0;
    background: var(--dark-muted);
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(Auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.journal-card {
    background: var(--dark);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.journal-card:hover {
    transform: translateY(-10px);
}

.journal-img {
    height: 200px;
}

.journal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journal-content {
    padding: 25px;
}

/* Transitions */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Styling */
footer {
    background: var(--dark);
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 25px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold);
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-form input {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: 30px;
    color: var(--white);
    width: 100%;
    margin-bottom: 15px;
}

/* Mobile Menu Btn */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Responsive */
@media (max-width: 1200px) {
    .bar-wrapper {
        padding: 60px;
    }
    .bar-text-col h2 { font-size: 60px; }
}

@media (max-width: 1024px) {
    .bar-bottom {
        grid-template-columns: 100px repeat(2, 1fr) 140px;
        gap: 15px;
    }
    .photo-bar:nth-child(n+4) { display: none; } /* Show fewer images on tablet */
}

@media (max-width: 768px) {
    .hero-content { top: 38%; }
    .texture-overlay-top { display: none; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark);
        display: flex;
        flex-direction: column;
        z-index: 1000;
        gap: 40px;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 { 
        font-size: 48px; 
        line-height: 44px; 
        letter-spacing: -1px; 
        margin-bottom: 15px;
    }
    .hero p { font-size: 15px; margin-bottom: 20px; }
    
    .hero-btns { 
        flex-direction: row; 
        justify-content: center;
        width: 100%; 
        gap: 10px;
        margin-bottom: 10px;
    }

    .btn-hero-small {
        font-size: 9px;
        padding: 5px 10px;
    }

    #hero-lottie {
        width: 100%;
        max-width: 340px;
        height: auto;
        margin: -20px auto 0;
    }

    #beafit {
        margin-top: -80px;
    }

    .bar-wrapper {
        padding: 40px 20px 30px;
        border-radius: 14px;
        min-height: auto;
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
        position: relative !important;
        background-color: #050314 !important; /* Solid mobile base */
        background-position: top center !important; /* Top: 0% in screenshot */
        background-size: 100% 602px !important; /* Exact Height: 602px from screenshot */
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }

    .bar-wrapper::before {
        background: linear-gradient(to top, #050314 0%, #050314 45%, #050314 65%, transparent 100%) !important;
        z-index: 1 !important; /* Just behind content */
        opacity: 1 !important;
    }

    .bar-top { 
        flex-direction: column;
        align-items: flex-start;
        text-align: left; 
        gap: 20px;
    }
    .bar-text-col h2 { font-size: 38px; letter-spacing: -1px; text-align: left; }
    .bar-text-col p { font-size: 16px; text-align: left; margin: 0 0 20px; }

    .bar-text-col {
        order: 1 !important;
    }

    .bar-logo-col {
        width: 100%;
        display: flex;
        justify-content: center;
        order: 2 !important; /* Logo after text */
        margin-top: 20px;
        margin-bottom: 0;
    }

    .bar-bottom {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 10px !important;
    }

    .strip-item { 
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-bottom: 40px !important;
        text-align: left !important;
        position: relative !important;
    }

    .item-meta-top { 
        display: contents !important; 
    }

    .item-title { 
        order: 1 !important; 
        font-weight: 800 !important;
        font-size: 20px !important;
        margin-bottom: 4px !important;
        color: #fff !important;
    }

    .item-meta-bottom { 
        order: 2 !important; 
        margin-bottom: 0 !important;
        opacity: 0.9 !important;
        font-size: 14px !important;
        font-weight: 300 !important;
    }

    /* Horizontal line between sections */
    .strip-item::after {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.15);
        margin: 15px 0;
        order: 3 !important;
    }

    .item-location {
        order: 4 !important;
        align-self: flex-end !important; /* Right side */
        margin-bottom: 2px !important; /* Pegadito to photo */
        border: 1px solid rgba(255, 255, 255, 0.6) !important;
        border-radius: 4px !important;
        padding: 2px 8px !important;
        font-size: 9px !important;
        text-transform: uppercase !important;
        color: #fff !important;
        background: rgba(5, 3, 20, 0.5);
    }

    .photo-bar { 
        order: 5 !important;
        width: 100% !important;
        height: auto !important;
    }

    .photo-bar img {
        display: block !important;
        width: 100% !important;
        height: 100px !important; /* Compact bar style */
        object-fit: cover !important;
        border-radius: 8px !important;
    }

    .bar-action-col {
        order: 99 !important; 
        padding-top: 40px !important;
        display: flex !important;
        justify-content: center !important;
    }

    .bar-action-col .btn {
        background: #fff !important;
        color: #050314 !important;
        border-radius: 2px !important; /* Square-ish */
        border: none !important;
        padding: 12px 30px !important;
        font-weight: 800 !important;
        font-size: 12px !important;
        text-transform: uppercase !important;
    }

    .bar-bottom .bar-logo-col .section-logo {
        max-width: 90px !important; 
        margin: 0 auto 30px !important;
    }
}

@media (max-width: 600px) {
    .footer-container { grid-template-columns: 1fr; }
    .bar-text-col h2 { font-size: 32px; }
}
