/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== LOCAL FONT ===== */
/* Put your .ttf or .otf file inside the "fonts" folder */
@font-face {
  font-family: 'Ethnocentric';
  src: url('../fonts/Ethnocentric-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ===== BODY ===== */
body {
  font-family: "Montserrat", sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

/* ===== LOGO ===== */
.logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* ===== NAV LINKS (DESKTOP DEFAULT) ===== */
/* absolute center - robust */
.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* vertically centers inside navbar too */
  display: flex;
  gap: 2rem;
  align-items: center;
  z-index: 1000;
  pointer-events: auto;
}


.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
  opacity: 0.85;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #d4a017;
  opacity: 1;
}

/* ===== HAMBURGER TOGGLE ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
}

/* ===== ANIMATION FOR TOGGLE ===== */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MOBILE MENU ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.95);
    gap: 1.5rem;
    padding: 2rem 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}


/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('../assets/hero-bg/hero-bg\(3\).jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
  animation: fadeIn 1.5s ease forwards;
}

.hero-content h1 {
  font-family: 'Ethnocentric', sans-serif;
  font-size: clamp(1.5rem, 6vw, 3.5rem); /* Responsive text scaling */
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-content span {
  color: #d4a017;
}

.hero-content p {
  margin-top: 1rem;
  font-size: clamp(0.7rem, 2.5vw, 1rem); /* Responsive paragraph size */
  font-weight: 500;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
}


.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid #d4a017;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #d4a017;
  color: #000;
}

/* ===== FADE ANIMATION ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade {
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
  transform: translateY(30px);
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE MENU ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

.nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.95);
    padding: 2rem 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }
}

  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

/* ===== RESPONSIVE TEXT ===== */
@media (min-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}

/* ===== ABOUT SECTION ===== */
.about {
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* mobile first */
  padding: 5rem 1.5rem; /* increased padding top/bottom */
}

/* ===== CONTAINER ===== */
.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== TEXT BOX ===== */
.about-text {
  padding: 1rem;
  text-align: center;
  max-width: 600px;
}

.about-text h2 {
  font-family: 'Ethnocentric', sans-serif;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  color: #fff;
  margin-bottom: 1rem;
}

.about-text span {
  color: #d4a017;
}

.about-content {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  max-height: 6.5em;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.about-content.open {
  max-height: 1000px;
}

.toggle-btn {
  margin-top: 1.2rem;
  padding: 0.6rem 1.3rem;
  border: 1px solid #d4a017;
  background: transparent;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-btn:hover {
  background: #d4a017;
  color: #000;
}

/* ===== IMAGE ===== */
.about-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.about-img img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ===== TABLET AND UP ===== */
@media (min-width: 768px) {
  .about {
    padding: 6rem 2rem; /* more breathing space on desktop */
  }

  .about-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
  }

  .about-text {
    flex: 1;
    text-align: left;
    padding: 2rem 0; /* adds internal top/bottom padding */
  }

  .about-img {
    flex: 1;
    justify-content: center;
  }

  .about-img img {
    max-width: 460px;
    aspect-ratio: 4 / 5;
    margin: 1rem 0; /* small vertical breathing room */
  }
}



/* ===== TEAM SECTION ===== */
.team {
  background: #121212;
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
}

.team h1 {
  font-family: 'Ethnocentric', sans-serif;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  margin-bottom: 2.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.team h1 span {
  color: #d4a017;
}

/* ===== GRID ===== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== CARD ===== */
.team-card {
  position: relative;
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(212, 160, 23, 0.4);
}

/* ===== IMAGE ===== */
.team-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

/* ===== TEAM OVERLAY ===== */
.team-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.team-overlay.active {
  opacity: 1;
  transform: translateY(0);
}

.team-overlay h3 {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #d4a017;
  margin-bottom: 0.5rem;
}

.team-overlay p {
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  line-height: 1.5;
  max-width: 280px;
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 480px) {
  .team {
    padding: 2rem 1rem;
  }

  .team h1 {
    font-size: 1.3rem;
  }

  .team-overlay {
    padding: 1rem;
  }

  .team-overlay p {
    max-width: 240px;
  }
}

/* ===== FADE ANIMATION (reusable) ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== TATTOO STYLES SECTION ===== */
.tattoo-styles {
  background: #1a1a1a;
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
}

.tattoo-styles h1 {
  font-family: 'Ethnocentric', sans-serif;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.tattoo-styles h1 span {
  color: #d4a017;
}

/* ===== GRID ===== */
.tattoo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .tattoo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .tattoo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== CARD ===== */
.tattoo-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #222;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tattoo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(212, 160, 23, 0.4);
}

/* ===== IMAGE ===== */
.tattoo-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.tattoo-card:hover .tattoo-image img {
  transform: scale(1.05);
}

/* ===== OVERLAY ===== */
.tattoo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease;
  padding: 1.5rem;
}

.tattoo-overlay.active {
  opacity: 1;
  transform: translateY(0);
}

.tattoo-overlay h3 {
  font-size: 1.1rem;
  color: #d4a017;
  margin-bottom: 0.5rem;
}

.tattoo-overlay p {
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 260px;
}

/* ===== FADE ANIMATION ON SCROLL ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 480px) {
  .tattoo-styles {
    padding: 2rem 1rem;
  }

  .tattoo-overlay {
    padding: 1rem;
  }

  .tattoo-overlay p {
    font-size: 0.85rem;
    max-width: 220px;
  }
}

/* ===== REVIEWS SECTION ===== */
.reviews {
  background: #111;
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.reviews h1 {
  font-family: 'Ethnocentric', sans-serif;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  letter-spacing: 2px;
  margin-bottom: 2.5rem;
}

.reviews h1 span {
  color: #d4a017;
}

/* ===== GRID ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== REVIEW CARD ===== */
.review-card {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(212, 160, 23, 0.4);
}

.review-stars {
  color: #d4a017;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-style: italic;
}

.review-card h4 {
  color: #d4a017;
  font-size: 0.95rem;
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 480px) {
  .review-card {
    padding: 1.2rem;
  }

  .review-text {
    font-size: 0.85rem;
  }

  .review-stars {
    font-size: 1.1rem;
  }
}


/* ===== FOOTER ===== */
.footer {
  background: #0d0d0d;
  color: #ccc;
  padding: 3rem 1.5rem 1rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }
}

/* ===== LOGO ===== */
.footer-logo img {
  width: 120px;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #aaa;
  max-width: 260px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .footer-logo p {
    margin: 0;
  }
}

/* ===== LINKS ===== */
.footer-links h3,
.footer-contact h3 {
  color: #d4a017;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  margin: 0.4rem 0;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #d4a017;
}

/* ===== CONTACT ===== */
.footer-contact p {
  margin: 0.4rem 0;
  font-size: 0.9rem;
  color: #bbb;
}

.footer-contact i {
  color: #d4a017;
  margin-right: 0.4rem;
}

.footer-socials {
  margin-top: 1rem;
}

.footer-socials a {
  color: #ccc;
  margin: 0 0.5rem;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #d4a017;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #888;
}

.footer-bottom span {
  color: #d4a017;
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 480px) {
  .footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-links h3,
  .footer-contact h3 {
    font-size: 0.95rem;
  }

  .footer-links a,
  .footer-contact p {
    font-size: 0.85rem;
  }
}

/* ===== FADE ANIMATION ===== */
.fade,
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease-out;
}

.fade.visible,
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ===== GLOBAL SECTION SPACING FIX ===== */
section,
.hero,
.about,
.team,
.tattoo-styles,
.reviews,
.footer {
  padding-inline: 1.25rem;  /* equal left/right spacing on mobile */
}

/* Tablet */
@media (min-width: 600px) {
  section,
  .hero,
  .about,
  .team,
  .tattoo-styles,
  .reviews,
  .footer {
    padding-inline: 2rem; /* consistent wider padding */
  }
}

/* Desktop */
@media (min-width: 1024px) {
  section,
  .hero,
  .about,
  .team,
  .tattoo-styles,
  .reviews,
  .footer {
    padding-inline: 3rem; /* balanced for large screens */
  }
}

