:root {
  --navbar-height: 60px;
}

* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #a566c4, #7e3e9e);
  font-family: Arial, sans-serif;
  color: #f0e6f6;
  touch-action: manipulation;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
}

a {
  user-select: none;
  text-decoration: none;
  color: inherit;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100vw;
  background: rgba(20, 10, 30, 0.85);
  padding: 10px 40px;
  z-index: 10;
  flex-shrink: 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--navbar-height);
}

.logo {
  font-weight: bold;
  font-size: 1.2em;
}

.hamburger-wrapper {
  padding: 20px;
  margin: -20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 21;
}

.hamburger {
  display: none;
  position: relative;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20;
  padding: 0;
}

.hamburger img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hamburger .icon-hamburger {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.hamburger .icon-close {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hamburger.open .icon-hamburger {
  opacity: 0;
}

.hamburger.open .icon-close {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 20px;
  transform: translateX(0);
  touch-action: none;
}

.nav-links a {
  padding: 20px 10px;
  font-weight: bold;
}

#termslnk {
  padding-right: 40px;
}

.content-section {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--navbar-height) + 40px) 40px 60px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.content-section.active {
  display: flex;
}

h1 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 3.2em;
  text-align: left;
}

p {
  line-height: 1.7;
  font-size: 1.3em;
}

.price {
  font-size: 1.2em;
  margin: 8px 0;
}

.payment {
  font-size: 1.2em;
  margin-top: 20px;
  color: #ddd;
}

.terms-list {
  font-size: 1.2em;
  line-height: 1.8;
  padding-left: 1.2em;
  list-style: disc;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  width: 100%;
}

.gallery-item {
  background: #1e0f2f;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

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

#about {
  display: none;
  justify-content: center;
  align-items: center;
  padding: calc(var(--navbar-height) + 20px) 40px 60px;
  width: 100%;
  overflow-x: hidden;
}

#about.active {
  display: flex;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  gap: 80px;
  align-items: center;
  padding: 0 20px;
}

.about-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.about-image img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgb(138, 66, 154);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

.about-text {
  flex: 1 1 400px;
  min-width: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}

.commission-options {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.commission-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px 30px;
  flex: 1 1 250px;
  max-width: 320px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.commission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.45);
}

.commission-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.6em;
  color: #e0d7f1;
}

.commission-card .price {
  font-weight: bold;
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #c9b9e5;
}

.commission-card p {
  margin: 0;
  font-size: 1em;
  color: #ddd;
  line-height: 1.4;
}

.payment {
  font-size: 1.1em;
  color: #ccc;
  text-align: center;
}

.payment a {
  color: #a99be3;
  text-decoration: underline;
}

@media (min-width: 769px) {
  .content-section,
  #about {
    min-height: 100vh;
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .about-text {
    align-items: center;
  }

  .about-image img {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  #about {
    align-items: flex-start;
    padding-top: 100px;
  }

  .about-container {
    margin-top: 0;
    gap: 10px;
    padding-top: 0;
  }

  .about-image {
    flex: 1 1 auto;
    max-height: 250px;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .about-image img {
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
    margin-top: 30px;
  }

  .about-text {
    margin: 0;
    padding: 0;
    align-items: center;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -270px;
    height: 100%;
    width: 250px;
    background: rgba(20, 10, 30, 0.95);
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 20px;
    transition: right 0.3s ease;
    z-index: 15;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    margin: 15px 0;
    font-size: 1em;
    text-align: left;
    width: 100%;
  }

  .commission-options {
    flex-direction: column;
    align-items: center;
  }

  .commission-card {
    max-width: 100%;
  }

  .gallery-item:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  }

  .commission-card:hover {
    transform: none;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2em;
  }

  p {
    font-size: 1em;
  }

  .about-image img {
    width: 200px;
    height: 200px;
  }
}

.terms-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.terms-intro {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #ddd;
}

.terms-list {
  padding: 0;
  margin: 0 0 30px 0;
  list-style: disc;
  padding-left: 1.5em;
}

.terms-list li {
  margin-bottom: 12px;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #e0e0f0;
}

.terms-contact {
  font-size: 1.1em;
  color: #ccc;
  text-align: center;
}

.terms-contact a {
  color: #a99be3;
  text-decoration: underline;
}

.bio {
  text-align: left;
  font-size: medium;
}
