@import url('fonts.css');
:root {
  --font-family: 'Outfit', sans-serif;
  --bg-dark: #0a0a0f;
  --bg-card: #12121c;
  --bg-card-hover: #1b1b29;
  --text-main: #f3f4f6;
  --text-sub: #9ca3af;
  --primary-color: #ec4899;
  --primary-hover: #db2777;
  --accent-color: #8b5cf6;
  --border-color: rgba(255, 255, 255, 0.1);
  --placeholder-bg: rgba(236, 72, 153, 0.08);
  --placeholder-border: rgba(236, 72, 153, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

/* Wireframe Visual Placeholder */
.wireframe-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: var(--placeholder-bg);
  border: 2px dashed var(--placeholder-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.75rem;
  text-align: center;
}

.wireframe-image-placeholder i {
  font-size: 2rem;
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.6);
}

.btn-outline {
  border: 1px solid var(--border-color);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.header {
  background: rgba(18, 18, 28, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.1rem 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-initials {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

/* Hero Title */
.hero-header {
  padding: 4rem 0 3rem 0;
}

.page-title {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.title-underline {
  width: 180px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: 0 auto 0.4rem auto;
  border-radius: 2px;
}

.title-underline.short {
  width: 100px;
  height: 2px;
}

/* Showcase Section */
.showcase-section {
  margin-bottom: 5rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.hero-project-placeholder {
  min-height: 380px;
  box-shadow: var(--shadow);
}

.project-heading {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.accent-line {
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  margin-bottom: 1rem;
  border-radius: 2px;
}

.project-desc {
  color: var(--text-sub);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.mini-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mini-project-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
}

.mini-placeholder {
  min-height: 100px;
}

.mini-project-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-sub);
}

/* About Section */
.about-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 4rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.about-text {
  color: var(--text-sub);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.media-placeholder {
  min-height: 220px;
}

/* Contact Card Section */
.contact-card-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 4rem;
}

.contact-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  align-items: center;
}

.contact-details-col {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-note {
  color: var(--text-sub);
  font-size: 0.95rem;
  flex-grow: 1;
}

.avatar-thumb {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.avatar-placeholder {
  min-height: 90px;
  border-radius: 50%;
}

/* Footer */
.footer {
  background: #060609;
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  color: var(--text-sub);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .showcase-grid, .about-grid, .contact-banner-grid {
    grid-template-columns: 1fr;
  }
  .page-title {
    font-size: 2.2rem;
  }
  .nav {
    display: none;
  }
}

/* Global Mobile Viewport Overflow Protection */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
img, svg, video, iframe, canvas {
  max-width: 100%;
  height: auto;
}
