/* Ferry Recycling - Style principal
   Palette de couleurs :
   - Vert écologique: #3B945E
   - Bleu technologique: #1A659E
   - Jaune valorisation: #F2C14E
   - Fond clair: #F9F9F9
   - Texte principal: #333333
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #F9F9F9;
    overflow-x: hidden;
}

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

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333333;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.5rem;
    line-height: 1.5;
}

p {
    margin-bottom: 15px;
}

a {
    color: #1A659E;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #3B945E;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #3B945E;
    color: white;
}

.btn-primary:hover {
    background-color: #2e7a4b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: #1A659E;
    color: white;
}

.btn-secondary:hover {
    background-color: #145180;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-accent {
    background-color: #F2C14E;
    color: #333333;
}

.btn-accent:hover {
    background-color: #e0b23e;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Header et Navigation */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: #333333;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    padding: 5px 0;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3B945E;
    transition: width 0.3s ease;
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
#hero {
    padding: 180px 0 100px;
    background: linear-gradient(to right, rgba(59, 148, 94, 0.8), rgba(26, 101, 158, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

#hero h1 {
    color: white;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.5s;
}

#hero .lead {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.8s;
}

.hero-buttons {
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 1.1s;
}

.hero-buttons .btn {
    margin: 0 10px;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 1.4s;
}

.feature {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.feature i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Values Section */
#values {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3B945E, #1A659E);
    margin: 15px auto 0;
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.value-card {
    background-color: #F9F9F9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-card .icon {
    font-size: 2.5rem;
    color: #3B945E;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.quote {
    text-align: center;
    font-size: 1.5rem;
    font-style: italic;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Services Preview Section */
#services-preview {
    padding: 100px 0;
    background-color: #F9F9F9;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #3B945E, #1A659E);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover:before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
    font-size: 2.5rem;
    color: #1A659E;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.services-cta {
    text-align: center;
    margin-top: 30px;
}

/* Why Choose Us Section */
#why-us {
    padding: 100px 0;
    background: linear-gradient(to right, rgba(59, 148, 94, 0.9), rgba(26, 101, 158, 0.9)), url('../images/why-us-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

#why-us .section-title {
    color: white;
}

#why-us .section-title:after {
    background: #F2C14E;
}

.benefits-list {
    max-width: 800px;
    margin: 0 auto 50px;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.benefit-item i {
    color: #F2C14E;
    font-size: 1.5rem;
    margin-right: 15px;
}

#why-us .quote {
    color: white;
}

/* Footer */
footer {
    background-color: #333333;
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: #F2C14E;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: #F2C14E;
}

.footer-social h4 {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #F2C14E;
    color: #333333;
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-bottom .slogan {
    margin-top: 10px;
    color: #F2C14E;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-text {
    animation: fadeInUp 1s forwards;
}

/* Styles pour la page À propos */
#about-hero {
    padding: 180px 0 80px;
    background: linear-gradient(to right, rgba(59, 148, 94, 0.8), rgba(26, 101, 158, 0.8)), url('../images/about-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

#about-hero h1 {
    color: white;
    margin-bottom: 30px;
}

#about-content {
    padding: 80px 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 30px;
    position: relative;
}

.about-text h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #3B945E, #1A659E);
    margin: 15px 0 0;
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Mission & Vision Section */
#mission-vision {
    padding: 80px 0;
    background-color: #F9F9F9;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.mission-box, .vision-box {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.mission-box:hover, .vision-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission-box .icon, .vision-box .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.mission-box .icon {
    color: #3B945E;
}

.vision-box .icon {
    color: #1A659E;
}

.mission-box h3, .vision-box h3 {
    margin-bottom: 20px;
}

/* Commitments Section */
#commitments {
    padding: 80px 0;
    background-color: white;
}

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

.commitment-card {
    background-color: #F9F9F9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.commitment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.commitment-card .icon {
    font-size: 2.5rem;
    color: #3B945E;
    margin-bottom: 20px;
}

.commitment-card h3 {
    margin-bottom: 15px;
}

/* Team Section */
#team {
    padding: 80px 0;
    background-color: #F9F9F9;
}

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

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.team-member h3 {
    margin: 20px 0 5px;
    font-size: 1.5rem;
}

.team-member .position {
    color: #3B945E;
    font-weight: 500;
    margin-bottom: 15px;
}

.team-member .bio {
    padding: 0 20px 20px;
    font-size: 0.9rem;
}

/* Certifications Section */
#certifications {
    padding: 80px 0;
    background-color: white;
}

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

.certification-item {
    background-color: #F9F9F9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.certification-item img {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.certification-item h3 {
    margin-bottom: 10px;
    color: #1A659E;
}

/* Call to Action Section */
#cta {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(26, 101, 158, 0.9), rgba(59, 148, 94, 0.9)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

#cta h2 {
    color: white;
    margin-bottom: 20px;
}

#cta p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Styles pour la page Contact */
#contact-hero {
    padding: 180px 0 80px;
    background: linear-gradient(to right, rgba(26, 101, 158, 0.8), rgba(59, 148, 94, 0.8)), url('../images/contact-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

#contact-hero h1 {
    color: white;
    margin-bottom: 30px;
}

#contact-info {
    padding: 80px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: #F9F9F9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-card .icon {
    font-size: 2.5rem;
    color: #1A659E;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Styles pour le formulaire de contact */
#contact-form {
    padding: 80px 0;
    background-color: #F9F9F9;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.form-content {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333333;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #1A659E;
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 101, 158, 0.2);
}

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

.form-submit {
    margin-top: 30px;
}

.form-success {
    background-color: rgba(59, 148, 94, 0.1);
    border-left: 4px solid #3B945E;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.form-success i {
    color: #3B945E;
    font-size: 1.5rem;
    margin-right: 15px;
}

.has-error input, .has-error textarea {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

.map-container {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-container h3 {
    margin-bottom: 20px;
}

.map {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    min-height: 450px;
}

.map iframe {
    border-radius: 10px;
}

/* Section Devis */
#devis {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.quote-requirements {
    max-width: 600px;
    margin: 0 auto 40px;
}

.quote-requirements ul {
    list-style: none;
    text-align: left;
    padding: 20px;
    background-color: #F9F9F9;
    border-radius: 10px;
}

.quote-requirements li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.quote-requirements i {
    color: #3B945E;
    margin-right: 10px;
}

.quote-contact {
    background-color: #1A659E;
    color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.quote-contact strong {
    color: #F2C14E;
}

/* Media Queries pour Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    #hero {
        padding: 150px 0 80px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: white;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .cta-button {
        display: none;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 80%;
        margin: 10px auto;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .values-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive pour la page Contact */
    .form-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .map-container {
        margin-top: 30px;
    }
    
    .map {
        min-height: 350px;
    }
    
    #contact-hero,
    #contact-info,
    #contact-form,
    #devis {
        padding: 60px 0;
    }
    
    #contact-hero {
        padding-top: 150px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo img {
        margin: 0 auto 15px;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    #hero {
        padding: 130px 0 60px;
    }
    
    .value-card,
    .service-card {
        padding: 20px;
    }
    
    .quote {
        font-size: 1.2rem;
    }
}