/* accueil.css - Adapté à la charte graphique */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
    background-color: #f9f9f9;
}

.container {
    display: flex;
    width: 100%;
}

/* ===== LEFT SIDE ===== */
.left-side {
    background: linear-gradient(135deg, #D8A97A 0%, #b5835a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.logo-container {
    text-align: center;
    z-index: 2;
    position: relative;
}

.logo {
    max-width: 50%;
    height: auto;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

.tagline {
    color: white;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Éléments décoratifs */
.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(67, 30, 18, 0.1);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-delay: 2s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    animation-delay: 4s;
}

/* ===== RIGHT SIDE ===== */
.right-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    background: white;
    position: relative;
    max-height: 100vh;
    overflow-y: auto;
}

.dashboard-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Header avec logo du musée */
.dashboard-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    flex-shrink: 0;
}

.logo-museum {
    max-width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #D8A97A;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-info {
    flex: 1;
}

h1 {
    color: #333;
    font-size: 1.4em;
    margin-bottom: 6px;
    font-weight: 700;
}

.welcome {
    color: #D8A97A;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.welcome-icon {
    width: 18px;
    height: 18px;
    stroke: #D8A97A;
}

/* Menu Section */
.menu-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.section-title {
    color: #431E12;
    font-size: 1em;
    margin-bottom: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.menu {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar personnalisée */
.menu::-webkit-scrollbar {
    width: 6px;
}

.menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.menu::-webkit-scrollbar-thumb {
    background: #D8A97A;
    border-radius: 10px;
}

.menu::-webkit-scrollbar-thumb:hover {
    background: #431E12;
}

.menu-item {
    animation: slideInRight 0.5s ease-out both;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 6px;
    color: #431E12;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #D8A97A;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.menu-link:hover {
    border-color: #D8A97A;
    background: #fafafa;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(216, 169, 122, 0.15);
}

.menu-link:hover::before {
    transform: scaleY(1);
}

.menu-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #D8A97A 0%, #b5835a 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.menu-link:hover .menu-icon {
    transform: scale(1.08) rotate(3deg);
}

.menu-icon svg {
    width: 18px;
    height: 18px;
    stroke: white;
}

.menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-title {
    font-size: 0.9em;
    font-weight: 600;
    color: #431E12;
    line-height: 1.2;
}

.menu-description {
    font-size: 0.75em;
    color: #666;
    line-height: 1.2;
}

.menu-arrow {
    width: 16px;
    height: 16px;
    stroke: #D8A97A;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.menu-link:hover .menu-arrow {
    transform: translateX(4px);
}

/* Footer */
.dashboard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
    flex-shrink: 0;
}

.small-logo {
    width: 80px;
    height: auto;
}

.footer-text {
    color: #999;
    font-size: 12px;
}

/* Liens généraux */
a {
    color: #431E12;
    text-decoration: none;
}

a:hover {
    color: #D8A97A;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    body {
        min-height: 100vh;
    }

    .container {
        flex-direction: column;
        height: auto;
    }

    .left-side {
        padding: 30px 20px;
        min-height: 200px;
        flex: 0 0 auto;
    }

    .logo {
        max-width: 150px;
    }

    .tagline {
        font-size: 18px;
    }

    .right-side {
        padding: 25px 20px;
        max-height: none;
        flex: 1;
    }

    .dashboard-header {
        flex-direction: row;
    }

    .logo-museum {
        max-width: 55px;
        height: 55px;
    }

    h1 {
        font-size: 1.3em;
    }

    .welcome {
        font-size: 0.9em;
    }

    .section-title {
        font-size: 0.95em;
    }

    .menu {
        gap: 7px;
    }

    .menu-link {
        padding: 9px 12px;
    }

    .menu-icon {
        width: 30px;
        height: 30px;
    }

    .menu-icon svg {
        width: 17px;
        height: 17px;
    }

    .menu-title {
        font-size: 0.85em;
    }

    .menu-description {
        font-size: 0.72em;
    }

    .dashboard-footer {
        margin-top: 15px;
        padding-top: 12px;
    }

    .small-logo {
        width: 70px;
    }

    .footer-text {
        font-size: 11px;
    }
}

@media (max-width: 600px) {
    .left-side {
        padding: 25px 15px;
        min-height: 180px;
    }

    .logo {
        max-width: 120px;
    }

    .tagline {
        font-size: 16px;
    }

    .right-side {
        padding: 20px 15px;
    }

    .dashboard-header {
        gap: 12px;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .logo-museum {
        max-width: 50px;
        height: 50px;
    }

    h1 {
        font-size: 1.2em;
    }

    .welcome {
        font-size: 0.85em;
    }

    .welcome-icon {
        width: 16px;
        height: 16px;
    }

    .section-title {
        font-size: 0.9em;
        margin-bottom: 10px;
    }

    .menu {
        gap: 6px;
    }

    .menu-link {
        padding: 8px 10px;
        gap: 10px;
    }

    .menu-icon {
        width: 28px;
        height: 28px;
    }

    .menu-icon svg {
        width: 16px;
        height: 16px;
    }

    .menu-title {
        font-size: 0.82em;
    }

    .menu-description {
        font-size: 0.7em;
    }

    .menu-arrow {
        width: 14px;
        height: 14px;
    }

    .dashboard-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin-top: 12px;
        padding-top: 10px;
    }

    .small-logo {
        width: 65px;
    }

    .footer-text {
        font-size: 10px;
    }

    .circle-1 {
        width: 180px;
        height: 180px;
    }

    .circle-2 {
        width: 130px;
        height: 130px;
    }

    .circle-3 {
        display: none;
    }
}

@media (max-width: 400px) {
    .left-side {
        padding: 20px 12px;
        min-height: 160px;
    }

    .logo {
        max-width: 100px;
    }

    .tagline {
        font-size: 14px;
    }

    .right-side {
        padding: 15px 12px;
    }

    .dashboard-header {
        gap: 10px;
    }

    .logo-museum {
        max-width: 45px;
        height: 45px;
    }

    h1 {
        font-size: 1.1em;
    }

    .welcome {
        font-size: 0.8em;
    }

    .menu-link {
        padding: 7px 9px;
        gap: 8px;
    }

    .menu-icon {
        width: 26px;
        height: 26px;
    }

    .menu-icon svg {
        width: 15px;
        height: 15px;
    }

    .menu-title {
        font-size: 0.78em;
    }

    .menu-description {
        font-size: 0.68em;
    }

    .small-logo {
        width: 60px;
    }
}

/* Pour les écrans très hauts */
@media (min-height: 900px) {
    .right-side {
        padding: 40px;
    }

    .dashboard-header {
        margin-bottom: 30px;
    }

    .menu {
        gap: 10px;
    }

    .menu-link {
        padding: 12px 16px;
    }

    .dashboard-footer {
        margin-top: 30px;
    }
}