/* ===================================
   Veta Feldman Portfolio
   Minimalist fullscreen slideshow
   =================================== */

/* 
   Neue Montreal Font Setup
   ------------------------
   Option 1: If you have font files, uncomment and adjust paths:
   
   @font-face {
       font-family: 'Neue Montreal';
       src: url('fonts/NeueMontreal-Regular.woff2') format('woff2'),
            url('fonts/NeueMontreal-Regular.woff') format('woff');
       font-weight: 400;
       font-style: normal;
       font-display: swap;
   }
   
   @font-face {
       font-family: 'Neue Montreal';
       src: url('fonts/NeueMontreal-Medium.woff2') format('woff2'),
            url('fonts/NeueMontreal-Medium.woff') format('woff');
       font-weight: 500;
       font-style: normal;
       font-display: swap;
   }

   Option 2: Using PP Neue Montreal from CDN (if available)
*/

:root {
    --font-main: 'Neue Montreal', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --color-bg: #ffffff;
    --color-text: #000000;
    --color-text-secondary: #666666;
    --transition: 0.3s ease;
    --header-height: 60px;
}

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

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

body {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 20px 24px;
    pointer-events: none;
}

.header a {
    pointer-events: auto;
}

.logo {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #000000;
    transition: color var(--transition);
}

.logo:hover {
    color: #000000;
}

.nav a {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: rgba(0, 0, 0, 0.4);
    transition: color var(--transition);
}

.nav a:hover,
.nav a.active {
    color: rgba(0, 0, 0, 0.7);
}

/* Slideshow */
.slideshow {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    max-width: 50%;
    max-height: 70%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Click zones for navigation */
.click-zones {
    position: fixed;
    inset: 0;
    display: flex;
    z-index: 10;
}

.click-zone {
    flex: 1;
    cursor: pointer;
}

.click-prev {
    cursor: w-resize;
}

.click-next {
    cursor: e-resize;
}

/* Footer / Counter */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    pointer-events: none;
    z-index: 100;
}

.counter {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
}

/* About Page */
.about-page {
    overflow: auto;
}

.about-page .header {
    position: relative;
    pointer-events: auto;
}

.about {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    padding: 80px 24px;
}

.about-content {
    max-width: 480px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1em;
}

.about-content p:last-of-type {
    margin-bottom: 2em;
}

.contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contacts a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}

.contacts a:hover {
    color: var(--color-text);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header {
        padding: 16px 20px;
    }

    .slideshow {
        padding: 60px 20px;
    }

    .slide {
        padding: 60px 20px;
    }

    .slide img {
        max-width: 90%;
        max-height: 75%;
    }

    .footer {
        padding: 16px 20px;
    }

    .about {
        padding: 40px 20px;
        align-items: flex-start;
    }

    .about-content p {
        font-size: 15px;
    }

    /* On mobile, tap anywhere to go next */
    .click-prev {
        flex: 0.3;
    }

    .click-next {
        flex: 0.7;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 13px;
    }

    .nav a {
        font-size: 13px;
    }

    .slideshow,
    .slide {
        padding: 50px 16px;
    }

    .about-content p {
        font-size: 14px;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .slideshow,
    .slide {
        padding: 50px 60px;
    }

    .header {
        padding: 12px 20px;
    }

    .footer {
        padding: 12px 20px;
    }
}
