/* ==========================================================================
   Base Styles
   ========================================================================== */

/* Background Video */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.bg-video video {
    min-width: 100vw;
    min-height: 100vh;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Layout Containers */
.content-container {
    height: 100vh;
    overflow-y: auto;
    padding: 20px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding-top: 150px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header & Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    z-index: 200;
}

.header h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 48px;
    color: #2c3e50;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
    background: linear-gradient(120deg, var(--teal), var(--ocean));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 201;
}

.desktop-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.desktop-nav li {
    margin-right: 20px;
}

.desktop-nav a {
    text-decoration: none;
    color: #333;
    font-family: 'Yeseva One', serif;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #34495e;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    padding: 10px;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.hamburger.hidden {
    opacity: 0;
    pointer-events: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin-bottom: 5px;
    background-color: #333;
    border-radius: 2px;
}

/* Close Button (X) */
.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    width: 25px;
    height: 25px;
    padding: 10px;
}

.close-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    position: absolute;
    top: 50%;
}

.close-menu span:first-child {
    transform: rotate(45deg);
}

.close-menu span:last-child {
    transform: rotate(-45deg);
}

/* Mobile Menu Styles */
.menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 60px 20px 20px;
    transition: transform 0.3s ease-in-out;
    z-index: 999;
    transform: translateX(100%);
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(45deg, 
        rgba(255,255,255,0.95), 
        rgba(255,255,255,0.95)), 
        url('Pictures/geometric-pattern.png');
}

.menu.open {
    transform: translateX(0);
}

.menu ul {
    list-style-type: none;
    padding: 0;
    margin: 40px 0 0 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.menu li {
    margin-bottom: 0;
    text-align: left;
    width: 100%;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-size: 26px;
    display: block;
    padding: 15px 10px;
    transition: background-color 0.3s ease;
    font-weight: bold;
    text-align: left;
    font-family: 'Yeseva One', serif;
    font-size: 24px;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.menu a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

/* Content Boxes */
.rounded-box {
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(44, 62, 80, 0.2);
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    margin: 20px auto;
    text-align: center;
}

.rounded-box img {
    max-width: 80%;
    border: none;
    border-radius: 10px;
}

.island-shaped-box {
    position: relative;
    width: 300px;
    height: 300px;
    background: url('Pictures/big_island.png') no-repeat center / contain;
    filter: opacity(0.8) brightness(200%);
    text-align: center;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    clip-path: path("M 0,0 H 100% V 100% H 0 Z");
    margin: 0 auto;
    padding-right: 25px;
}

.island-shaped-box p {
    margin: 5px 0;
    z-index: 1;
    width: 100%;
    text-align: center;
    padding-right: 25px;
}

/* Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.column {
    flex: 50%;
    max-width: 50%;
    padding: 0 4px;
    box-sizing: border-box;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    cursor: pointer;
    border-radius: 10px;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 80%;
    max-height: 80%;
}

.close-btn {
    color: black;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

#lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}



/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (min-width: 768px) {
    .desktop-nav {
        display: block;
    }

    .hamburger {
        display: none !important;
    }

    .menu {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

/* Ensure the body has no unexpected margins */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


.itinerary-item {
    margin: 30px 0;
    text-align: left;
    padding: 0 20px;
}

.itinerary-item h3 {
    color: #333;
    margin-bottom: 10px;
}

.itinerary-item p {
    margin: 5px 0;
}

.itinerary-item .note {
    font-style: italic;
    color: #666;
    margin-top: 10px;
}

/* Explore page styles */
.location-item {
    display: flex;
    align-items: start;
    gap: 20px;
    padding: 10px;
}

.location-item .thumbnail {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid white;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.location-item .content {
    flex-grow: 1;
}

.location-item h3 {
    color: #333;
    margin-bottom: 10px;
}

.location-item p {
    margin: 15px 0;
    line-height: 1.6;
}

.rounded-box {
    margin: 20px auto;
}

.rounded-box:first-child {
    text-align: center;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;500;600&family=Lato:wght@300;400;700&family=Abril+Fatface&family=DM+Serif+Display&family=Yeseva+One&display=swap');

/* Update font styles */
body {
    font-family: 'Lato', sans-serif;
    color: #2c3e50;
}

h1, h2, h3, .header h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.header h1 {
    font-size: 42px;
    color: #2c3e50;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.desktop-nav a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.menu a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.rounded-box h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.rounded-box h2 {
    font-size: 28px;
    color: #34495e;
    font-weight: 500;
}

.location-item h2, .location-item h3 {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
}

.location-item p {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #34495e;
}

/* Mid-century modern color palette */
:root {
    --teal: #00897B;
    --coral: #FF7043;
    --mustard: #FDD835;
    --sage: #7CB342;
    --ocean: #039BE5;
}


/* Retro hover effects */
.desktop-nav a:hover {
    color: var(--coral);
    transition: color 0.3s ease;
    text-decoration: underline wavy var(--coral);
    text-underline-offset: 5px;
}

/* Add mid-century geometric patterns */
.menu {
    background-image: linear-gradient(45deg, 
        rgba(255,255,255,0.95), 
        rgba(255,255,255,0.95)), 
        url('Pictures/geometric-pattern.png');
}

/* Add retro button styles */
.button {
    background-color: var(--teal);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-family: 'DM Serif Display', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.button:hover {
    background-color: var(--coral);
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}