/* ============================================================
   style.css — shared styles for all pages
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Poppins", sans-serif;
  background: #f5f0eb;
  color: #3a3a3a;
  min-height: 100vh;
}

/* ── Nav ───────────────────────────────────────────────────── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

nav .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e86f5e;
  text-decoration: none;
}

nav .nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

nav .nav-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.25s;
}

nav .nav-links a:hover,
nav .nav-links a.active { color: #e86f5e; }

/* ── Footer ────────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #ccc;
  font-size: 0.8rem;
}

/* ── Page layout (about & contact) ────────────────────────── */
.page {
  max-width: 720px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.page h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 0.4rem;
}

.page h1 span { color: #e86f5e; }

.page .subtitle {
  font-size: 1rem;
  color: #bbb;
  margin-bottom: 2.5rem;
}

/* ── Card ──────────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin-bottom: 1.5rem;
}

.card h2 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #e86f5e;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.card p:last-child { margin-bottom: 0; }

/* ── Hero (gallery page) ───────────────────────────────────── */
.hero {
  text-align: center;
  padding: 4rem 2rem 2.5rem;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 0.5rem;
}

.hero h1 span { color: #e86f5e; }

.hero p {
  font-size: 1.05rem;
  color: #999;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Gallery ───────────────────────────────────────────────── */
.gallery {
  columns: 3;
  column-gap: 1.25rem;
  padding: 2rem 2.5rem 4rem;
  max-width: 1300px;
  margin: 0 auto;
}

@media (max-width: 1024px) { .gallery { columns: 2; } }
@media (max-width: 600px)  { .gallery { columns: 1; padding: 1.5rem 1rem 3rem; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.gallery-item:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 12px 32px rgba(232,111,94,0.15);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s;
}

.gallery-item:hover img { transform: scale(1.04); }

.empty-msg {
  column-span: all;
  text-align: center;
  padding: 4rem 1rem;
  color: #bbb;
  font-size: 1rem;
}

/* ── Lightbox ──────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(245,240,235,0.95);
  backdrop-filter: blur(12px);
  z-index: 100;
  justify-content: center;
  align-items: center;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 88vw;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 1.8rem;
  color: #bbb;
  cursor: pointer;
  z-index: 101;
  background: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: color 0.3s, background 0.3s;
  line-height: 1;
}

.lightbox-close:hover { color: #e86f5e; background: #fff5f3; }

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #bbb;
  cursor: pointer;
  z-index: 101;
  background: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: color 0.3s, background 0.3s;
}

.lightbox-nav:hover { color: #e86f5e; background: #fff5f3; }
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }

/* ── Contact form ──────────────────────────────────────────── */
.form-group { margin-bottom: 1.4rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid #f0ece8;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  color: #3a3a3a;
  background: #faf8f6;
  transition: border-color 0.25s;
  outline: none;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #e86f5e;
  background: #fff;
}

.form-group textarea { height: 130px; }

.btn {
  width: 100%;
  padding: 0.9rem;
  background: #e86f5e;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
}

.btn:hover {
  background: #d45f4e;
  transform: translateY(-2px);
}

.success-msg {
  display: none;
  text-align: center;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 12px;
  background: #fff0ee;
  color: #e86f5e;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ── Social links ──────────────────────────────────────────── */
.social-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin-top: 1.25rem;
}

.social-card h2 {
  font-size: 0.8rem;
  font-weight: 600;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  flex: 1 1 140px;
  justify-content: center;
  white-space: nowrap;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.social-link.instagram { background: #fdf0f7; color: #c13584; }
.social-link.linkedin  { background: #eef4fb; color: #0077b5; }

.social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
