/* ========================================
   GiaCAP - Portfolio & Artwork Showcase
   Modern, elegant design
   ======================================== */

:root {
  --bg: #000000;
  --bg-dark: #000000;
  --bg-card: #111111;
  --text: #ffff00;
  --text-light: #cccc00;
  --text-muted: #999900;
  --accent: #ffff00;
  --accent-hover: #e6e600;
  --accent-light: rgba(255, 255, 0, 0.12);
  --border: #333333;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --radius: 12px;
  --radius-sm: 8px;
  --font-heading: 'Montserrat', -apple-system, sans-serif;
  --font-body: 'Montserrat', -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-transform: uppercase;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Container ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 0;
}
.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-social a {
  color: rgba(255,255,255,0.7);
  margin-left: 16px;
  font-size: 16px;
  transition: color var(--transition);
}
.top-bar-social a:hover { color: var(--accent); }

/* ========================================
   HEADER / NAV
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(255,255,0,0.05);
  border-bottom-color: rgba(255,255,0,0.15);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo { display: flex; align-items: center; }
.logo-img {
  height: 50px;
  width: auto;
}

.main-nav { display: flex; gap: 36px; }
.main-nav a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--accent); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.98);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }
.mobile-nav { display: flex; flex-direction: column; gap: 32px; text-align: center; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 28px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
  padding: 8px 0;
}
.mobile-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.mobile-nav a:hover::after,
.mobile-nav a.active::after { width: 60%; }
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--accent); }

/* ========================================
   HERO (HOME)
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000000;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,255,0,0.03) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  text-align: center;
  padding: 40px 24px;
  max-width: 800px;
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 300;
  margin-bottom: 24px;
}
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line-1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.1;
  color: var(--accent);
  animation: fadeInUp 0.8s ease both;
}
.hero-line-2 {
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.1;
  font-weight: 300;
  animation: fadeInUp 0.8s 0.2s ease both;
}
.hero-logo {
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease both;
}
.hero-logo-img {
  max-width: 450px;
  width: 80%;
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(255,255,0,0.15));
}
.hero-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: var(--accent);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  letter-spacing: 3px;
  animation: fadeInUp 0.8s 0.4s ease both;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.6s ease both;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,0,0.4);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,0,0.4), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #000000;
  font-weight: 700;
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 0, 0.25);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  padding: 10px 0;
  font-weight: 600;
}
.btn-secondary:hover { color: var(--accent-hover); }
.btn-full { width: 100%; }

/* ========================================
   SECTIONS
   ======================================== */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: 4px;
}
.section-desc {
  color: var(--text-light);
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto;
}
.section-cta { text-align: center; margin-top: 48px; }

/* ========================================
   PAGE HERO (Internal pages)
   ======================================== */
.page-hero {
  background: var(--bg-dark);
  color: var(--accent);
  padding: 140px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent);
}
.page-hero-content { position: relative; }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 300;
  letter-spacing: 8px;
  color: var(--accent);
}
.page-hero-sm { padding: 100px 0 50px; }
.page-hero-sm h1 { font-size: clamp(28px, 4vw, 44px); }

/* ========================================
   WORKS GRID (Home featured)
   ======================================== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}
.work-card {
  display: block;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  animation: fadeInUp 0.6s ease both;
}
.work-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgba(255,255,0,0.1);
}
.work-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #1a1a1a;
}
.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.work-card:hover .work-image img { transform: scale(1.08); }

.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.work-card:hover .work-overlay { opacity: 1; }
.work-view {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-sm);
}

.work-info {
  padding: 20px 24px;
}
.work-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
}
.work-info h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  margin-top: 6px;
  color: var(--text);
}

.work-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a, #222222);
  font-size: 48px;
  color: var(--text-muted);
}

/* ========================================
   ABOUT PREVIEW (Home)
   ======================================== */
.section-about-preview { background: var(--bg); }
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-preview-text .section-tag { display: block; }
.about-preview-text .section-title { text-align: left; }
.about-preview-text p {
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}
.about-preview-visual {
  position: relative;
  height: 400px;
}
.about-deco-box {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 70%;
  height: 80%;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  opacity: 0.3;
}
.about-deco-circle {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--accent-light);
}

/* ========================================
   CTA BANNER
   ======================================== */
.section-cta-banner { padding: 80px 0; }
.cta-banner {
  background: var(--bg-card);
  color: var(--accent);
  padding: 80px 60px;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,0,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  margin-bottom: 32px;
  position: relative;
  letter-spacing: 3px;
  color: var(--accent);
}
.cta-banner p {
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
}
.cta-banner .btn { position: relative; }

/* ========================================
   GALLERY (Artwork page)
   ======================================== */
.gallery-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-light);
  transition: all var(--transition);
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000000;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.gallery-item {
  animation: fadeInUp 0.5s ease both;
}
.gallery-link { display: block; }
.gallery-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #1a1a1a;
}
.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-image img { transform: scale(1.06); }

.gallery-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-hover { opacity: 1; }
.gallery-hover-content { color: #fff; }
.gallery-hover-content h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 4px;
}
.gallery-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.gallery-view-btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
}

/* ========================================
   ARTWORK DETAIL
   ======================================== */
.detail-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}
.detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.detail-image img {
  width: 100%;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
.detail-image img:hover { transform: scale(1.02); }
.detail-placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
}
.detail-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 600;
}
.detail-info h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  margin: 8px 0 24px;
}
.detail-desc {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}
.detail-desc p { margin-bottom: 16px; }
.detail-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 40px;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }

/* ========================================
   BIOGRAPHY
   ======================================== */
.bio-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}
.bio-photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: border-color var(--transition);
}
.bio-photo-frame:hover {
  border-color: var(--accent);
}
.bio-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.bio-photo-placeholder {
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a, #222222);
  font-size: 64px;
  color: var(--text-muted);
}
.bio-info-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
}
.bio-info-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--text);
}
.bio-info-card li {
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
}
.bio-info-card li:last-child { border-bottom: none; }
.bio-info-card a { color: var(--accent); }

.bio-content h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 24px;
}
.bio-content h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  margin: 40px 0 16px;
  color: var(--text);
}
.bio-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.skill-item {
  background: var(--bg-card);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.skill-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.skill-icon {
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--accent);
}
.skill-item h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}
.skill-item p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact-info-side h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 16px;
}
.contact-info-side > p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 50%;
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-detail-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-detail-item a {
  color: var(--text-light);
  transition: color var(--transition);
}
.contact-detail-item a:hover { color: var(--accent); }

/* ---- Contact Form ---- */
.contact-form-side {
  background: var(--bg-card);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
}
.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--accent);
  background: #1a1a1a;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Password toggle */
.password-wrapper {
  position: relative;
}
.password-wrapper input {
  width: 100%;
  padding-right: 48px;
}
.password-wrapper input::-ms-reveal,
.password-wrapper input::-ms-clear,
.password-wrapper input::-webkit-credentials-auto-fill-button,
.password-wrapper input::-webkit-textfield-decoration-container {
  display: none !important;
}
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}
.password-toggle:hover {
  color: var(--text);
}

/* Alerts */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}
.alert-error {
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #f8bbd0;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--bg-card);
  color: rgba(255,255,0,0.5);
  padding-top: 80px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-links h4,
.footer-contact h4 {
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-contact a { color: var(--accent); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,0,0.25);
}

/* ========================================
   EMPTY STATE
   ======================================== */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--text-light);
}

/* ========================================
   ADMIN STYLES
   ======================================== */
.admin-body {
  background: #f4f5f7;
  min-height: 100vh;
}

/* Admin Login */
.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}
.admin-login-card {
  background: #fff;
  padding: 48px;
  border-radius: var(--radius);
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.admin-login-header {
  text-align: center;
  margin-bottom: 32px;
}
.admin-login-form { display: flex; flex-direction: column; gap: 16px; }
.admin-back-link {
  display: block;
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.admin-back-link:hover { color: var(--accent); }

/* Admin Layout */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px;
  background: var(--bg-dark);
  color: #fff;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.admin-sidebar-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-nav {
  padding: 16px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.admin-nav-item:hover { color: #fff; background: rgba(255,255,255,0.05); }
.admin-nav-item.active { color: var(--accent); background: rgba(255,255,0,0.1); }
.admin-nav-icon { font-size: 16px; width: 20px; text-align: center; }
.admin-nav-logout { margin-top: auto; border-top: 1px solid rgba(255,255,255,0.1); }

/* Admin Content */
.admin-content {
  flex: 1;
  padding: 32px 40px;
  overflow-y: auto;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.admin-header h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
}

/* Admin Stats */
.admin-stats { display: flex; gap: 24px; margin-bottom: 32px; }
.stat-card {
  background: #fff;
  padding: 24px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 600;
  color: var(--accent);
}
.stat-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Admin Table */
.admin-table-wrapper {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  text-align: left;
  padding: 16px 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 600;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
  vertical-align: middle;
}
.admin-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}
.admin-thumb-placeholder {
  width: 60px;
  height: 60px;
  background: #f0f0f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 18px;
}
.admin-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
}
.admin-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: var(--font-body);
}
.btn-edit {
  background: #e3f2fd;
  color: #1565c0;
}
.btn-edit:hover { background: #bbdefb; }
.btn-delete {
  background: #fce4ec;
  color: #c62828;
}
.btn-delete:hover { background: #f8bbd0; }

/* Admin Form */
.admin-form-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 700px;
}
.admin-form-card h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 24px;
}
.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.current-image {
  margin-bottom: 12px;
}
.current-image img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}
.current-image span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========================================
   ANIMATIONS
   ======================================== */
/* ========================================
   SECTION DIVIDERS & EXTRAS
   ======================================== */
.section-works { border-bottom: 1px solid var(--border); }

.work-view {
  backdrop-filter: blur(4px);
}

/* Smooth glow on nav links */
.main-nav a:hover,
.main-nav a.active {
  text-shadow: 0 0 12px rgba(255,255,0,0.3);
}

/* Gallery hover glow */
.gallery-image {
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.gallery-item:hover .gallery-image {
  border-color: var(--accent);
}

/* Bio content styling */
.bio-content p {
  text-transform: none;
}

/* Contact form placeholder */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,0,0.25);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* ========================================
   RESPONSIVE
   ======================================== */
/* ========================================
   TABLET (max 1024px)
   ======================================== */
@media (max-width: 1024px) {
  .about-preview-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-preview-visual { display: none; }
  .bio-layout { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ========================================
   MOBILE (max 768px)
   ======================================== */
@media (max-width: 768px) {
  /* --- Typography mobile --- */
  body { font-size: 14px; }

  /* --- Nav mobile --- */
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .top-bar { display: none; }

  /* --- Header mobile --- */
  .header-inner { height: 60px; padding: 0 16px; }
  .logo-img { height: 36px; }

  /* --- Hero mobile --- */
  .hero { min-height: 85vh; }
  .hero-content { padding: 24px 16px; }
  .hero-line-1 { font-size: clamp(36px, 10vw, 56px); }
  .hero-line-2 { font-size: clamp(30px, 8vw, 48px); }
  .hero-subtitle { font-size: 14px; margin-bottom: 32px; line-height: 1.7; }
  .hero-cta { flex-direction: column; align-items: center; gap: 12px; }
  .hero-cta .btn { width: 100%; max-width: 280px; padding: 16px 24px; }
  .hero-scroll { bottom: 24px; font-size: 10px; }

  /* --- Sections mobile --- */
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .section-header { margin-bottom: 36px; }
  .section-tag { font-size: 10px; letter-spacing: 2px; }
  .section-title { font-size: clamp(24px, 6vw, 32px); margin-bottom: 12px; }
  .section-desc { font-size: 14px; }

  /* --- Page hero mobile --- */
  .page-hero { padding: 90px 0 36px; }
  .page-hero h1 { font-size: clamp(28px, 8vw, 40px); }
  .page-hero-sm { padding: 80px 0 32px; }
  .page-hero-sm h1 { font-size: clamp(22px, 6vw, 32px); }

  /* --- Works grid mobile --- */
  .works-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .work-info { padding: 16px; }
  .work-info h3 { font-size: 18px; }
  .work-category { font-size: 10px; }

  /* --- Gallery mobile --- */
  .gallery-filters {
    gap: 6px;
    margin-bottom: 32px;
    padding: 0 4px;
  }
  .filter-btn {
    padding: 8px 16px;
    font-size: 11px;
    letter-spacing: 1px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
  .gallery-hover { padding: 16px; }
  .gallery-hover-content h3 { font-size: 16px; }
  .gallery-cat { font-size: 10px; margin-bottom: 8px; }
  .gallery-view-btn { font-size: 10px; padding: 6px 12px; }

  /* --- Detail mobile --- */
  .detail-info h2 { font-size: 26px; }
  .detail-desc { font-size: 14px; line-height: 1.7; }
  .detail-category { font-size: 10px; }

  /* --- Biography mobile --- */
  .bio-layout { grid-template-columns: 1fr; gap: 32px; }
  .bio-sidebar {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
  }
  .bio-photo-frame {
    width: 120px;
    min-width: 120px;
  }
  .bio-info-card { margin-top: 0; flex: 1; }
  .bio-info-card h3 { font-size: 16px; margin-bottom: 10px; }
  .bio-info-card li { font-size: 13px; padding: 6px 0; }
  .bio-content h2 { font-size: 28px; }
  .bio-content h3 { font-size: 20px; margin: 28px 0 12px; }
  .bio-content p { font-size: 14px; }
  .skills-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .skill-item { padding: 20px 16px; }
  .skill-icon { font-size: 22px; margin-bottom: 8px; }
  .skill-item h4 { font-size: 15px; }
  .skill-item p { font-size: 12px; }

  /* --- About preview mobile --- */
  .about-preview-text .section-title { font-size: clamp(24px, 6vw, 32px); }
  .about-preview-text p { font-size: 14px; margin-bottom: 24px; }

  /* --- CTA banner mobile --- */
  .section-cta-banner { padding: 40px 0; }
  .cta-banner { padding: 40px 20px; border-radius: 8px; }
  .cta-banner h2 { font-size: clamp(22px, 5vw, 28px); }
  .cta-banner p { font-size: 14px; margin-bottom: 24px; }

  /* --- Contact mobile --- */
  .contact-info-side h2 { font-size: 28px; }
  .contact-info-side > p { font-size: 14px; margin-bottom: 28px; }
  .contact-details { gap: 16px; }
  .contact-icon { width: 40px; height: 40px; font-size: 16px; }
  .contact-detail-item h4 { font-size: 13px; }
  .contact-form-side {
    padding: 28px 20px;
    border-radius: 8px;
  }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .form-group label { font-size: 11px; }
  .form-group input,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 6px;
  }
  .contact-form { gap: 16px; }

  /* --- Buttons mobile --- */
  .btn {
    padding: 14px 28px;
    font-size: 11px;
    letter-spacing: 1.5px;
  }
  .btn-full { padding: 16px; }

  /* --- Footer mobile --- */
  .site-footer { padding-top: 48px; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }
  .footer-logo { font-size: 22px; margin-bottom: 8px; }
  .footer-brand p { font-size: 13px; }
  .footer-links h4,
  .footer-contact h4 { font-size: 12px; margin-bottom: 12px; }
  .footer-links a { font-size: 13px; padding: 4px 0; }
  .footer-bottom { padding: 16px; font-size: 12px; }

  /* --- Alerts mobile --- */
  .alert { padding: 14px 16px; font-size: 13px; }

  /* --- Empty state mobile --- */
  .empty-state { padding: 48px 16px; }
  .empty-state h3 { font-size: 20px; }

  /* --- Lightbox mobile --- */
  .lightbox { padding: 16px; }
  .lightbox img { max-width: 100vw; max-height: 85vh; border-radius: 0; }
  .lightbox-close { top: 12px; right: 16px; font-size: 32px; }

  /* ---- Admin mobile ---- */
  .admin-layout { flex-direction: column; }
  .admin-sidebar {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .admin-sidebar-header { padding: 16px; }
  .admin-sidebar-header .logo-main { font-size: 18px; }
  .admin-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 8px 12px;
    gap: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav-item {
    padding: 10px 14px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 6px;
    gap: 6px;
  }
  .admin-nav-logout { margin-top: 0; border-top: none; }
  .admin-content { padding: 20px 12px; }
  .admin-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
  .admin-header h1 { font-size: 24px; }
  .admin-stats { flex-direction: column; gap: 12px; margin-bottom: 20px; }
  .stat-card { padding: 16px 20px; flex-direction: row; align-items: center; gap: 12px; }
  .stat-number { font-size: 28px; }
  .stat-label { font-size: 12px; }

  /* Admin table scrollable */
  .admin-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-table { min-width: 500px; font-size: 13px; }
  .admin-table th, .admin-table td { padding: 10px 12px; }
  .admin-thumb { width: 48px; height: 48px; border-radius: 6px; }
  .admin-thumb-placeholder { width: 48px; height: 48px; }
  .admin-actions { gap: 6px; }
  .btn-sm { padding: 6px 10px; font-size: 11px; }
  .admin-form-card { padding: 20px 16px; }
  .admin-form-card h2 { font-size: 20px; margin-bottom: 16px; }
  .form-actions { flex-direction: column; gap: 10px; }
  .form-actions .btn { width: 100%; text-align: center; }
  .admin-login-card { padding: 32px 24px; margin: 16px; }
}

/* ========================================
   SMALL MOBILE (max 480px)
   ======================================== */
@media (max-width: 480px) {
  .hero-line-1 { font-size: 32px; }
  .hero-line-2 { font-size: 28px; }
  .hero-subtitle { font-size: 13px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-image { border-radius: 6px; }

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

  .bio-sidebar { flex-direction: column; align-items: center; text-align: center; }
  .bio-photo-frame { width: 160px; }

  .section-title { font-size: 22px; }
  .page-hero h1 { font-size: 26px; }

  .contact-form-side { padding: 24px 16px; }

  .footer-inner { text-align: center; }
  .footer-links a { display: inline-block; padding: 4px 8px; }
}
