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

body {
    font-family: 'Bai Jamjuree', sans-serif;
    overflow-y: auto;
    background-color: #2d333a;
}

a {
    font-weight: 600;
    color: #c1f024;
    text-decoration: none;
}

h1 {
    font-weight: 800;
    color: white;
}

/* --- 2. PASEK SOCIAL MEDIA --- */
#obserwuj {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 8px;
    margin-right: 20px;
    height: 30px;
    background-color: #2d333a;
    color: white;
}

.logogora {
    width: 20px;
    height: 20px;
}

/* --- 3. HEADER --- */
header {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2d333a;
    border-bottom: 1px solid #777;
}

#header1 {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 20px;
}

#header2 {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

#logoheader {
    width: 80%;
}

#header3 {
    width: 36%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

#header3 nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex; 
    justify-content: center; 
}

#header3 nav ul li {
    margin: 0 15px; 
}

#header3 nav ul li a {
    text-decoration: none; 
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #c1f024; 
    transition: 0.3s;
}

.hamburger.toggle span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.toggle span:nth-child(2) {
    opacity: 0;
}

.hamburger.toggle span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* --- 4. SEKCJA HERO --- */
.hero {
    height: 740px;
    background-color: #2d333a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    border-bottom: 1px solid #777;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    opacity: 0.8;
    margin-bottom: 30px;
}

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

.btn-primary {
    background: #c1f024;
    color: black;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(193, 240, 36, 0.6);
}

.btn-secondary {
    border: 2px solid #c1f024;
    color: #c1f024;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #c1f024;
    color: black;
}

/* --- 5. SEKCJA REALIZACJE --- */
.realizacje-container {
    display: flex;
    justify-content: center;
}

.okno {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important; 
    max-width: 380px; 
    height: 550px !important; 
    background-color: #4b5057 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
	margin-top: 40px;
	margin-left: 40px;
    text-align: center !important; 
}

.zdjecie-realizacja {
    width: 100% !important;
    height: 320px !important;
    object-fit: cover !important;
    display: block !important;
}

.tekst-realizacja {
    width: 100% !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: white !important;
    margin: 20px 0 10px 0 !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
}

.opis-realizacja {
    width: 100% !important;
    font-size: 16px !important;
    color: #ccc !important;
    margin: 10px 0 20px 0 !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
}

/* FIX PRZYCISKU */
.btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 220px !important;
    height: 45px !important;
    margin: 30px auto auto auto !important; 
    background: transparent !important;
    border: 2px solid #c1f024 !important;
    color: #c1f024 !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    transition: 0.3s !important;
}

.btn:hover {
    background: #c1f024 !important;
    color: black !important;
}

.swiper-button-next, 
.swiper-button-prev {
    color: #c1f024 !important; 
}

.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #c1f024 !important;
    opacity: 1 !important;
}

.swiper-button-next, .swiper-button-prev {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.swiper-button-next {
    right: 5px !important;
}

.swiper-button-prev {
    left: 5px !important;
}

.swiper {
    padding-bottom: 80px !important; 
}

.swiper-pagination {
    bottom: 40px !important; 
}

.swiper-wrapper {
    margin-bottom: 20px; 
}

.swiper-button-next:after, 
.swiper-button-prev:after {
    font-size: 24px !important;
    font-weight: bold;
}

/* --- 6. SEKCJA OFERTA --- */
.oferta {
    padding: 40px 10%;
    height: 500px;
    background: #2d333a;
    color: #fff;
    text-align: center;
    border-bottom: 1px solid #777;
	border-top: 1px solid #777;
}

.oferta h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

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

.card {
    background: #3a4047;
    padding: 30px;
    border-radius: 12px;
    transition: 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(140, 255, 0, 0.2);
}

.card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #c1f024;
    transform: scaleX(0);
    transition: 0.3s;
}

.card:hover::after {
    transform: scaleX(1);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
}

/* --- 7. DLACZEGO MY? --- */
.dlaczego-my {
    padding: 80px 10%;
    background: #2d333a;
    color: #fff;
    text-align: center;
    border-bottom: 1px solid #777;
}

.dlaczego-my h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

.dlaczego-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.item {
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.item:hover {
    background: #353b42;
    transform: translateY(-5px);
}

.item h3 {
    margin-bottom: 10px;
}

.item p {
    font-size: 14px;
    opacity: 0.8;
}

.icon {
    font-size: 30px;
    margin-bottom: 15px;
}

/* --- 8. OPINIE I CTA --- */
.opinie {
    padding: 80px 10%;
    text-align: center;
    background: #2d333a;
    color: white;
    border-bottom: 1px solid #777;
}

.opinie-grid {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.opinia {
    background: #4b5057;
    padding: 30px;
    border-radius: 15px;
    flex: 1;
    transition: 0.3s;
}

.opinia:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(193, 240, 36, 0.2);
}

.cta {
    padding: 80px 10%;
    text-align: center;
    background: #2d333a;
    color: white;
    border-bottom: 1px solid #777;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

/* --- 9. FOOTER --- */
.main-footer {
    background-color: #2d333a;
    color: #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 10%;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    height: 120px;
    margin-bottom: 15px;
}

.footer-tagline {
    font-weight: 600;
    font-size: 30px;
    color: white;
    margin-left: 10px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h4 {
    font-size: 30px;
    margin-top: 30px;
    margin-bottom: 20px;
    margin-left: 39px;
    color: white;
}

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

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

.footer-links a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    margin-left: 39px;
}

.footer-links a:hover {
    color: #c1f024;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 10% 30px 10%;
    font-size: 13px;
    color: #999;
    border-top: 1px solid #777;
}

.footer-bottom p {
    font-size: 15px;
    font-weight: 500;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials img {
    width: 24px;
    height: 24px;
    filter: grayscale(1);
    transition: 0.3s;
}

.footer-socials img:hover {
    filter: grayscale(0);
    transform: scale(1.1);
}

#backToTop {
    display: none; 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    z-index: 99; 
    border: none; 
    outline: none; 
    background-color: #1a1e23; 
    color: #c1f024; 
    cursor: pointer; 
    padding: 15px; 
    border-radius: 10px; 
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

#backToTop:hover {
    background-color: #c1f024; 
    color: black;
    transform: scale(1.1);
}

.cookie-icon-fixed {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: #c1f024;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.c-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1002;
    justify-content: center;
    align-items: center;
}

.c-modal {
    background: #1a1e23;
    color: white;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    overflow: hidden;
    font-family: 'Bai Jamjuree', sans-serif;
}

.c-header { 
    padding: 20px; 
    border-bottom: 1px solid #333; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.c-body { 
    padding: 20px; 
    max-height: 400px; 
    overflow-y: auto; 
}

.c-footer { 
    padding: 20px; 
    background: #13161a; 
    display: flex; 
    gap: 10px; 
}

.c-option { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
    margin-top: 20px;
}

.c-info { 
    max-width: 70%; 
}

.c-info strong { 
    color: #c1f024; 
}

.c-info p { 
    font-size: 12px; 
    margin: 5px 0 0; 
    color: #ccc; 
}

.c-switch { 
    position: relative; 
    display: inline-block; 
    width: 40px; 
    height: 20px; 
}

.c-switch input { 
    opacity: 0; 
    width: 0; 
    height: 0; 
}

.slider { 
    position: absolute; 
    cursor: pointer; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background-color: #444; 
    transition: .4s; 
    border-radius: 20px; 
}

.slider:before { 
    position: absolute; 
    content: ""; 
    height: 14px; 
    width: 14px; 
    left: 3px; 
    bottom: 3px; 
    background-color: white; 
    transition: .4s; 
    border-radius: 50%; 
}

input:checked + .slider { 
    background-color: #c1f024; 
}

input:checked + .slider:before { 
    transform: translateX(20px); 
}

.c-switch-locked { 
    font-size: 11px; 
    color: #c1f024; 
    font-weight: bold; 
}

.c-btn-save { 
    background: transparent; 
    border: 1px solid #c1f024; 
    color: #c1f024; 
    padding: 10px; 
    border-radius: 5px; 
    cursor: pointer; flex: 1; 
}

.c-btn-all { 
    background: #c1f024; 
    border: none; color: black; 
    padding: 10px; 
    border-radius: 5px; 
    cursor: pointer; 
    flex: 1; 
    font-weight: bold; 
}

.c-close { 
    background: none; 
    border: none; 
    color: white; 
    font-size: 24px; 
    cursor: pointer; 
}

@media (max-width: 480px) {
    header {
        height: auto;
        padding: 20px;
        flex-direction: column;
    }

    #header1, #header2, #header3 {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    #logoheader {
        width: 60%;
    }

    .hamburger {
        display: flex;
        margin: 0 auto;
    }

    #header3 nav {
        display: none;
        width: 100%;
        margin-top: 20px;
    }

    #header3 nav.active {
        display: block;
    }

    #header3 nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        height: auto;
        padding: 100px 20px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .okno {
        width: 80% !important;
    }
	
    .zdjecie-realizacja {
        height: 250px;
    }

    .oferta, .dlaczego-my, .opinie, .cta {
        height: auto;
        padding: 60px 5%;
    }

    .oferta-grid, .dlaczego-grid, .opinie-grid {
        grid-template-columns: 1fr; 
        flex-direction: column;
        gap: 20px;
    }

    .footer-content {
        padding: 40px 5%;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .footer-links h4, .footer-links a {
        margin-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        padding: 30px 5%;
        text-align: center;
    }
}

@media (min-width: 481px) and (max-width: 820px) {
    header {
        height: auto;
        padding: 20px;
        flex-direction: column;
    }

    #header1, #header2, #header3 {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    #logoheader {
        width: 60%;
    }

    .hamburger {
        display: flex;
        margin: 0 auto;
    }

    #header3 nav {
        display: none;
        width: 100%;
        margin-top: 20px;
    }

    #header3 nav.active {
        display: block;
    }

    #header3 nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        height: auto;
        padding: 80px 20px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .okno {
        width: 85% !important;
        max-width: 320px;
        margin-top: 50px;
        height: auto;
        padding-bottom: 30px;
        flex-shrink: 0; 
    }

    .swiper-button-next, 
    .swiper-button-prev {
        background-color: rgba(45, 51, 58, 0.8); 
        width: 40px;
        height: 40px;
        border-radius: 50%;
        color: #c1f024 !important; 
    }

    

    .oferta, .dlaczego-my, .opinie, .cta {
        height: auto;
        padding: 60px 20px;
    }

    .oferta-grid, .dlaczego-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .opinie-grid {
        flex-direction: column;
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 5%;
    }

    .footer-links h4, .footer-links a {
        margin-left: 0 !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 30px 5%;
    }

    #backToTop, .cookie-icon-fixed {
        bottom: 15px;
        width: 45px;
        height: 45px;
    }
}

@media (min-width: 821px) and (max-width: 1200px) {
    .okno {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 80% !important; 
    max-width: 550px; 
    height: 550px !important; 
    background-color: #4b5057 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
	margin-top: 40px;
	margin-left: 40px;
    text-align: center !important; 
}

	

.zdjecie-realizacja {
    width: 100% !important;
    height: 320px !important;
    object-fit: cover !important;
    display: block !important;
}

.tekst-realizacja {
    width: 100% !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: white !important;
    margin: 20px 0 10px 0 !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
}

.opis-realizacja {
    width: 100% !important;
    font-size: 16px !important;
    color: #ccc !important;
    margin: 10px 0 20px 0 !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
}

/* FIX PRZYCISKU */
.btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 220px !important;
    height: 45px !important;
    margin: 30px auto auto auto !important; 
    background: transparent !important;
    border: 2px solid #c1f024 !important;
    color: #c1f024 !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    transition: 0.3s !important;
}

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

	#stronaglowanav {
		display: none;
	}

    #header1 { 
		width: 33%; 
		text-align: center;
	}
	
    #header2 { 
		width: 33%; 
	}
	
    #header3 { 
		width: 33%; 
		text-align: center;
	}
}