/* Базові стилі */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9fcff; /* Легкий пастельний фон */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Шапка */
header {
    background-color: #4da6ff; /* М'який голубий */
    color: white;
    padding: 20px 0;
    text-align: center;
    border-bottom: 5px solid #fdd835; /* Жовта межа */
}

header h1 {
    margin: 10px 0;
    font-size: 2.5em;
    font-weight: bold;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffeb3b; /* Яскраво-жовтий при наведенні */
}

/* Розділи */
.section {
    padding: 60px 20px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.section:nth-child(odd) {
    background-color: #e6ffe6; /* Світло-зелений */
}

.section:nth-child(even) {
    background-color: #fff7cc; /* Світло-жовтий */
}

/* Галерея */
.portfolio-gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.portfolio-gallery img {
    width: 200px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-gallery img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


/* Контактна секція */
    .container {
       max-width: 1200px;
       margin: 0 auto;
       padding: 20px;
    }

    #contact .contact-boxes {
            display: flex;
            justify-content: space-between;
            flex-wrap: nowrap;
            gap: 20px;
        }
        .contact-box {
            flex: 1;
            max-width: 250px;
            background-color: #e6ffe6;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .contact-box h3 {
            margin-bottom: 10px;
            font-size: 1.2em;
            color: #357abd;
        }
        .contact-box p {
            margin: 0;
            color: #333;
            font-size: 1em;
        }
        .contact-box a {
            color: #4da6ff;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .contact-box a:hover {
            color: #357abd;
        }
        .contact-box:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        }
        @media (max-width: 768px) {
            .contact-boxes {
                flex-wrap: wrap;
                justify-content: center;
            }
            .contact-box {
                max-width: calc(50% - 20px);
            }
        }
        @media (max-width: 480px) {
            .contact-box {
                max-width: 100%;
            }
        }



/* Форми */
form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin: 10px 0 5px;
}

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

form button {
    background-color: #4da6ff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #357abd; /* Темніший голубий */
}



/* Футер */
footer {
    background-color: #4da6ff;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 5px solid #fdd835;
}

.footer-logo {
    width: 80px;
    margin-bottom: 10px;
}
