:root {
  --bg: #0a0a0a;
  --fg: #f5f5f5;
  --accent: #ff3e00;
  --accent-muted: #ff3e0033;
  --surface: #141414;
  --border: #2a2a2a;
  --text-dim: #888;
  --font-display: 'Clash Display', 'Syncopate', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --spacing-unit: 8px;
  --transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-title {
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 900;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.hero-title span:nth-child(2) {
  padding-left: 10%;
  color: transparent;
  -webkit-text-stroke: 1px var(--fg);
}

.hero-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 40px;
}

.hero-tagline {
  max-width: 400px;
  font-size: 1.25rem;
  color: var(--text-dim);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.section-label {
  display: block;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.about-content h2 {
  font-size: 3.5rem;
  margin-bottom: 40px;
}

.about-text {
  font-size: 1.25rem;
  color: var(--text-dim);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.stat-card {
  border-left: 1px solid var(--border);
  padding-left: 24px;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Work Section */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.project-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  transition: var(--transition);
}

.project-card:hover {
  border-color: var(--accent);
}

.project-card:hover .project-bg {
  transform: scale(1.05);
  opacity: 0.4;
}

.project-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.8));
  z-index: 1;
  transition: var(--transition);
}

.project-info {
  position: relative;
  z-index: 2;
}

.project-tags {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.tag {
  font-size: 0.7rem;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  text-transform: uppercase;
}

.project-title {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

/* Contact Section */
.contact-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 0;
}

.cta-text {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
}

.cta-button {
  width: 200px;
  height: 200px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
}

.cta-button:hover {
  transform: scale(1.1) rotate(10deg);
}

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Placeholders */
.placeholder-image {
  background: #1a1a1a;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.placeholder-image::after {
  content: 'Photo Placeholder';
}

/* Certificate Styles */
.cert-section {
  padding: 120px 0;
  background: var(--surface);
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

.cert-title-large {
  font-size: 3rem; 
  margin-bottom: 24px;
}

.cert-type-label {
  color: #000; 
  margin-top: 20px;
}

.cert-preview {
  width: 100%;
  aspect-ratio: 1.414/1; /* A4 Ratio */
  background: #fff;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px;
  color: #000;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.cert-border {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid #d4af37;
  pointer-events: none;
}

.cert-header {
  text-align: center;
  margin-top: 40px;
}

.cert-header h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.cert-body {
  text-align: center;
  margin-top: 60px;
}

.cert-body .name {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 20px 0;
  border-bottom: 2px solid #000;
  display: inline-block;
  padding: 0 40px;
}

.cert-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding-bottom: 20px;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.photo-item {
  aspect-ratio: 1/1;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.photo-item:nth-child(2) {
  aspect-ratio: 3/4;
}

@media (max-width: 1024px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .about-grid, .work-grid {
    grid-template-columns: 1fr;
  }
  .hero-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .contact-flex {
    flex-direction: column;
    text-align: center;
    gap: 60px;
  }
}

/* Custom Cursor Idea */
.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
