/* ========================================
   Rimuu Art - Clone of rimuu.com
   Dark theme with pink accent (#ff8fab)
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Josefin+Slab:wght@300;400;600&family=Libre+Baskerville:ital@0;1&display=swap');

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

:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --text: #ffffff;
  --text-muted: #aaaaaa;
  --text-dim: #555555;
  --accent: #ff8fab;
  --accent-dark: #e87a98;
  --border: #222222;
  --font-main: 'Libre Baskerville', Georgia, serif;
  --font-heading: 'Josefin Slab', 'Times New Roman', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.8;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-arrow {
  font-size: 9px;
  transition: transform 0.2s;
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #0e0e0e;
  border: 1px solid var(--border);
  z-index: 200;
}

.nav-item:hover .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 12px 20px;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid #1a1a1a;
}

.nav-dropdown a:last-child {
  border-bottom: none;
}

.nav-dropdown a:hover {
  color: var(--accent);
  background: #141414;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0a0a0a;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
  display: block;
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.home-main {
  max-width: 100%;
}

/* Section labels */
.section-label {
  text-align: center;
  padding: 80px 20px 50px;
}

.section-label h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 0.15em;
}

/* Gallery / featured cards */
.featured-gallery {
  text-align: center;
  padding: 0 40px 80px;
}

.cards-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-card {
  display: block;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s;
  width: 400px;
}

.gallery-card:hover {
  border-color: var(--accent);
}

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

.gallery-card-body {
  padding: 28px 24px;
  text-align: center;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.gallery-card-btn {
  display: inline-block;
  padding: 8px 28px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.2s;
}

.gallery-card:hover .gallery-card-btn {
  border-color: var(--accent);
  color: var(--accent);
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 40px 80px;
  text-align: center;
}

.about-section h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: 0.1em;
}

.about-section p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 2;
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.social-links a img {
  width: 36px;
  height: 36px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.social-links a:hover img {
  opacity: 1;
}

/* ========================================
   CONTACT FORM
   ======================================== */

.contact-form {
  max-width: 560px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  background: #111;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  font-family: var(--font-main);
  font-size: 13px;
  resize: vertical;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.submit-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 12px 32px;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  align-self: flex-start;
}

.submit-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ========================================
   CAROUSEL / ARTWORK SHOWCASE
   ======================================== */

.carousel-section {
  padding: 20px 0 80px;
}

.carousel-section h2 {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 40px;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track img {
  height: 260px;
  width: auto;
  flex-shrink: 0;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
}

.carousel-track img:hover {
  border-color: var(--accent);
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
  text-align: center;
  padding: 80px 20px 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

/* ========================================
   COMMISSION STATUS BANNER
   ======================================== */

.commission-status {
  text-align: center;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin-bottom: 12px;
}

.commission-status p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.commission-status strong {
  color: var(--accent);
}

/* Gallery section link style */
.gallery-section {
  margin-bottom: 80px;
}

.gallery-section h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  text-align: center;
}

.gallery-section a {
  display: block;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 8px 24px;
  width: 120px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.2s;
}

.gallery-section a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ========================================
   GALLERY GRID
   ======================================== */

.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-bottom: 60px;
}

.art-grid-item {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
}

.art-grid-item:hover {
  border-color: var(--accent);
}

.art-grid-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

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

/* ========================================
   COMMISSION PAGES
   ======================================== */

.commission-types {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.commission-item {
  border: 1px solid var(--border);
  padding: 30px;
  background: var(--bg-card);
}

.commission-item h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--text);
  margin-bottom: 12px;
}

.commission-item p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 1.8;
}

.commission-price {
  font-size: 22px;
  color: var(--accent);
  margin-top: 16px;
  font-family: var(--font-heading);
}

/* ========================================
   VTUBER TABLE
   ======================================== */

.vtuber-status {
  text-align: center;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.vtuber-status p {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.vtuber-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.vtuber-table th,
.vtuber-table td {
  border: 1px solid var(--border);
  padding: 14px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.vtuber-table th {
  background: #111;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.vtuber-table td {
  background: #0e0e0e;
}

.addons-section {
  margin-top: 40px;
  padding: 30px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.addons-section h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--text);
  margin-bottom: 16px;
}

.addons-section p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 1.8;
}

/* ========================================
   SOCIALS PAGE
   ======================================== */

.socials-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
  margin: 0 auto;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s;
  text-decoration: none;
}

.social-item:hover {
  border-color: var(--accent);
}

.social-item img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.social-item-name {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--text);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  padding: 60px 40px 30px;
  border-top: 1px solid var(--border);
  background: #080808;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h6 {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-social a img {
  width: 30px;
  height: 30px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-social a:hover img {
  opacity: 1;
}

.footer-copyright {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #111;
}

.footer-copyright p {
  color: #333;
  font-size: 11px;
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

/* ========================================
   LIGHTBOX
   ======================================== */

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

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-main);
  line-height: 1;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .site-header {
    padding: 16px 20px;
    flex-direction: column;
    gap: 16px;
  }

  .cards-row {
    flex-direction: column;
    align-items: center;
  }

  .gallery-card {
    width: 100%;
    max-width: 440px;
  }

  .gallery-card-img {
    height: 320px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .carousel-track {
    padding: 0 20px;
  }

  .art-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}