/* Reset i zmienne */
:root {
    --primary-color: #B25000;
    --bg-light: #FFFBF2;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

/* Nawigacja */
.navbar {
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    height: 70px;

    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo_img{
    position: absolute;
    top: 5px;
    left: 5px;
    height: 60px;
}

.nav-links {
    list-style: none;
    display: flex;
    padding: 10px;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, background 0.3s;
}

.btn-primary:hover {
    background-color: #924200;
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* O Nas Section */
.about-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fffdf5; /* Nieco jaśniejsze tło dla kart */
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    transition: box-shadow 0.3s;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Galeria Section */
.gallery-section {
    padding-bottom: 100px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 5px;
}

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

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

/* Sekcja Aktualności */
.news-section {
    padding: 100px 0;
    background-color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-img {
    height: 200px;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-content .date {
    display: block;
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.news-content h3 {
    font-size: 1.25rem;
    color: #8B4513; /* Ciemny brąz */
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Sekcja Kontakt */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.info-card, .contact-form-card, .map-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.map-card {
    margin-top: 30px;
    padding: 10px; /* Mniejszy padding dla mapy */
}

.contact-info-column h3, .contact-form-card h3 {
    color: #8B4513;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.info-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.info-item small {
    color: #999;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 5px;
}

/* Formularz */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #8B4513;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #924200;
}

/* Stopka */
.footer {
    padding: 40px 0;
    text-align: center;
    background: #fff;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
}

/* Responsywność dla nowych sekcji */
@media (max-width: 992px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { grid-template-columns: 1fr; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 2.5rem; }
}

@media (max-width: 600px) {
    .news-grid { grid-template-columns: 1fr; }
    .info-card, .contact-form-card { padding: 25px; }


}


@media (max-width: 768px) {
    .nav-links { display: none; } /* Uproszczenie dla wersji mobilnej */
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2rem; }
    .logo_img{left: 50%; transform: translateX(-50%);}
}