/* --- CSS STYLING --- */
body, html { margin: 0; padding: 0; overflow: hidden; background-color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #fff; }

/* 1. Canvas Container */
#canvas-container { width: 100vw; height: 100vh; display: block;  margin-top: -85px;   /* ← moves globe up */}

/* 2. UI Elements */
.ui-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }

/* Tooltip (Hover Preview) */
#tooltip {
    position: absolute;
    background: rgba(0, 0, 0);
    border: 1px solid #333;
    padding: 10px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    transform: translate(-50%, -120%);
    text-align: center;
    backdrop-filter: blur(5px);
    z-index: 10;
}
#tooltip img { width: 80px; height: 60px; object-fit: cover; margin-bottom: 5px; display: block; border-radius: 2px; }
#tooltip span { font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; }

/* Corporate Button */
#corp-btn {
    position: absolute;
    bottom: 40px;
    left: 40px;
    pointer-events: auto;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 12px 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(-85px);  /* ← shifts button up */
}
#corp-btn:hover { background: #fff; color: #000; border-color: #fff; }

#beach-btn {
    position: absolute;
    bottom: 90px;              /* 50px above corporate button */
    left: 40px;
    transform: translateY(-85px);  /* same vertical shift as corp-btn */
    pointer-events: auto;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 12px 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#beach-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* 3. Side Drawer (Album View) */
#side-drawer {
    position: absolute;
    top: 0;
    right: -500px;
    width: 400px;
    height: 100%;
    background: #111;
    border-left: 1px solid #333;
    pointer-events: auto;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    z-index: 20;
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
}
#side-drawer.open { right: 0; }

.drawer-header { padding: 30px; border-bottom: 1px solid #222; display: flex; justify-content: space-between; align-items: center; }
.drawer-header h2 { margin: 0; font-weight: 300; letter-spacing: 2px; text-transform: uppercase; font-size: 1.2rem; }
.close-btn { cursor: pointer; font-size: 1.5rem; color: #666; transition: color 0.2s; }
.close-btn:hover { color: #fff; }

.drawer-content { flex: 1; overflow-y: auto; padding: 30px; }
.grid-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.grid-item { width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 4px; cursor: pointer; position: relative; }
.grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; opacity: 0.8; }
.grid-item:hover img { transform: scale(1.05); opacity: 1; }

/* 4. Fullscreen Lightbox */
#lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 50;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
#lightbox.active { display: flex; opacity: 1; pointer-events: auto; }
#lightbox img { max-width: 90vw; max-height: 90vh; box-shadow: 0 0 50px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 2rem; cursor: pointer; }

.lightbox-arrow {
    position: absolute;
    top: 50%;
    font-size: 2.5rem;
    color: #fff;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.7;
    user-select: none;
    padding: 10px;
    transition: opacity 0.2s;
}
.lightbox-arrow:hover { opacity: 1; }

.lightbox-arrow.left { left: 40px; }
.lightbox-arrow.right { right: 40px; }

#intro-box {
    position: absolute;
    top: 60px;       
    left: 40px;

    /* Styled like your buttons */
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(4px);

    color: #fff;
    max-width: 260px;
    pointer-events: auto;
}

.intro-title {
    margin: 0 0 10px 0;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
}

.intro-blurb {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    line-height: 1.4;
    opacity: 0.8;
}

.intro-image {
    width: 100%;
    height: auto;
    border-radius: 3px;
    opacity: 0.9;
    margin-top: 10px;
    opacity: 0.6;
}
.intro-image:hover {
    opacity: 0.8;
    transition: opacity 0.2s;
}

#insta-link {
    position: absolute;
    bottom: 0px;  
    left: 40px;

    transform: translateY(-70px); /* same vertical offset as buttons */

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;

    background: transparent;
    cursor: pointer;
    pointer-events: auto;

    transition: all 0.3s ease;
}

#insta-link:hover {
    background: #fff;
    border-color: #fff;
}

#insta-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: invert(1); /* makes placeholder white */
    transition: filter 0.3s ease;
}

#insta-link:hover #insta-icon {
    filter: invert(0); /* icon turns black on hover */
}




