/* 1. GLOBAL STYLES */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

:root {
  --background-color: #000;        /* Main site background */
  --accent-color: #3226df;         /* Deep blue/purple accent */
  --text-color: #FFFFFF;           /* White text */
  --secondary-text-color: #ccc;    /* Lighter text for details */
  --btn-primary-bg: #3226df;       /* Bright button color (blue) */
  --btn-secondary-bg: #3226df;     /* Secondary button color */
  --max-width: 1200px;             /* Layout max width */
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* 2. NAVBAR */

header {
  background-color: var(--accent-color);
  /* Optional: If you want the bar to stretch full width with no max-width constraints, remove max-width from .navbar below */
}

.navbar {
  display: flex;
  align-items: center;
  /* 
    If you prefer the navbar to span the full screen, remove max-width.
    Otherwise, keep it for a centered layout within a container:
  */
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem;
}

/* Left side links */
.nav-left {
  display: flex;
  list-style: none;
  gap: 1rem;
}

/* Center logo container */
.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Right side links */
.nav-right {
  display: flex;
  list-style: none;
  gap: 1rem;
}

/* Logo sizing - increased to 80px for visibility */
.logo {
  height: 130px;
  width: auto;
}

/* Common link styles for nav items */
.nav-left li a,
.nav-right li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-left li a:hover,
.nav-right li a:hover {
  color: var(--secondary-text-color);
}

/* 3. HERO SECTION */

#hero {
  background: url('../images/tattoo-hero.jpg') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Buttons */

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  color: #fff;
  transition: background-color 0.3s;
}

.btn-primary {
  background-color: var(--btn-primary-bg);
}

.btn-primary:hover {
  background-color: #1919FF;
}

.btn-secondary {
  background-color: var(--btn-secondary-bg);
}

.btn-secondary:hover {
  background-color: #4444BB;
}

/* 4. SECTIONS */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* 5. SERVICES */

.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service {
  background-color: #111;
  padding: 2rem;
  flex: 1 1 300px;
  border-radius: 4px;
  text-align: center;
}

.service h3 {
  margin-bottom: 1rem;
}

.service p {
  margin-bottom: 1.5rem;
}

/* 6. PRICES */

.prices-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.price-box {
  background-color: #111;
  padding: 2rem;
  flex: 1 1 300px;
  border-radius: 4px;
  min-height: auto;
}

.price-box h3 {
  margin-bottom: 1rem;
}

.price-box ul {
  list-style: none;
  padding-left: 0;
}

.price-box ul li {
  margin-bottom: 0.5rem;
}

.small-note {
  font-size: 0.9rem;
  color: var(--secondary-text-color);
}

.artists-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.artist {
  background-color: #111;
  padding: 1.5rem;
  border-radius: 4px;
  text-align: center;
  flex: 1 1 250px;
}
.artist__photo {
  width: 100%;
  height: auto;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.artist__name {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.artist__tag a {
  color: var(--accent-color);
  text-decoration: none;
}
.artist__works-link {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: underline;
  font-weight: 500;
}


/* Mobile tweaks (already in your media queries) will apply */


/* 7. GALLERY */

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* 8. FAQ */

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  background-color: #111;
  color: #fff;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: #222;
}

.faq-answer {
  background-color: #1b1b1b;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem; /* Padding is visible when expanded */
}

.faq-answer p {
  margin: 1rem 0;
}

/* 9. CONTACT SECTION */

.contact-section {
  background-color: #111;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.contact-info {
  flex: 1 1 300px;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-info p {
  margin-bottom: 1rem;
}

.contact-info a {
  color: var(--text-color);
  text-decoration: underline;
}

.contact-form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #333;
  border-radius: 4px;
  background-color: #222;
  color: #fff;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  margin-top: 1.5rem;
}

/* 10. FOOTER */

footer {
  background-color: var(--accent-color);
  text-align: center;
  padding: 1.5rem 1rem;
}

footer p {
  margin: 0.5rem 0;
}
footer a {
  color: #fff; /* or any color that stands out against your footer background */
  text-decoration: underline; /* optional, if you want an underline */
}


/* 11. RESPONSIVE MEDIA QUERIES */

/* Existing mobile rules for max-width 768px */
@media (max-width: 768px) {
  /* Hide full desktop nav links; consider adding a mobile menu later */
  .nav-left, .nav-right {
    display: none;
  }

  /* Reduce hero section height for mobile */
  #hero {
    height: 60vh;
  }

  /* Stack service and price boxes vertically */
  .services-container,
  .prices-container {
    flex-direction: column;
  }

  /* Stack contact info and form vertically */
  .contact-container {
    flex-direction: column;
  }

  /* Adjust Google Maps iframe to fit mobile screen */
  .contact-info iframe {
    width: 100%;
    height: 250px; /* You can tweak this value as needed */
  }
}

/* Additional tweaks for very small screens (max-width 480px) */
@media (max-width: 480px) {
  /* Adjust hero text sizes to prevent overflow */
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  
  /* Ensure section headings and paragraphs have enough padding/margin */
  .section {
    padding: 2rem 1rem;
  }
  
  /* Optionally adjust footer text size */
  footer p {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .price-box {
    min-height: auto;
    margin-bottom: 2rem;
  }
}
/* Optional: On mobile, adjust FAQ font sizes */
@media (max-width: 480px) {
  .faq-question {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
  .faq-answer p {
    font-size: 0.9rem;
  }
}

