/* Styles spécifiques à la page de projet SoloDate */
.project-container {
    padding: 80px 0 40px;
    background-color: var(--bg-base);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-info {
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-sm);
}

.project-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin: 0 auto var(--space-xs);
    color: var(--text-dark);
    text-align: center;
    width: 100%;
}

.project-year {
    font-size: 1.2rem;
    color: var(--muted);
    font-weight: 300;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

/* Square Grid Gallery - optimized for square images */
.square-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-sm);
    padding: 0 var(--space-sm);
    width: 100%;
}

.grid-item {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    background-color: var(--accent-sage-dark);
    aspect-ratio: 1/1;
}

.grid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.grid-item:hover .grid-image {
    transform: scale(1.03);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 var(--space-md);
}

.lightbox-prev, .lightbox-next {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.lightbox-prev:hover, .lightbox-next:hover {
    opacity: 1;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1rem;
}

/* Hamburger menu styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: var(--bg-base);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-sm) 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav-item {
    padding: var(--space-sm) var(--space-md);
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav-item:hover {
    background-color: var(--accent-sage-light);
}

/* Footer simplifié - identique à Furniture */
footer {
    background-color: var(--bg-base);
    padding: var(--space-md) 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--text-dark);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    color: var(--text);
}

/* Animation simplifiée */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 1200px) {
    .square-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 900px) {
    .square-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .project-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hotbar-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav.open {
        display: flex;
    }
}

@media (max-width: 600px) {
    .square-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--space-xs);
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .social-links {
        gap: var(--space-sm);
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
}

/* Styles pour les placeholders de chargement */
.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.grid-image {
    opacity: 1;
    transition: opacity 0.3s ease;
}