body {
  margin: 0;
  overflow: hidden;
  background: #1a1a1a;
  color: #e0e0e0;
  font-family: Arial, sans-serif;
}

.splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  animation: fadeOut 2s ease-in-out 1s forwards;
  z-index: 1000;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

.splash img {
  max-width: 80%;
  max-height: 80%;
}

.shell {
  height: 100vh;
  display: none;
  flex-direction: column;
  animation: fadeIn 0.5s ease-in-out 3s forwards;
}

@keyframes fadeIn {
  0% { opacity: 0; display: none; }
  1% { display: flex; opacity: 0; }
  100% { opacity: 1; }
}

.title-bar {
  background: #111;
  color: #e0e0e0;
  text-align: center;
  padding: 10px;
  font-size: 24px;
}

.content {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
}

.home, .page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.active {
  display: block;
}

.page-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.quadrant {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  background-color: rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.quadrant::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/assets/images/previews/' + attr(data-preview)) no-repeat center;
  background-size: cover;
  opacity: 0.8;
  z-index: 1;
}

.quadrant:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.quadrant[data-preview="tattoo-preview-500.jpg"]::before {
  background-image: url('/assets/images/previews/tattoo-preview-500.jpg');
}

.quadrant[data-preview="mixed-preview-500.jpg"]::before {
  background-image: url('/assets/images/previews/mixed-preview-500.jpg');
}

.quadrant[data-preview="graphic-web-preview-500.jpg"]::before {
  background-image: url('/assets/images/previews/graphic-web-preview-500.jpg');
}

.quadrant[data-preview="contact-preview-500.jpg"]::before {
  background-image: url('/assets/images/previews/contact-preview-500.jpg');
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 250px;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.page.gallery .page-content,
.page.paint-mixed-media .page-content,
.page.graphic-website-design .page-content,
.page.contact-us .page-content {
  position: relative;
  overflow: hidden;
}

.gallery-container {
  width: 100%;
  height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.swiper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 150px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.swiper-slide-active {
  opacity: 1;
  width: 400px;
  height: 300px;
}

.swiper-slide-active img {
  width: 100%;
  height: 100%;
}

.swiper-button-next,
.swiper-button-prev {
  color: #e0e0e0;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
}

.photo-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  z-index: 1000;
}

.enlarged-photo {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  background: #333;
  color: #e0e0e0;
  border: none;
  cursor: pointer;
}

.contact-form {
  background: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
}

.contact-form h2 {
  margin-top: 0;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 8px;
  background: #333;
  border: 1px solid #444;
  color: #e0e0e0;
  border-radius: 5px;
}

.form-group textarea {
  resize: vertical;
}

.radio-group {
  display: flex;
  flex-direction: column;
}

.radio-group label {
  margin-bottom: 5px;
}

.radio-group input[type="radio"] {
  margin-right: 10px;
}

.submit-btn {
  padding: 10px 20px;
  background: #e0e0e0;
  color: #1a1a1a;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.submit-btn:hover {
  background: #ccc;
}

.services-overview,
.about-design {
  margin: 20px 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
}

.services-overview h2,
.about-design h3 {
  margin-top: 0;
}

.contact-cta {
  padding: 10px 20px;
  background: #e0e0e0;
  color: #1a1a1a;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.contact-cta:hover {
  background: #ccc;
}

footer {
  background: #111;
  color: #e0e0e0;
  text-align: center;
  padding: 10px;
}

footer a {
  color: #e0e0e0;
  text-decoration: none;
  margin: 0 5px;
}

footer a:hover {
  text-decoration: underline;
}