/* ============================
   CSS VARIABLES
   ============================ */
:root {
  --sage-50: #f2f7f2;
  --sage-100: #e0ede0;
  --sage-200: #c2dcc2;
  --sage-300: #9cc49c;
  --sage-400: #7aae7a;
  --sage-500: #5c965c;
  --sage-600: #4a7a4a;
  --sage-700: #3d623d;
  --sage-800: #344f34;
  --sage-900: #2d412d;
  --sage-950: #152215;

  --cream: #fdfbf7;
  --cream-dark: #f5f0e6;
  --beige: #f0e8d8;
  --beige-dark: #e0d5c0;
  --white-bone: #fffaf3;
  --wood: #c4a882;
  --wood-dark: #8b7355;
  --brown: #6b5a48;
  --brown-dark: #3d3228;

  --bg-primary: var(--white-bone);
  --bg-secondary: var(--cream);
  --bg-card: #ffffff;
  --bg-nav: rgba(194, 220, 194, 0.88);
  --text-primary: #1a2b1a;
  --text-secondary: #3d4f3d;
  --text-muted: #5d6d5d;
  --border-color: rgba(92, 150, 92, 0.15);
  --shadow-soft: 0 4px 20px rgba(44, 62, 45, 0.06);
  --shadow-medium: 0 8px 30px rgba(44, 62, 45, 0.1);
  --shadow-hover: 0 12px 40px rgba(92, 150, 92, 0.15);
  --accent: var(--sage-400);
  --accent-hover: var(--sage-500);
  --accent-light: var(--sage-100);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
  --font-cursive: 'Dancing Script', cursive;

  --nav-height: 72px;
  --section-gap: 100px;
  --container-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}



/* ============================
   RESET & BASE
   ============================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

input,
textarea {
  font-family: inherit;
  outline: none;
}

::selection {
  background: var(--sage-200);
  color: var(--sage-900);
}

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

.section {
  padding: var(--section-gap) 0;
  position: relative;
  overflow: hidden;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 48px;
}

/* ============================
   TYPOGRAPHY
   ============================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.3;
}

p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================
   PRELOADER
   ============================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-cat {
  width: 80px;
  height: 80px;
  position: relative;
  margin-bottom: 24px;
}

.preloader-cat svg {
  width: 100%;
  height: 100%;
  animation: catBounce 1.2s ease-in-out infinite;
}

.preloader-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes catBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ============================
   NAVIGATION
   ============================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition-smooth), backdrop-filter var(--transition-smooth), box-shadow var(--transition-smooth);
}

.navbar.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06);
}

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

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.5px;
  transition: color var(--transition-fast);
}

.navbar-brand span {
  color: var(--accent);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-menu a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

.navbar-menu a:hover {
  color: var(--accent);
}

.navbar-menu a:hover::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-smooth);
  transform-origin: center;
}

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

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

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

/* ============================
   HERO SECTION
   ============================ */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,
    var(--sage-50) 0%,
    var(--cream) 30%,
    var(--beige) 60%,
    var(--white-bone) 100%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.leaf {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0.5;
  animation: leafFloat linear infinite;
  pointer-events: none;
}

.leaf svg {
  width: 100%;
  height: 100%;
}

@keyframes leafFloat {
  0% {
    transform: translateY(-10vh) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(110vh) rotate(720deg) scale(1.2);
    opacity: 0;
  }
}

.hero-sun {
  position: absolute;
  top: -80px;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(194, 220, 194, 0.4) 0%, rgba(240, 232, 216, 0.2) 50%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: sunGlow 4s ease-in-out infinite alternate;
}

@keyframes sunGlow {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 0.9; }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 120px 24px 60px;
}

.hero-content {
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}

.hero-badge .paw {
  font-size: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--accent-light);
  border-radius: 4px;
  z-index: -1;
}

.hero-headline {
  font-family: var(--font-cursive);
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(92, 150, 92, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(92, 150, 92, 0.35);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-illustration {
  width: 100%;
  max-width: 450px;
  position: relative;
}

.hero-cat {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  animation: catFloat 3s ease-in-out infinite;
  z-index: 3;
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 1s ease 1s backwards;
}

.hero-scroll-indicator span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border: 2px solid var(--text-muted);
  border-left: 0;
  border-top: 0;
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
   ABOUT SECTION
   ============================ */
.about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.about-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--sage-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: var(--sage-600);
}

.about-image-placeholder svg {
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.about-image-placeholder span {
  font-size: 14px;
  font-style: italic;
}

.about-image-decor {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--accent-light);
  border-radius: 50%;
  z-index: -1;
}

.about-image-decor-2 {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 60px;
  height: 60px;
  border: 3px solid var(--accent-light);
  border-radius: 50%;
  z-index: -1;
}

.about-content {
  padding-top: 20px;
}

.about-cat-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 8px;
}

.about-name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.about-nickname {
  color: var(--accent);
  font-size: 1rem;
  font-family: var(--font-cursive);
  margin-bottom: 16px;
}

.about-description {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.9;
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.about-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-info-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.about-info-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.about-quote {
  font-family: var(--font-cursive);
  font-size: 1.2rem;
  color: var(--accent);
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 24px;
  box-shadow: var(--shadow-soft);
}

/* ============================
   SKILLS SECTION
   ============================ */
.skills {
  background: var(--bg-primary);
}

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

.skill-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-smooth);
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-light);
}

.skill-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 16px;
  transition: all var(--transition-smooth);
}

.skill-card:hover .skill-card-icon {
  background: var(--accent);
  color: #fff;
}

.skill-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--sage-50);
  color: var(--sage-700);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.skill-tag:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}

.skill-progress {
  margin-bottom: 12px;
}

.skill-progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.skill-progress-name {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.skill-progress-value {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.skill-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--sage-100);
  border-radius: 3px;
  overflow: hidden;
}

.skill-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sage-300), var(--accent));
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 0;
}

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

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.portfolio-filter {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.portfolio-filter:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.portfolio-filter.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.portfolio-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-smooth);
}

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

.portfolio-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--sage-100);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.portfolio-card-image .placeholder-icon {
  font-size: 48px;
  opacity: 0.3;
  color: var(--sage-500);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 62, 45, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card-overlay .btn {
  padding: 10px 24px;
  font-size: 13px;
}

.portfolio-card-body {
  padding: 20px 24px 24px;
}

.portfolio-card-category {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.portfolio-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.portfolio-card-description {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.portfolio-card-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.portfolio-card-tools span {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--sage-50);
  color: var(--sage-600);
  border-radius: 50px;
}

/* ============================
   EXPERIENCE SECTION
   ============================ */
.experience {
  background: var(--bg-primary);
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--sage-300), var(--accent), var(--sage-300), transparent);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
  padding-left: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.timeline-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.timeline-item .decor-leaf {
  position: absolute;
  left: -48px;
  top: 50%;
  font-size: 16px;
  opacity: 0.3;
  pointer-events: none;
}

.timeline-date {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.timeline-org {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sage-200), var(--accent), var(--sage-200));
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.service-card:hover::before {
  opacity: 1;
}

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

.service-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--accent);
  margin: 0 auto 20px;
  transition: all var(--transition-smooth);
}

.service-card:hover .service-card-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================
   GALLERY SECTION
   ============================ */
.gallery {
  background: var(--bg-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 1;
  background: var(--sage-100);
  transition: all var(--transition-smooth);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-medium);
}

.gallery-item img,
.gallery-item .placeholder-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: 0.3;
  color: var(--sage-500);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(44, 62, 45, 0.7));
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-label {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 80vw;
  max-height: 80vh;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform var(--transition-smooth);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img,
.lightbox-content .lightbox-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
  min-width: 300px;
  min-height: 300px;
  background: var(--sage-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--sage-500);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background var(--transition-fast);
  border: none;
  cursor: pointer;
}

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

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

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

.form-input.error,
.form-textarea.error {
  border-color: #e74c3c;
}

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

.form-error {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
  display: none;
}

.form-error.show {
  display: block;
}

.form-submit {
  width: 100%;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(92, 150, 92, 0.3);
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(92, 150, 92, 0.35);
}

.form-submit:active {
  transform: translateY(0);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.form-success-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.form-success-text {
  color: var(--text-muted);
  font-size: 14px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.contact-info-item:hover {
  border-color: var(--accent-light);
  transform: translateX(4px);
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-cat {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  opacity: 0.5;
}

.contact-cat svg {
  width: 80px;
  height: 80px;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--sage-600);
  color: rgba(255, 255, 255, 0.9);
  padding: 60px 0 24px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sage-200), var(--cream), var(--sage-200));
}

.footer-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 8px;
}

.footer-tagline {
  font-family: var(--font-cursive);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.footer-social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-smooth);
}

.footer-social-link:hover {
  background: var(--cream);
  color: var(--sage-600);
  transform: translateY(-3px);
}

.footer-divider {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 24px;
  border-radius: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-ornaments {
  display: flex;
  gap: 8px;
  font-size: 14px;
  opacity: 0.4;
}

/* ============================
   BACK TO TOP
   ============================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(92, 150, 92, 0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(92, 150, 92, 0.4);
}

/* ============================
   SCROLLBAR
   ============================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--sage-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ============================
   REVEAL ANIMATIONS
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================
   DECORATIVE ELEMENTS
   ============================ */
.floating-paw {
  position: absolute;
  font-size: 24px;
  opacity: 0.08;
  pointer-events: none;
  animation: floatAround 6s ease-in-out infinite;
}

@keyframes floatAround {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(5deg); }
  66% { transform: translateY(5px) rotate(-3deg); }
}

/* ============================
   MODAL
   ============================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-smooth);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.modal-close:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.modal-image {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  background: var(--sage-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--sage-500);
  object-fit: cover;
}

.modal-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.modal-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.modal-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.modal-tools span {
  padding: 6px 14px;
  background: var(--sage-50);
  color: var(--sage-600);
  border-radius: 50px;
  font-size: 13px;
}

/* ============================
   RESPONSIVE
   ============================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 100px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-illustration {
    max-width: 300px;
    margin: 0 auto;
  }

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

  .about-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }

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

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-gap: 60px;
    --nav-height: 64px;
  }

  .navbar-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--nav-height));
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    overflow-y: auto;
  }

  .navbar-menu.open {
    transform: translateX(0);
  }

  .navbar-menu a {
    font-size: 16px;
    padding: 12px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
  }

  .navbar-menu a:hover {
    background: var(--accent-light);
  }

  .hamburger {
    display: flex;
  }

  .hero-container {
    padding-top: 80px;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .hero-illustration {
    max-width: 220px;
  }

  .hero-sun {
    width: 150px;
    height: 150px;
    right: 5%;
  }

  .about-info-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .contact-form {
    padding: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .lightbox-content {
    max-width: 95vw;
  }

  .modal {
    padding: 24px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

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

  .portfolio-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .portfolio-filter {
    white-space: nowrap;
    flex-shrink: 0;
  }
}
