/* Global Reset */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: white;
}

section {
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    color: white;
   
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}


.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
}

.hero-text-container {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 25px 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.hero-buttons a {
    margin: 10px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-buttons a:hover {
    background-color: white;
    color: black;
}

/* About Section */
.about-section {
    padding: 60px 20px;
    background-color: #111; /* Ten sam kolor, co navbar */
    color: white;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    margin: 20px 0;
}

.about-photo {
    width: 70%;
    border: 3px solid white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.social-icon {
    color: white;
    font-size: 20px;
    padding: 10px;
    border: 2px solid white;
    margin: 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    background-color: white;
    color: black;
}

/* Opinie Section */
.opinie-section {
    padding: 60px 20px;
    background-color: #111; /* Ten sam kolor co About */
    color: white;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    margin: 20px 0;
}

.opinie-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.opinie-section .subtitle {
    font-size: 1.2rem;
    color: #bbb;
    margin-bottom: 30px;
}

.opinie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
}

.opinia-card {
    background-color: #2b2b2b;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    width: 100%;
    max-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.opinia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.opinia-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.facebook-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    color: #4267B2; /* Kolor Facebooka */
    border-radius: 0; /* Domyślnie kwadratowe */
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.facebook-icon-round {
    border-radius: 50%; /* Okrągłe ikony w sekcji opinii */
}


.opinia-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #ddd;
    margin: 0;
}

/* Footer */
.footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer p {
    margin: 5px 0;
    font-size: 1rem;
}

.footer .social-icons {
    margin: 20px 0;
}

.footer .social-icon {
    margin: 0 10px;
    font-size: 20px;
    color: white;
    transition: color 0.3s ease;
}

.footer .social-icon:hover {
    color: #007bff;
}

/* Background Between Sections */
body {
    background: #f5f5f5;
}

section + section {
    margin-top: 20px;
    padding-top: 20px;
    background: #f5f5f5; /* Jasnoszare tło */
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
    }

    .about-photo {
        width: 90%;
    }

    .opinie-header h2 {
        font-size: 2rem;
    }

    .opinie-header p {
        font-size: 1rem;
    }

    .opinia-card {
        max-width: 100%;
    }
}
