/*
Theme Name: Projektornia Woźniak
Theme URI: https://projektorniawozniak.com
Author: Projektornia Woźniak
Description: Minimalistyczny theme dla Projektorni Woźniak - projektowanie wnętrz
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: projektornia
*/

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* === HEADER === */
#site-header {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#site-logo {
    display: flex;
    align-items: center;
}

#site-logo a {
    display: block;
    line-height: 0;
}

#site-logo img {
    height: 50px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    #site-logo img {
        height: 35px;
    }
}

/* === NAVIGATION === */
#site-navigation {
    display: flex;
    gap: 30px;
}

#site-navigation a {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
    font-weight: 400;
}

#site-navigation a:hover {
    color: #333;
}

/* === MAIN CONTENT === */
#main-content {
    min-height: 60vh;
}

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

/* === HERO SECTION === */
.hero-section {
    text-align: center;
    padding: 0px 20px;
    background: #f9f9f9;
}

.hero-section h2 {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 16px;
    color: #666;
    letter-spacing: 1px;
    max-width: 800px;
    margin: 0 auto;
}

/* === GALLERY === */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 30px 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* === CONTACT PAGE === */
.contact-section {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-section h1 {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 60px;
    color: #333;
    text-align: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-photo img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item .label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
}

.contact-item .value {
    font-size: 24px;
    font-weight: 300;
    color: #333;
    letter-spacing: 1px;
}

.contact-item .value a {
    color: #333;
    transition: color 0.3s ease;
}

.contact-item .value a:hover {
    color: #666;
}

/* === FOOTER === */
#site-footer {
    background: #f5f5f5;
    padding: 10px 0;
    margin-top: 80px;
    text-align: center;
}

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

#site-footer p {
    font-size: 14px;
    color: #666;
    letter-spacing: 1px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    
    #site-navigation {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .hero-section h2 {
        font-size: 32px;
    }
    
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-photo img {
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }
    
    .contact-section h1 {
        font-size: 32px;
    }
    
    .contact-item .value {
        font-size: 18px;
    }
}

/* === LIGHTBOX === */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

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

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 60px;
    cursor: pointer;
    user-select: none;
    padding: 20px;
    transition: opacity 0.3s ease;
}

.lightbox-nav:hover {
    opacity: 0.7;
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 0;
    }
    
    .lightbox-next {
        right: 0;
    }
    
    .lightbox-nav {
        font-size: 40px;
        padding: 10px;
    }
}
