:root {
  --bg-top: #0f172a;
  --bg-bottom: #1e293b;
  --ink: #f1f5f9;
  --muted: #94a3b8;
  --panel: #1e293b;
  --accent: #14b8a6;
  --highlight: #fbbf24;
  --radius: 20px;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  --barOpacity: 0;
}

/* Background effects */
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  position: relative;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('noise.png');
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  top: 20%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20,184,166,0.15) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
main, header, footer, .topbar { position: relative; z-index: 1; }

/* Topbar */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  opacity: var(--barOpacity);
  background: rgba(15,23,42, calc(.9 * var(--barOpacity)));
  backdrop-filter: blur(calc(10px * var(--barOpacity)));
  box-shadow: 0 4px 20px rgba(0,0,0, calc(.2 * var(--barOpacity)));
  transform: translateY(calc(-12px * (1 - var(--barOpacity))));
  transition: opacity .35s ease, background .35s ease, box-shadow .35s ease, transform .35s ease;
  pointer-events: none;
}
.topbar.active { pointer-events: auto; }
.topbar__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand { font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.3rem; }

/* Hero */
.hero { position: relative; width: 100%; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero__bg { position: absolute; inset: 0; background: url("header.jpg") center/cover no-repeat; filter: brightness(0.8); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.hero__content { position: relative; z-index: 2; max-width: 85%; color: var(--ink); }
.hero__content h1 { font-size: clamp(2rem, 6vw, 4rem); margin-bottom: 10px; background: linear-gradient(90deg, #e9f1ff, #bcd3ff); -webkit-background-clip: text; color: transparent; }
.subtitle { color: var(--muted); font-size: clamp(1rem, 2.5vw, 1.4rem); }

/* Sections */
.section { max-width: 1100px; margin: 80px auto; padding: 0 20px; }
.section h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--highlight); margin-bottom: 24px; }

/* Prices Table */
.table-wrap { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 18px 16px; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; }
.price-table th { color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }

/* Reference Grid */
.ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 20px; }
.ref-card { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.ref-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.ref-card img { width: 100%; height: 240px; object-fit: cover; display: block; }
.ref-body { padding: 16px 20px; }
.ref-body h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--ink); }
.ref-body blockquote { margin: 0; padding-left: 14px; border-left: 3px solid var(--accent); color: var(--muted); font-style: italic; }

/* Gallery */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.gallery img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; transition: transform 0.3s; }
.gallery img:hover { transform: scale(1.02); }
.small-hero { height: 60vh; }

/* Contact + Footer */
.contact { background: var(--panel); border-radius: var(--radius); padding: 20px; border-left: 4px solid var(--highlight); box-shadow: var(--shadow); }
.footer { text-align: center; color: var(--muted); padding: 40px 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 0.9rem; }

/* Responsive */
@media (max-width: 768px) {
  .gallery { grid-template-columns: 1fr; }
}

/* Topbar menu links styled as normal text */
.navlinks a {
  color: var(--ink);           /* use site text color */
  text-decoration: none;       /* remove underline */
  opacity: 0.85;               /* slightly faded by default */
  padding: 6px 10px;           /* some spacing so it feels like a menu item */
  border-radius: 6px;          /* subtle rounded corners */
  transition: background 0.3s, color 0.3s, opacity 0.3s;
}

.navlinks a:hover {
  background: rgba(255, 255, 255, 0.1);  /* subtle hover effect */
  opacity: 1;                            /* brighten text */
  color: var(--ink);                      /* keep text color consistent */
}

