/* Zmienne kolorystyczne na podstawie baneru */
:root {
    --primary-yellow: #f2ff00;
    --primary-navy: #0d1b4a;
    --text-white: #ffffff;
    --overlay-color: rgba(0, 0, 0, 0.4);
}

/* Reset podstawowy */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    /* Ustawienie tła strony */
    background-image: url('img/bg-cnc-stolbrat-konstrukcje-drewniane.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
}

/* Przyciemnienie tła dla lepszej czytelności wizytówki */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

/* Karta wizytówki */
.business-card {
    background-color: rgba(13, 27, 74, 0.95); /* Granat z lekką przezroczystością */
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-bottom: 8px solid var(--primary-yellow);
}

/* Nagłówek i Logo */
.card-header {
    text-align: center;
    margin-bottom: 30px;
    background-color: var(--primary-yellow);
    padding: 15px;
    border-radius: 8px;
}

.logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Lista usług */
.services {
    margin-bottom: 35px;
}

.services ul {
    list-style-type: none;
    padding-left: 10px;
}

.services li {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 25px;
}

.services li::before {
    content: '•';
    color: var(--primary-yellow);
    font-size: 1.8rem;
    position: absolute;
    left: 0;
    top: -8px;
}

/* Sekcja kontaktowa */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: var(--primary-yellow);
    color: var(--primary-navy);
}

.primary-btn:hover {
    background-color: #dbe600;
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.secondary-btn:hover {
    background-color: var(--text-white);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

/* Linki na dole (FB, www) */
.social-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links .link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-links .link:hover {
    color: var(--primary-yellow);
}

.icon {
    font-style: normal;
    font-weight: bold;
}

/* Resposywność dla mniejszych ekranów */
@media (max-width: 480px) {
    .business-card {
        padding: 25px 20px;
    }

    .services li {
        font-size: 1rem;
    }

    .contact-btn {
        font-size: 1.1rem;
        padding: 12px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}