/*
 * Stylesheet for Vishar Tattoo portfolio site
 * Dark, minimalist aesthetic with responsive layout.
 */

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #0a0a0a;
  color: #e5e5e5;
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0;
}

h1,
h2 {
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.nav-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0.8rem 0;
}

.nav a {
  color: #e5e5e5;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

.nav a:hover {
  color: #e84a5f;
}

/* Hero section */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('assets/images/hero.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f5f5f5;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

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

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid #e84a5f;
  color: #e84a5f;
  transition: all 0.2s ease-in-out;
  text-align: center;
}

.btn:hover,
.btn:focus {
  background: #e84a5f;
  color: #0a0a0a;
}

.btn-primary {
  background: #e84a5f;
  color: #0a0a0a;
  border-color: #e84a5f;
}

.btn-primary:hover,
.btn-primary:focus {
  background: transparent;
  color: #e84a5f;
}

/* Sections styling */
section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.about p {
  max-width: 700px;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.grid-item {
  width: 100%;
  display: block;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.grid-item:hover {
  transform: scale(1.03);
}

/* FAQ */
.faq details {
  margin-bottom: 1rem;
  background: #141414;
  border-radius: 4px;
  padding: 1rem;
  border: 1px solid #1f1f1f;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.faq p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Contact */
.contact-list {
  list-style: none;
  margin-bottom: 2rem;
}

.contact-list li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.contact-list strong {
  color: #e84a5f;
  margin-right: 0.5rem;
}

/* Footer */
.footer {
  background: #050505;
  color: #777;
  text-align: center;
  padding: 2rem 0;
}

.footer-logo {
  max-width: 180px;
  width: 40%;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0.8);
}

.footer p {
  font-size: 0.8rem;
}

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

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 2rem;
  color: #e84a5f;
  cursor: pointer;
}

/* Responsive typography */
@media (min-width: 600px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  h2 {
    font-size: 2.2rem;
  }
}

@media (min-width: 900px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  .nav-container {
    gap: 3rem;
  }
}