/* ===== GLOBAL STYLE (portfolio + contact) ===== */
body {
  margin: 0;
  font-family: Georgia, serif;
  background: linear-gradient(#000,#111,#000);
  color: #f5e6c8;
  width: 100%;
  max-width: 1280px;
  margin: auto;
}

h1,h2,h3 {
  color: #e0b15a;
}

section {
  padding: 80px 20px;
  text-align: center;
}

.btn {
  background: linear-gradient(45deg,#8a5a1f,#a06b2a);
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
}

/* ===== PORTFOLIO ===== */
.grid {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
  max-width:1100px;
  margin:0 auto;
}

.card {
  background:#111;
  border:1px solid #222;
  border-radius:16px;
  overflow:hidden;
  cursor:pointer;
  transition:0.2s;
}

.card:hover {
  transform:scale(1.02);
  box-shadow:0 0 15px rgba(160,107,42,0.4);
}

.card img {
  width:100%;
  height:250px;
  object-fit:cover;
}

.tag {
  padding:10px;
  font-size:14px;
  color:#aaa;
}

/* ===== LIGHTBOX ===== */
#lightbox {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.95);
  display:none;
  align-items:center;
  justify-content:center;
}

#lightbox img {
  max-width:90vw;
  max-height:90vh;
  border-radius:12px;
  box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

.lb-nav {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:40px;
  color:white;
  cursor:pointer;
}

.lb-prev { left:20px; }
.lb-next { right:20px; }

/* ===== FORM ===== */
.form-container {
  max-width:600px;
  margin:60px auto;
  padding:30px;
  background:#111;
  border:1px solid #222;
  border-radius:16px;
}

input, textarea {
  width:100%;
  padding:14px;
  margin:12px 0;
  border-radius:10px;
}

footer {
   font-family: arial;
   font-size: smaller;
}

/* FORM FEEDBACK */
.form-success,
.form-error {
  max-width: 600px;
  margin: 20px auto;
  padding: 16px 20px;
  border-radius: 10px;
  text-align: center;
}

.form-success {
  background: rgba(0, 128, 0, 0.15);
  border: 1px solid rgba(0, 200, 0, 0.3);
  color: #90ee90;
}

.form-error {
  background: rgba(180, 0, 0, 0.15);
  border: 1px solid rgba(255, 0, 0, 0.3);
  color: #ff9999;
}

label {
  display: block;
  text-align: left;
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 14px;
  color: #ccc;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(14,14,18,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 999;
}

/* CONTAINER */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* LOGO */
.logo {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* HAMBURGER — hidden on desktop */
.nav-toggle {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

/* NAV — desktop: inline flex */
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

/* LINKS */
.nav-link {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: #c9a227;
  transition: 0.2s;
}

.nav-link:hover::after {
  width: 100%;
}

/* CTA BUTTON */
.nav-cta {
  background: linear-gradient(135deg, #c9a227, #8b6b12);
  color: black;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
}

/* LANGUAGE SWITCHER */
.lang-switcher {
  display: flex;
  gap: 6px;
}

.lang-item {
  opacity: 0.6;
  text-decoration: none;
  font-size: 16px;
  color: #ddcf08;
}

.lang-item:hover, .active-lang {
  opacity: 1;
}
.lang-item svg {
  display: block;
  border-radius: 2px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lang-item:hover svg,
.active-lang svg {
  opacity: 1;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 53px;
    right: 0;
    left: auto;
    background: #0e0e12;
    width: 200px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    z-index: 9999;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0 0 12px 12px;
  }

  .nav.open {
    display: flex;
  }

}