@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

html {
    scroll-behavior: smooth;
  }

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff; /* Bright background */
    color: #20232a; /* Dark text */
}

header {
    position: fixed;
    width: 100%;
    background-color: #f0f0f0; /* Bright light gray */
    padding: 15px 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

header a {
    color: #20232a; /* Dark text for links */
    text-decoration: none;
    padding: 10px;
    font-weight: 600;
    transition: color 0.3s ease;
}

header a:hover {
    color: #ff3b3b; /* Bright red accent on hover */
}

#hero {
    display: flex;
    flex-direction: column;
    align-items: center; /* Wyśrodkowanie poziome */
    justify-content: center;
    height: 100vh;
    text-align: center;
    color: #20232a;
    font-weight: 600;
}

#hero h1 {
    font-size: 3em;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    line-height: 4rem;
}

#hero button {
    background-color: #ffcc00;
    color: #20232a;
    padding: 15px 30px;
    border: none;
    text-decoration: none;
    border-radius: 10px; /* Zaokrąglone rogi */
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

#hero button:hover {
    background-color: #ff3b3b;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0px 7px 14px rgba(0, 0, 0, 0.15);
}

#hero button:active {
    transform: scale(0.98);
}

#hero button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 60, 60, 0.5);
}

.hero .cta-button:hover {
    background-color: #ff3b3b;
    color: #fff;
    transform: scale(1.05);
}

section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}


form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

form input, form textarea {
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    background-color: #ffffff;
    color: #20232a;
}

form button {
    background-color: #ffcc00;
    color: #20232a;
    padding: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

form button:hover {
    background-color: #ff3b3b;
    color: #fff;
    transform: scale(1.05);
}

footer {
    background-color: #f0f0f0; /* Light background for footer */
    color: #20232a; /* Dark text */
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: #ff3b3b; /* Accent color remains for links */
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

#logo{
    max-height: 10vh;

}

.header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 0 5vw;
}

#logo { 
    border-radius: 50%; 
    margin: 10px;
}

/* Sekcja About */
#about {
    padding: 80px 20px;
    background-color: #f9f9f9; /* Jasne tło, by wyróżnić sekcję */
    text-align: center;
    color: #20232a;
}

#about h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#about p {
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    font-size: 1.1em;
}

/* Stylizacja przycisku wewnątrz sekcji About */
#about .btn {
    display: inline-block;
    background-color: #ffcc00;
    color: #20232a;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#about .btn:hover {
    background-color: #ff3b3b;
    color: #fff;
    transform: scale(1.05);
}

/* Sekcja Services */
#services {
    padding: 80px 20px;
    background-color: #ffffff;
    color: #20232a;
    text-align: center;
}

#services h2 {
    font-size: 2.2em;
    margin-bottom: 40px;
}

/* Układ kafelków w sekcji Services */
#services .services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Kafelki Service */
.service {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    font-size: 0.9em; /* Mniejszy ogólny rozmiar fontu */
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.service h3 {
    font-size: 1.5em; /* Mniejszy rozmiar nagłówka */
    margin-bottom: 10px;
}

.service p {
    font-size: 0.9em;
    margin-bottom: 15px;
}

.service ul {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
    font-size: 0.9em;
}

.service ul li {
    margin-bottom: 6px;
}

/* Przycisk w kafelku Service */
.service a.btn {
    display: inline-block;
    background-color: #ffcc00;
    color: #20232a;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 0.9em;
}

.service a.btn:hover {
    background-color: #ff3b3b;
    color: #fff;
    transform: scale(1.05);
}

/* Sekcja Kontakt */
#contact {
    padding: 80px 20px;
    background-color: #f9f9f9; /* Delikatne, jasne tło */
    color: #20232a;
    text-align: center;
}

#contact h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
}

#contact p {
    font-size: 1em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Stylizacja formularza kontaktowego */
#contact form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact form label {
    font-size: 0.9em;
    margin-bottom: 5px;
}

#contact form input,
#contact form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
}

#contact form textarea {
    resize: vertical;
    min-height: 120px;
}

#contact form button {
    background-color: #ffcc00;
    color: #20232a;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#contact form button:hover {
    background-color: #ff3b3b;
    color: #fff;
    transform: scale(1.05);
}

.social{
    font-size: 2rem;
}

.social a {
    transition: color 0.3s ease;
}

.social a:hover {
    color: #ff3b3b;
}