:root {
    --primary-color: #8A9A5B;
    --secondary-color: #f8f9fa;
    --accent-color: #f4f1e8;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --success-color: #48bb78;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #9BA17B 0%, #8A9A5B 100%);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: 20px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Nawigacja */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    margin-top: 20px;
    min-height: 100vh;
    background: var(--gradient);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="50%" cy="50%" r="50%" fill="url(%23a)"/></svg>');
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sekcje */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.team-photo {
    margin-bottom: 20px;
}

.team-photo img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-photo img:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.team-info h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-info .role {
    color: var(--primary-color);
    font-weight: 500;
}

.team-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Section */
.services {
    background: var(--accent-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-control.textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background: #6d7a48;
    transform: translateY(-1px);
}

.service-list {
    list-style: none;              /* usunięcie domyślnych kropek */
    padding: 0;                    /* usunięcie wcięć */
    margin: 1rem 0;                /* odstęp od nagłówka i dolnej krawędzi */
}

.service-list li {
    position: relative;            /* dla pseudo-elementu */
    padding-left: 1.5em;           /* miejsce na ikonę/myślnik */
    margin-bottom: 0.75em;         /* odstęp między pozycjami */
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-secondary)
}

/* przykładowy punkt – ikona Font Awesome jako znacznik */
.service-list li::before {
    content: "\25E6";              /* kod Font Awesome (fa-check) */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);                /* kolor ikony */
}

/* warianty: okrągłe kropki lub kwadraty zamiast ikon */
.service-list.circle li::before,
.service-list.square li::before {
    content: "";
    width: 0.5em;
    height: 0.5em;
    background-color: #2794f1;
    border-radius: 50%;            /* zmień na 0 for square */
    top: 0.45em;
}



/* CSS */
/* --- Podstawowe ustawienia --- */
.footer {
    background-color: #2c3e50;
    color: #eee;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.6;
    padding: 40px 0 20px;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Główna część stopki --- */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.contact-group {
    flex: 1 1 280px;
}

.specialists .specialist {
    margin-bottom: 20px;
}

.name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.contact {
    font-size: 0.95rem;
    color: #ccc;
    margin: 3px 0;
}

.contact i {
    margin-right: 8px;
    color: var(--primary-color);
}

.social a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.social a:hover {
    color: #fff;
    text-decoration: underline;
}

/* --- Mapka i adres --- */
.map-address iframe {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* --- Dolna część stopki --- */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 15px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #ecf0f1b3;
    margin: 0;
}

/* --- Responsywność --- */
@media (max-width: 768px) {
    .footer-content {
        text-align: center;
        flex-direction: column;
    }
}




/* Responsywność */

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .container {
        width: 95%;
        margin: 0 auto;
        padding: 0 0px;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .team-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero, body {
        margin-top: 45px;
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .contact-group {
        flex: 1 1 0px;
    }

    .contact-form {
        margin: 0 1rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

/* Loading animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Styles for specializations section */
.specializations-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.specializations-title {
    color: var(--text-primary)
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: left;
}

.specializations-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specialization-item {
    background: rgba(155, 161, 123, 0.1);
    margin: 5px 0;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.specialization-item:hover {
    background: rgba(155, 161, 123, 0.15);
    transform: translateX(2px);
}