/**
 * SKSculpts Premium — Multi-Store Locations & GPS
 */

/* ============================================================
   SECTION CONTAINER (LIGHT THEME DEFAULT)
   ============================================================ */
.sks-studios-section {
  padding: clamp(40px, 6vw, 64px) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f9f8f6 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

html[data-theme="dark"] .sks-studios-section,
body.dark-theme .sks-studios-section {
  background: linear-gradient(180deg, #091117 0%, #0d161f 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sks-studios-head-box {
  text-align: center;
  margin: 0 auto clamp(24px, 4vw, 40px);
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sks-studios-head-box h2 { color: #1a0308; }
html[data-theme="dark"] .sks-studios-head-box h2 { color: #f4e0b3; }

.sks-studios-head-box .sks-v108-kicker {
  color: #d4af37;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 700;
}

.sks-studios-head-box .sks-v108-heading {
  font-family: var(--sk-font-display, serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 0;
}

.sks-studios-intro {
  font-family: var(--sk-font-ui, sans-serif);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: #555555;
  line-height: 1.7;
  margin-top: 12px;
}
html[data-theme="dark"] .sks-studios-intro { color: rgba(255, 255, 255, 0.7); }

/* ============================================================
   HORIZONTAL SCROLL LAYOUT & ALIGNMENT
   ============================================================ */
.sks-studios-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: 24px; /* Space for scrollbar */
}

/* Custom Scrollbar */
.sks-studios-grid::-webkit-scrollbar { height: 8px; }
.sks-studios-grid::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 4px; }
.sks-studios-grid::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.4); border-radius: 4px; }
html[data-theme="dark"] .sks-studios-grid::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }

/* Center if only 1 or 2 locations are added */
.sks-studios-grid--1, 
.sks-studios-grid--2 {
  justify-content: center;
}

/* ============================================================
   STUDIO CARD (LIGHT THEME DEFAULT)
   ============================================================ */
.sks-studio-card {
  flex: 0 0 calc(50% - 20px); /* 2 per screen */
  min-width: 320px;
  max-width: 600px;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sks-studios-grid--1 .sks-studio-card { flex: 0 0 100%; max-width: 700px; }
.sks-studios-grid--2 .sks-studio-card { max-width: 500px; }

@media (max-width: 800px) {
  .sks-studio-card { flex: 0 0 calc(90vw - 20px); }
  .sks-studios-grid--1 .sks-studio-card { flex: 0 0 100%; }
}

html[data-theme="dark"] .sks-studio-card,
body.dark-theme .sks-studio-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.sks-studio-card:hover {
  transform: translateY(-8px);
  border-color: #d4af37;
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}
html[data-theme="dark"] .sks-studio-card:hover {
  border-color: #f7e2ab;
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.sks-studio-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2; /* Balanced photo ratio */
  height: auto;
  overflow: hidden;
  background: #ffffff;
}
html[data-theme="dark"] .sks-studio-media { background: #111a24; }

.sks-studio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fill the entire area without letterboxing */
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.sks-studio-card:hover .sks-studio-media img {
  transform: scale(1.08);
}

.sks-studio-placeholder {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05), rgba(0, 0, 0, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
}
html[data-theme="dark"] .sks-studio-placeholder {
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15), rgba(0, 0, 0, 0.4));
}

.sks-studio-city-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2b060f;
  background: linear-gradient(135deg, #fff6dd, #ecd08c);
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

/* ============================================================
   INFO SECTION
   ============================================================ */
.sks-studio-info {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sks-studio-info h3 {
  font-family: var(--sk-font-display, serif);
  font-size: 1.45rem;
  color: #1a0308;
  margin: 0 0 20px;
  line-height: 1.3;
}
html[data-theme="dark"] .sks-studio-info h3 { color: #f4e0b3; }

.sks-studio-details {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.sks-studio-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #555555;
  line-height: 1.6;
}
html[data-theme="dark"] .sks-studio-details li { color: rgba(255, 255, 255, 0.8); }

.sks-studio-details svg {
  flex-shrink: 0;
  color: #d4af37;
  margin-top: 2px;
}

/* ============================================================
   ACTION BUTTONS
   ============================================================ */
.sks-studio-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
html[data-theme="dark"] .sks-studio-actions { border-top-color: rgba(255, 255, 255, 0.08); }

.sk-btn-gps {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1a0308 !important;
  background: linear-gradient(135deg, #f7e2ab, #d4af37);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.sk-btn-gps:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.sk-btn-share-gps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1a0308;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
html[data-theme="dark"] .sk-btn-share-gps {
  color: #f4e0b3;
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.5);
}

.sk-btn-share-gps:hover {
  background: rgba(212, 175, 55, 0.25);
  color: #ffffff;
  border-color: #f7e2ab;
  transform: translateY(-2px);
}

