/* Reset et styles de base */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', system-ui, sans-serif; background-color: #121212; color: #ffffff; min-height: 100vh; overflow-x: hidden; position: relative; } /* Styles de la page d'accueil */ .admin-button { position: fixed; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; background-color: rgba(0, 0, 0, 0.5); border: none; border-radius: 50%; color: white; font-size: 1.2rem; cursor: pointer; backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.3s ease; z-index: 30; } .admin-button:hover { background-color: rgba(0, 0, 0, 0.8); transform: rotate(45deg); } .carousel { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: 1; } .carousel-slide { position: fixed; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; pointer-events: none; } .carousel-slide.active { opacity: 1; z-index: 2; } .carousel-slide img { width: 100%; height: 100vh; object-fit: cover; filter: brightness(0.6); } .carousel-indicators { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; background-color: rgba(0, 0, 0, 0.3); padding: 8px; border-radius: 12px; backdrop-filter: blur(4px); } .indicator { width: 8px; height: 8px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.4); transition: all 0.3s ease; cursor: pointer; } .indicator.active { background-color: #ffffff; } /* Overlay contenu de la page d'accueil */ .overlay { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 20; width: 90%; max-width: 600px; padding: 2rem; background-color: rgba(0, 0, 0, 0.7); border-radius: 1rem; backdrop-filter: blur(10px); } .overlay h1 { font-size: 4rem; margin-bottom: 1rem; font-weight: 700; letter-spacing: 0.2rem; } .overlay p { font-size: 1.2rem; margin-bottom: 2rem; line-height: 1.6; color: #e0e0e0; } /* Bouton d'appel à l'action */ .cta-button { display: inline-block; padding: 1rem 2rem; background-color: #2196f3; color: white; text-decoration: none; border-radius: 2rem; font-size: 1.1rem; font-weight: 500; transition: all 0.3s ease; border: 2px solid transparent; } .cta-button:hover { background-color: #1976d2; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3); } /* Styles pour la page des albums */ .albums-page { background-color: #121212; min-height: 100vh; padding: 2rem; overflow-y: auto; } .album-info { max-width: 1800px; margin: 0 auto; padding: 2rem; } .album-info .current-album-title { font-size: 2.5rem; margin: 3rem 0 1rem 0; color: #ffffff; } .album-info p { font-size: 1.1rem; color: #e0e0e0; line-height: 1.6; max-width: 800px; } .albums-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2rem; max-width: 1800px; margin: 2rem auto; } /* Styles pour le contenu mature dans les albums */ .album-card-mature { position: relative; } .album-card-mature .album-images { filter: blur(10px); } .album-card-mature::before { content: attr(data-mature-warning); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: rgba(220, 53, 69, 0.9); color: white; padding: 0.5rem 1rem; border-radius: 0.5rem; z-index: 2; white-space: nowrap; transition: transform 0.3s ease, background-color 0.3s ease; } .album-card-mature:hover::before { transform: translate(-50%, -50%) scale(1.1); background-color: rgba(220, 53, 69, 1); } .album-card-mature::after { content: "🔞"; position: absolute; top: 1rem; right: 1rem; font-size: 1.5rem; z-index: 2; } .image-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; } .image-background.mature-preview { filter: blur(10px); } .mature-preview-indicator { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10; font-size: 14px; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); } .album-card { background-color: #1e1e1e; border-radius: 1rem; overflow: hidden; text-decoration: none; color: white; opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; position: relative; } .album-card.visible { opacity: 1; transform: translateY(0); } .album-card:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); } .album-images { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); aspect-ratio: 1; gap: 2px; background-color: #2a2a2a; } .album-image { position: relative; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; } .empty-image { width: 100%; height: 100%; background-color: #2a2a2a; } .empty-album { width: 100%; height: 100%; background-color: #2a2a2a; grid-column: 1 / -1; grid-row: 1 / -1; } .album-card .album-info { padding: 1rem; margin: 0; } .album-card .album-info h2 { font-size: 1.2rem; margin: 0; } /* Styles pour la page galerie */ .gallery-page { background-color: #121212; min-height: 100vh; padding: 0; margin: 0; } /* Styles pour le contenu mature dans la galerie */ .gallery-page-mature.content-blurred .gallery-header, .gallery-page-mature.content-blurred .gallery-grid { filter: blur(20px); transition: filter 0.3s ease; } .mature-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.9); display: flex; align-items: center; justify-content: center; z-index: 1000; transition: opacity 0.3s ease; } .mature-content { text-align: center; padding: 2rem; background: #1e1e1e; border-radius: 1rem; max-width: 90%; width: 500px; } .mature-icon { font-size: 4rem; margin-bottom: 1rem; } .mature-content h2 { font-size: 1.5rem; margin-bottom: 1rem; color: #dc3545; } .mature-content p { margin-bottom: 2rem; color: #e0e0e0; } .mature-button { background: #dc3545; color: white; border: none; padding: 1rem 2rem; border-radius: 2rem; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; } .mature-button:hover { background: #c82333; transform: translateY(-2px); } .mature-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(220, 53, 69, 0.1); color: #dc3545; padding: 0.5rem 1rem; border-radius: 2rem; font-size: 0.9rem; margin-top: 1rem; } .mature-badge-icon { font-size: 1.2rem; } .more-info-button { margin-top: 2rem; } .more-info-button .action-button { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.5rem; background-color: #2196f3; color: white; text-decoration: none; border-radius: 2rem; font-size: 1rem; transition: all 0.3s ease; } .more-info-button .action-button:hover { background-color: #1976d2; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3); } .more-info-button .icon { width: 1.2em; height: 1.2em; } .gallery-header { width: 100%; height: 500px; overflow: hidden; position: relative; } .header-image { width: 100%; height: 100%; object-fit: cover; } .gallery-info { padding: 2rem; max-width: 1800px; margin: 0 auto; } .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-auto-flow: dense; gap: 1rem; padding: 2rem; max-width: 1800px; margin: 0 auto; } .gallery-grid .gallery-item { opacity: 1; transition: opacity 0.3s ease; } .gallery-item { position: relative; border-radius: 8px; overflow: hidden; min-height: 200px; transition: transform 0.3s ease; } .gallery-item:hover { transform: translateY(-5px); } .gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; } .gallery-item-wide { grid-column: span 2; } .gallery-item-tall { grid-row: span 2; } .gallery-item-top { /* Contour bleu */ border: 4px solid #2196f3; /* Animation subtile au survol */ position: relative; z-index: 2; transition: all 0.3s ease; } .gallery-item-top:hover { transform: translateY(-8px); box-shadow: 0 12px 24px rgba(33, 150, 243, 0.3); } /* Styles pour la page de partage */ .share-page { background-color: rgba(0, 0, 0, 0.9); min-height: 100vh; display: flex; justify-content: center; align-items: center; } .share-container { max-width: 90vw; max-height: 90vh; position: relative; } .share-image { border-radius: 8px; overflow: hidden; background-color: #1e1e1e; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5); } .share-image img { max-width: 100%; max-height: 90vh; display: block; object-fit: contain; } .share-actions { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; gap: 1rem; background-color: rgba(0, 0, 0, 0.8); padding: 1rem; border-radius: 2rem; backdrop-filter: blur(10px); } /* Boutons d'action */ .share-actions .action-button { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.5rem; background-color: #2196f3; color: white; border: none; border-radius: 2rem; cursor: pointer; font-size: 1rem; text-decoration: none; transition: all 0.3s ease; } .share-actions .action-button:hover { background-color: #1976d2; transform: translateY(-2px); } .share-actions .action-button .icon { width: 1.2em; height: 1.2em; } /* Bouton retour commun */ .back-button { position: fixed; top: 2rem; left: 2rem; padding: 0.8rem 1.5rem; background-color: rgba(0, 0, 0, 0.7); color: white; text-decoration: none; border-radius: 2rem; backdrop-filter: blur(10px); z-index: 100; transition: all 0.3s ease; } .back-button:hover { background-color: rgba(0, 0, 0, 0.9); transform: translateY(-2px); } /* Galeries privées */ .error-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; } .error-content { background-color: rgba(0, 0, 0, 0.8); padding: 2rem; border-radius: 1rem; text-align: center; max-width: 500px; backdrop-filter: blur(10px); } .error-content h1 { color: #dc3545; margin-bottom: 1rem; } .error-content p { margin-bottom: 2rem; color: #e0e0e0; line-height: 1.6; } .private-gallery-badge { position: fixed; top: 2rem; right: 2rem; background-color: rgba(0, 0, 0, 0.8); color: white; padding: 0.8rem 1.5rem; border-radius: 2rem; display: flex; align-items: center; gap: 0.5rem; backdrop-filter: blur(10px); z-index: 100; font-weight: 500; } .private-icon { font-size: 1.2em; } @media (max-width: 768px) { .private-gallery-badge { top: auto; bottom: 2rem; right: 50%; transform: translateX(50%); } } /* Styles pour le pied de page */ .site-footer { position: fixed; bottom: 0; left: 0; right: 0; padding: 0.5rem; background-color: rgba(0, 0, 0, 0.3); text-align: center; z-index: 100; pointer-events: none; } .footer-text { color: rgba(255, 255, 255, 0.7); font-size: 0.8rem; margin: 0; } .footer-link { color: rgba(255, 255, 255, 0.9); text-decoration: none; transition: color 0.3s ease; pointer-events: auto; } .footer-link:hover { color: #2196f3; } .footer-version { margin-left: 0.5rem; opacity: 0.7; font-size: 0.8rem; } .scroll-top { position: fixed; bottom: 3rem; right: 2rem; width: 3rem; height: 3rem; background: rgba(33, 150, 243, 0.8); border-radius: 50%; border: none; cursor: pointer; display: none; align-items: center; justify-content: center; color: white; font-size: 1.5rem; z-index: 99; transition: all 0.3s ease; backdrop-filter: blur(4px); } .scroll-top:hover { background: rgba(33, 150, 243, 1); transform: translateY(-3px); } @media (max-width: 768px) { .scroll-top { bottom: 5rem; right: 1rem; } } .gallery-grid, .albums-grid, .admin-content { margin-bottom: 3rem; } .share-page .site-footer { background-color: rgba(0, 0, 0, 0.5); position: fixed; bottom: 0; z-index: 1000; } .admin-page .site-footer { position: fixed; bottom: 0; z-index: 1000; } /* Media Queries */ @media (min-width: 1400px) { .albums-grid { grid-template-columns: repeat(5, 1fr); } } @media (max-width: 1600px) { .gallery-item { width: 100%; } } @media (max-width: 1200px) { .albums-grid { grid-template-columns: repeat(4, 1fr); } .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } .gallery-item-wide, .gallery-item-tall { grid-column: span 1; grid-row: span 1; } } @media (max-width: 992px) { .albums-grid { grid-template-columns: repeat(3, 1fr); } .gallery-item { width: 100%; } } @media (max-width: 768px) { .albums-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } .albums-page { padding: 1rem; } .gallery-item { min-height: unset; width: 100%; border-radius: 0.5rem; overflow: hidden; } .gallery-item img { width: 100%; height: auto; object-fit: contain; } .gallery-grid { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 1rem; max-width: 500px; margin: 0 auto; width: 100%; } .gallery-item-wide, .gallery-item-tall { grid-column: 1; grid-row: auto; } .gallery-item-top { border: none; position: relative; } .gallery-item-top::before { content: ''; position: absolute; inset: 0; border: 4px solid #2196f3; border-radius: 0.5rem; pointer-events: none; z-index: 1; } .gallery-header { height: 300px; } .gallery-info { padding: 1.5rem; } .album-info { padding: 1rem; } .album-info .current-album-title { font-size: 2rem; margin: 2.5rem 0 1rem 0; } .album-info p { font-size: 1rem; } .overlay h1 { font-size: 3rem; } .overlay p { font-size: 1rem; } .cta-button { padding: 0.8rem 1.6rem; font-size: 1rem; } .share-actions { flex-direction: column; padding: 0.8rem; } .share-actions .action-button { padding: 0.6rem 1.2rem; font-size: 0.9rem; } .mature-content { padding: 1.5rem; } .mature-icon { font-size: 3rem; } .mature-content h2 { font-size: 1.2rem; } .mature-content p { font-size: 0.9rem; } .mature-button { padding: 0.8rem 1.5rem; font-size: 0.9rem; } } @media (max-width: 480px) { .albums-grid { grid-template-columns: 1fr; } .gallery-item { width: 100%; } .gallery-grid { padding: 0.5rem; } .gallery-header { height: 200px; } .back-button { top: 1rem; left: 1rem; padding: 0.6rem 1.2rem; font-size: 0.9rem; } .mature-content { padding: 1rem; } .mature-icon { font-size: 2.5rem; } .mature-content h2 { font-size: 1.1rem; } .mature-button { padding: 0.7rem 1.4rem; font-size: 0.85rem; width: 100%; } } /* Accessibilité */ @media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }