/* Modern Responsive CSS for Inkwell Tattoos */
/* Replaces all Adobe Muse generated CSS */

/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  line-height: 1.6;
  color: #fff;
  background-color: #000;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #ffff00;
  text-decoration: underline;
}

a:visited {
  color: #ffff00;
}

a:hover {
  color: #ffff00;
  text-decoration: none;
}

a:active {
  color: #EE0000;
}

/* Layout Container */
.container {
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Header / Logo */
header {
  text-align: center;
  padding: 20px 0;
}

header img {
  margin: 0 auto;
  max-width: 555px;
}

.splash-page img {
  max-width: 1110px;
}

/* Navigation Styles */
body > nav {
  background-color: #333;
  border-top: 2px solid #555;
  border-bottom: 2px solid #555;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: #fff;
  font-weight: normal;
  transition: background-color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  background-color: #555;
}

/* Secondary Navigation (for portfolios) */
.secondary-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 20px 0;
  margin: 0;
  gap: 10px;
}

.secondary-nav a {
  display: inline-block;
  padding: 12px 25px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.3s;
}

.secondary-nav a:hover {
  opacity: 0.7;
}

/* Main Content */
main {
  padding: 40px 0;
  min-height: 60vh;
}

.splash-page {
  text-align: center;
  padding: 60px 20px;
}

.splash-page img {
  margin: 0 auto 30px;
}

.splash-page a {
  display: inline-block;
  padding: 15px 40px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.splash-page a:hover {
  background-color: #333;
}

/* Content Sections */
.content-section {
  margin: 30px 0;
}

.content-section h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.content-section h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.content-section p {
  margin-bottom: 15px;
  line-height: 1.8;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.portfolio-item {
  display: grid;
  place-items: center;
  gap: 15px;
}

.portfolio-item a {
  display: grid;
  place-items: center;
  gap: 15px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.portfolio-item a:hover {
  opacity: 0.8;
}

.portfolio-item img {
  border: 2px solid #ddd;
}

.portfolio-item h3 {
  font-size: 1.3rem;
  font-weight: bold;
}

/* Artist Bio */
.artist-bio {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin: 30px 0;
  align-items: start;
}

.artist-bio img {
  width: 100%;
  border: 2px solid #ddd;
}

.artist-bio-text h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: bold;
}

/* Gallery / Slideshow */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin: 30px 0;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border: 2px solid #ddd;
  transition: transform 0.3s, border-color 0.3s;
  aspect-ratio: 1;
}

.gallery-item:hover {
  transform: scale(1.05);
  border-color: #fff;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-counter {
  color: #fff;
  margin-top: 15px;
  font-size: 1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  padding: 20px;
  transition: opacity 0.3s;
  z-index: 10000;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.7;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  font-size: 4rem;
  line-height: 1;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Forms */
form {
  max-width: 600px;
  margin: 30px 0;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

button[type="submit"],
.btn {
  padding: 12px 30px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

button[type="submit"]:hover,
.btn:hover {
  background-color: #333;
}

/* Contact Info */
.contact-info {
  margin: 30px 0;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.contact-info p {
  margin-bottom: 10px;
}

.social-media {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-media a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.3s;
}

.social-media a:hover {
  opacity: 0.7;
}

.social-media img {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.social-media iframe {
  margin: 10px 0;
}

/* FAQ Styles */
.faq-item {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: #fff;
}

/* Aftercare Styles */
.aftercare-links {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.aftercare-links a {
  flex: 1;
  min-width: 250px;
  padding: 20px;
  background-color: #f5f5f5;
  border: 2px solid #ddd;
  text-align: center;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 4px;
  transition: background-color 0.3s, border-color 0.3s;
}

.aftercare-links a:hover {
  background-color: #e0e0e0;
  border-color: #999;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 960px) {
  .container {
    padding: 0 15px;
  }

  .main-nav a {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  .artist-bio {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .main-nav {
    flex-direction: column;
  }

  .main-nav a {
    padding: 12px 20px;
    border-bottom: 1px solid #ddd;
  }

  .secondary-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .secondary-nav a {
    text-align: center;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .aftercare-links {
    flex-direction: column;
  }

  .content-section h1 {
    font-size: 1.5rem;
  }

  .content-section h2 {
    font-size: 1.3rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.margin-top {
  margin-top: 30px;
}

.margin-bottom {
  margin-bottom: 30px;
}

.hidden {
  display: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Print Styles */
@media print {
  nav,
  footer,
  .no-print {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  a {
    text-decoration: none;
    color: #000;
  }
}
