/* ── Language Overlay ── */
#lang-overlay {
  position: fixed;
  inset: 0;
  background-color: #111010;
  background-image:
    linear-gradient(135deg, transparent 40%, rgba(180, 140, 40, 0.03) 50%, transparent 60%),
    linear-gradient(45deg,  transparent 30%, rgba(180, 140, 40, 0.02) 45%, transparent 55%),
    linear-gradient(160deg, transparent 50%, rgba(180, 140, 40, 0.04) 60%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.6s ease;
}

#lang-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

#lang-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#lang-logo {
  font-family: 'Georgia', serif;
  font-size: 4.5rem;
  color: #c9a84c;
  text-shadow:
    0 0 30px rgba(201, 168, 76, 0.6),
    0 0 80px rgba(201, 168, 76, 0.3);
  animation: pulse-gold 1.5s ease-in-out infinite alternate;
  line-height: 1;
}

#lang-prompt {
  font-family: 'Georgia', serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #c9a84c;
  opacity: 0.7;
  margin: 0;
}

#lang-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 260px;
  margin-top: 8px;
}

#lang-buttons button {
  background: none;
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: #b0a898;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  padding: 12px 28px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 2px;
}

#lang-buttons button:hover {
  border-color: #c9a84c;
  color: #c9a84c;
  background-color: rgba(201, 168, 76, 0.05);
  box-shadow: 0 0 18px rgba(201, 168, 76, 0.15);
}

/* ── Work Galleries ── */
#work-galleries {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.work-gallery {
  flex: 1;
  display: flex;
  justify-content: center;
}

.work-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.work-track {
  position: relative;
  width: 200px;
  height: 260px;
}

.work-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.7);
}

.work-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.work-prev,
.work-next {
  background: none;
  border: none;
  color: #c9a84c;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, text-shadow 0.2s;
  padding: 0;
  line-height: 1;
}

.work-prev:hover,
.work-next:hover {
  opacity: 1;
  text-shadow: 0 0 12px rgba(201, 168, 76, 0.5);
}

.work-pause {
  background: none;
  border: none;
  color: #c9a84c;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  padding: 0 8px;
  line-height: 1;
}

.work-pause:hover {
  opacity: 1;
}

@media (max-width: 600px) {
  #work-galleries {
    flex-direction: column;
    align-items: center;
  }
}

/* ── Photo Carousel ── */
#carousel {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

#carousel-prev,
#carousel-next {
  background: none;
  border: none;
  color: #c9a84c;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, text-shadow 0.2s;
  padding: 0;
  line-height: 1;
}

#carousel-prev:hover,
#carousel-next:hover {
  opacity: 1;
  text-shadow: 0 0 12px rgba(201, 168, 76, 0.5);
}

#carousel-pause {
  background: none;
  border: none;
  color: #c9a84c;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  padding: 0 8px;
  line-height: 1;
}

#carousel-pause:hover {
  opacity: 1;
}

#carousel-track {
  position: relative;
  width: 260px;
  height: 340px;
}

#carousel-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.7);
}

/* ── Language Switcher Button ── */
#lang-switcher {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: none;
  border: none;
  color: #c9a84c;
  padding: 0;
  line-height: 0;
  cursor: pointer;
  z-index: 999;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

#lang-switcher:hover {
  opacity: 1;
}

/* ── Sent Overlay ── */
#sent-overlay {
  position: fixed;
  inset: 0;
  background-color: #0e0c0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

#sent-overlay.show {
  opacity: 1;
  pointer-events: all;
}

#sent-overlay p {
  font-family: 'Georgia', serif;
  font-size: 2rem;
  text-align: center;
  line-height: 1.6;
  color: #c9a84c;
  text-shadow:
    0 0 20px rgba(201, 168, 76, 0.8),
    0 0 60px rgba(201, 168, 76, 0.4),
    0 0 100px rgba(201, 168, 76, 0.2);
  animation: pulse-gold 1.5s ease-in-out infinite alternate;
}

@keyframes pulse-gold {
  from { text-shadow: 0 0 20px rgba(201, 168, 76, 0.8), 0 0 60px rgba(201, 168, 76, 0.4); }
  to   { text-shadow: 0 0 40px rgba(201, 168, 76, 1),   0 0 100px rgba(201, 168, 76, 0.6); }
}

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(14, 12, 10, 0.95);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 24px;
  z-index: 1000;
  transition: top 0.3s ease;
}

/* Desktop: links sit inline with spacing */
#nav-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

#navbar a {
  color: #888;
  text-decoration: none;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.2s;
}

#navbar a:hover {
  color: #c9a84c;
}

/* ── Hamburger button (hidden on desktop) ── */
#menu-toggle {
  display: none;
}

/* ── Mobile nav ── */
@media (max-width: 600px) {
  #navbar {
    justify-content: flex-end;
    padding: 12px 20px;
  }

  #menu-toggle {
    display: block;
    background: none;
    border: 1px solid rgba(201, 168, 76, 0.5);
    color: #c9a84c;
    font-size: 1.3rem;
    padding: 4px 12px;
    cursor: pointer;
    border-radius: 3px;
    text-shadow:
      0 0 8px rgba(201, 168, 76, 0.9),
      0 0 20px rgba(201, 168, 76, 0.5);
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.2);
  }

  /* Full-screen overlay when open */
  #nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(14, 12, 10, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  #nav-links.open {
    display: flex;
  }

  #nav-links a {
    font-size: 1rem;
    letter-spacing: 0.18em;
  }

  section {
    scroll-margin-top: 20px;
  }
}

/* ── Contact Form ── */
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background-color: #161412;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  color: #d6d0c4;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #c9a84c;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #444;
}

form .btn {
  align-self: flex-start;
  margin-top: 6px;
}

.links-row {
  margin-top: 24px;
}

/* ── Reset & Base ── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #111010;
  background-image:
    linear-gradient(135deg, transparent 40%, rgba(180, 140, 40, 0.03) 50%, transparent 60%),
    linear-gradient(45deg,  transparent 30%, rgba(180, 140, 40, 0.02) 45%, transparent 55%),
    linear-gradient(160deg, transparent 50%, rgba(180, 140, 40, 0.04) 60%, transparent 70%);
  color: #d6d0c4;
  font-family: 'Georgia', serif;
  max-width: 740px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  line-height: 1.75;
}

/* ── Header ── */
header {
  margin-bottom: 70px;
  padding-bottom: 36px;
  position: relative;
}

header::after {
  content: '';
  display: block;
  margin-top: 28px;
  height: 1px;
  background: linear-gradient(to right, #c9a84c, rgba(201, 168, 76, 0.1));
}

header h1 {
  font-size: 3.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #f0e6c8;
  text-shadow: 0 0 60px rgba(201, 168, 76, 0.2);
}

.tagline {
  margin-top: 10px;
  color: #c9a84c;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

/* ── Scroll Animations ── */
section, header {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible, header.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Sections ── */
section {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  scroll-margin-top: 90px;
}

section:last-of-type {
  border-bottom: none;
}

h2 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #c9a84c;
  margin-bottom: 22px;
  opacity: 0.75;
}

p {
  color: #b0a898;
  font-size: 1.15rem;
}

/* ── Cards ── */
.card {
  background: linear-gradient(135deg, #1e1a15 0%, #161412 60%, #121010 100%);
  border-left: 2px solid #c9a84c;
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 20px;
  position: relative;
  box-shadow:
    -4px 0 18px rgba(201, 168, 76, 0.12),
    inset 0 0 40px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(201, 168, 76, 0.4), transparent);
}

.card:hover {
  box-shadow:
    -4px 0 28px rgba(201, 168, 76, 0.25),
    inset 0 0 40px rgba(0, 0, 0, 0.3);
  border-left-color: #e8c96a;
}

.card h3 {
  font-size: 1.05rem;
  color: #e8d9b0;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.card p {
  font-size: 0.95rem;
}

.card em {
  color: #c9a84c;
  font-style: italic;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid #c9a84c;
  color: #c9a84c;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-right: 14px;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.btn:hover {
  background-color: #c9a84c;
  color: #0e0c0a;
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

/* ── Footer ── */
footer {
  margin-top: 80px;
  padding-top: 24px;
  position: relative;
}

footer::before {
  content: '';
  display: block;
  margin-bottom: 20px;
  height: 1px;
  background: linear-gradient(to right, rgba(201, 168, 76, 0.4), transparent);
}

footer p {
  font-size: 0.75rem;
  color: #3a3530;
  letter-spacing: 0.1em;
}
