/* ==========================================================================
   Dance & More - Stüdyolar (Studios) Sayfası Stilleri
   ========================================================================== */

.studyolar-page {
  background: var(--cream);
  min-height: 100vh;
}

/* Stüdyolar Sayfası Yardımcı Stilleri */
.studyolar-page .bg-cream {
  background-color: var(--cream) !important;
}

.studyolar-page .bg-ink {
  background-color: var(--ink) !important;
}

.studyolar-page .text-white {
  color: #fff !important;
}

.studyolar-page .text-white-dim {
  color: rgba(255, 255, 255, 0.75) !important;
}

.studyolar-page .text-gold {
  color: #d4af37 !important;
}

.studyolar-page .text-center {
  text-align: center !important;
}

.studyolar-page .bg-theme-action {
  background: var(--theme-main) !important;
  color: #fff !important;
  border-color: var(--theme-main) !important;
}

.studyolar-page .bg-theme-action:hover {
  background: #2b3d68 !important;
  border-color: #2b3d68 !important;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.studyolar-hero {
  position: relative;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 7vw 4.3vw 5vw;
  overflow: hidden;
}

.studyolar-watermark {
  position: absolute;
  top: 50%;
  right: -2vw;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: clamp(90px, 16vw, 240px);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(23, 23, 23, 0.03);
  pointer-events: none;
  user-select: none;
  line-height: 0.8;
  z-index: 0;
}

.studyolar-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.studyolar-hero h1 {
  font-size: clamp(40px, 5.8vw, 88px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin: 10px 0 24px;
  color: var(--ink);
}

.studyolar-hero-lead {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
  color: #555;
  margin: 0 0 32px;
  max-width: 820px;
}

.studyolar-hero-nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Stats Strip
   -------------------------------------------------------------------------- */
.studyolar-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.studyolar-stats-strip .stat-box {
  padding: 32px 4.3vw;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.studyolar-stats-strip .stat-box:last-child {
  border-right: none;
}

.studyolar-stats-strip .stat-number {
  font-family: var(--font-sans);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.studyolar-stats-strip .stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
}

/* --------------------------------------------------------------------------
   Toolbar: Filter & Search
   -------------------------------------------------------------------------- */
.studyolar-toolbar-section {
  padding: 32px 4.3vw;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.studyolar-toolbar {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.studyolar-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.studyolar-filter-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: #666;
  border: 1px solid rgba(23, 23, 23, 0.2);
  padding: 9px 18px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.studyolar-filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.studyolar-filter-btn.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.studyolar-search-wrap {
  position: relative;
  min-width: 260px;
}

.studyolar-search-input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 38px 10px 14px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--ink);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.studyolar-search-input:focus {
  border-color: var(--theme-main);
  box-shadow: 0 0 0 3px rgba(60, 83, 142, 0.12);
}

.studyolar-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Rooms Grid & Card Layout
   -------------------------------------------------------------------------- */
.studyolar-section {
  padding: 5vw 4.3vw 7vw;
}

.studyolar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1060px;
  margin: 0 auto;
}

.room-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.room-media {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #111;
}

.room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.room-card:hover .room-media img {
  transform: scale(1.05);
}

.room-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px;
}

.room-badge-type {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #fff;
  background: var(--theme-main);
  padding: 5px 12px;
  border-radius: 2px;
  text-transform: uppercase;
}

.room-badge-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  padding: 5px 10px;
  border-radius: 2px;
}

.room-content {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-header {
  margin-bottom: 14px;
}

.room-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--theme-main);
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.room-title {
  font-size: clamp(21px, 1.8vw, 25px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 4px;
  color: var(--ink);
}

.room-subtitle {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.room-description {
  font-size: 13.5px;
  line-height: 1.55;
  color: #555;
  margin: 0 0 18px;
}

.room-specs-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  display: block;
  margin-bottom: 10px;
}

.room-features {
  margin-bottom: 22px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.room-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.room-features-list li {
  font-size: 13px;
  color: #444;
  position: relative;
  padding-left: 16px;
  line-height: 1.4;
}

.room-features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--theme-main);
  font-size: 12px;
  font-weight: 700;
}

.room-classes-wrap {
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.room-classes-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.room-class-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink);
  background: #f0ede6;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.02em;
}

.room-footer-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.room-action-link {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 11px 12px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.room-action-link:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.room-action-link.highlight {
  background: var(--theme-main);
  color: #fff;
  border-color: var(--theme-main);
}

.room-action-link.highlight:hover {
  background: #2b3d68;
  border-color: #2b3d68;
}

/* --------------------------------------------------------------------------
   Standards & Infrastructure Section (Dark)
   -------------------------------------------------------------------------- */
.studyolar-standards-section {
  background-color: var(--ink) !important;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.standard-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px 26px;
  border-radius: 2px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.standard-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.standard-icon {
  font-size: 32px;
  margin-bottom: 18px;
  line-height: 1;
}

.standard-card h3 {
  color: #fff !important;
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
}

.standard-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Instagram Feed Section (@dance.and.more)
   -------------------------------------------------------------------------- */
.studyolar-instagram-section,
.instagram-section {
  background: #111111;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.instagram-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.instagram-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--theme-gold);
  margin-bottom: 4px;
}

.instagram-handle-title {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.instagram-handle-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.instagram-handle-title a:hover {
  color: var(--theme-gold);
}

.instagram-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 9px 16px;
  border-radius: 4px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.instagram-follow-btn:hover {
  background: #e1306c;
  border-color: #e1306c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(225, 48, 108, 0.35);
}

.instagram-follow-btn .btn-arrow {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.instagram-follow-btn:hover .btn-arrow {
  transform: translate(2px, -2px);
}

.studyolar-instagram-grid,
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 36px;
  background: transparent;
}

.instagram-post-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  display: block;
  background: #181818;
}

.instagram-post-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s ease;
  filter: brightness(0.92);
}

.instagram-media-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.instagram-post-item:hover .instagram-media-badge {
  transform: scale(1.1);
}

.instagram-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(225, 48, 108, 0.82) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  z-index: 3;
  padding: 14px;
  text-align: center;
  transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.instagram-hover-icon {
  color: #ffffff;
  stroke: #ffffff;
  transform: scale(0.85);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.instagram-hover-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
}

.instagram-hover-cta {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.instagram-post-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.02);
}

.instagram-post-item:hover .instagram-hover-overlay {
  opacity: 1;
}

.instagram-post-item:hover .instagram-hover-icon {
  transform: scale(1);
}

@media (max-width: 900px) {
  .studyolar-instagram-grid,
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 18px 16px 28px;
  }
}

@media (max-width: 560px) {
  .instagram-header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
  }
}

/* --------------------------------------------------------------------------
   Rental Section
   -------------------------------------------------------------------------- */
.studyolar-rental-section {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.rental-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.rental-text-content h2 {
  font-size: clamp(36px, 4.5vw, 68px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 12px 0 20px;
  color: var(--ink);
}

.rental-text-content p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.65;
  color: #555;
  margin: 0 auto 30px;
  max-width: 720px;
}

.rental-points {
  list-style: none;
  padding: 0;
  margin: 0 auto 36px;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.rental-points li {
  font-size: 14.5px;
  color: #444;
  position: relative;
  padding-left: 22px;
}

.rental-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--theme-main);
  font-size: 20px;
  line-height: 1;
}

.rental-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Responsive Rules
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .studyolar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .studyolar-stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .studyolar-stats-strip .stat-box:nth-child(2) {
    border-right: none;
  }

  .studyolar-stats-strip .stat-box:nth-child(1),
  .studyolar-stats-strip .stat-box:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 768px) {
  .studyolar-section {
    padding: 30px 4vw 50px;
  }

  .studyolar-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .room-media {
    height: 135px;
  }

  .room-media-overlay {
    padding: 8px 10px;
  }

  .room-badge-type {
    font-size: 8.5px;
    padding: 3px 6px;
  }

  .room-badge-meta {
    display: none;
  }

  .room-content {
    padding: 12px 10px;
  }

  .room-header {
    margin-bottom: 6px;
  }

  .room-tag {
    font-size: 8.5px;
    margin-bottom: 2px;
  }

  .room-title {
    font-size: 15px;
    line-height: 1.15;
    margin: 0 0 2px;
  }

  .room-subtitle {
    font-size: 10.5px;
  }

  .room-description {
    font-size: 11px;
    line-height: 1.35;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .room-features {
    display: none;
  }

  .room-classes-wrap {
    margin-bottom: 8px;
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }

  .room-specs-label {
    font-size: 8px;
    margin-bottom: 4px;
  }

  .room-classes-pills {
    gap: 3px;
  }

  .room-class-pill {
    font-size: 8.5px;
    padding: 2px 5px;
  }

  .room-footer-actions {
    flex-direction: column;
    gap: 5px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .room-action-link {
    font-size: 9px;
    padding: 7px 6px;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.02em;
  }

  .standards-grid {
    grid-template-columns: 1fr;
  }

  .studyolar-gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .studyolar-gallery-strip .gallery-item {
    height: 220px;
  }

  .studyolar-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .studyolar-search-wrap {
    min-width: 100%;
  }

  .studyolar-hero-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .studyolar-hero-nav a {
    justify-content: center;
  }

  .rental-actions {
    flex-direction: column;
    width: 100%;
  }

  .rental-actions a {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .studyolar-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .room-media {
    height: 115px;
  }

  .room-content {
    padding: 10px 8px;
  }

  .room-title {
    font-size: 13.5px;
  }

  .room-action-link {
    font-size: 8.5px;
    padding: 6px 4px;
  }

  .studyolar-gallery-strip {
    grid-template-columns: 1fr;
  }

  .studyolar-gallery-strip .gallery-item:nth-child(n) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .studyolar-gallery-strip .gallery-item:last-child {
    border-bottom: none;
  }

  .studyolar-stats-strip {
    grid-template-columns: 1fr;
  }

  .studyolar-stats-strip .stat-box {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .studyolar-stats-strip .stat-box:last-child {
    border-bottom: none;
  }
}
