/* Palmetto Ink Studio - External CSS */

/* Background color, background image, and default text color */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #0c1b3a;
  color: #fff;
  position: relative;
  overflow-x: hidden;
  background-image: url("images/tattoo6.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Header style */
header {
  background-color: white;
  color: black;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Nav styling */
nav {
  background-color: #f0f0f0;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

/* Remove list styling and apply horizontal layout to nav */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

/* Nav links */
nav a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

nav a:link,
nav a:visited,
nav a:active,
nav a:focus {
  color: black;
}

nav a:hover {
  background-color: #1c2e4a;
  color: white;
  transform: scale(1.1);
  text-shadow: 0 0 5px white;
}

/* Logo size */
.logo {
  width: 80px;
}

/* Hero section */
.hero {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 40px;
  gap: 60px;
  flex-wrap: wrap;
  background-color: #0c1b3a;
}

/* Left flash images */
.left-flash-images {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.left-flash-images img {
  width: 140px;
  border: 5px solid #edd695;
  background-color: #edd695;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* Hero text */
.hero-text {
  background-color: #edd695;
  color: black;
  padding: 30px 25px;
  border-radius: 50px 50px 0 0;
  max-width: 550px;
  font-size: 1rem;
  line-height: 1.6;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text h2 {
  font-family: 'Courier New', Courier, monospace;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}

.hero-text p {
  text-align: center;
  margin-bottom: 12px;
}

.hero-logo {
  display: block;
  margin-top: 20px;
  width: 100px;
}

/* Artist heading */
.artist-heading {
  background-color: black;
  padding: 15px;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.8rem;
  color: white;
}

/* Artist grid */
.artist-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 30px 10px;
  gap: 30px;
  background-color: #0c1b3a;
}

/* Individual artist card */
.artist-grid article {
  text-align: center;
  color: #edd695;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artist-grid article:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Diagonal stair-step effect */
.artist-grid article:nth-child(2),
.artist-grid article:nth-child(5) {
  margin-top: 30px;
}

.artist-grid article:nth-child(3),
.artist-grid article:nth-child(6) {
  margin-top: 60px;
}

/* Artist image */
.artist-grid img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 6px solid #edd695;
}

/* Artist name */
.artist-grid p {
  margin-top: 10px;
  font-size: 1rem;
}

/* Location block */
.location {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.location h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.location p {
  margin-top: 10px;
  font-size: 18px;
  color: #333;
}

.location p:first-of-type {
  font-weight: bold;
  font-size: 20px;
}

.location:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Map style */
.map {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Locations heading */
.locations-heading {
  background-color: black;
  color: white;
  padding: 20px;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.8rem;
  margin: 0;
}

/* Contact form */
form {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

form label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #999;
  border-radius: 4px;
}

form button {
  background-color: #02183F;
  color: white;
  border: none;
  padding: 10px 15px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 4px;
}

form button:hover {
  background-color: #03306e;
}

/* Fieldset and legend */
fieldset {
  border: 2px solid black;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}

legend {
  font-weight: bold;
  font-size: 1.2em;
  color: black;
  padding: 0 10px;
}

#charCount {
  font-size: 0.9em;
  color: gray;
}

/* FAQ section */
.faq-heading {
  background-color: black;
  color: white;
  padding: 20px;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.8rem;
  margin: 0;
}

.faq-item {
  padding: 20px;
  background-color: #edd695;
  margin: 15px auto;
  border-radius: 12px;
  width: 90%;
  color: #222;
  font-weight: 500;
}

.faq-item:not(:first-child) {
  margin-top: 20px;
}

.faq-question {
  position: relative;
  cursor: pointer;
  padding-right: 20px;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
}

.faq-item.open .faq-question::after {
  content: "-";
}

.faq-answer {
  display: none;
  margin-top: 10px;
  padding-left: 10px;
}

.faq-item.open .faq-answer {
  display: block;
}

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

/* Footer */
.footer {
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 250px;
  padding: 10px;
}

.footer-left h3,
.footer-left h4,
.footer-right h4 {
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 1rem;
}

.footer-logo-wrapper {
  text-align: center;
}

.footer-logo {
  width: 60px;
  margin-bottom: 10px;
}

.social-icons {
  margin-top: 5px;
}

.social-icons img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
}

.footer p {
  margin: 4px 0;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
}

.footer-center p {
  margin: 3px 0;
  font-size: 0.85rem;
}

/* Main content stays above background animations */
main, .content-area, header, footer {
  position: relative;
  z-index: 1;
}
