/* --- 1. VARIABLES & FONTS --- */
:root {
    --sidebar-width: 40vw; 
    --sidebar-min-width: 260px;
    --sidebar-max-width: 600px;
    --accent-pink: #d68bc9;
    --muted-pink: #b59eb1;
    --insta-pink: #eb34c9;
}

@font-face { font-family: 'P22FolkArtCross'; src: url("fonts/P22 Folk Art Cross.ttf"); }
@font-face { font-family: 'Futura PT Book'; src: url("fonts/Futura PT Book.ttf"); }
@font-face { font-family: 'Futura PT Demi'; src: url("fonts/Futura PT Demi.ttf"); }

/* --- 2. BASE RESET --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #fff;
    color: #333;
    overflow-x: hidden;
}

ul { list-style: none; }
a { color: var(--muted-pink); text-decoration: none; transition: 0.2s; }
.active { color: var(--accent-pink); }

/* --- 3. LAYOUT STRUCTURE --- */
.site-wrapper {
    display: flex;
}

.sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-min-width);
    max-width: var(--sidebar-max-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 60px 4vw;
    border-right: 1px solid #eee;
    background: #fff;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 7rem;
    font-weight: 400;
    margin-bottom: 60px;
    line-height: 1.1; 
    font-family: 'P22FolkArtCross', serif;
}

.content-area {
    margin-left: clamp(var(--sidebar-min-width), var(--sidebar-width), var(--sidebar-max-width));
    flex: 1;
    padding: 60px;
}

/* --- 4. NAVIGATION --- */
.sidebarOptions {
    font-family: 'Futura PT Demi', sans-serif;
    font-size: 2.5em;
}

.smallSidebarOptions {
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: 'Futura PT Demi', sans-serif;
    font-size: 1.5em;
}

.smallOptionsInactive, .inactive {
    display: inline-block;
    color: #000;
}

.smallOptionsInactive:hover, .inactive:hover {
    transform: scale(1.05);
    color: var(--accent-pink);
}

/* --- 5. GALLERY GRID --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 60px 40px;
    width: 100%;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    cursor: pointer; /* Makes it look interactive */
}

.image-container {
    width: 100%;
    background-color: #fcfcfc;
    margin-bottom: 15px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
    cursor: pointer; /* Change cursor to hand on hover */
}

.gallery-item:hover .image-container img {
    opacity: 0.8;
}

.item-title {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 4px;
}

.item-meta, .item-size {
    font-size: 0.85rem;
    color: #666;
}

/* --- 6. INSTAGRAM ICON --- */
.instagram-icon {
    width: 30px; height: 30px;
    border: 3px solid var(--insta-pink);
    border-radius: 10px;
    position: relative;
    display: inline-block;
}

.instagram-icon::before {
    content: ""; position: absolute;
    width: 40%; height: 40%;
    border: 3px solid var(--insta-pink);
    border-radius: 50%;
    left: 50%; top: 50%; transform: translate(-50%, -50%);
}

.instagram-icon::after {
    content: ""; position: absolute;
    width: 12%; height: 12%;
    background-color: var(--insta-pink);
    border-radius: 50%;
    top: 15%; right: 15%;
}
/* --- 9. MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .sidebar {
        position: relative;
        width: 100%;
        max-width: none;
        height: auto;
        padding: 30px;
        border-right: none;
        border-bottom: 1px solid #eee;
        text-align: center;
    }
    .content-area {
        margin-left: 0 !important;
        padding: 30px;
    }
    .logo { font-size: 4rem; margin-bottom: 30px; }
    .nav-btn { font-size: 1.5rem; }
}
/* --- 10. FULL-SCREEN SLIDESHOW --- */
/* --- 10. FULL-SCREEN SLIDESHOW --- */
.slideshow-overlay {
    display: none; 
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    flex-direction: column; /* Stacks Content Area over Thumbnail Bar */
    align-items: center;
    justify-content: space-between; /* Pushes thumbs to bottom */
    padding: 40px 0;
}

.slideshow-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-grow: 1; /* Takes up available space */
    position: relative;
}

.slide-main {
    max-width: 70%;
    text-align: center;
}

.slide-main img {
    max-height: 65vh;
    max-width: 100%;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* --- Positioning Navigation Buttons --- */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 3rem;
    color: var(--muted-pink);
    padding: 20px;
    z-index: 2010;
}

.nav-arrow.left { left: 5vw; }
.nav-arrow.right { right: 5vw; }

.exit-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    background: none;
    border: none;
    z-index: 2020;
}

/* --- Corrected Thumbnail Bar --- */
.thumbnail-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px; /* Tighter gap */
    width: 100%;
    height: 60px; /* Reduced container height */
    padding-bottom: 20px; /* Space from the bottom edge */
    overflow-x: auto;
}

.thumb-img {
    width: 40px;  /* Much smaller size */
    height: 40px; /* Square aspect ratio */
    object-fit: cover; /* Crops image to square without stretching */
    opacity: 0.3;
    transition: all 0.2s ease;
    flex-shrink: 0;
    border-radius: 4px; /* Optional: slightly rounded corners */
    cursor: pointer;
}

.thumb-img:hover {
    opacity: 0.7;
}

.thumb-img.active-thumb {
    opacity: 1;
    border: 2px solid var(--accent-pink);
    transform: scale(1.1); /* Slightly pops the active one */
}