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

html, body {
    overflow-x: hidden;
}

body {
    background: radial-gradient(circle at top, #1b1b1b, #0e0e0e);
    color: #f5f5f7;
    font-family: Andale Mono, monospace; 
    padding-top: 90px;
}

.zloty-tekst {
    color: rgb(217, 205, 69);
}

h1, h2, h3 {
    font-family: 'Montserrat', Arial, sans-serif; 
}


/* górny pasek */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(20,20,20,0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 22px 60px;
    display: flex;
    align-items: center;
    z-index: 9999;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}


.logo {
    font-size: 36px;
    font-weight: 800;
    color: rgb(217, 205, 69);
    text-decoration: none;
    margin-right: auto;
    transition: all 0.4s ease; 
}

.logo:hover {
    color: white;                
    transform: scale(1.2) rotate(-10deg); 
    text-shadow: 0 0 10px rgb(217, 205, 69);
}

nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 21px;
    font-weight: 500;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: rgb(217, 205, 69);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: rgb(217, 205, 69);
}

/* baner główny */
.hero {
    height: 96vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    z-index: 2;
}

.hero h1 {
    font-size: 60px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2),
        rgba(0,0,0,0.8)
    );
}

/*
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 40px;
    background: rgb(217, 205, 69);
    color: black;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
}
*/
/* sekcje */
.section {
    padding: 150px 70px;
    text-align: center;
}

.dark {
    background: black;
}
.section::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: rgb(217, 205, 69);
    margin: 60px auto 0;
    border-radius: 2px;
}

/* kontener sekcji "o mnie" */
.about-container {
    display: flex;
    align-items: center; 
    justify-content: center; 
    gap: 50px; 
    flex-wrap: wrap; 
    font-size: 17px;
}

.about-img {
    width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.about-text {
    max-width: 600px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* oferta */
.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 15px;
    font-size: 17px;
    width: 100%;
    max-width: 550px;
    transition: all 0.35s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

/* kompleksowe dzialanie */

.oferta-dodatkowa {
    max-width: 800px;
    margin: 60px auto 0;
    text-align: center;
    animation: pojawienie-gora 1s ease forwards;
}

.oferta-dodatkowa-tytul {
    font-size: 22px;
    margin-bottom: 15px;
    color: rgb(217, 205, 69);
    letter-spacing: 1px;
}

.oferta-dodatkowa-tekst {
    font-size: 16px;
    line-height: 1.8;
    color: #cccccc;
}

/* przycisk opinie */

.przycisk-akcji {
    display: inline-block;
    margin-top: 40px;
    padding: 18px 44px;
    background: linear-gradient(135deg, rgb(217,205,69), rgb(152,171,90));
    color: #111;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.35s ease;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

.przycisk-akcji:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 40px rgba(217,205,69,0.6);
}


/* kontakt */
.contact-box {
    background: #222;
    display: inline-block;
    padding: 40px 60px;
    border-radius: 15px;
    margin-top: 30px;
    font-size: 20px;
}

.contact-box p {
    margin: 15px 0;
}

/* styl linków w kontakcie */
.contact-box .contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.contact-box .contact-link:hover {
    color: rgb(217, 205, 69);
}

/* stopka */
footer {
    background: black;
    padding: 20px;
    text-align: center;
}

/* ANIMACJE */
.section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.section.show {
    opacity: 1;
    transform: translateY(0);
}

/* przycisk animacja */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    background: rgb(152, 171, 90);
    transform: scale(1.05);
}

/* oferty animacja */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgb(217, 205, 69);
}

/* kompleksowe dzialanie animacje */
@keyframes pojawienie-gora {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* opinie animacje  */
.opinia {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.opinia.aktywna {
    opacity: 1;
    transform: translateY(0);
}

/* kontakt animacja */
.contact-box {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.contact-box.show {
    opacity: 1;
    transform: translateY(0);
}

.contact-box p {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.contact-box p:hover {
    transform: scale(1.05) translateX(5px);
}

.contact-box .icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.contact-box .icon:hover {
    transform: scale(1.4) rotate(15deg);
}

/* responsywność mobilna */
@media (max-width: 1024px) {
    header {
        padding: 18px 30px;
    }

    nav {
        gap: 20px;
    }

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

    .section {
        padding: 120px 40px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    nav {
        position: static;
        transform: none;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav a {
        font-size: 18px;
    }

    .hero {
        height: 85vh;
        padding: 0 20px;
    }

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

    .section {
        padding: 90px 25px;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-img {
        width: 220px;
    }

    .card {
        max-width: 100%;
    }

    .contact-box {
        padding: 30px 25px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    nav a {
        font-size: 16px;
    }

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


@media (max-width: 600px) {
    .contact-box {
        width: 100%;
        padding: 25px 20px;
        font-size: 16px;
    }

    .contact-box p,
    .contact-link {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }

    .contact-link img {
        margin-bottom: 6px;
    }
}

@media (max-width: 600px) {
    .contact-box p {
        font-size: 10px !important; /* mniejsza czcionka tylko na tel */
        word-break: break-word; 
    }
}
.contact-box {
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.contact-box p {
    word-break: break-word;
}

.contact-box .contact-link {
    word-break: break-word;
    overflow-wrap: anywhere;
}



@media (max-width: 600px) {
    .contact-box {
        max-width: 100vw !important;  
        overflow-x: hidden !important; 
        padding: 25px 20px !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        white-space: normal !important;
    }

    .contact-box p,
    .contact-box .contact-link {
        display: block !important;    
        width: 100% !important;       
        white-space: normal !important; 
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        margin-bottom: 8px;             
    }

    .contact-box .contact-link img {
        margin-bottom: 6px; 
    }
}







