/* Basic Reset & Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

/* Header */
header {
    background: #0056b3;
    color: #fff;
    padding: 1rem 0;
    border-bottom: 3px solid #004085;
}

header h1 {
    float: left;
    margin-bottom: 0;
}

header nav {
    float: right;
    margin-top: 10px;
}

header ul {
    list-style: none;
}

header li {
    display: inline;
    padding: 0 15px;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header a:hover {
    color: #ffd700;
}

/* Hero Section */
.hero {
    min-height: 400px;
    background: #007bff no-repeat center center/cover;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    color: #fff;
    background: #28a745;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background: #218838;
}

/* Ateliers Section */
.ateliers {
    padding: 40px 0;
    background: #fff;
    text-align: center;
}

.ateliers h2 {
    margin-bottom: 30px;
    color: #0056b3;
}

.atelier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.atelier-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.atelier-card:hover {
    transform: translateY(-5px);
}

.atelier-card h3 {
    color: #007bff;
    margin-bottom: 15px;
}

/* Contact Form Section */
.contact-form {
    padding: 40px 0;
    background: #e9ecef;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0056b3;
}

.contact-form p {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1em;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contact-form .button {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1,
    header nav {
        float: none;
        text-align: center;
    }

    header nav ul li {
        padding: 0 10px;
    }

    .hero h2 {
        font-size: 2.5em;
    }

    .atelier-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }
}
