
/* HEADER LAYOUT */

.branding {
  flex:1;
}

.title-block h1 {
  margin:0;
  font-size:28px;
}

.title-block span {
  font-size:16px;
  opacity:0.9;
}

.logo img {
  height:70px;
}

.lang-btn {
  background:#d8d8d8;
  border:none;
  padding:6px 12px;
  border-radius:4px;
  cursor:pointer;
  font-weight:600;
}


/* HEADER */
.site-header {
  background:#2f5c68;
  color:white;
  padding:20px 40px;
}

.header-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

nav {
  display:flex;
  gap:25px;
}

nav a {
  color:white;
  text-decoration:none;
  font-weight:bold;
}

.hamburger {
  display:none;
  font-size:26px;
  cursor:pointer;
}

/* =========================
   DROPDOWN NAV (DESKTOP)
========================= */

nav .dropdown {
  position: relative;
}

nav .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #2f5c68;
  min-width: 200px;
  flex-direction: column;
  padding: 10px 0;
  z-index: 999;
}

nav .dropdown-content a {
  padding: 10px 20px;
  display: block;
  font-weight: normal;
}

nav .dropdown-content a:hover {
  background: rgba(255,255,255,0.1);
}

/* Show dropdown on hover */
nav .dropdown:hover .dropdown-content {
  display: block;
}


/* =========================
   MOBILE NAV
========================= */

@media (max-width: 900px) {

  nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: #2f5c68;
    flex-direction: column;
    width: 250px;
    display: none;
    padding: 20px;
  }

  nav.open {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  /* Dropdowns stack on mobile */
  nav .dropdown-content {
    position: static;
    display: none;
    background: none;
    padding-left: 10px;
  }

  nav .dropdown.open .dropdown-content {
    display: flex;
  }
}

nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

nav a:hover {
  opacity: 0.8;
}

/* =========================
   LANGUAGE TOGGLE
========================= */

.lang {
  display: none;
}

html[data-lang="en"] .lang.en {
  display: inline;
}

html[data-lang="fr"] .lang.fr {
  display: inline;
}


/* PAGE WRAPPER */
.page-wrapper {
  padding:40px;
}

.main-container {
  background:white;
  padding:40px;
  border-radius:14px;
}

/* LAYOUT */
.content-layout {
  display:flex;
  gap:40px;
  height:calc(100vh - 220px);
}

.artist-panel {
  width:38%;
  overflow-y:auto;
}

.map-panel {
  width:62%;
}

#map {
  height:100%;
  border-radius:12px;
}




/* =========================
   ARTISTS PAGE FRAME
========================= */

.artists-wrapper {
  background: #234857;   /* teal outer frame */
  padding: 60px 0;
}

.artists-container {
  max-width: 1300px;
  margin: 0 auto;
  background: #e9e6df;   /* light inner panel */
  padding: 60px;
}

.artists-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
}

/* =========================
   GRID
========================= */

.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 50px 40px;
}

.artist-tile {
  text-align: center;
}

.artist-tile a {
  text-decoration: none;
  color: inherit;
}

.artist-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 15px;
}

.artist-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.artist-image-wrapper img:hover {
  transform: scale(1.05);
}

.artist-name {
  font-size: 18px;
  color: #6a6a6a;
}

body { margin:0; font-family: Arial, sans-serif; }


.profile-wrapper { background:#234857; padding:60px 0; }
.profile-container { max-width:1100px; margin:0 auto; background:#e9e6df; padding:60px; }

.profile-header { text-align:center; font-family:Georgia, serif; letter-spacing:5px; margin-bottom:40px; }

.profile-top { display:flex; gap:20px; margin-bottom:50px; }
.profile-image img { width:170px; }

/* =========================
   RESPONSIVE GALLERY
========================= */

.profile-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.profile-gallery img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.profile-gallery img:hover {
  transform: scale(1.03);
}

.lightbox { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.9); justify-content:center; align-items:center; }
.lightbox img { max-width:90%; max-height:85%; }
.lightbox-close { position:absolute; top:30px; right:40px; font-size:40px; color:white; cursor:pointer; }


.profile-contact p {
  margin: 8px 0;
}

.profile-contact a {
  text-decoration: none;
  color: #2f5c68;
  font-weight: 600;
}

.profile-contact a:hover {
  text-decoration: underline;
}


/* Tablet */
@media (max-width: 1024px) {
  .profile-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .profile-gallery {
    grid-template-columns: 1fr;
  }

  .profile-top {
    flex-direction: column;
  }

  .profile-image img {
    width: 100%;
  }
}



.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;      /* centers everything */
  text-align: center;  
}

.art-meta {
  margin-top: 8px;
}

.art-title {
  font-style: italic; /* gallery convention */
  font-weight: 400;
}

.art-medium {
  font-size: 14px;
  color: #777;
}

#lightbox-caption {
  margin-top: 14px;
  color: #fff;
  text-align: center;
}

.lightbox-title {
  font-style: italic;
  font-weight: 400;
}

.lightbox-medium {
  font-size: 14px;
  opacity: 0.85;
}

/* =========================
   LIGHTBOX OVERLAY
========================= */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 40px;
}

/* Container */
.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

/* Image constraint */
#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Caption */
#lightbox-caption {
  margin-top: 20px;
  color: #fff;
  text-align: center;
}


/* =========================
   CONTACT PAGE FRAME
========================= */

.contact-wrapper {
  background: #234857;   /* same teal frame */
  padding: 60px 0;
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
  background: #e9e6df;   /* same inner panel */
  padding: 60px;
}

.contact-title {
  font-family: Georgia, serif;
  font-size: 34px;
  letter-spacing: 4px;
  margin-bottom: 40px;
}

/* =========================
   FORM STYLING
========================= */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  margin-top: 8px;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2f5c68;
}

.contact-form button {
  width: 200px;
  padding: 12px;
  background: #2f5c68;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #1e3e47;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 600px) {
  .contact-container {
    padding: 30px;
  }
}