/* ===================== Design tokens ===================== */
:root {
  --background: 220 20% 97%;
  --foreground: 220 30% 10%;
  --primary: 215 60% 42%;
  --primary-foreground: 0 0% 100%;
  --accent: 215 25% 22%;
  --accent-foreground: 0 0% 100%;
  --section-dark: 220 25% 8%;
  --section-dark-foreground: 215 15% 90%;
  --hero-overlay: linear-gradient(135deg, hsla(220, 30%, 8%, 0.85), hsla(215, 60%, 20%, 0.7));
  --radius: 0.5rem;
}

/* ===================== Reset / base ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .container { padding-inline: 2rem; } }

/* ===================== Animation ===================== */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fade-in-up 0.8s ease-out forwards;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -25%); }
}

/* ===================== Navbar ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: hsla(215, 25%, 22%, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo { height: 2rem; width: auto; }
.nav-title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: hsl(var(--primary-foreground));
}
@media (min-width: 768px) { .nav-title { font-size: 1rem; } }

.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsla(0, 0%, 100%, 0.8);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: hsl(var(--primary)); }

.nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(var(--primary-foreground));
}
@media (min-width: 768px) { .nav-toggle { display: none; } }

.nav-mobile {
  background: hsla(215, 25%, 22%, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-bottom: 1rem;
}
.nav-mobile ul { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.nav-mobile a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsla(0, 0%, 100%, 0.8);
  transition: color 0.2s ease;
}
.nav-mobile a:hover { color: hsl(var(--primary)); }
@media (min-width: 768px) { .nav-mobile { display: none !important; } }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-inline: 1rem;
  max-width: 48rem;
  margin-inline: auto;
}
.hero-logo {
  margin-inline: auto;
  width: 16rem;
  height: auto;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero-logo { width: 24rem; } }
.hero-h1 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: hsl(0 0% 100%);
}
@media (min-width: 768px) { .hero-h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-h1 { font-size: 3.75rem; } }
.hero-loc {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: hsl(205 100% 80%);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero-loc { font-size: 1rem; } }
.hero-sub {
  font-size: 1rem;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 2rem;
  color: hsl(215 15% 75%);
}
@media (min-width: 768px) { .hero-sub { font-size: 1.125rem; } }
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: hsl(215 60% 60%);
  animation: bounce 1s infinite;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1rem;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn-primary:hover { opacity: 0.9; }
.btn-outline {
  border: 1px solid hsl(205 85% 70%);
  color: hsl(205 100% 85%);
  background: hsla(220, 35%, 10%, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: hsla(220, 35%, 10%, 0.7);
  border-color: hsl(205 100% 82%);
}

/* Equal-width hero buttons */
.hero-cta .btn {
  min-width: 300px;
  max-width: 100%;
}

/* ===================== Sections ===================== */
.section { padding-block: 5rem; }
@media (min-width: 768px) { .section { padding-block: 7rem; } }
.section-dark {
  background-color: hsl(var(--section-dark));
  color: hsl(var(--section-dark-foreground));
}
.section-light { background-color: hsl(var(--background)); }

.section-head { text-align: center; margin-bottom: 4rem; }
.eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}
.section-title.light { color: hsl(0 0% 100%); }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }

/* ===================== Glass card ===================== */
.glass-card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: hsla(0, 0%, 100%, 0.08);
  border: 1px solid hsla(215, 60%, 50%, 0.15);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

/* ===================== Services ===================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service {
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.service:hover { border-color: hsla(215, 60%, 42%, 0.4); }
.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: hsla(215, 60%, 42%, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: hsl(var(--primary));
  transition: background-color 0.2s ease;
}
.service:hover .service-icon { background: hsla(215, 60%, 42%, 0.25); }
.service-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(0 0% 95%);
}
.service-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(215 15% 60%);
}

/* ===================== Gallery ===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 56rem;
  margin-inline: auto;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
  overflow: hidden;
  border-radius: 0.75rem;
}
.gallery-item img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ===================== Contact ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin-inline: auto;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card {
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-row { display: flex; align-items: flex-start; gap: 1rem; }
.contact-ic { color: hsl(var(--primary)); flex-shrink: 0; margin-top: 0.25rem; }
.contact-label { font-weight: 600; color: hsl(0 0% 95%); }
.contact-text { font-size: 0.875rem; color: hsl(215 15% 60%); }
.contact-text-link { transition: color 0.2s ease; }
.contact-text-link:hover { color: hsl(var(--primary)); }
.contact-socials { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-socials a { font-size: 0.875rem; color: hsl(var(--primary)); }
.contact-socials a:hover { text-decoration: underline; }

.insta-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.insta-cta:hover { border-color: hsla(215, 60%, 42%, 0.4); }
.insta-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: hsla(215, 60%, 42%, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: hsl(var(--primary));
  transition: background-color 0.2s ease;
}
.insta-cta:hover .insta-badge { background: hsla(215, 60%, 42%, 0.25); }
.insta-title { font-weight: 600; font-size: 0.875rem; color: hsl(0 0% 95%); }
.insta-handle { font-size: 0.75rem; color: hsl(var(--primary)); }
.insta-arrow { margin-left: auto; color: hsl(var(--primary)); font-size: 1.25rem; }

.contact-map {
  border-radius: 0.75rem;
  overflow: hidden;
  height: 20rem;
  min-height: 320px;
}
@media (min-width: 1024px) { .contact-map { height: auto; } }
.contact-map iframe { display: block; width: 100%; height: 100%; }

/* ===================== Footer ===================== */
.footer {
  background: hsl(var(--accent));
  padding-block: 2rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-logo { height: 2.5rem; width: auto; }
.footer-socials { display: flex; align-items: center; gap: 1rem; }
.footer-socials a {
  color: hsla(0, 0%, 100%, 0.6);
  transition: color 0.2s ease;
}
.footer-socials a:hover { color: hsl(var(--primary)); }
.footer-copy { font-size: 0.875rem; color: hsla(0, 0%, 100%, 0.6); }
