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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1C2B39;
    background-color: #E5F2FB;
    line-height: 1.6;
}

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

/* Header */
.header {
    background-color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #e2a9f1;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    font-size: 18px;
    font-weight: 600;
    color: #1C2B39;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #D86FD8;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #1C2B39;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #1C2B39;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    font-weight: 600;
    color: #1C2B39;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #1C2B39;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #E5F2FB;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #F7D9F1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(216, 111, 216, 0.25);
}

.btn-secondary {
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

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

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

.hero-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.speech-bubble {
    background-color: #E5F2FB;
    border-radius: 20px;
    padding: 16px 24px;
    max-width: 80%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.speech-bubble p {
    font-size: 20px;
    text-align: center;
    color: #1C2B39;
    font-weight: 600;
    margin: 0;
}

.monster-image img {
    width: 300px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.37);
}

/* Sections */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1C2B39;
    text-align: center;
    margin-bottom: 50px;
}

/* News */
.news {
    padding: 80px 0;
    background-color: #ffffff; /* kontrast jak features/cta */
}

.news-content {
    max-width: 800px;  /* jak about-content */
    margin: 0 auto;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


.news-item {
    background-color: #E5F2FB; /* spójnie z feature-tile i about bg */
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.news-photo {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    margin-bottom: 14px;
}

.news-photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.news-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.news-gallery img {
    width: 100%;
    height: 260px;       /* kontrolowana wysokość */
    object-fit: cover;   /* przycina proporcjonalnie */
    border-radius: 12px;
    display: block;
}

.news-date {
    font-size: 14px;
    font-weight: 800;
    color: rgba(28, 43, 57, 0.55);
    margin-bottom: 8px;
}

.news-title {
    font-size: 22px;
    font-weight: 800;
    color: #1C2B39;
    margin-bottom: 14px;
    line-height: 1.25;
}

.news-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.news-actions {
    display: flex;
    justify-content: flex-start;
}

/* Responsive */
@media (max-width: 768px) {
    .news-item {
        padding: 18px;
    }

    .news-photo img {
        height: 210px;
    }

    .news-title {
        font-size: 20px;
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #E5F2FB;
}

/* 6 kafelków: 3 kolumny na desktop */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-tile {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(216, 111, 216, 0.18);
}

.tile-header {
    margin-bottom: 16px;
}

.tile-title {
    font-size: 20px;
    font-weight: 700;
    color: #1C2B39;
    margin: 0;
}

.tile-content {
    background-color: #E5F2FB;
    border-radius: 12px;
    padding: 16px;
}

.tile-details {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-text {
    font-size: 20px;
    font-weight: 600;
    color: #1C2B39;
    line-height: 1.6;
}

.secondary-text {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: #E5F2FB;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-description {
    font-size: 20px;
    font-weight: 600;
    color: #1C2B39;
    margin-bottom: 22px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Beta notes box (nowe) */
.beta-notes {
    margin: 18px auto 28px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.beta-notes-title {
    font-size: 18px;
    font-weight: 800;
    color: #1C2B39;
    margin-bottom: 12px;
    text-align: center;
}

.beta-notes-list {
    padding-left: 18px;
    margin: 0;
}

.beta-notes-list li {
    margin: 10px 0;
    color: #1C2B39;
    line-height: 1.6;
}

/* O nas */
.about-us {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-us-content {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}

.about-us-block {
    background: #E5F2FB;
    border-radius: 16px;
    padding: 22px;
    margin: 0 auto 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.about-us-heading {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
    color: #1C2B39;
    text-align: center;
}

.about-us-subheading {
    margin: 14px 0 10px;
    font-size: 16px;
    font-weight: 800;
    color: #1C2B39;
    text-align: center;
}

.about-us-text {
    font-size: 16px;
    color: #1C2B39;
    line-height: 1.7;
    margin: 0 0 12px;
}

.about-us-list {
    margin: 0 auto 10px;
    padding-left: 22px;
    list-style-position: outside;
    text-align: left;
}

.about-us-list li {
    margin: 8px 0;
    color: #1C2B39;
    line-height: 1.6;
}

.about-us-links {
    text-align: center;
    margin-top: 10px;
}

.about-us-links a {
    color: #D86FD8;
    font-weight: 800;
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.about-us-links a:hover {
    background-color: #FDE9F8;
    transform: translateY(-1px);
}

.about-us-links .link-sep {
    color: rgba(28, 43, 57, 0.35);
    margin: 0 6px;
}

/* Logos */
.logos-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap;
    margin-top: 10px;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-image {
    max-width: 150px;
    max-height: 60px;
    height: auto;
    object-fit: contain;
}

.logo-image.logo-university {
    max-width: 700px;
    max-height: 180px;
}

.logo-text {
    font-family: 'Agrandir', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #000000;
    letter-spacing: 0.5px;
}

/* Footer */
.footer {
    background-color: #E5F2FB;
    color: #1C2B39;
    padding: 50px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 25px;
    align-items: start;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    color: #1C2B39;
    margin-bottom: 12px;
}

.footer-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #1C2B39;
    margin-bottom: 12px;
}

.footer-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #D86FD8;
}

.footer-bottom {
    border-top: 1px solid rgba(28, 43, 57, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-copyright {
    font-size: 12px;
    color: #555;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    /* 6 kafelków: 2 kolumny */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .logos-grid {
        gap: 25px;
        flex-wrap: wrap;
    }

    .logo-image.logo-university {
        max-width: 100%;
        max-height: 140px;
    }

    .logo-text {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        padding: 20px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

    /* 6 kafelków: 1 kolumna */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-us-block {
        padding: 18px;
    }

    .about-us-list {
        padding-left: 18px;
    }

    .beta-notes {
        padding: 16px;
    }

    .news-gallery {
        grid-template-columns: 1fr;
    }

    .news-gallery img {
        height: 220px;
    }
}


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

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .main-text {
        font-size: 18px;
    }

    .section-title {
        font-size: 24px;
    }

    .logos-grid {
        gap: 15px;
        flex-wrap: wrap;
    }

    .logo-image {
        max-width: 100px;
        max-height: 40px;
    }

    .logo-image.logo-university {
        max-width: 100%;
        max-height: 120px;
    }

    .logo-text {
        font-size: 24px;
    }
}
