/*
Theme Name: Ville Theme
Author: Your Name
Version: 1.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    padding: 20px 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* HERO */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('assets/img/galeria4.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    transition: all 0.3s;
}

.btn:hover {
    background: white;
    color: #333;
}

/* O INWESTYCJI */
.o-inwestycji {
    padding: 100px 0;
    background: #fff;
}

.o-inwestycji h2 {
    font-size: 36px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.o-inwestycji > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.cechy {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.cecha {
    text-align: center;
    padding: 30px 20px;
    border-top: 2px solid #e0e0e0;
}

.cecha h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cecha p {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}
/* UDOGODNIENIA */
.udogodnienia {
    padding: 100px 0;
    background: #f8f8f8;
}

.udogodnienia h2 {
    font-size: 36px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.udogodnienia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.udogodnienie {
    background: white;
    padding: 40px 30px;
    text-align: center;
}

.ikona {
    font-size: 36px;
    display: block;
    margin-bottom: 20px;
}

.udogodnienie h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.udogodnienie p {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}
/* GALERIA */
.galeria {
    padding: 100px 0;
    background: #fff;
}

.galeria h2 {
    font-size: 36px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.galeria-item {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.galeria-item:hover img {
    transform: scale(1.05);
}
/* RESPONSIVE */
@media (max-width: 1024px) {
    .cechy {
        grid-template-columns: repeat(2, 1fr);
    }

    .udogodnienia-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* HEADER */
    nav ul {
        display: none;
    }

    .site-header .container {
        justify-content: center;
    }

    /* HERO */
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }

    /* SEKCJE */
    .cechy {
        grid-template-columns: 1fr;
    }

    .udogodnienia-grid {
        grid-template-columns: 1fr;
    }

    .galeria-grid {
        grid-template-columns: 1fr;
    }

    /* TYPOGRAFIA */
    .o-inwestycji h2,
    .udogodnienia h2,
    .galeria h2 {
        font-size: 26px;
    }
}