/* ============================================
   MINECRAFT SERVER DEVELOPER — PORTFOLIO
   styles.css
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Backgrounds */
  --bg-white: #FFFFFF;
  --bg-off-white: #FDFCFA;
  --bg-warm-gray: #F6F5F1;
  --bg-warm-gray-dark: #EDECE8;

  /* Accent Colors */
  --accent-yellow: #E8B931;
  --accent-yellow-light: #FDF4D7;
  --accent-green: #5A9E6F;
  --accent-green-light: #E3F2E8;
  --accent-blue: #4A7FC4;
  --accent-blue-light: #E0ECF8;

  /* Text */
  --text-primary: #1B1B1B;
  --text-secondary: #4A4A4A;
  --text-muted: #8A8A8A;
  --text-light: #B0B0B0;

  /* Borders & Shadows */
  --border-light: #E8E7E3;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.05);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --space-4xl: 10rem;

  /* Layout */
  --max-width: 1200px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 28px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.4s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.section-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section-subheading {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

section {
  padding: var(--space-3xl) 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-white);
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent-green);
  color: white;
}

.btn-accent:hover {
  background: #4e8c61;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-yellow {
  background: var(--accent-yellow);
  color: var(--text-primary);
}

.btn-yellow:hover {
  background: #d4a82c;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232, 185, 49, 0.25);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  padding: 0.8rem 0;
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-green);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.nav-cta {
  padding: 0.7rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--space-4xl) + 2rem);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-off-white);
}

.hero .container {
  display: flex;
  flex-direction: column;
  padding-bottom: var(--space-xl);
}

.hero-top-row {
  margin-bottom: var(--space-md);
}

.hero-intro {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 400;
  display: flex;
  align-items: center;
}

.intro-pfp {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  margin: 0 8px;
  object-fit: cover;
}

.hero-intro strong {
  color: var(--text-primary);
  font-weight: 700;
}

.hero-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  margin-bottom: 0;
}

.hero-pfp-container {
  flex-shrink: 0;
  perspective: 1000px;
}

.hero-pfp-large {
  width: clamp(140px, 16vw, 240px);
  height: clamp(140px, 16vw, 240px);
  border-radius: 50%;
  border: 6px solid var(--bg-white);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  animation: pfp-entrance 2.5s ease-in-out forwards;
  transform-origin: center center;
}

@keyframes pfp-entrance {
  0% { transform: rotate(-60deg); opacity: 0; }
  10% { opacity: 1; }
  35% { transform: rotate(35deg); }
  60% { transform: rotate(-20deg); }
  80% { transform: rotate(10deg); }
  92% { transform: rotate(-4deg); }
  100% { transform: rotate(0deg); opacity: 1; }
}

.hero-title-line {
  display: block;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 1.0;
}

.hero-title .title-accent {
  color: var(--accent-green);
}

.title-accent-dot {
  color: var(--accent-yellow);
  font-size: 1.2em;
}

.hero-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-xl);
}

.hero-description {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Panoramic landscape */
.hero-panorama {
  width: 100%;
  margin-top: auto;
  line-height: 0;
}

.hero-panorama svg {
  width: 100%;
  height: auto;
  min-height: 180px;
  display: block;
}

/* Floating decorations */
.hero-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-decor-cloud-1 {
  top: 12%;
  right: 6%;
  opacity: 0.3;
  animation: float-slow 8s ease-in-out infinite;
}

.hero-decor-leaf-1 {
  bottom: 35%;
  left: 8%;
  opacity: 0.2;
  animation: float-rotate 7s ease-in-out infinite;
}

.hero-decor-leaf-2 {
  top: 22%;
  right: 20%;
  opacity: 0.18;
  animation: float-rotate 9s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-15px) translateX(5px); }
}

@keyframes float-rotate {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(8deg); }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: var(--bg-white);
}

.services-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.services-header .section-subheading {
  margin: var(--space-sm) auto 0;
}

.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-md);
}

.service-card {
  background: var(--bg-off-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: var(--bg-white);
  border-color: var(--border-light);
}

/* Featured card spans 2 columns */
.service-card-featured {
  grid-column: 1 / 3;
  background: var(--bg-warm-gray);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-featured .service-card-inner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  padding-bottom: var(--space-sm);
}

.service-card-featured .service-icon {
  flex-shrink: 0;
}

.service-card-featured h3 {
  font-size: 1.4rem;
}

.service-card-accent {
  margin-top: auto;
  line-height: 0;
  overflow: hidden;
  border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.service-card-accent svg {
  width: 100%;
  height: auto;
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-md);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
  background: var(--bg-warm-gray);
}

.portfolio-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.portfolio-header .section-subheading {
  margin: var(--space-sm) auto 0;
}

.portfolio-projects {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.portfolio-item {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.portfolio-item.reversed {
  grid-template-columns: 1fr 1.1fr;
}

.portfolio-item.reversed .portfolio-preview {
  order: 2;
}

.portfolio-item.reversed .portfolio-info {
  order: 1;
}

.portfolio-preview {
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition-base);
}

.portfolio-preview:hover {
  transform: scale(1.02);
}

.portfolio-preview.preview-green {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

.portfolio-preview.preview-blue {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.portfolio-preview.preview-yellow {
  background: linear-gradient(135deg, #fff8e1, #ffecb3);
}

.portfolio-preview svg {
  width: 70%;
  height: auto;
  opacity: 0.7;
}

.portfolio-category {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-green);
  margin-bottom: 0.6rem;
}

.portfolio-info h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.portfolio-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.portfolio-tech span {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--bg-warm-gray-dark);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  background: var(--bg-white);
}

.process-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.process-header .section-subheading {
  margin: var(--space-sm) auto 0;
}

.process-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  width: 2px;
  height: 100%;
  background: var(--border-light);
  border-radius: 2px;
}

.process-step {
  display: flex;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
  position: relative;
}

.process-step:last-child {
  padding-bottom: 0;
}

.step-marker {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-warm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all var(--transition-base);
}

.process-step:hover .step-marker {
  background: var(--accent-green-light);
}

.step-marker svg {
  width: 24px;
  height: 24px;
}

.step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content {
  padding-top: 0.5rem;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 420px;
}

/* ============================================
   WHY CHOOSE ME
   ============================================ */
.why-me {
  background: var(--bg-off-white);
}

.why-me-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.why-me-header .section-subheading {
  margin: var(--space-sm) auto 0;
}

.why-me-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.why-me-card {
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  background: var(--bg-white);
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.why-me-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.why-me-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.why-me-icon.icon-yellow { background: var(--accent-yellow-light); }
.why-me-icon.icon-green { background: var(--accent-green-light); }
.why-me-icon.icon-blue { background: var(--accent-blue-light); }

.why-me-icon svg {
  width: 20px;
  height: 20px;
}

.why-me-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.why-me-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   STATS
   ============================================ */
.stats {
  background: var(--text-primary);
  padding: var(--space-2xl) 0;
}

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

.stat-item {
  text-align: center;
  flex: 1;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--bg-white);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.3rem;
  font-weight: 500;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--bg-white);
}

.testimonials-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.testimonials-header .section-subheading {
  margin: var(--space-sm) auto 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial-card {
  background: var(--bg-off-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  position: relative;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.testimonial-quote-mark {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  opacity: 0.08;
}

.testimonial-quote-mark svg {
  width: 48px;
  height: 48px;
  fill: var(--text-primary);
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-md);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  object-fit: cover;
}

.avatar-green { background: var(--accent-green); }
.avatar-blue { background: var(--accent-blue); }
.avatar-yellow { background: var(--accent-yellow); }

.testimonial-author-info h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--bg-warm-gray);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info {
  padding-top: var(--space-sm);
}

.contact-info .section-heading {
  margin-bottom: var(--space-sm);
}

.contact-info p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  max-width: 420px;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  width: fit-content;
  max-width: 100%;
}

.contact-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-btn-discord {
  background: #5865F2;
  color: white;
}

.contact-btn-discord:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-btn-email {
  background: var(--text-primary);
  color: white;
}

.contact-btn-email:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-form {
  background: var(--bg-white);
  border-radius: var(--border-radius-xl);
  padding: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-off-white);
  transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-green);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px var(--accent-green-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 0.9rem;
  border-radius: 50px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-white);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid var(--border-light);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: var(--space-xl);
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  gap: var(--space-2xl);
}

.footer-nav-column h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.footer-nav-column a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.footer-nav-column a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-light);
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: var(--space-sm);
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-warm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.footer-socials a:hover {
  background: var(--text-primary);
}

.footer-socials a:hover svg {
  fill: white;
}

.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: var(--text-secondary);
  transition: fill var(--transition-base);
}

/* ============================================
   PROJECT MODAL
   ============================================ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  width: 95%;
  max-width: 1200px;
  height: 85vh;
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.modal.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.modal-close svg {
  width: 24px;
  height: 24px;
}

.modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.modal-video-wrapper {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  background: #000;
}

.modal-thumbnail-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.modal-thumbnail-container:hover .modal-thumbnail {
  opacity: 0.6;
}

.modal-play-btn {
  position: relative;
  width: 80px;
  height: 80px;
  background: var(--accent-yellow);
  color: var(--bg-black);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.modal-thumbnail-container:hover .modal-play-btn {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(232, 185, 49, 0.4);
}

.modal-play-btn svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

#modalIframeContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#modalIframeContainer iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-info {
  padding: var(--space-lg) var(--space-xl);
  background: var(--bg-white);
  flex-shrink: 0;
}

.modal-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.modal-link-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
}

.modal-link-btn svg {
  width: 18px;
  height: 18px;
}

.modal-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 800px;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  .hero-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .hero-title-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
  }

  .hero-title-line {
    font-size: clamp(3rem, 7vw, 5rem);
  }

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

  .service-card-featured {
    grid-column: 1 / -1;
  }

  .portfolio-item,
  .portfolio-item.reversed {
    grid-template-columns: 1fr;
  }

  .portfolio-item.reversed .portfolio-preview,
  .portfolio-item.reversed .portfolio-info {
    order: unset;
  }

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

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
  section {
    padding: var(--space-2xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl);
    gap: var(--space-md);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-base);
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--space-4xl) + 2rem);
    padding-bottom: 0;
  }

  .hero-title-line {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .hero-cta-group {
    flex-wrap: wrap;
  }

  .services-bento {
    grid-template-columns: 1fr;
  }

  .service-card-featured {
    grid-column: auto;
  }

  .portfolio-preview {
    aspect-ratio: 16 / 10;
  }

  .stats .container {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }

  .stat-item {
    flex: 0 0 calc(50% - var(--space-sm));
  }

  .stat-item::after {
    display: none;
  }

  .why-me-grid {
    grid-template-columns: 1fr;
  }

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

  .testimonials-grid .testimonial-card:last-child {
    max-width: 100%;
  }

  .process-timeline::before {
    left: 28px;
  }

  .footer-nav {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .stat-item {
    flex: 0 0 100%;
  }
}
