/* Styles pour la carte */
.carte-container {
    width: 90%;
    max-width: 1200px;
    height: 90%;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.carte-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.carte-title {
    color: #F9B233;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.carte-content {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    position: relative;
}

.carte-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background-color: white;
}

.pdf-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.carte-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* Styles pour les boutons de la carte */
.carte-button {
    background-color: #F9B233;
    color: #2A3945;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
}

.carte-button:hover {
    background-color: #e0a02d;
    transform: translateY(-2px);
}

.carte-button.download {
    background-color: #2A3945;
    color: #F9B233;
    border: 2px solid #F9B233;
}

.carte-button.download:hover {
    background-color: #F9B233;
    color: #2A3945;
}

.carte-button.open {
    background-color: #F9B233;
    color: #2A3945;
}

.carte-button.open:hover {
    background-color: #e0a02d;
}

/* Styles pour la localisation */
.localisation-container {
    width: 90%;
    max-width: 1200px;
    height: 90%;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.localisation-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.localisation-title {
    color: #F9B233;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.map-container {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .carte-container,
    .localisation-container {
        width: 95%;
        padding: 20px;
    }

    .carte-title,
    .localisation-title {
        font-size: 2rem;
    }

    .carte-actions {
        flex-direction: column;
        align-items: center;
    }

    .carte-button {
        width: 100%;
        max-width: 300px;
    }
}

.carte-page-container {
    min-height: 100vh;
    background-color: #2A3945;
    padding: 20px;
    display: flex;
    flex-direction: column;
    margin-top: 80px;
}

.carte-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(249, 178, 51, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}

.carte-header h1 {
    color: #F9B233;
    margin: 0;
    font-size: 1.8rem;
}

.carte-content {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Styles pour la version desktop */
.desktop-view {
    display: block;
    width: 100%;
    height: 100%;
}

.desktop-view iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Styles pour la version mobile */
.mobile-view {
    display: none;
}

.pdf-actions {
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 20px;
}

.pdf-icon {
    margin-bottom: 20px;
}

.pdf-icon i {
    font-size: 64px;
    color: #F9B233;
}

.pdf-actions h2 {
    color: #2A3945;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.pdf-actions p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.carte-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.carte-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-width: 180px;
    justify-content: center;
}

.carte-button.download {
    background-color: #F9B233;
    color: #2A3945;
}

.carte-button.open {
    background-color: #2A3945;
    color: #F9B233;
    border: 2px solid #F9B233;
}

.carte-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .desktop-view {
        display: none;
    }

    .mobile-view {
        display: block;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .carte-page-container {
        margin-top: 60px;
        padding: 10px;
    }

    .carte-header {
        padding: 10px;
    }

    .pdf-actions h2 {
        font-size: 1.5rem;
    }

    .pdf-actions p {
        font-size: 1rem;
    }

    .carte-actions {
        flex-direction: column;
        gap: 15px;
    }

    .carte-button {
        width: 100%;
        padding: 10px 20px;
    }
}

/* Styles pour la navbar */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.admin-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: #2A3945;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    gap: 2rem;
}

.admin-nav-link {
    color: #F9B233;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-nav-link i {
    font-size: 1rem;
}

.admin-nav-link:hover {
    background: #F9B233;
    color: #2A3945;
}

@media (max-width: 768px) {
    .carte-page-container {
        margin-top: 60px;
        padding: 10px;
        min-height: calc(100vh - 60px);
    }

    .carte-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 10px;
    }

    .carte-content {
        min-height: calc(100vh - 180px);
    }

    .carte-actions {
        width: 100%;
        justify-content: center;
    }

    .carte-button {
        width: 100%;
        max-width: 200px;
    }

    .admin-nav {
        flex-direction: column;
        gap: 1rem;
    }
}

.mobile-pdf-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    height: 100%;
    background-color: white;
}

.mobile-pdf-prompt i {
    font-size: 48px;
    color: #F9B233;
    margin-bottom: 20px;
}

.mobile-pdf-prompt h2 {
    color: #2A3945;
    margin-bottom: 15px;
}

.mobile-pdf-prompt p {
    color: #666;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .desktop-view {
        display: none;
    }

    .mobile-view {
        display: block;
        width: 100%;
        height: 100%;
    }

    .carte-page-container {
        margin-top: 60px;
        padding: 10px;
        min-height: calc(100vh - 60px);
    }

    .carte-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 10px;
    }

    .carte-content {
        min-height: calc(100vh - 180px);
    }

    .carte-actions {
        width: 100%;
        justify-content: center;
    }

    .carte-button {
        width: 100%;
        max-width: 200px;
    }
} 