/* ===== TEST SHOP — Galerie d'Art — Style Luxe / Chic ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --gold: #c9a84c;
  --gold-light: #dfc06f;
  --dark: #0a0a0a;
  --dark2: #141414;
  --dark3: #1e1e1e;
  --light: #f5f0e8;
  --white: #ffffff;
  --gray: #888;
  --gray-light: #bbb;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', Arial, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--dark);
  color: var(--light);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 24px 5%;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(10,10,10,0.95);
  padding: 14px 5%;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.hamburger { display: none; cursor: pointer; width: 30px; height: 22px; position: relative; z-index: 101; }
.hamburger span {
  display: block; width: 100%; height: 1.5px; background: var(--white);
  position: absolute; left: 0; transition: all 0.3s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }
.hamburger.active span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
  background: rgba(10,10,10,0.98);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 32px; transition: right 0.4s ease; z-index: 99;
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 28px; color: var(--white);
  letter-spacing: 4px; text-transform: uppercase;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ===== HERO ===== */
.hero {
  position: relative; width: 100%; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.4);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 5%;
}
.hero-content .tagline {
  font-family: var(--sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: 6px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 90px);
  font-weight: 300; line-height: 1.1;
  color: var(--white); margin-bottom: 24px;
}
.hero-content h1 em {
  font-style: italic; color: var(--gold);
}
.hero-content p {
  font-size: 16px; font-weight: 300;
  color: var(--gray-light); max-width: 500px;
  margin: 0 auto 40px;
}
.btn-hero {
  display: inline-block; padding: 16px 48px;
  border: 1px solid var(--gold); color: var(--gold);
  font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  transition: all 0.4s ease;
}
.btn-hero:hover {
  background: var(--gold); color: var(--dark);
}

/* ===== SECTIONS ===== */
section { padding: 100px 5%; }

.section-title {
  text-align: center; margin-bottom: 60px;
}
.section-title .label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-title h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300; color: var(--white);
}
.section-title .line {
  width: 60px; height: 1px;
  background: var(--gold); margin: 20px auto 0;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.about-img { position: relative; }
.about-img img {
  width: 100%; height: 500px; object-fit: cover;
}
.about-img::after {
  content: ''; position: absolute;
  top: 20px; left: 20px; right: -20px; bottom: -20px;
  border: 1px solid var(--gold); z-index: -1;
}
.about-text h3 {
  font-family: var(--serif);
  font-size: 36px; font-weight: 400;
  color: var(--white); margin-bottom: 20px;
}
.about-text p {
  font-size: 15px; color: var(--gray-light);
  margin-bottom: 16px; line-height: 1.8;
}
.about-text .signature {
  font-family: var(--serif);
  font-size: 24px; font-style: italic;
  color: var(--gold); margin-top: 24px;
}

/* ===== GALLERY PREVIEW ===== */
.gallery-preview {
  background: var(--dark2);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px; margin: 0 auto;
}
.gallery-item {
  position: relative; overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 350px;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.6);
}
.gallery-item .overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}
.gallery-item:hover .overlay {
  transform: translateY(0);
  opacity: 1;
}
.gallery-item .overlay h4 {
  font-family: var(--serif);
  font-size: 20px; color: var(--white);
}
.gallery-item .overlay span {
  font-size: 12px; color: var(--gold);
  letter-spacing: 2px; text-transform: uppercase;
}

.btn-gallery-more {
  display: block; width: fit-content;
  margin: 50px auto 0;
  padding: 14px 42px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  transition: all 0.4s ease;
}
.btn-gallery-more:hover {
  background: var(--gold); color: var(--dark);
}

/* ===== FULL GALLERY PAGE ===== */
.page-header {
  padding: 160px 5% 80px;
  text-align: center;
  background: var(--dark2);
}
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300; color: var(--white);
  margin-bottom: 12px;
}
.page-header p {
  font-size: 14px; color: var(--gray);
  letter-spacing: 2px; text-transform: uppercase;
}

.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1400px; margin: 0 auto;
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--dark2);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; max-width: 1200px; margin: 0 auto;
}
.contact-info-block { display: flex; flex-direction: column; gap: 32px; }
.contact-item {
  display: flex; gap: 20px; align-items: flex-start;
}
.contact-item .icon {
  width: 48px; height: 48px; min-width: 48px;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.contact-item .icon svg {
  width: 20px; height: 20px;
  stroke: var(--gold); fill: none;
  stroke-width: 1.5;
}
.contact-item h4 {
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); margin-bottom: 6px;
}
.contact-item p {
  font-size: 14px; color: var(--gray-light);
  line-height: 1.6;
}
.contact-map {
  width: 100%; height: 100%; min-height: 400px;
  border: none; filter: grayscale(0.6) brightness(0.8);
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 5% 30px;
  border-top: 1px solid rgba(201,168,76,0.2);
  text-align: center;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 24px; font-weight: 600;
  color: var(--gold); letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 16px;
}
.footer p {
  font-size: 13px; color: var(--gray);
}
.footer-links {
  display: flex; justify-content: center;
  gap: 24px; margin-top: 16px;
}
.footer-links a {
  font-size: 12px; color: var(--gray);
  letter-spacing: 1px; text-transform: uppercase;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.active { opacity: 1; }
.lightbox img {
  max-width: 90%; max-height: 90%;
  object-fit: contain;
}
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  color: var(--white); font-size: 36px;
  cursor: pointer; transition: color 0.3s;
}
.lightbox-close:hover { color: var(--gold); }

/* ===== ADMIN ===== */
.admin-login {
  min-height: 100vh; display: flex;
  align-items: center; justify-content: center;
  background: var(--dark);
}
.admin-box {
  background: var(--dark2); padding: 48px;
  border: 1px solid rgba(201,168,76,0.2);
  width: 100%; max-width: 400px; text-align: center;
}
.admin-box h2 {
  font-family: var(--serif);
  font-size: 28px; color: var(--gold);
  margin-bottom: 8px;
}
.admin-box p { font-size: 13px; color: var(--gray); margin-bottom: 32px; }
.admin-box input {
  width: 100%; padding: 14px 16px;
  background: var(--dark); border: 1px solid rgba(201,168,76,0.2);
  color: var(--white); font-size: 14px;
  margin-bottom: 16px; font-family: var(--sans);
}
.admin-box input::placeholder { color: var(--gray); }
.admin-box input:focus { outline: none; border-color: var(--gold); }
.admin-box button {
  width: 100%; padding: 14px;
  background: var(--gold); color: var(--dark);
  border: none; font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: background 0.3s;
}
.admin-box button:hover { background: var(--gold-light); }
.admin-panel { display: none; padding: 40px 5%; max-width: 600px; margin: 0 auto; }
.admin-panel h3 {
  font-family: var(--serif);
  font-size: 24px; color: var(--gold); margin-bottom: 16px;
}
.admin-panel .domain-info {
  background: var(--dark2); padding: 24px;
  border: 1px solid rgba(201,168,76,0.2);
  margin-bottom: 24px;
}
.admin-panel .domain-info p { font-size: 14px; color: var(--gray-light); margin-bottom: 12px; }
.admin-panel .btn-domain {
  display: inline-block; padding: 14px 32px;
  background: var(--gold); color: var(--dark);
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; border: none; transition: background 0.3s;
}
.admin-panel .btn-domain:hover { background: var(--gold-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img::after { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .full-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  section { padding: 70px 5%; }
  .hero-content h1 { font-size: 36px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .full-gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 280px; }
  .about-img img { height: 350px; }
  .contact-map { min-height: 300px; }
  .section-title h2 { font-size: 28px; }
}
