:root {
    --bg-dark: #0a0a0f;
    --bg-light: #12121c;
    --primary: #d4af37;
    /* Elegant Gold */
    --primary-dark: #b89326;
    --text-main: #f0f0f5;
    --text-muted: #9ba1a6;
    --border: rgba(212, 175, 55, 0.2);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    /* Dodane tło globalne */
    background: linear-gradient(rgba(10, 10, 15, 0.92), rgba(10, 10, 15, 0.95)), url('https://images.unsplash.com/photo-1549646537-814d42bfe07d?auto=format&fit=crop&q=80') center/cover fixed no-repeat;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Typography elements */
.section-subtitle {
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-line {
    width: 60px;
    height: 2px;
    background-color: var(--primary);
    margin-bottom: 2rem;
}

.title-line.center {
    margin: 0 auto 2rem auto;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: #000;
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--primary);
    border-radius: 2px;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #fff;
    padding: 1rem 2.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-outline-sm {
    display: inline-block;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-sm:hover {
    background-color: var(--primary);
    color: #000 !important;
}

.full-width {
    width: 100%;
    margin-top: 1rem;
    cursor: pointer;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-w {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary);
    line-height: 1;
}

.logo-text {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 2px;
    line-height: 1.1;
    color: #fff;
}

.logo-text span {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links li a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: #ccc;
}

.nav-links li a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1555899434-94d1368aa7af?auto=format&fit=crop&q=80') center/cover no-repeat;
    /* https://images.unsplash.com/photo-1521587760476-6c12a4b040da?auto=format&fit=crop&q=80 a good alternative */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeIn 1.5s ease;
}

.kicker {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-content h2 {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    color: #ddd;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding: 8rem 0;
    background-color: transparent;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-features {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    background: rgba(212, 175, 55, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
}

.feature-item h5 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #fff;
}

.feature-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-image {
    position: relative;
}

.img-wrapper {
    position: relative;
    padding-bottom: 2rem;
    padding-right: 2rem;
}

.img-wrapper img {
    width: 100%;
    border-radius: 2px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    filter: grayscale(40%) contrast(1.1);
    transition: filter 0.5s;
}

.img-wrapper img:hover {
    filter: grayscale(0%) contrast(1.1);
}

.img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 90%;
    height: 90%;
    border: 2px solid var(--primary);
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: 4rem;
    left: -2rem;
    background: rgba(18, 18, 28, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border);
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.exp-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background-color: transparent;
}

.section-lead {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(18, 18, 28, 0.7);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border: 2px solid var(--primary);
    border-radius: 2px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.4s ease;
}

.service-card:hover::before {
    width: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--border);
}

/* Highlighted specific service */
.service-card.highlight {
    background: linear-gradient(145deg, rgba(22, 22, 34, 0.8), rgba(10, 10, 15, 0.9));
    backdrop-filter: blur(10px);
    border-color: var(--primary);
}

.service-card.highlight::before {
    width: 100%;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-extra {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-style: italic;
    color: #fff !important;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background-color: transparent;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(18, 18, 28, 0.7);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border: 2px solid var(--primary);
    border-radius: 2px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    line-height: 0;
    position: absolute;
    top: 3rem;
    left: 2rem;
}

.stars {
    color: var(--primary);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.t-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.t-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary-dark);
    color: #000;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.t-info strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}

.t-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Parallax Divider */
.parallax-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1542152331-15b5eb02ddcc?auto=format&fit=crop&q=80') center/cover fixed no-repeat;
    padding: 8rem 0;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.85);
}

.parallax-title {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.parallax-subtitle {
    font-size: 1.1rem;
    color: #fff;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background-color: transparent;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(18, 18, 28, 0.7);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border: 2px solid var(--primary);
}

.contact-row .icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-row .text strong {
    color: #fff;
    font-weight: 500;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.2rem;
}

.contact-row .text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: rgba(18, 18, 28, 0.7);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border: 2px solid var(--primary);
}

.contact-form-wrapper h3 {
    margin-bottom: 2rem;
    color: #fff;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid var(--primary);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    background: #000;
}

select {
    appearance: none;
    cursor: pointer;
}

select option {
    background: var(--bg-dark);
    color: #fff;
}

.form-notice {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* Footer */
footer {
    background: #050508;
    padding-top: 5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1.5rem;
    max-width: 300px;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-bottom {
    background: #020205;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
}

/* Articles Section */
.articles {
    padding: 8rem 0;
    background-color: transparent;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.article-card {
    background: rgba(18, 18, 28, 0.7);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border: 2px solid var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.article-card h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
}

.article-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Popup Window */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 15, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--bg-light);
    border: 2px solid var(--primary);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    border-radius: 2px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: var(--primary);
}

.popup-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.popup-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.popup-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.popup-content strong {
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .experience-badge {
    position: absolute;
    bottom: 4rem;
    left: -2rem;
    background: rgba(18, 18, 28, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border);
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: var(--bg-dark);
        border-left: 1px solid var(--border);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}
/* Form scroll offset for smooth scrolling */
html {
    scroll-padding-top: 100px;
}

/* Cooperation Section */
.cooperation {
    padding: 8rem 0;
    background-color: transparent;
}

.coop-text {
    color: var(--text-main);
}

.coop-block {
    margin-bottom: 2.5rem;
}

.coop-block h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.coop-block p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.coop-image .img-wrapper img {
    width: 100%;
    border-radius: 2px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    filter: grayscale(40%) contrast(1.1);
}

.coop-image .img-wrapper::after {
    border-color: var(--primary);
}

/* Floating Contact Button */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary);
    color: #000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: hidden;
}

.floating-contact-btn span {
    display: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-left: 10px;
}

.floating-contact-btn:hover {
    width: 160px;
    border-radius: 30px;
    background-color: var(--primary-dark);
}

.floating-contact-btn:hover span {
    display: inline-block;
}

/* Fix for 100% Gwarancja Dyskrecji moving below on mobile */
@media (max-width: 992px) {
    .experience-badge {
    position: absolute;
    bottom: 4rem;
    left: -2rem;
    background: rgba(18, 18, 28, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border);
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
    
    .floating-contact-btn {
        bottom: 20px;
        right: 20px;
    }
}



/* Fix for mobile text overlapping the experience badge */
@media (max-width: 992px) {
    .experience-badge {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 2rem;
        margin-left: auto;
        margin-right: auto;
        width: max-content;
        z-index: 10;
        padding: 1rem;
    }
    
    .section-title {
        text-align: center;
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        text-align: center;
        display: block;
    }
    
    .title-line {
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-text p {
        text-align: center;
    }
}
