/* Mohlin Studio - Structural CSS Only */
/* All colors come from global theme (style.css) */

/* ============================================
   RESET & BASE
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

.studio-limited-link img {
  pointer-events: none;
}

a.studio-limited-link {
  pointer-events: auto;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.studio-h1,
.studio-h2,
.studio-h3 {
  font-family: "Georgia", "Times New Roman", "Palatino", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
}

.studio-h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.2;
}

.studio-h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.3;
}

.studio-h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.4;
}

.studio-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */

.studio-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.studio-section {
  width: 100%;
  padding: 120px 0;
}

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

.studio-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.studio-hero-video,
.studio-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  animation: fadeInSlow 3s ease-in-out;
}

@keyframes fadeInSlow {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.studio-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
  transform: translateY(-10%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.studio-hero-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
  border-radius: 8px;
}

.studio-hero-text {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 40px;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.8;
  text-align: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.studio-hero-text p {
  margin-bottom: 20px;
}

.studio-hero-text p:last-child {
  margin-bottom: 0;
}

.studio-hero-title {
  margin-bottom: 24px;
}

.studio-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 40px;
}


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

.studio-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.studio-nav-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.studio-nav-logo {
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 300;
}

.studio-nav-back {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 300;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.studio-nav-back:hover {
  opacity: 1;
}

.studio-nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.studio-nav-link {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 300;
}

/* Mobile Menu Toggle */
.studio-mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.studio-mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
  display: block;
  background: var(--text-main, #f7ead8);
}

.studio-mobile-menu-toggle.active span:nth-child(1),
.studio-mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.studio-mobile-menu-toggle.active span:nth-child(2),
.studio-mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.studio-mobile-menu-toggle.active span:nth-child(3),
.studio-mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -10px);
}

.studio-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
}

.studio-mobile-overlay.active {
  display: block;
  opacity: 1;
}

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

.studio-gallery {
  width: 100%;
  padding: 120px 0;
}

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

.studio-gallery-item {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.studio-gallery-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.studio-gallery-link:hover {
  opacity: 0.9;
}

.studio-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

a.studio-gallery-link {
  pointer-events: auto;
}

.studio-gallery-item:empty,
.studio-gallery-item > div:empty {
  min-height: 300px;
}

.studio-gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.studio-gallery-item:hover .studio-gallery-overlay {
  opacity: 1;
}

.studio-gallery-title {
  text-align: center;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 300;
}

/* ============================================
   LIMITED EDITION GRID
   ============================================ */

.studio-limited-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
  width: 100%;
  padding: 120px 0;
}

.studio-limited-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.studio-limited-image-wrapper {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 32px;
}

.studio-collection-image-wrapper {
  max-width: 400px;
  margin: 0 auto 32px;
}

.studio-collection-grid {
  max-width: 600px;
  margin: 0 auto;
}

.studio-limited-link {
  text-decoration: none;
  display: block;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.studio-limited-link:hover {
  opacity: 0.9;
}

.studio-limited-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.studio-limited-title {
  margin-bottom: 16px;
}

.studio-limited-description {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 500px;
}

.studio-limited-details {
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 500px;
}

.studio-intro-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.studio-limited-intro {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.8;
  margin-bottom: 24px;
}

.studio-text-link {
  text-decoration: underline;
  cursor: pointer;
  pointer-events: auto;
}

/* ============================================
   BUTTONS
   ============================================ */

.studio-btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 300;
  text-align: center;
  border: 1px solid;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
}

.studio-btn-inquire {
  padding: 16px 48px;
}

/* ============================================
   SPACING UTILITIES
   ============================================ */

.studio-spacing-xs {
  margin-bottom: 16px;
}

.studio-spacing-sm {
  margin-bottom: 24px;
}

.studio-spacing-md {
  margin-bottom: 40px;
}

.studio-spacing-lg {
  margin-bottom: 60px;
}

.studio-spacing-xl {
  margin-bottom: 120px;
}

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

@media (max-width: 768px) {
  .studio-container {
    padding: 0 20px;
  }

  .studio-section {
    padding: 80px 0;
  }

  .studio-nav {
    padding: 20px 24px;
  }

  .studio-nav-brand {
    gap: 3px;
  }

  .studio-nav-logo {
    font-size: 12px;
  }

  .studio-nav-back {
    font-size: 10px;
  }

  .studio-mobile-menu-toggle {
    display: flex;
  }

  .studio-nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    gap: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
  }

  .studio-nav-links.mobile-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .studio-nav-links li {
    width: 100%;
    max-width: 400px;
  }

  .studio-nav-link {
    display: block;
    width: 100%;
    padding: 20px;
    font-size: 18px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main, #f7ead8);
    transition: background-color 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    touch-action: manipulation;
    pointer-events: auto;
  }

  .studio-nav-link:last-child {
    border-bottom: none;
  }

  .studio-nav-link:hover,
  .studio-nav-link:active {
    background-color: rgba(255, 255, 255, 0.05);
  }

  .studio-gallery-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .studio-limited-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .studio-hero-content {
    padding: 24px 20px;
    transform: translateY(-5%);
  }

  .studio-hero-text {
    padding: 24px 20px;
    font-size: clamp(0.875rem, 2vw, 1rem);
    text-align: center;
    margin-top: 24px;
  }

  .studio-hero-text p {
    margin-bottom: 16px;
  }

  .studio-intro-text {
    padding: 0 20px;
  }

  .studio-limited-intro {
    font-size: clamp(0.875rem, 2vw, 1rem);
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .studio-nav {
    padding: 16px 20px;
  }

  .studio-nav-brand {
    gap: 2px;
  }

  .studio-nav-logo {
    font-size: 11px;
  }

  .studio-nav-back {
    font-size: 9px;
  }

  .studio-nav-links {
    padding: 70px 20px 30px;
  }

  .studio-nav-link {
    font-size: 16px;
    padding: 18px 20px;
  }

  .studio-gallery-grid {
    gap: 24px;
  }

  .studio-limited-grid {
    gap: 60px;
  }

  .studio-section {
    padding: 60px 0;
  }

  .studio-hero-content {
    padding: 20px 16px;
    transform: translateY(-3%);
  }

  .studio-hero-text {
    padding: 20px 16px;
    font-size: 0.875rem;
  }

  .studio-container {
    padding: 0 16px;
  }

  .studio-intro-text {
    padding: 0 16px;
  }

  .studio-limited-image-wrapper {
    margin-bottom: 24px;
  }

  .studio-limited-description {
    font-size: 0.875rem;
    margin-bottom: 20px;
  }

  .studio-btn {
    padding: 14px 28px;
    font-size: 13px;
  }
}

/* ============================================
   CENTERING UTILITIES
   ============================================ */

.studio-center {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.studio-center-vertical {
  display: flex;
  align-items: center;
}

.studio-center-horizontal {
  display: flex;
  justify-content: center;
}

/* ============================================
   FLEXBOX LAYOUTS
   ============================================ */

.studio-flex {
  display: flex;
}

.studio-flex-column {
  display: flex;
  flex-direction: column;
}

.studio-flex-wrap {
  display: flex;
  flex-wrap: wrap;
}

.studio-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.studio-grid {
  display: grid;
}

.studio-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.studio-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.studio-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

@media (max-width: 1024px) {
  .studio-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .studio-grid-4,
  .studio-grid-3,
  .studio-grid-2 {
    grid-template-columns: 1fr;
  }
}

