/*
Theme Name: PALA3D Minimal
Theme URI: https://pala3d.com/
Author: Sena Pala
Description: Siyah arka plan, beyaz tipografi, Refik Anadol tarzı minimal portfolyo teması. Works arşivi, About ve Contact ayrı sayfalarda.
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pala3d-minimal
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: #000;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: radial-gradient(circle at top, rgba(255,255,255,0.05), rgba(0,0,0,0.96));
  backdrop-filter: blur(10px);
}

.site-title a {
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.main-nav li a {
  position: relative;
}

.main-nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.2s ease-out;
}

.main-nav li a:hover::after,
.main-nav li.current-menu-item a::after,
.main-nav li.current_page_ancestor a::after {
  width: 100%;
}

.site-main {
  padding-top: 72px;
}

/* Hero (home cover) */

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.hero-inner {
  max-width: 960px;
}

.hero-kicker {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  font-weight: 500;
  margin: 0 0 20px;
}

.hero-subtitle {
  max-width: 540px;
  font-size: 14px;
  opacity: 0.8;
}

.hero-meta {
  margin-top: 28px;
  font-size: 12px;
  opacity: 0.7;
}

/* Generic page sections */

.section {
  padding: 96px 40px 80px;
}

.section-header {
  margin-bottom: 32px;
}

.section-title {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 12px;
  opacity: 0.65;
}

/* Works grid (archive & optional page use) */

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.work-card {
  position: relative;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

.work-thumb {
  aspect-ratio: 4 / 3;
  background: #222;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding: 16px;
  background: radial-gradient(circle at top, rgba(255,255,0,0.22), rgba(0,0,0,0.92));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.22s ease-out, transform 0.22s ease-out;
}

.work-card:hover .work-overlay {
  opacity: 1;
  transform: translateY(0);
}

.work-card-panel {
  background: #f3b000;
  color: #000;
  padding: 18px 18px 16px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.work-panel-meta-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.work-panel-title {
  font-size: 15px;
  font-weight: 500;
}

.work-panel-tags {
  font-size: 11px;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* Generic content layouts */

.page-layout,
.about-layout,
.contact-layout,
.single-work-layout {
  max-width: 1080px;
  margin: 0 auto;
}

.page-layout {
  font-size: 14px;
  opacity: 0.9;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
}

.about-text {
  font-size: 14px;
  opacity: 0.85;
}

.about-meta {
  font-size: 12px;
  opacity: 0.7;
}

.contact-layout {
  display: grid;
  gap: 24px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
}

.contact-value {
  font-size: 14px;
}

/* Footer */

.site-footer {
  padding: 32px 40px 40px;
  font-size: 11px;
  opacity: 0.55;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* Single work */

.single-work-hero {
  padding: 96px 40px 40px;
}

.single-work-hero-media {
  max-width: 1200px;
  margin: 0 auto 32px;
}

.single-work-hero-media img,
.single-work-hero-media video {
  width: 100%;
  height: auto;
  display: block;
}

.single-work-hero-title {
  max-width: 1200px;
  margin: 0 auto;
}

.single-work-hero-title h1 {
  font-size: 32px;
  margin: 0 0 4px;
}

.single-work-hero-sub {
  font-size: 13px;
  opacity: 0.7;
}

.single-work-body {
  padding: 0 40px 80px;
}

.single-work-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 40px;
}

.single-work-description {
  font-size: 14px;
  opacity: 0.9;
}

.single-work-credits {
  font-size: 12px;
  opacity: 0.85;
}

.single-work-credits-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Responsive */

@media (max-width: 900px) {
  .site-header {
    padding: 12px 18px;
  }

  .hero,
  .section,
  .single-work-hero,
  .single-work-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-footer {
    padding: 24px 18px 32px;
    flex-direction: column;
  }

  .about-layout,
  .single-work-layout {
    grid-template-columns: 1fr;
  }
}
