/* Reset and base styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Titillium Web', sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #000000;
}

/* Main container layout */
.container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Sidebar styles */
.sidebar {
    width: 280px;
    min-width: 280px;
    background-color: #ffffff;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid #e8e8e8;
    z-index: 10;
}

.site-header {
    margin-bottom: 60px;
}

.photographer-name {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.photographer-name a {
    color: #000000;
}

.photographer-name a:hover {
    color: #666666;
}

.tagline {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #aaaaaa;
}

/* Vision text */
.vision-text {
    line-height: 1.8;
}

.vision-text p {
    font-size: 0.9rem;
    font-weight: 300;
    color: #666666;
    margin-bottom: 20px;
}

/* Sidebar footer */
.sidebar-footer {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sidebar-footer a {
    color: #aaaaaa;
}

.sidebar-footer a:hover {
    color: #666666;
}

/* Slideshow container */
.slideshow-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    background-color: #fafafa;
}

.slideshow {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

/* Individual slide */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #222;
}

/* Navigation dots */
.slideshow-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d0d0d0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: #999999;
}

.dot.active {
    background-color: #666666;
    transform: scale(1.2);
}

/* Status indicator */
.slideshow-status {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 5;
}

.status-paused {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999999;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    background-color: rgba(255, 255, 255, 0.9);
}

/* Loading state */
.loading-message {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #aaaaaa;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* No images message */
.no-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #aaaaaa;
    text-align: center;
    padding: 40px;
}

.no-images h2 {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.no-images p {
    font-size: 0.85rem;
    color: #cccccc;
}

/* Coming soon pages */
.coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #cccccc;
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Responsive design */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-width: auto;
        padding: 30px;
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .site-header {
        margin-bottom: 0;
    }

    .photographer-name {
        font-size: 1.2rem;
    }

    .tagline {
        display: none;
    }

    .vision-text {
        display: none;
    }

    .sidebar-footer {
        display: block;
    }

    .slideshow-container {
        height: calc(100vh - 100px);
    }
}

@media (max-width: 600px) {
    .sidebar {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }

    .slideshow-dots {
        bottom: 20px;
    }

    .dot {
        width: 6px;
        height: 6px;
    }
}
