/*
Theme Name: Eastmed Theme
Author: Nathaniel Hayoun
Version: 1.0
*/

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

hr{
    display: none;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #0c4a6e;
    background: white;
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    height: 5rem;
    background: #f0f9ff;
    z-index: 50;
}

.navbar-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-link {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none; 
}

.logo {
    height: 100%;
    padding: 0.5rem 0;
    margin-left: 3rem;
}

.logo-title { 
    font-size: 2.5rem;
    font-weight: 800;
    color: #0c4a6e;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.logo-link:hover .logo-title {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #0c4a6e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.02);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    margin-right: 2rem;
    cursor: pointer;
}

    .hamburger {
        display: block;
        width: 25px;
        height: 3px;
        background: #0c4a6e;
        position: relative;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 3px;
        background: #0c4a6e;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .hamburger::before {
        top: -8px;
        left: 0;
    }

    .hamburger::after {
        bottom: -8px;
        left: 0;
    }

    /* Animation du hamburger quand le menu est ouvert */
    .mobile-menu-toggle.active .hamburger {
        background: transparent;
    }

    .mobile-menu-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .mobile-menu-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

.nav-menu {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.nav-separator {
    display: none;
}

.nav-link {
    color: #0c4a6e;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #0369a1;
}


.hero-section {
    background-position: center bottom -3rem;
    z-index: 10;
    width: 100%;
    position: relative;
}

/* Hero Section */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12rem 1.5rem 8rem;
    text-align: center;
}

.hero-title {
    font-size: 6rem;
    font-weight: 700;
    color: #f0f9ff;
    margin-bottom: 0;
}

.hero-subtitle {
    font-size: 2.25rem;
    font-weight: 600;
    color: #f0f9ff;
    margin: 2rem 4rem 0;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 150px;
}

.btn-primary {
    background: white;
    color: #0369a1;
}

.btn-primary:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #0369a1;
    color: white;
}

.btn-secondary:hover {
    background: #0284c7;
    transform: translateY(-2px);
}

/* Partner Banner */
.partner-banner {
    overflow: hidden;
    padding: 0.75rem 2rem;
}

.partner-scroll {
    display: flex;
    align-items: center;
    height: 8rem;
    overflow: visible;
    animation: scroll 30s linear infinite;
}

.partner-link {
    flex-shrink: 0;
    width: 16rem;
    margin: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    height: 8rem;
    width: 100%;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Presentation Section */
.presentation-section {
    width: 100%;
    background: #e0f2fe;
    padding: 4rem 0;
}

.presentation-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 3rem;
}

.presentation-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.presentation-image img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.presentation-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.presentation-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0c4a6e;
    text-align: center;
    margin-bottom: 0.5rem;
}

.presentation-subtitle {
    font-size: 1.5rem;
    color: #0369a1;
    text-align: center;
    margin-bottom: 2.5rem;
}

.presentation-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #000;
}

.presentation-text p {
    margin-bottom: 1rem;
}

.presentation-text .highlight {
    font-weight: 600;
}

/* News Section */
.actualites-section {
    width: 100%;
    background: white;
    padding: 4rem 0;
}

.actualites-container {
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0c4a6e;
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 0.5rem 2rem 0.5rem 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, transparent 0%, transparent 100%);
}

.section-title-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #3b82f6);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.section-title-link::after {
    content: ' →';
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-10px);
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
}

.section-title-link:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.section-title-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.section-title-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.articles-scroll {
    width: 100%;
    padding: 0.75rem 0;
}

.articles-container {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 0 2rem;
}

.article-card {
    flex: 0 0 auto;
    width: 24rem;
    max-width: calc(100% - 4rem);
    display: flex;
    flex-direction: column;
}

.article-image {
    height: 8rem;
    width: 100%;
    border: 2px solid #e0f2fe;
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.article-content {
    background: #e0f2fe;
    color: #0c4a6e;
    padding: 1rem;
    border-radius: 0 0 1rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid #0c4a6e;
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
}

.article-date {
    color: #0369a1;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.article-excerpt {
    text-align: justify;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
}

.article-link {
    color: #0284c7;
    text-decoration: none;
    text-align: right;
    font-weight: 500;
}

.article-link:hover {
    text-decoration: underline;
}


/* Nos Expertises Section - New Style */
.expertises-section-new {
    background: #e0f2fe;
    color: #0c4a6e;
    padding: 4rem 0;
}

.expertises-container-new {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0 2rem;
}

.expertise-item-new {
    display: flex;
    width: 100%;
    max-width: 66.67%;
    border: 1px solid #0c4a6e;
    background: white;
    margin-bottom: 0;
}

.expertise-item-new.reverse {
    flex-direction: row-reverse;
}

.expertise-image-new {
    flex: 1;
    overflow: hidden;
}

.expertise-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
  
.expertise-content-new {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.expertise-title-new {
    font-size: 1.875rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0c4a6e;
    text-align: center;
    padding: 2rem 0;
    margin: 0 1rem 0;
}

.expertise-text-new {
    text-align: justify;
    line-height: 1.6;
    color: #000;
    margin: 0 1rem 1.5rem;
}

.expertise-link-new {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0;
    font-size: 1.25rem;
    color: #0c4a6e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.expertise-link-new:hover {
    color: #0284c7;
}

.expertise-bullet {
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

/* Page-specific styles */
.page-content .expertises-section-new {
    min-height: calc(100vh - 80px);
    padding: 2rem 0 4rem;
}

.page-content .expertises-container-new {
    max-width: 1200px;
}

.page-content .expertise-item-new {
    max-width: 80%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.page-content .expertise-content-new {
    padding: 2rem;
}

.page-content .expertise-text-new {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
    max-width: none;
}

.page-content .expertise-text-new p {
    margin-bottom: 1.5rem;
}

.page-content .expertise-text-new ul,
.page-content .expertise-text-new ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.page-content .expertise-text-new li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.page-content .expertise-text-new h2,
.page-content .expertise-text-new h3 {
    color: #0c4a6e;
    margin: 2rem 0 1rem;
}

.page-navigation-top {
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-section {
    background: #0c4a6e;
    color: white;
    padding: 4rem 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-section .section-title {
    color: white;
    margin-bottom: 3rem;
}

.contact-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0369a1;
}

/* Footer */
.footer {
    background: #0369a1;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-container {
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive styles moved to mobile.css */


/* Styles pour les pages */
.page-content {
    min-height: 70vh;
    padding: 2rem 0;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-navigation-top {
    margin-bottom: 2rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.page-title {
    font-size: 2.5rem;
    color: #0c4a6e;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-featured-image {
    margin-bottom: 3rem;
    text-align: center;
}

.page-featured-image .featured-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.page-content-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
    max-width: 800px;
    margin: 0 auto;
}

.page-content-text h2 {
    color: #0c4a6e;
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem 0;
    font-weight: 600;
    border-bottom: 2px solid #0ea5e9;
    padding-bottom: 0.5rem;
}

.page-content-text h3 {
    color: #0c4a6e;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.page-content-text h4 {
    color: #374151;
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
}

.page-content-text p {
    margin-bottom: 1.5rem;
}

.page-content-text ul, 
.page-content-text ol {
    margin: 1.5rem 0 2rem 2rem;
}

.page-content-text li {
    margin-bottom: 0.75rem;
}

.page-content-text blockquote {
    border-left: 4px solid #0ea5e9;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    position: relative;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.1);
}

.page-content-text blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #0ea5e9;
    opacity: 0.3;
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-family: serif;
}

.page-content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.page-content-text a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.page-content-text a:hover {
    color: #0c4a6e;
    border-bottom-color: #0c4a6e;
}

/* Expertise section list items indentation */
#nos-expertises > div > div > div.expertise-content-new > div > ul > li {
    margin-left: 1.5rem;
}

/* Footer Contact Styles */
.footer-content {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-contact {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: nowrap;
}

.footer-email,
.footer-phone,
.footer-linkedin {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email:hover,
.footer-phone:hover,
.footer-linkedin:hover {
    color: #0c4a6e;
}

.email-icon,
.phone-icon {
    font-size: 1.2rem;
}

.linkedin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #0077b5;
    color: white;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #25D366;
    transition: color 0.3s ease;
}

.footer-whatsapp:hover {
    color: #128C7E;
}

.whatsapp-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.footer-whatsapp:hover .whatsapp-icon {
    transform: scale(1.1);
}

.footer-address {
    display: inline-flex;
    align-items: center;
    color: white;
    font-size: 0.9rem;
}

/* Mobile styles for footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Responsive styles moved to mobile.css */