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

body {
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at 20% 20%, rgba(86, 103, 180, 0.55), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(28, 85, 180, 0.35), transparent 35%),
        linear-gradient(135deg, #171438, #211c4f, #11152b);
    color: white;
}

/* NAVBAR */

.navbar {
    width: 100%;
    padding: 30px 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 30px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #794ec9;
}

/* FOOTER */
footer {
    width: 100%;
    padding: 30px 55px;
    padding-top: 50px;
    background:
        radial-gradient(circle at 20% 20%, rgba(86, 103, 180, 0.55), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(28, 85, 180, 0.35), transparent 35%),
        linear-gradient(135deg, #0d0b26, #171336, #1d1f26);
}

.footer-hero{
    width: 100%;
    display: flex;
    justify-content: space-between; 
    align-items: flex-start;       
    flex-wrap: wrap;
}

.icons{
    display: inline-flex;
    max-width: 20px;
    color: #ffffff;
}

.copyright{
    width: 20%;                     
    color: #ffffff;
    display: flex;
    flex-direction: column;         
    gap: 10px; 
} 
.footer-socials-links, 
.footer-contact {
    width: 30%;                     
    color: #ffffff;
    display: flex;
    flex-direction: column;         
    gap: 10px;                    
}

.footer-socials-links a, 
.footer-contact h3 a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact h3 a:hover{
    color:#794ec9;
}

.footer-socials-links a:hover{
    color:#794ec9;
}
.icons:hover{
    color:#794ec9;
}

.admin-part {
    position: absolute;               
    padding-top: 0px;
    top: 15px;
    right: 20px;
    width: auto;
}

.admin-part a {
    color: #35217b;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

/* HOME */

.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 80px;
}

.hero-card {
    width: 100%;
    max-width: 1200px;
    min-height: 430px;
    padding: 70px;
    border-radius: 28px;
    background: rgba(27, 39, 89, 0.88);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 70px;
    align-items: center;
    border: 1px solid rgba(80, 155, 255, 0.28);
    box-shadow:
        0 0 35px rgba(55, 150, 255, 0.22),
        0 30px 80px rgba(0, 0, 0, 0.45);
}

.hero-text h1 {
    font-size: 62px;
    line-height: 1.1;
    margin-bottom: 28px;
}

.hero-text h1 span {
    color: #3fa7ff;
}

.hero-text p {
    font-size: 21px;
    line-height: 1.7;
    color: #d8defa;
    max-width: 620px;
}

.info-box {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 38px;
    border: 1px solid rgba(80, 155, 255, 0.22);
    box-shadow: inset 0 0 25px rgba(63, 167, 255, 0.08);
}

.info-box h2 {
    font-size: 34px;
    margin-bottom: 25px;
    color: #3fa7ff;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    font-size: 19px;
    margin-bottom: 15px;
    color: #eef2ff;
    padding-left: 22px;
    position: relative;
}

.info-box li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #3fa7ff;
}

/* COś NOWEGO */
.hero-home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    min-height: 70vh;
}
/*LOGOWANIE POWRÓT HOME */
.back-home{
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #4ea1ff;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.back-home:hover{
    color: white;
}

/* PODSTRONY */

.page-main {
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 80px;
}

.page-card {
    width: 100%;
    max-width: 1100px;
    padding: 75px;
    border-radius: 28px;
    background: rgba(27, 39, 87, 0.88);
    border: 1px solid rgba(80, 155, 255, 0.28);
    box-shadow:
        0 0 35px rgba(55, 150, 255, 0.22),
        0 30px 80px rgba(0, 0, 0, 0.45);
}

.page-card h1 {
    font-size: 58px;
    margin-bottom: 30px;
    color: white;
}

.page-text {
    font-size: 22px;
    line-height: 1.8;
    color: #d8defa;
}

.page-text p {
    margin-bottom: 20px;
}

/* PROJEKTY */

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.project-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(80, 155, 255, 0.22);
    border-radius: 20px;
    padding: 28px;
    transition: 0.3s;
}

.project-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(63, 167, 255, 0.25);
}

.project-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #3fa7ff;
}

.project-box p {
    font-size: 17px;
    line-height: 1.6;
    color: #d8defa;
}

/* KONTAKT */

.contact-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    color: #ffffff;
    font-family: 'Segoe UI', Roboto, sans-serif;
    
   
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-areas: 
        "form info"
        "form socials"
        "map map";
    gap: 40px;
}

.contact-form { grid-area: form; }
.contact-info { grid-area: info; }
.contact-social-links { grid-area: socials; }
.contact-local-map { grid-area: map; }

.contact-hero h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid #3fa7ff; /* Jasnoniebieski akcent wizualny */
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: -5px;
    color: #e0e0e0;
}


.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05); /* Półprzezroczyste tło */
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3fa7ff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(63, 167, 255, 0.3);
}

.contact-form textarea {
    resize: vertical;
    min-height: 180px; 
}

.contact-form .btn-primary {
    background: #3fa7ff;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    align-self: flex-start; 
    transition: background 0.2s ease, transform 0.1s ease;
}

.contact-form .btn-primary:hover {
    background: #2594ed;
}

.contact-form .btn-primary:active {
    transform: scale(0.98);
}

.contact-info p, 
.contact-social-links p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #e0e0e0;
}

.contact-social-links {
    display: flex;
    flex-direction: column;
}

.contact-social-links a {
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 1rem;
    transition: color 0.2s ease;
    width: fit-content;
}

.contact-social-links a:hover {
    color: #3fa7ff;
}

.icons {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.contact-social-links h4 {
    margin: 25px 0 10px 0;
    font-size: 1.2rem;
    color: #ffffff;
}


.contact-local-map {
    margin-top: 20px;
}

.contact-local-map iframe {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}


/*RESPONSYWNOŚĆ*/
@media (max-width: 768px) {
    .contact-hero {
       
        grid-template-columns: 1fr;
        grid-template-areas: 
            "form"
            "info"
            "socials"
            "map";
        gap: 30px;
        padding: 40px 15px;
    }
    
    .contact-form .btn-primary {
        width: 100%; 
    }
}

/* RESPONSYWNOŚĆ */

@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .hero,
    .page-main {
        padding: 30px 20px;
    }

    .hero-card {
        grid-template-columns: 1fr;
        padding: 45px;
    }

    .hero-text h1,
    .page-card h1 {
        font-size: 42px;
    }

    .page-card {
        padding: 45px;
    }

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