/*
Theme Name: OlyTheme
Theme URI: https://github.com/yourusername/olytheme
Author: Your Name
Author URI: https://yourwebsite.com
Description: Un thème WordPress minimal et fonctionnel
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: olytheme
*/

/* Reset CSS de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 auto;
}


/* Header */
.site-header {
    padding: 2rem 0;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

.site-title {
    font-size: 2rem;
    font-weight: bold;
}

.site-description {
    color: #666;
}

/* Surcharge ninja form style */

.nf-field-element input {
	background: #f7f7f7;
    border: 1px solid #c4c4c4;
    border-radius: 3px;
    color: #787878;
    transition: all .5s;
    height: 40px!important;
}
.nf-field-element textarea {
	background: #f7f7f7;
    border: 1px solid #c4c4c4;
    border-radius: 3px;
    color: #787878;
    transition: all .5s;
}

.field-wrap input[type=submit]{
	width: 200px!important;
    background: #302C54;
    border: 0;
    color: white;
}

.field-wrap input[type=submit]:hover{
    background: #F18700;
    border: 0;
    color: white;
}
/* Navigation */
.main-navigation {
    margin: 1rem 0;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
    display: block;
    transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: #0073aa;
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    position: relative;
    transition: background 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #333;
    transition: transform 0.3s ease;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

/* Accessibilité */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.skip-link {
    position: absolute;
    top: -1000em;
}

.skip-link:focus {
    left: 6px;
    top: 7px;
    height: auto;
    width: auto;
    display: block;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 23px 14px;
    z-index: 100000;
    line-height: normal;
    text-decoration: none;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .main-navigation a {
        padding: 0.75rem 0;
    }
}

/* Content */
.site-content {
    padding: 2rem 0;
}

/* Footer */
.site-footer {
    padding: 2rem 0;
    background: #f5f5f5;
    text-align: center;
} 

