/* ============================================ */
/* STYLES GÉNÉRAUX */
/* ============================================ */
* {
    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: #f5f5f5;
    overflow-x: hidden;
}

/* ============================================ */
/* HEADER ET NAVIGATION */
/* ============================================ */
header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #D4AF37;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #D4AF37;
    object-fit: cover;
    display: none;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-left: auto;
    padding-right: 2rem;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.language-switcher button {
    background: transparent;
    border: 2px solid #D4AF37;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.language-switcher button:hover,
.language-switcher button.active {
    background: #D4AF37;
    color: #000;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #D4AF37;
}

/* ============================================ */
/* MENU HAMBURGER */
/* ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #D4AF37;
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================ */
/* MENU MOBILE */
/* ============================================ */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 2rem;
    padding-bottom: 120px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow: hidden;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 0 1.5rem 0;
    border-bottom: 2px solid #D4AF37;
    opacity: 0;
    transition: opacity 0.3s ease 0.3s;
}

.mobile-menu.active .mobile-menu-header {
    opacity: 1;
}

.mobile-menu-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #D4AF37;
    object-fit: cover;
}

.mobile-menu-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #D4AF37;
    letter-spacing: 0.5px;
    text-align: center;
}

.mobile-menu ul {
    list-style: none;
    margin-bottom: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease 0.3s;
}

.mobile-menu.active ul {
    opacity: 1;
}

.mobile-menu ul li {
    margin: 1rem 0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.mobile-menu.active ul li {
    opacity: 1;
}

.mobile-menu:not(.active) ul li:last-child {
    opacity: 0;
    pointer-events: none;
}

.mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 0.8rem;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.mobile-menu ul li a:hover {
    color: #D4AF37;
    border-left-color: #D4AF37;
    padding-left: 1.5rem;
}

.mobile-menu .language-switcher {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease 0.3s;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-top: 2px solid #D4AF37;
}

.mobile-menu.active .language-switcher {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu .language-switcher button {
    padding: 0.7rem 1.5rem;
    font-size: 1.1rem;
}

/* Footer du menu mobile */
.mobile-menu-footer {
    position: fixed;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.mobile-menu.active .mobile-menu-footer {
    opacity: 0;
    pointer-events: none;
}

.mobile-menu-footer-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #D4AF37;
    object-fit: cover;
}

.mobile-menu-footer-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #D4AF37;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */
.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 2rem 60px;
}

.hero-content {
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #000;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInLeft 1s;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: #D4AF37;
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}
.hero-content p + div {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s;
}

.hero-image {
    width: 450px;
    height: 550px;
    border-radius: 20px;
    border: 5px solid #D4AF37;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    background-color: #ffffff; /* Белый фон вместо старой огромной картинки */
    
    /* Центрируем логотип */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

/* Это обязательно добавьте ниже, чтобы картинка сжималась */
.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    padding: 30px; /* Отступ внутри рамки, чтобы логотип не прижимался к краям */
    box-sizing: border-box;
}

/* ============================================ */
/* BOUTONS */
/* ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: #D4AF37;
    color: #000000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    margin-right: 1rem;
    margin-top: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
    background: #F4D03F;
}

.btn-center {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================ */
/* SECTION DOMAINES D'EXPERTISE */
/* ============================================ */
.expertise-section {
    background: white;
    padding: 100px 2rem;
    position: relative;
}

.expertise-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
}

.expertise-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: #000;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    font-weight: 500;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.expertise-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    min-height: 350px;
}

.expertise-card.main-category {
    min-height: 400px;
}

.category-badge {
    display: inline-block;
    background: linear-gradient(135deg, #D4AF37, #F4D03F);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    transition: all 0.5s;
}

.expertise-card:hover .category-badge {
    background: linear-gradient(135deg, #F4D03F, #D4AF37);
    transform: scale(1.05);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(26,26,26,0.95) 100%);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.expertise-card:hover::before {
    width: 100%;
}

.expertise-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #D4AF37, #F4D03F);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
}

.expertise-card:hover::after {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    transition: all 0.5s;
}

.expertise-card:hover .card-content {
    color: white;
}

.expertise-number {
    font-size: 5rem;
    font-weight: bold;
    color: rgba(212, 175, 55, 0.1);
    position: absolute;
    top: -20px;
    right: 20px;
    transition: all 0.5s;
}

.expertise-card:hover .expertise-number {
    color: rgba(212, 175, 55, 0.2);
    transform: scale(1.2);
}

.expertise-card h3 {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 1rem;
    transition: all 0.5s;
}

.expertise-card:hover h3 {
    color: #D4AF37;
}

.expertise-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
    transition: all 0.5s;
}

.expertise-card:hover p {
    color: #e0e0e0;
}

.expertise-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s;
}

.expertise-card:hover .expertise-details {
    opacity: 1;
    max-height: 200px;
}

.expertise-details li {
    list-style: none;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #D4AF37;
    font-size: 0.95rem;
}

.expertise-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #D4AF37;
}

/* ============================================ */
/* SECTION BIOGRAPHIE */
/* ============================================ */
.bio-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 100px 2rem;
    color: white;
}

.bio-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.bio-sidebar {
    position: sticky;
    top: 100px;
}

.profile-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #D4AF37;
    backdrop-filter: blur(10px);
}

.profile-image-bio {
    width: 100%;
    height: 350px;
    /* Изменено center/cover на top/cover */
    background: url('pose.jpg') top/cover no-repeat; 
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 3px solid #D4AF37;
}

.profile-card h2 {
    color: #D4AF37;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.profile-card .title {
    color: #e0e0e0;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

.contact-info p {
    margin-bottom: 0.8rem;
    color: #e0e0e0;
}

.contact-info strong {
    color: #D4AF37;
}

.bio-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.bio-content h3 {
    color: #D4AF37;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #D4AF37;
}

.bio-content p {
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.qualifications {
    background: rgba(212, 175, 55, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid #D4AF37;
}

.qualifications h4 {
    color: #D4AF37;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.qualifications ul {
    list-style: none;
    padding-left: 0;
}

.qualifications li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    color: #e0e0e0;
}

.qualifications li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ============================================ */
/* SECTION CTA */
/* ============================================ */
.cta-section {
    background: white;
    padding: 80px 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* ============================================ */
/* FOOTER */
/* ============================================ */
footer {
    background: #000000;
    color: white;
    text-align: center;
    padding: 2rem;
    border-top: 3px solid #D4AF37;
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ============================================ */
/* RESPONSIVE - TABLETTES (max-width: 968px) */
/* ============================================ */
@media (max-width: 968px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 100px 2rem 40px;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-image {
        width: 100%;
        max-width: 400px;
        height: 480px;
        margin: 0 auto;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bio-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bio-sidebar {
        position: static;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* ============================================ */
/* RESPONSIVE - TÉLÉPHONES (max-width: 768px) */
/* ============================================ */
@media (max-width: 768px) {
    header {
        padding: 0.8rem 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    nav {
        padding: 0 1.2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .logo {
        font-size: 1rem;
        flex: 1;
        color: #D4AF37;
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo span {
        display: inline-block;
    }

    .nav-center {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
        z-index: 1001;
    }

    .mobile-menu {
        display: block !important;
        top: 55px;
    }

    .mobile-menu:not(.active) .language-switcher {
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .mobile-menu:not(.active) .mobile-menu-footer {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .hero-section {
        grid-template-columns: 1fr;
        padding: 80px 1.5rem 30px;
        gap: 2rem;
        min-height: auto;
    }

    .hero-content {
        padding: 0;
        text-align: center;
        order: 1;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-image-container {
        order: 2;
        width: 100%;
    }

    .hero-image {
        width: 100%;
        max-width: 300px;
        height: 360px;
        margin: 0 auto;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        display: inline-block;
        width: auto;
        margin: 0.5rem 0.3rem;
    }

    .expertise-section {
        padding: 50px 1.5rem;
    }

    .bio-section {
        padding: 50px 1.5rem;
    }

    .cta-section {
        padding: 50px 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expertise-card {
        padding: 1.8rem 1.5rem;
        min-height: auto;
    }

    .expertise-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .expertise-card p {
        font-size: 0.95rem;
    }

    .expertise-number {
        font-size: 3rem;
        top: -5px;
        right: 10px;
    }

    .expertise-details li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }

    .bio-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bio-sidebar {
        position: static;
    }

    .profile-card {
        padding: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .profile-card h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .profile-image-bio {
        height: 300px;
    }

    .contact-info {
        text-align: center;
    }

    .bio-content {
        padding: 2rem 1.5rem;
    }

    .bio-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .bio-content p {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: left;
    }

    .qualifications {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .qualifications h4 {
        font-size: 1.2rem;
    }

    .qualifications li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        padding-left: 1.8rem;
    }

    .cta-section h2 {
        font-size: 1.7rem;
    }

    .cta-section p {
        font-size: 0.95rem;
    }

    footer {
        padding: 1.5rem 1rem;
        font-size: 0.85rem;
    }

    footer p {
        margin: 0.5rem 0;
    }
}

/* ============================================ */
/* PETITS TÉLÉPHONES (max-width: 480px) */
/* ============================================ */
@media (max-width: 480px) {
    .logo {
        font-size: 0.85rem;
    }

    .logo-image {
        width: 32px;
        height: 32px;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .expertise-card h3 {
        font-size: 1.2rem;
    }

    .hero-image {
        max-width: 280px;
        height: 340px;
    }

    .bio-content h3 {
        font-size: 1.3rem;
    }

    .expertise-number {
        font-size: 2.5rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* ============================================ */
/* TRÈS PETITS ÉCRANS (max-width: 360px) */
/* ============================================ */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .expertise-card {
        padding: 1.5rem 1rem;
    }

    .expertise-card h3 {
        font-size: 1.1rem;
    }

    .hero-image {
        max-width: 260px;
        height: 320px;
    }
}
