:root {
  /* Colors */
  --bg-900: #0b0b0b;
  --bg-800: #111;
  --surface-700: #1c1c1c;
  --muted: #888;
  --text: #f4f4f4;
  --accent: #ffd700; /* gold */
  --accent-2: #ff5500; /* orange */
  --white: #ffffff;
  --danger: #e91e63;

  /* Spacing & type */
  --gap-sm: 8px;
  --gap: 16px;
  --gap-lg: 24px;
  --container: 1200px;

  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.5rem;
  --radius: 10px;

  /* useful */
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: "Poppins", "Arial", sans-serif;
  background: var(--bg-900);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* Utility container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Anchor resets */
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ================= HEADER ================= */
header {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.9));
  color: var(--white);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 1rem;
  position: fixed;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 52px;
  width: auto;
  border-radius: 6px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.06);
}

header h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  text-align: center;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  gap: 1rem;
  position: relative;
  align-items: center;
}

/* Navbar Links */
.navbar .home{
  color: var(--accent);
}
.navbar a {
  color: var(--white);
  font-weight: 600;
  font-size: var(--fs-lg);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  position: relative;
  transition: transform var(--transition), color var(--transition);
}

.navbar a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.navbar a:hover::after {
  width: 100%;
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  cursor: pointer;
}

.tic {
  width: 30px;
  height: 3px;
  background-color: var(--accent);
  margin: 5px auto;
  transition: 0.5s ease-in-out;
}

/* -------------------------
   3. Hero (if used)
   ------------------------- */
.hero {
  background: url("/images/hero.jpg") no-repeat center center/cover;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 0 1rem;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.6);
}

.hero h2 {
  font-size: 2rem;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.7);
  margin: 0;
}

/* -------------------------
   4. About Section
   ------------------------- */
.about {
  background: linear-gradient(180deg, #111, #151515);
  color: var(--text);
  padding: 50px 0;
}

.about-container {
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 480px;
  min-width: 260px;
  padding: 1rem;
}

.about-text h2 {
  font-size: 2rem;
  font-family: "Georgia", serif;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.about-text p {
  color: #e8e8e8;
  font-size: var(--fs-base);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.buttons {
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  margin-right: 12px;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: var(--fs-base);
  transition: all var(--transition);
}

.btn-fill {
  background: var(--accent);
  color: var(--bg-900);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.about-image {
  flex: 1 1 360px;
  text-align: center;
  padding: 1rem;
}

.about-image img {
  max-width: 520px;
  width: 100%;
  border-radius: 12px;
  border: 4px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* -------------------------
   5. About Info (text block)
   ------------------------- */
.about-info {
  background: url("/images/pattern.png") repeat-x center top, #2e2e2e;
  color: #f0f0f0;
  padding: 60px 1rem;
  font-family: "Georgia", serif;
}

.about-inner {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-inner p {
  margin-bottom: 1.25rem;
}

/* -------------------------
   6. Tattoo Types & Grid
   ------------------------- */
.tattoo-types {
  background: #000;
  color: var(--text);
  padding: 60px 1rem;
}

.tattoo-intro {
  max-width: 1000px;
  margin: 0 auto 2rem;
  text-align: center;
  color: #ddd;
}

.tattoo-heading {
  font-size: 1.9rem;
  color: var(--accent);
  text-align: center;
  margin-bottom: 1.25rem;
}

/* grid of types (links) */
.tattoo-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  padding: 0 1rem;
}

.tattoo-grid a {
  display: block;
  background: #222;
  color: #fff;
  padding: 14px 12px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  font-weight: 700;
  transition: background 0.25s ease, transform 0.25s ease;
}

.tattoo-grid a:hover {
  background: #333;
  transform: translateY(-4px);
}

/* -------------------------
   7. Tattoo Gallery (scrollable)
   ------------------------- */
.tattoo-gallery {
  padding: 40px 1rem;
  background: #fff;
  color: #111;
}

.tattoo-gallery h2 {
  color: #111;
  margin-bottom: 1rem;
  text-align: center;
}

.gallery-container {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* scroll viewport */
.gallery-scroll {
  display: flex;
  overflow: hidden;
  gap: 20px;
  width: 100%;
  scroll-behavior: smooth;
}

/* each item */
.tattoo-item {
  flex: 0 0 calc(33.333% - 14px);
  border-radius: 8px;
  overflow: hidden;
  min-width: 260px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  background: #fafafa;
}

.tattoo-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.tattoo-item:hover .tattoo-image {
  transform: scale(1.03);
}

/* scroll buttons */
.scroll-btn {
  background: #111;
  color: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.scroll-btn:hover {
  background: var(--accent-2);
  transform: scale(1.07);
}

/* booking CTA under gallery */
.booking-cta {
  margin-top: 36px;
  text-align: center;
}

/* highlight link style */
.highlight-link {
  color: var(--accent-2);
  border: 2px solid var(--accent-2);
  padding: 8px 14px;
  border-radius: 30px;
  display: inline-block;
  font-weight: 700;
  transition: all var(--transition);
}
.highlight-link:hover {
  background: var(--accent-2);
  color: #fff;
}

/* -------------------------
   8. Styles / What We Offer
   ------------------------- */
.styles {
  max-width: 1200px;
  margin: 30px auto;
  padding: 2rem;
  background: #111;
  color: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.styles h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #ffd166;
}

.styles ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.styles li {
  background: #1c1c1c;
  text-align: center;
  padding: 1rem 1.25rem;
  margin-bottom: 12px;
  border-left: 4px solid #ffd166;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.styles li:hover {
  background: #232323;
}
.styles strong {
  color: #ffd166;
}

/* -------------------------
   9. CTA with Map
   ------------------------- */
.cta-with-map {
  background: #000;
  color: var(--text);
  padding: 3.25rem 1rem;
}

.cta-with-map .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: var(--container);
}

/* CTA text block */
.cta-content h2 {
  font-family: "Playfair Display", serif;
  color: var(--accent);
  font-size: 2.1rem;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.cta-content p {
  color: #ddd;
  font-size: var(--fs-lg);
}

/* map visuals */
.map-container {
   width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 3px solid var(--accent);
  aspect-ratio: 4 / 3; /* Keeps it proportional */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.map-iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(30%) contrast(1.05);
}
.map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.06),
    rgba(0, 0, 0, 0.28)
  );
}

/* -------------------------
   10. Modal (promo)
   ------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.promo-modal {
  background: #000;
  border: 3px solid var(--accent);
  border-radius: 12px;
  width: min(95%, 640px);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}
.close-modal {
  position: absolute;
  right: 14px;
  top: 10px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.6rem;
  cursor: pointer;
}
.promo-image {
  width: 100%;
  display: block;
  border-bottom: 3px solid var(--accent);
}
.cta-buttons {
  display: flex;
  gap: 12px;
  padding: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn {
  padding: 12px 24px;
  border-radius: 30px;
  text-align: center;
  font-weight: 700;
  max-width: 220px;
}
.book-btn {
  background: var(--accent);
  color: #000;
  border: 2px solid var(--accent);
}
.contact-btn {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* -------------------------
   11. Chatbot widget
   ------------------------- */
#chatbot-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  background: linear-gradient(180deg, #111, #222);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1500;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.04);
}
#chatbot-button img {
  width: 28px;
  height: 28px;
  display: block;
}

#chatbot-widget {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: 320px;
  max-width: calc(100% - 40px);
  background: linear-gradient(180deg, #111, #0c0c0c);
  color: var(--text);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  z-index: 1500;
  display: none; /* toggled with JS */
}

/* header of chatbot */
#chatbot-header {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.7));
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 700;
}
#chatbot-messages {
  padding: 12px;
  max-height: 280px;
  overflow: auto;
}
#chatbot-input {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
}
#chatbot-input input {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: var(--text);
}
#chatbot-input button {
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  cursor: pointer;
}

/* -------------------------
   12. Footer
   ------------------------- */
footer {
  background: #000;
  color: #fff;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  margin-top: 32px;
}
.footer-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-content p {
  margin: 0;
  color: #ccc;
  font-size: 0.95rem;
}
.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-links a {
  color: #fff;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}
.footer-links a:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* -------------------------
   13. Responsive Media Queries
   ------------------------- */

/* mobile */
@media (max-width: 768px) {
  /* show hamburger, hide desktop nav */

     /* From Navigation and Gallery */
  .hamburger {
    display: block;
    margin-right: 10px;
    z-index: 1100;
  }

  .navbar {
    flex-direction: column;
    background-color: var(--bg-900);
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 110%; /* directly below the header */
    left: -100%;
    width: 100%;
    height: 90vh;
    padding: 1rem 0;
    transition: left 0.5s ease;
    z-index: 999;
  }

  .navbar.active {
    left: 0;
  }

  /* Hamburger animation */
  .hamburger.active .tic:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .tic:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .tic:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* map */
   .cta-with-map .container {
    grid-template-columns: 1fr; /* Stack content */
    text-align: center;
  }

  .map-container {
    aspect-ratio: 16 / 9; /* Widescreen for mobile */
    min-height: 240px;
    width: 100%;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .tattoo-item {
    flex: 0 0 calc(80% - 20px);
    min-width: 280px;
  }
  .gallery-scroll {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  /* chatbot width */
  #chatbot-widget {
    right: 12px;
    bottom: 78px;
    width: 300px;
    display: none;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
}

/* small phones */
@media (max-width: 480px) {
  header h1 {
    font-size: 1.05rem;
    text-align: center;
    justify-self: center;
  }
  .logo-img {
    height: 40px;
  }
  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .tattoo-item {
    flex: 0 0 calc(100% - 20px);
    min-width: 220px;
  }
  .tattoo-image {
    height: 220px;
  }

  .promo-modal {
    width: 96%;
  }
  .cta-buttons {
    flex-direction: column;
  }
}

/* -------------------------
   Accessibility helpers
   ------------------------- */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
