/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2196F3;
    text-decoration: none;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: #2196F3;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav__toggle-line {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1976D2;
}

.hero__highlight {
    color: #2196F3;
}

.hero__description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__placeholder {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn--primary {
    background: #2196F3;
    color: white;
}

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

.btn--secondary {
    background: transparent;
    color: #2196F3;
    border-color: #2196F3;
}

.btn--secondary:hover {
    background: #2196F3;
    color: white;
}

.btn--full {
    width: 100%;
    text-align: center;
}

/* Sections */
.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1976D2;
    margin-bottom: 1rem;
}

.section__subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Misja Section */
.misja {
    padding: 80px 0;
    background: #fff;
}

.misja__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.misja__card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.misja__card:hover {
    transform: translateY(-5px);
}

.misja__icon {
    margin-bottom: 1.5rem;
}

.misja__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1976D2;
    margin-bottom: 1rem;
}

.misja__card-description {
    color: #666;
    line-height: 1.6;
}

/* Projekty Section */
.projekty {
    padding: 80px 0;
    background: #f8f9fa;
}

.projekty__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.projekt__card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.projekt__card:hover {
    transform: translateY(-5px);
}

.projekt__image {
    padding: 2rem;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
}

.projekt__placeholder {
    background: white;
    border-radius: 12px;
    padding: 1rem;
}

.projekt__content {
    padding: 2rem;
}

.projekt__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1976D2;
    margin-bottom: 1rem;
}

.projekt__description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.projekt__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.projekt__tag {
    background: #E3F2FD;
    color: #1976D2;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.projekt__links {
    display: flex;
    gap: 1rem;
}

.projekt__link {
    color: #2196F3;
    text-decoration: none;
    font-weight: 500;
}

.projekt__link:hover {
    text-decoration: underline;
}

/* Zespół Section */
.zespol {
    padding: 80px 0;
    background: white;
}

.zespol__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.zespol__card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f8f9fa;
}

.zespol__avatar {
    margin-bottom: 1.5rem;
}

.zespol__placeholder {
    background: white;
    border-radius: 50%;
    padding: 1rem;
    display: inline-block;
}

.zespol__name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1976D2;
    margin-bottom: 0.5rem;
}

.zespol__role {
    color: #2196F3;
    font-weight: 500;
    margin-bottom: 1rem;
}

.zespol__description {
    color: #666;
    line-height: 1.6;
}

/* Wspieraj Section */
.wspieraj {
    padding: 80px 0;
    background: #f8f9fa;
}

.wspieraj__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.wspieraj__card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.wspieraj__icon {
    margin-bottom: 1.5rem;
}

.wspieraj__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1976D2;
    margin-bottom: 1rem;
}

.wspieraj__description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.wspieraj__link {
    color: #2196F3;
    text-decoration: none;
    font-weight: 500;
}

.wspieraj__link:hover {
    text-decoration: underline;
}

/* Kontakt Section */
.kontakt {
    padding: 80px 0;
    background: white;
}

.kontakt__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.kontakt__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.kontakt__icon {
    flex-shrink: 0;
}

.kontakt__details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1976D2;
    margin-bottom: 0.5rem;
}

.kontakt__details p {
    color: #666;
}

/* Form */
.form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: #2196F3;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1976D2;
    color: white;
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer__description {
    color: #BBDEFB;
    line-height: 1.6;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 0.5rem;
}

.footer__link {
    color: #BBDEFB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: white;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #1565C0;
}

.footer__copyright {
    color: #BBDEFB;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    color: #BBDEFB;
    transition: color 0.3s ease;
}

.footer__social-link:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__toggle {
        display: flex;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__buttons {
        justify-content: center;
    }

    .kontakt__content {
        grid-template-columns: 1fr;
    }

    .footer__content {
        grid-template-columns: 1fr;
    }

    .footer__links {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero__title {
        font-size: 1.75rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
.btn:focus,
.form__input:focus,
.form__select:focus,
.form__textarea:focus,
.nav__link:focus {
    outline: 2px solid #2196F3;
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .hero__title,
    .section__title {
        color: #000;
    }
    
    .btn--primary {
        background: #000;
        border-color: #000;
    }
    
    .btn--secondary {
        color: #000;
        border-color: #000;
    }
}
