﻿/* Base Styles */
:root {
    --text-color: #333;
    --text-light: #888;
    --bg-color: #fcfcfc;
    --border-color: #eaeaea;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #000;
}

img {
    max-width: 100%;
    display: block;
}

/* Header */
.top-header {
    background: #fff;
    padding: 0 40px;
    border-bottom: 1px solid var(--border-color);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 0.8rem;
    color: var(--text-light);
}

.top-links {
    display: flex;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 0.7rem;
}

.social-icons a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.logo-container {
    text-align: center;
    padding: 40px 0;
}

.logo-container h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    letter-spacing: 15px;
    font-weight: 400;
}

.main-nav {
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-nav a.active {
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
}

/* Hero Gallery */
.hero-gallery {
    display: flex;
    width: 100%;
    height: 65vh; /* adjust based on needed look */
}

.gallery-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.8s ease, filter 0.8s ease;
}

.gallery-item.colored img {
    filter: none;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: none;
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Editorial Articles */
.editorial-articles {
    padding: 60px 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.article-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin-bottom: 20px;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.article-card.colored img {
    filter: none;
}

.article-card:hover img {
    filter: none;
    transform: translateY(-5px);
}

.article-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 5px;
}

.article-card .price {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Section Title */
.section-title {
    text-align: center;
    padding: 60px 20px 0;
    max-width: 800px;
    margin: 0 auto;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Footer Section */
/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 60px 0 20px;
}
.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all var(--transition-speed) ease;
}
.pagination a.active, .pagination a:hover {
    background-color: var(--text-dark);
    color: var(--bg-light);
    border-color: var(--text-dark);
}

.site-footer {
    background-color: #111;
    color: #f1f1f1;
    padding: 60px 40px 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-col p {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #bbb;
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.8rem;
}

/* Maintenance Banner */
.maintenance-banner a {
    color: white;
    text-decoration: none;
}
.maintenance-banner a:hover {
    text-decoration: underline;
}

.maintenance-banner {
    position: fixed;
    left: 0;
    bottom: 25%;
    background-color: rgba(0, 0, 0, 0.85); /* Semi-transparent black */
    color: #fff;
    padding: 10px 30px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    z-index: 9999;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    /* Subtle pulsing effect to feel 'alive' but minimal */
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* Responsive */
@media (max-width: 900px) {
    .logo-container h1 {
        font-size: 2.5rem;
        letter-spacing: 10px;
    }
    
    .hero-gallery {
        flex-direction: column;
        height: auto;
    }
    
    .gallery-item {
        height: 300px;
    }
    
    .editorial-articles {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .maintenance-banner a {
    color: white;
    text-decoration: none;
}
.maintenance-banner a:hover {
    text-decoration: underline;
}

.maintenance-banner {
        font-size: 0.65rem;
        padding: 8px 15px;
    }
}

/* --- Modal de Maintenance Principal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85); /* Fond sombre élégant */
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-content {
    background-color: #ffffff;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    color: #1a1a1a;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid #eaeaea;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.modal-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2.5rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
}

.modal-actions .btn-primary {
    background-color: #1a1a1a;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.modal-actions .btn-primary:hover {
    background-color: #333333;
}

.modal-actions .btn-secondary {
    background-color: transparent;
    color: #888888;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: underline;
}

.modal-actions .btn-secondary:hover {
    color: #1a1a1a;
}




