/* Ganyo Nugloze - Header Professionnel */

* {
    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: #f8f9fa;
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo Section */
.logo-section {
    flex: 1;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff8c42;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    background: white;
    padding: 2px;
}

.profile-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(255,140,66,0.4);
}

.logo-text .company-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo-text .tagline {
    font-size: 0.9rem;
    margin: 0;
    color: #ff8c42;
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    display: flex;
    gap: 30px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    white-space: nowrap;
    min-width: fit-content;
}

.flag-icon {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.contact-item i {
    font-size: 1rem;
    color: #ff8c42;
}

/* Language Selector Styles */
.language-selector {
    cursor: pointer;
    position: relative;
}

.language-dropdown {
    background: transparent;
    border: none;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    appearance: none;
    padding-right: 15px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 12px;
}

.language-dropdown option {
    background: #1e3a5f;
    color: white;
    padding: 5px;
}

.language-dropdown:hover {
    color: #ff8c42;
}

.language-dropdown:focus {
    color: #ff8c42;
}

/* Animation pour les traductions */
[data-translate] {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Single Article Container */
.single-article-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

/* Featured Article with Image */
.featured-article {
    max-width: 700px;
    width: 100%;
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-img {
    transform: scale(1.05);
}

.article-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,140,66,0.1);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.article-date {
    background: linear-gradient(135deg, #ff8c42 0%, #e67e22 100%);
    color: white;
    padding: 15px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.article-date .day {
    font-size: 1.8rem;
    font-weight: 700;
}

.article-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.article-date .year {
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    color: #1e3a5f;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.read-more {
    color: #ff8c42;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: #e67e22;
    text-decoration: none;
}

.read-more::after {
    content: "→";
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* View All Button */
.view-all-container {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-view-all:hover {
    background: linear-gradient(135deg, #2c5282 0%, #1e3a5f 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30,58,95,0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1001;
    cursor: pointer;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.close:hover,
.close:focus {
    color: #ff8c42;
    text-decoration: none;
}

.modal-body {
    padding: 30px;
    max-height: 80vh;
    overflow-y: auto;
}

.article-full {
    line-height: 1.7;
}

.article-hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.article-date {
    color: #ff8c42;
    font-weight: 600;
}

.article-category {
    color: #666;
    font-size: 0.9rem;
}

.article-intro {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 4px solid #ff8c42;
}

.article-full h2 {
    color: #1e3a5f;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.article-full h3 {
    color: #1e3a5f;
    margin: 25px 0 15px 0;
    font-size: 1.3rem;
    border-bottom: 2px solid #ff8c42;
    padding-bottom: 8px;
}

.article-full p {
    margin-bottom: 15px;
    color: #444;
}

.article-full ul {
    margin: 15px 0;
    padding-left: 25px;
}

.article-full li {
    margin-bottom: 8px;
    color: #444;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .article-hero-img {
        height: 200px;
    }
    
    .article-full h2 {
        font-size: 1.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    margin-top: 60px;
}

.newsletter-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter-content h3 {
    color: #1e3a5f;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.newsletter-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    position: relative;
}

.newsletter-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.newsletter-input:focus {
    outline: none;
    border-color: #ff8c42;
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

.newsletter-btn {
    background: linear-gradient(135deg, #ff8c42 0%, #e67e22 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.newsletter-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
}

.newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.newsletter-message {
    padding: 12px 20px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 500;
}

.newsletter-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.newsletter-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.newsletter-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.newsletter-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #444;
    font-size: 1rem;
}

.feature-item i {
    color: #ff8c42;
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

/* Newsletter Responsive */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 40px 0;
        margin-top: 40px;
    }
    
    .newsletter-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px;
    }
    
    .newsletter-content h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-content p {
        font-size: 1rem;
    }
    
    .newsletter-input {
        padding: 12px 15px;
    }
    
    .newsletter-btn {
        padding: 12px 25px;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 30px 0;
    }
    
    .newsletter-container {
        padding: 0 10px;
        gap: 30px;
    }
    
    .newsletter-content h3 {
        font-size: 1.3rem;
    }
    
    .newsletter-input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .newsletter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Footer Styles */
.main-footer {
    background: #284b78;
    color: #ffffff;
    padding: 25px 0;
    margin-top: 60px;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-link:hover {
    color: #ff8c42;
    text-decoration: underline;
}

.footer-separator {
    color: #ffffff;
    opacity: 0.6;
    margin: 0 5px;
}

.footer-copyright {
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: #ff8c42;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .main-footer {
        padding: 20px 0;
        margin-top: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 15px 0;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-content {
        gap: 12px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-separator {
        display: none;
    }
    
    .footer-link {
        font-size: 0.8rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
}

.contact-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
    white-space: nowrap;
    display: inline-block;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    flex: 1;
    justify-content: flex-end;
}

.btn {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    min-width: 100px;
}

.btn-welcome {
    background: #ff8c42;
    color: white;
    border-color: #ff8c42;
}

.btn-welcome:hover {
    background: #e67e22;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,140,66,0.4);
}

.btn-contact {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-contact:hover {
    background: white;
    color: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.main-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.main-content h2 {
    color: #1e3a5f;
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.main-content p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-content {
        padding: 0 15px;
    }
    
    .contact-section {
        gap: 20px;
    }
    
    .logo-text .company-name {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 10px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 0 15px;
    }
    
    .logo-section, .contact-section, .action-buttons {
        flex: none;
        width: 100%;
    }
    
    .logo-container {
        justify-content: center;
        gap: 12px;
    }
    
    .profile-logo {
        width: 50px;
        height: 50px;
    }
    
    .contact-section {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .contact-item {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .action-buttons {
        justify-content: center;
        gap: 12px;
    }
    
    .logo-text .company-name {
        font-size: 1.4rem;
    }
    
    .logo-text .tagline {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
        min-width: 90px;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .main-content h2 {
        font-size: 1.8rem;
    }
    
    .main-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 8px 0;
    }
    
    .header-content {
        gap: 15px;
        padding: 0 10px;
    }
    
    .logo-container {
        gap: 10px;
    }
    
    .profile-logo {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }
    
    .logo-text .company-name {
        font-size: 1.2rem;
    }
    
    .logo-text .tagline {
        font-size: 0.75rem;
    }
    
    .contact-section {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .contact-item {
        padding: 5px 10px;
        font-size: 0.8rem;
        min-width: 140px;
        justify-content: center;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .main-content {
        padding: 30px 0;
    }
    
    .main-content .container {
        padding: 0 15px;
    }
    
    .main-content h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .main-content p {
        font-size: 1rem;
    }
    
    /* Single article responsive for mobile */
    .single-article-container {
        margin: 25px 0;
        padding: 0 10px;
    }
    
    .article-image {
        height: 150px;
    }
    
    .article-card {
        margin: 0 5px;
    }
    
    .article-date {
        padding: 10px 15px;
        flex-direction: row;
        gap: 6px;
    }
    
    .article-date .day {
        font-size: 1.3rem;
    }
    
    .article-date .month {
        font-size: 0.8rem;
    }
    
    .article-date .year {
        font-size: 0.8rem;
    }
    
    .article-content {
        padding: 15px;
    }
    
    .article-content h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .article-content p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .read-more {
        font-size: 0.8rem;
    }
    
    .btn-view-all {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 90%;
        max-width: 250px;
    }
}

@media (max-width: 320px) {
    .header-content {
        padding: 0 8px;
    }
    
    .logo-text .company-name {
        font-size: 1.1rem;
    }
    
    .contact-item {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .language-dropdown {
        font-size: 0.75rem;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .main-content h2 {
        font-size: 1.3rem;
    }
    
    .main-content p {
        font-size: 0.9rem;
    }
    
    /* Single article responsive styles */
    .single-article-container {
        margin: 30px 0;
        padding: 0 15px;
    }
    
    .article-date {
        padding: 12px 15px;
        gap: 8px;
    }
    
    .article-date .day {
        font-size: 1.5rem;
    }
    
    .article-date .month {
        font-size: 0.9rem;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-content h3 {
        font-size: 1.1rem;
    }
    
    .article-content p {
        font-size: 0.9rem;
    }
    
    .btn-view-all {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}