* {
    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;
    position:sticky;
    top: 0;
    z-index: 9999;
    backdrop-filter: blur(12px);
    /* background: rgba(29, 32, 84, 0.85); */
}

.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;
} */

/* FOOTER */

footer {
    width: 100%;
    padding: 20px 70px 12px;
    backdrop-filter: blur(12px);
    /* background:
        radial-gradient(circle at 20% 20%, rgba(86, 103, 180, 0.35), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(28, 85, 180, 0.25), transparent 35%),
        linear-gradient(135deg, #0d0b26, #171336, #1d1f26); */
}

.footer-hero {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
    align-items: start;
}

.footer-socials-links,
.footer-contact,
.footer-location {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-socials-links h3,
.footer-contact h3,
.footer-location h3 {
    margin-bottom: 6px;
    font-size: 15px;
}

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

.footer-socials-links a:hover,
.footer-contact h3 a:hover {
    color: #3fa7ff;
}

.footer-contact p,
.footer-location p,
.footer-socials-links a  {
    line-height: 1.4;
    font-size: 10px;
}

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

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.15);
    color: white;
    font-size: 10px;
}

.admin-part {
    position: fixed;
    right: 18px;
    bottom: 18px;
}

.admin-part a {
    color: rgba(255,255,255,.35);
    text-decoration: none;
    font-size: 14px;
}

.admin-part a:hover {
    color: #3fa7ff;
}


/* HOME */

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

.hero-home {
    width: 100%;
    max-width: 1400px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 80px;
}

.hero-left {
    flex: 1;
    max-width: 750px;
}

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

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

.hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn {
    text-decoration: none;
    padding: 16px 30px;
    border-radius: 14px;
    font-weight: 700;
    transition: 0.3s;
}

.hero-btn.primary {
    background: #3fa7ff;
    color: white;
}

.hero-btn.primary:hover {
    background: #238ef0;
}

.hero-btn.secondary {
    background: white;
    color: #1c2555;
}

.hero-btn.secondary:hover {
    background: #e5e7eb;
}

.hero-btn.outline {
    border: 2px solid #3fa7ff;
    color: #3fa7ff;
}

.hero-btn.outline:hover {
    background: #3fa7ff;
    color: white;
}

.hero-image {
    flex-shrink: 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-avatar {
    width: 380px;
    height: 380px;

    border-radius: 50%;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        rgba(63,167,255,.25),
        rgba(121,78,201,.25)
    );

    border: 2px solid rgba(63,167,255,.25);

    box-shadow:
        0 0 40px rgba(63,167,255,.25),
        0 0 90px rgba(121,78,201,.15);
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

    .hero-avatar {
        animation: floating 4s ease-in-out infinite;
    }

    @keyframes floating {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-14px); }
    }

    .animated-text {
        color: #3fa7ff;
        font-size: 26px;
        font-weight: bold;
        animation: fadeText 3s infinite alternate;
    }

    @keyframes fadeText {
        from { opacity: 0.4; transform: translateY(5px); }
        to { opacity: 1; transform: translateY(0); }
    }

.hero-socials {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.hero-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(63, 167, 255, 0.25);
    transition: 0.3s;
}

.hero-socials a:hover {
    color: #3fa7ff;
    transform: translateY(-4px);
    box-shadow: 0 0 18px rgba(63, 167, 255, 0.35);
}

.hero-icon {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}


/* RESPONSYWNOŚĆ */

@media (max-width: 1100px) {

    .hero-home {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 10px;
    }
}


/* KRÓTKIE PRZEDSTAWIENIE */

.about-short{
    padding:20px 80px;
}

.about-short-container{
    max-width:1400px;
    margin:auto;

    display:grid;
    grid-template-columns:1fr 900px;
    gap:80px;
    align-items:center;
}

.about-short h2{
    font-size:48px;
    margin-bottom:25px;
}

.about-short p{
    font-size:20px;
    line-height:1.8;
    color:#d8defa;
}

.skills-tags{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:35px;
}

.skills-tags span{
    padding:10px 18px;
    border-radius:999px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(63,167,255,.25);
}

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

.stat-card{
    padding:30px;
    border-radius: 15px / 50px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(63,167,255,.2);
    transition:.3s;
}

.stat-card:hover{
    transform:translateY(-5px);

    box-shadow:
        0 0 25px rgba(63,167,255,.2);
}

.stat-card h3{
    font-size:42px;
    color:#3fa7ff;
}

.stat-card p{
    margin-top:8px;
}

/* RESPONSYWNOŚĆ - KRÓTKIE PRZEDSTAWIENIE */

@media (max-width: 1100px) {

    .about-short {
        padding: 70px 25px;
        overflow: hidden;
    }

    .about-short-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-short-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        order: 2;
    }

    .about-short-text {
        order: 1;
        max-width: 100%;
    }

    .about-short h2 {
        font-size: 38px;
        word-break: normal;
    }

    .about-short p {
        font-size: 18px;
    }

    .stat-card {
        width: 180px;
        padding: 25px;
    }

    .skills-tags {
        justify-content: center;
    }
}

@media (max-width: 600px) {

    .about-short h2 {
        font-size: 32px;
    }

    .about-short-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        width: 100%;
        max-width: 260px;
    }
}

/* TECHNOLOGIE */

.skills-section{
    padding:120px 80px;
}

.skills-container{
    max-width:1400px;
    margin:auto;
}

.section-header{
    text-align:center;
    margin-bottom:60px;
}

.section-header h2{
    font-size:48px;
    margin-bottom:20px;
}

.section-header p{
    font-size:20px;
    color:#d8defa;
}

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

.skill-card{
    background:rgba(255,255,255,.05);

    border:1px solid rgba(63,167,255,.2);

    border-radius:20px;

    padding:30px;

    transition:.3s;
}

.skill-card:hover{
    transform:translateY(-5px);

    box-shadow:
        0 0 25px rgba(63,167,255,.2);
}

.skill-card h3{
    margin-bottom:18px;
    font-size:24px;
}

.skill-level{
    width:100%;
    height:12px;

    background:rgba(255,255,255,.08);

    border-radius:999px;

    overflow:hidden;
}

.skill-progress{
    height:100%;

    border-radius:999px;

    background:linear-gradient(
        90deg,
        #3fa7ff,
        #7c4dff
    );
}


/* WYRÓŻNIONE PROJEKTY */

.featured-projects{
    padding:120px 80px;
}

.featured-container{
    max-width:1400px;
    margin:auto;
}

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

.featured-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(63,167,255,.2);
    border-radius:24px;
    overflow:hidden;
    transition:.3s;
}

.featured-card:hover{
    transform:translateY(-8px);
    box-shadow:0 0 35px rgba(63,167,255,.22);
}

.project-image{
    height:210px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:
        radial-gradient(circle at 30% 30%, rgba(63,167,255,.35), transparent 35%),
        linear-gradient(135deg, #1e1b4b, #1e3a8a);

    border-bottom:1px solid rgba(63,167,255,.2);
}

.project-image span{
    font-size:28px;
    font-weight:800;
    color:white;
}

.project-content{
    padding:30px;
}

.project-content h3{
    font-size:26px;
    margin-bottom:15px;
}

.project-content p{
    color:#d8defa;
    font-size:17px;
    line-height:1.7;
    margin-bottom:22px;
}

.project-techs{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:25px;
}

.project-techs span{
    padding:8px 14px;
    border-radius:999px;
    font-size:14px;
    color:#3fa7ff;
    background:rgba(63,167,255,.08);
    border:1px solid rgba(63,167,255,.2);
}

.project-link{
    color:#3fa7ff;
    text-decoration:none;
    font-weight:700;
}

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

/* RESPONSYWNOŚĆ PROJEKTÓW */

@media(max-width:1100px){
    .featured-grid{
        grid-template-columns:1fr;
    }

    .featured-projects{
        padding:80px 25px;
    }
}

/* OPINIE */

.opinie-slider{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:30px;
}

.opinie-track{
    width:700px;
    position:relative;
}

.opinie-card{
    display:none;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(63,167,255,.2);
    border-radius:24px;
    padding:40px;
    text-align:center;
}

.opinie-card.active{
    display:block;
}

.slider-btn{
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    cursor:pointer;
    font-size:22px;
    background:#3fa7ff;
    color:white;
}

.slider-btn:hover{
    background:#238ef0;
}

/*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;
}

.opinie-avatar{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    margin:0 auto 25px;
    border:3px solid #3fa7ff;
    box-shadow:
        0 0 20px rgba(63,167,255,.3);
}


/* CTA REVEAL */

.cta-reveal{
    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:80px 20px;

    position:relative;
    z-index:5;

    margin-top:120px;

    background:
        radial-gradient(circle at 50% 20%, rgba(63,167,255,.22), transparent 35%),
        radial-gradient(circle at 70% 80%, rgba(124,77,255,.20), transparent 35%),
        linear-gradient(135deg, #090b22, #11184a, #0b122f);

    border-radius:60px 60px 0 0;

    box-shadow:
        0 -40px 80px rgba(0,0,0,.35);
}

.cta-reveal-content{
    max-width:850px;
    text-align:center;
}

.cta-reveal-content span{
    display:inline-block;

    margin-bottom:18px;

    color:#3fa7ff;
    font-size:18px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
}

.cta-reveal-content h2{
    font-size:70px;
    line-height:1.05;
    margin-bottom:28px;
}

.cta-reveal-content p{
    font-size:22px;
    line-height:1.8;
    color:#d8defa;
    margin-bottom:40px;
}

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

.cta-btn{
    text-decoration:none;
    padding:16px 34px;
    border-radius:14px;
    font-weight:700;
    transition:.3s;
}

.cta-btn.primary{
    background:#3fa7ff;
    color:white;
}

.cta-btn.primary:hover{
    background:#238ef0;
    transform:translateY(-4px);
}

.cta-btn.secondary{
    border:2px solid #3fa7ff;
    color:#3fa7ff;
}

.cta-btn.secondary:hover{
    background:#3fa7ff;
    color:white;
}

@media(max-width:768px){
    .cta-reveal{
        border-radius:35px 35px 0 0;
        margin-top:20px;
    }

    .cta-reveal-content h2{
        font-size:42px;
    }

    .cta-reveal-content p{
        font-size:18px;
    }
}


/* 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;
}

/* ABOUT ME */

.about-page{
    padding:70px 80px 110px;
}

.about-hero{
    max-width:1400px;
    margin:0 auto 100px;
    display:grid;
    grid-template-columns:1.2fr 380px;
    gap:80px;
    align-items:center;
}

.about-hero-text span{
    color:#3fa7ff;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
}

.about-hero-text h1{
    font-size:64px;
    line-height:1.1;
    margin:18px 0 25px;
}

.about-hero-text p{
    font-size:21px;
    line-height:1.8;
    color:#d8defa;
    max-width:760px;
    margin-bottom:35px;
}

.about-hero-image{
    width:340px;
    height:340px;
    border-radius:50%;
    overflow:hidden;
    border:2px solid rgba(63,167,255,.3);
    box-shadow:0 0 55px rgba(63,167,255,.25);
}

.about-hero-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.about-btn{
    display:inline-block;
    padding:15px 32px;
    border-radius:14px;
    background:#3fa7ff;
    color:white;
    text-decoration:none;
    font-weight:700;
}

.about-section{
    max-width:1400px;
    margin:0 auto 80px;
}

.about-section h2,
.section-title h2{
    font-size:44px;
    margin-bottom:18px;
}

.about-section p,
.section-title p{
    color:#d8defa;
    font-size:20px;
    line-height:1.8;
}

.about-bio{
    padding:42px;
    border-radius:26px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(63,167,255,.2);
}

.timeline{
    display:grid;
    gap:22px;
    margin-top:35px;
}

.timeline-item{
    padding:28px;
    border-left:4px solid #3fa7ff;
    border-radius:20px;
    background:rgba(255,255,255,.05);
}

.timeline-item span{
    color:#3fa7ff;
    font-weight:700;
}

.timeline-item h3{
    margin:10px 0;
    font-size:24px;
}

.about-grid-section{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.about-card{
    padding:34px;
    border-radius:24px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(63,167,255,.2);
}

.about-card ul{
    margin-top:20px;
    padding-left:20px;
}

.about-card li{
    margin-bottom:12px;
    color:#d8defa;
    font-size:18px;
}

.about-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.about-stat{
    text-align:center;
    padding:32px;
    border-radius:22px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(63,167,255,.2);
}

.about-stat h3{
    font-size:46px;
    color:#3fa7ff;
}

.hobbies-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:35px;
}

.hobby-card{
    padding:24px;
    border-radius:18px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(63,167,255,.2);
    text-align:center;
    font-weight:700;
}

@media(max-width:1000px){
    .about-page{
        padding:45px 25px 80px;
    }

    .about-hero{
        grid-template-columns:1fr;
        text-align:center;
        gap:45px;
    }

    .about-hero-image{
        margin:auto;
        width:260px;
        height:260px;
    }

    .about-hero-text h1{
        font-size:42px;
    }

    .about-grid-section,
    .about-stats,
    .hobbies-grid{
        grid-template-columns:1fr;
    }
}

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

.bio-grid h3,
.timeline-item h4{
    color:#3fa7ff;
    margin-bottom:14px;
}

.timeline-item ul{
    margin-top:15px;
    padding-left:22px;
}

.timeline-item li{
    color:#d8defa;
    margin-bottom:8px;
    line-height:1.6;
}

@media(max-width:1000px){
    .bio-grid{
        grid-template-columns:1fr;
    }
}


/* PROJEKTY */

.projects-page{
    padding:80px 80px 120px;
}

.projects-hero{
    max-width:1100px;
    margin:0 auto 60px;
    text-align:center;
}

.projects-hero span{
    color:#3fa7ff;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
}

.projects-hero h1{
    font-size:64px;
    margin:18px 0 22px;
}

.projects-hero p{
    font-size:21px;
    line-height:1.7;
    color:#d8defa;
}

.projects-filters{
    max-width:1200px;
    margin:0 auto 60px;
    display:flex;
    justify-content:center;
    gap:14px;
    flex-wrap:wrap;
}

.filter-btn{
    padding:12px 20px;
    border-radius:999px;
    border:1px solid rgba(63,167,255,.25);
    background:rgba(255,255,255,.05);
    color:white;
    cursor:pointer;
    font-weight:600;
}

.filter-btn.active,
.filter-btn:hover{
    background:#3fa7ff;
    color:white;
}

.projects-list{
    max-width:1400px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.project-card-public{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(63,167,255,.22);
    border-radius:26px;
    overflow:hidden;
    transition:.3s;
}

.project-card-public:hover{
    transform:translateY(-8px);
    box-shadow:0 0 35px rgba(63,167,255,.2);
}

.project-thumb{
    height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:
        radial-gradient(circle at 30% 30%, rgba(63,167,255,.35), transparent 35%),
        linear-gradient(135deg,#1e1b4b,#1e3a8a);
}

.project-thumb span{
    font-size:30px;
    font-weight:800;
}

.project-info{
    padding:30px;
}

.project-status{
    display:inline-block;
    padding:7px 13px;
    border-radius:999px;
    background:rgba(63,167,255,.12);
    color:#3fa7ff;
    font-size:14px;
    font-weight:700;
    margin-bottom:18px;
}

.project-info h3{
    font-size:27px;
    margin-bottom:14px;
}

.project-info p{
    color:#d8defa;
    line-height:1.7;
    margin-bottom:20px;
}

.project-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:18px;
}

.project-meta span{
    padding:7px 13px;
    border-radius:999px;
    color:#3fa7ff;
    background:rgba(63,167,255,.08);
    border:1px solid rgba(63,167,255,.2);
    font-size:14px;
}

.project-date{
    color:#93c5fd;
    font-size:15px;
    margin-bottom:22px;
}

.project-details-btn{
    color:#3fa7ff;
    text-decoration:none;
    font-weight:700;
}

.project-details-btn:hover{
    color:white;
}

@media(max-width:1100px){
    .projects-page{
        padding:60px 25px 90px;
    }

    .projects-list{
        grid-template-columns:1fr;
    }

    .projects-hero h1{
        font-size:42px;
    }
}

/* 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;
    }
}