/* === THE FINAL — GALERIE D'ART MANGA === */
/* Pro / Classique — Dark elegant theme */

:root {
    --bg: #0a0a0a;
    --bg-card: #141414;
    --bg-section: #111;
    --text: #e8e8e8;
    --text-muted: #888;
    --accent: #c9a96e;
    --accent-light: #dfc089;
    --white: #fff;
    --border: #222;
    --radius: 8px;
    --transition: 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* === HEADER / NAV === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
    background: transparent;
}

.header.scrolled,
.header-solid {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 1px 20px rgba(0,0,0,0.5);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--accent);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* === HERO === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1578632292335-df3abbb0d586?w=1600') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 300;
    letter-spacing: 12px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: clamp(14px, 2vw, 18px);
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-hero:hover {
    background: var(--accent);
    color: var(--bg);
}

/* === PAGE HERO (inner pages) === */
.page-hero {
    padding: 140px 24px 60px;
    text-align: center;
    background: var(--bg-section);
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 15px;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* === SECTIONS === */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}

.section-line {
    width: 60px;
    height: 1px;
    background: var(--accent);
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 36px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--bg);
}

/* === FEATURED GRID === */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.art-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.art-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.art-card-img {
    overflow: hidden;
    height: 280px;
}

.art-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.art-card:hover .art-card-img img {
    transform: scale(1.05);
}

.art-card-info {
    padding: 20px;
}

.art-card-info h3 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 6px;
}

.art-card-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* === REASSURANCE === */
.reassurance {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.reassurance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.reassurance-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: transform var(--transition), box-shadow var(--transition);
}

.reassurance-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.reassurance-icon {
    color: var(--accent);
    margin-bottom: 20px;
}

.reassurance-item h3 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 8px;
}

.reassurance-item p {
    font-size: 13px;
    color: var(--text-muted);
}

/* === ABOUT BANNER === */
.about-banner {
    position: relative;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1513475382585-d06e58bcb0e0?w=1600') center/cover no-repeat;
    padding: 120px 0;
}

.about-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}

.about-banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.about-banner-content h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.about-banner-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
}

/* === GALLERY === */
.gallery-section {
    background: var(--bg);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: 4px;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(201, 169, 110, 0.08);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    aspect-ratio: 4/5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 4px;
}

.gallery-item-overlay p {
    font-size: 13px;
    color: var(--accent);
}

.gallery-item.hidden {
    display: none;
}

/* === LIGHTBOX === */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 40px;
    color: var(--white);
    cursor: pointer;
    transition: color var(--transition);
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent);
}

/* === CONTACT === */
.contact-section {
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.contact-icon {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

.contact-info-item h3 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 6px;
}

.contact-info-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.contact-map iframe {
    display: block;
}

/* === FOOTER === */
.footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--accent);
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-info p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reassurance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        transition: right var(--transition);
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 16px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content h1 {
        letter-spacing: 6px;
    }

    .section {
        padding: 60px 0;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .art-card-img {
        height: 220px;
    }

    .reassurance-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .reassurance-item {
        padding: 24px 16px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-banner {
        padding: 80px 0;
    }

    .gallery-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .reassurance-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* === ADMIN PAGE === */
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    padding: 24px;
}

.admin-login-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 48px;
    max-width: 420px;
    width: 100%;
    text-align: center;
}

.admin-login-card h1 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
}

.admin-login-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.admin-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    outline: none;
    transition: border-color var(--transition);
}

.admin-input:focus {
    border-color: var(--accent);
}

.admin-btn {
    width: 100%;
    padding: 14px;
    border: none;
    background: var(--accent);
    color: var(--bg);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition);
    margin-bottom: 16px;
}

.admin-btn:hover {
    background: var(--accent-light);
}

.admin-error {
    color: #e74c3c;
    font-size: 13px;
    display: none;
}

.admin-panel {
    display: none;
    min-height: 100vh;
    background: var(--bg);
    padding: 40px 24px;
}

.admin-panel.active {
    display: block;
}

.admin-panel h2 {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 24px;
    text-align: center;
}

.admin-domain-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.admin-domain-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.domain-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--bg);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: background var(--transition);
}

.domain-btn:hover {
    background: var(--accent-light);
}

.admin-logout {
    display: inline-block;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition);
    background: none;
    border: none;
}

.admin-logout:hover {
    color: var(--accent);
}