/* =========================================================
   BaranLowes — Ana Stil Dosyası
   ========================================================= */

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

/* =========================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ========================================================= */
:root {
  /* — Renkler — */
  --clr-bg-primary:    #1A1A1D;
  --clr-bg-secondary:  #2D2D34;
  --clr-bg-card:       #25252B;
  --clr-bg-card-hover: #3A3A44;
  --clr-bg-surface:    #22222A;

  --clr-accent-blue:   #00E5FF;
  --clr-accent-orange: #FF6B00;

  --clr-text-heading:  #F0F0F0;
  --clr-text-body:     #B0B0B8;
  --clr-text-muted:    #6B6B75;
  --clr-text-white:    #FFFFFF;

  --clr-border:        rgba(255, 255, 255, 0.06);
  --clr-glass:         rgba(45, 45, 52, 0.65);
  --clr-glass-border:  rgba(255, 255, 255, 0.08);

  /* — Tipografi — */
  --ff-heading: 'Poppins', sans-serif;
  --ff-body:    'Inter', sans-serif;

  --fs-hero:    clamp(2.5rem, 6vw, 4.5rem);
  --fs-h1:      clamp(2rem, 4vw, 3rem);
  --fs-h2:      clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3:      clamp(1.15rem, 2vw, 1.5rem);
  --fs-body:    1rem;
  --fs-small:   0.875rem;
  --fs-xs:      0.75rem;

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;
  --fw-extra:   800;

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

  /* — Border Radius — */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* — Shadows — */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-glow-blue: 0 0 20px rgba(0, 229, 255, 0.25), 0 0 60px rgba(0, 229, 255, 0.08);
  --shadow-glow-orange: 0 0 20px rgba(255, 107, 0, 0.25), 0 0 60px rgba(255, 107, 0, 0.08);

  /* — Transitions — */
  --transition-fast:   0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* — Navbar — */
  --navbar-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  font-weight: var(--fw-regular);
  color: var(--clr-text-body);
  background-color: var(--clr-bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  color: var(--clr-text-heading);
  line-height: 1.2;
  font-weight: var(--fw-bold);
}

::selection {
  background-color: rgba(0, 229, 255, 0.25);
  color: var(--clr-text-white);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--clr-bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--clr-bg-card-hover);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--clr-accent-blue);
}

/* =========================================================
   3. LAYOUT UTILITIES
   ========================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.section {
  padding-block: var(--space-5xl);
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section__title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-extra);
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent-blue), var(--clr-accent-orange));
  border-radius: var(--radius-full);
}

.section__subtitle {
  font-size: var(--fs-body);
  color: var(--clr-text-muted);
  max-width: 600px;
  margin-inline: auto;
  margin-top: var(--space-lg);
}

/* =========================================================
   4. NAVBAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(26, 26, 29, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--clr-border);
}

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

.navbar__logo {
  font-family: var(--ff-heading);
  font-size: 1.35rem;
  font-weight: var(--fw-extra);
  color: var(--clr-text-white);
  letter-spacing: -0.5px;
}

.navbar__logo span {
  color: var(--clr-accent-blue);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar__link {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--clr-text-body);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent-blue);
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--clr-accent-blue);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-xs);
  z-index: 1001;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text-heading);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================================================
   5. HERO SECTION
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.08;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 750px;
}

.hero__greeting {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--clr-accent-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero__greeting::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--clr-accent-blue);
  border-radius: var(--radius-full);
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: var(--fw-extra);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero__title .highlight {
  background: linear-gradient(135deg, var(--clr-accent-blue), var(--clr-accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__typed-wrapper {
  font-size: var(--fs-h3);
  color: var(--clr-text-muted);
  margin-bottom: var(--space-xl);
  min-height: 2em;
}

.hero__typed-text {
  color: var(--clr-accent-orange);
  font-weight: var(--fw-semi);
}

.hero__cursor {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: var(--clr-accent-blue);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink-cursor 0.8s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

.hero__description {
  font-size: 1.05rem;
  color: var(--clr-text-body);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 600px;
}

.hero__cta-group {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--clr-text-muted);
  font-size: var(--fs-xs);
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: float-down 2s ease-in-out infinite;
}

.hero__scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--clr-accent-blue);
  border-bottom: 2px solid var(--clr-accent-blue);
  transform: rotate(45deg);
}

@keyframes float-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(10px); }
}

/* =========================================================
   6. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-semi);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--clr-accent-blue), #00b8d4);
  color: var(--clr-bg-primary);
  box-shadow: var(--shadow-glow-blue);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4), 0 0 80px rgba(0, 229, 255, 0.12);
  color: var(--clr-bg-primary);
}

.btn--outline {
  background: transparent;
  color: var(--clr-accent-orange);
  border-color: var(--clr-accent-orange);
}

.btn--outline:hover {
  background: var(--clr-accent-orange);
  color: var(--clr-bg-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-orange);
}

.btn--small {
  padding: 10px 22px;
  font-size: var(--fs-xs);
}

/* =========================================================
   7. ABOUT SECTION
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about__image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.about__image {
  width: 280px;
  height: 280px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  border: 3px solid transparent;
  background-origin: border-box;
  background-clip: content-box, border-box;
  background-image:
    linear-gradient(var(--clr-bg-card), var(--clr-bg-card)),
    linear-gradient(135deg, var(--clr-accent-blue), var(--clr-accent-orange));
  box-shadow: var(--shadow-glow-blue);
}

.about__image-wrapper::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: calc(var(--radius-xl) + 6px);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(255, 107, 0, 0.15));
  z-index: -1;
  filter: blur(20px);
}

.about__text h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-lg);
}

.about__text h3 span {
  color: var(--clr-accent-blue);
}

.about__text p {
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

/* Skill Bars */
.skills {
  margin-top: var(--space-3xl);
}

.skills__title {
  font-size: var(--fs-h3);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.skills__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl) var(--space-2xl);
}

.skill-bar {
  width: 100%;
}

.skill-bar__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
}

.skill-bar__name {
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-semi);
  color: var(--clr-text-heading);
}

.skill-bar__percent {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--clr-accent-blue);
}

.skill-bar__track {
  width: 100%;
  height: 8px;
  background: var(--clr-bg-primary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-bar__fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--clr-accent-blue), var(--clr-accent-orange));
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

/* =========================================================
   8. PORTFOLIO SECTION
   ========================================================= */
.portfolio__filters {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--ff-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  padding: 8px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-border);
  background: transparent;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--clr-accent-blue);
  color: var(--clr-bg-primary);
  border-color: var(--clr-accent-blue);
  box-shadow: var(--shadow-glow-blue);
}

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

/* Project Card */
.project-card {
  background: var(--clr-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: all var(--transition-normal);
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: var(--shadow-card), var(--shadow-glow-blue);
}

.project-card__image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-card__image img {
  transform: scale(1.08);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(26, 26, 29, 0.9));
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-lg);
  gap: var(--space-md);
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__body {
  padding: var(--space-lg);
}

.project-card__title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semi);
  margin-bottom: var(--space-xs);
}

.project-card__desc {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__tags {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.tag {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 229, 255, 0.1);
  color: var(--clr-accent-blue);
  border: 1px solid rgba(0, 229, 255, 0.15);
}

.project-card__links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--clr-border);
}

.project-card__link {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--clr-text-muted);
  transition: color var(--transition-fast);
}

.project-card__link:hover {
  color: var(--clr-accent-blue);
}

/* =========================================================
   9. BLOG SECTION
   ========================================================= */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: var(--clr-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 0, 0.2);
  box-shadow: var(--shadow-card), var(--shadow-glow-orange);
}

.blog-card__image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.06);
}

.blog-card__body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}

.blog-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card__title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semi);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card__title {
  color: var(--clr-accent-orange);
}

.blog-card__excerpt {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__tags {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.blog-card__read-more {
  font-size: var(--fs-small);
  font-weight: var(--fw-semi);
  color: var(--clr-accent-orange);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: auto;
}

.blog-card__read-more .arrow-icon {
  transition: transform var(--transition-fast);
}

.blog-card:hover .blog-card__read-more .arrow-icon {
  transform: translateX(6px);
}

/* =========================================================
   10. CONTACT SECTION
   ========================================================= */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-form {
  background: var(--clr-bg-card);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
}

.form-group {
  position: relative;
  margin-bottom: var(--space-xl);
}

.form-group__input,
.form-group__textarea {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  color: var(--clr-text-heading);
  background: var(--clr-bg-primary);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group__input:focus,
.form-group__textarea:focus {
  border-color: var(--clr-accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.form-group__textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group__label {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: var(--fs-body);
  color: var(--clr-text-muted);
  pointer-events: none;
  transition: all var(--transition-fast);
  background: transparent;
  padding: 0 4px;
}

.form-group__input:focus ~ .form-group__label,
.form-group__input:not(:placeholder-shown) ~ .form-group__label,
.form-group__textarea:focus ~ .form-group__label,
.form-group__textarea:not(:placeholder-shown) ~ .form-group__label {
  top: -10px;
  left: 16px;
  font-size: var(--fs-xs);
  color: var(--clr-accent-blue);
  background: var(--clr-bg-card);
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  transition: all var(--transition-normal);
}

.contact-info__item:hover {
  border-color: rgba(0, 229, 255, 0.15);
  transform: translateX(4px);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-accent-blue);
  font-size: 1.25rem;
}

.contact-info__text h4 {
  font-size: var(--fs-body);
  font-weight: var(--fw-semi);
  margin-bottom: 4px;
}

.contact-info__text p,
.contact-info__text a {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
}

/* Social Links */
.contact-socials {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  font-size: 1.15rem;
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: var(--clr-accent-blue);
  color: var(--clr-bg-primary);
  border-color: var(--clr-accent-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-blue);
}

/* =========================================================
   11. FOOTER
   ========================================================= */
.footer {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--clr-border);
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.footer__text {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
}

.footer__text a {
  color: var(--clr-accent-blue);
  font-weight: var(--fw-medium);
}

.footer__heart {
  color: var(--clr-accent-orange);
}

/* =========================================================
   12. RESPONSIVE
   ========================================================= */

/* Tablet */
@media (max-width: 1024px) {
  .portfolio__grid,
  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about__image-wrapper {
    margin-bottom: var(--space-xl);
  }

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

/* Mobile Large */
@media (max-width: 768px) {
  .section {
    padding-block: var(--space-3xl);
  }

  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(26, 26, 29, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    transition: right var(--transition-normal);
    border-left: 1px solid var(--clr-border);
  }

  .navbar__menu.open {
    right: 0;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__link {
    font-size: var(--fs-body);
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .portfolio__grid,
  .blog__grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  :root {
    --navbar-height: 60px;
  }

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

  .btn {
    padding: 12px 24px;
    font-size: var(--fs-xs);
  }

  .about__image {
    width: 200px;
    height: 200px;
  }

  .hero__scroll-indicator {
    display: none;
  }
}

/* =========================================================
   13. SCROLL ANIMATION STATES
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* =========================================================
   14. PREFERS REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   15. FORM STATUS MESSAGES
   ========================================================= */
.form-status {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  margin-top: var(--space-md);
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(0, 229, 255, 0.1);
  color: var(--clr-accent-blue);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.form-status.error {
  display: block;
  background: rgba(255, 107, 0, 0.1);
  color: var(--clr-accent-orange);
  border: 1px solid rgba(255, 107, 0, 0.2);
}

/* =========================================================
   16. WHATSAPP FLOATING BUTTON
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 40px rgba(37, 211, 102, 0.15);
  z-index: 999;
  transition: all var(--transition-normal);
  animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.55), 0 0 60px rgba(37, 211, 102, 0.2);
  color: #fff;
}

.whatsapp-float svg {
  flex-shrink: 0;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 72px;
  background: var(--clr-bg-card);
  color: var(--clr-text-heading);
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid var(--clr-bg-card);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 40px rgba(37, 211, 102, 0.15);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 60px rgba(37, 211, 102, 0.25);
  }
}

/* Mobile adjustments for WhatsApp button */
@media (max-width: 480px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .whatsapp-float__tooltip {
    display: none;
  }
}
