/* ----------------------------------------------------
   NOVA DESIGN - HIGH END STUDIO PORTFOLIO
   Theme: Pure Luxury Dark Graphite / Charcoal Gray (NO Blue Tint)
---------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Accent Colors */
  --accent-primary: #52D689; /* Mint Emerald Accent */
  --accent-hover: #34d399;
  --accent-gradient: linear-gradient(135deg, #52D689 0%, #10b981 100%);
  
  /* PURE DARK GRAPHITE / CHARCOAL GRAY THEME (ZERO BLUE TINT) */
  --bg-main: #0f0f11;
  --bg-card: #18181c;
  --bg-card-hover: #222228;
  --bg-header: rgba(15, 15, 17, 0.95);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(82, 214, 137, 0.35);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-inverse: #0f0f11;
  
  --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  --glow-shadow: 0 0 20px rgba(82, 214, 137, 0.2);
}

[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-header: rgba(248, 250, 252, 0.95);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(82, 214, 137, 0.4);
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  --glass-shadow: 0 20px 40px rgba(148, 163, 184, 0.15);
  --card-shadow: 0 10px 25px rgba(148, 163, 184, 0.1);
  --glow-shadow: 0 0 20px rgba(82, 214, 137, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  overflow-y: scroll;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Mouse Follower Glow */
.hero-mouse-follower {
  position: absolute;
  top: 0;
  left: 0;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 214, 137, 0.2) 0%, rgba(255, 255, 255, 0.03) 40%, rgba(0, 0, 0, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

/* TOP ROTATING CAMPAIGN ANNOUNCEMENT BAR */
.top-campaign-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  background: linear-gradient(90deg, #0f0f11 0%, #1c1c22 50%, #0f0f11 100%);
  border-bottom: 1px solid var(--accent-primary);
  box-shadow: 0 4px 20px rgba(82, 214, 137, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 1.25rem;
  font-size: 0.88rem;
  transition: all 0.3s ease;
  color: #f8fafc;
}

[data-theme="light"] .top-campaign-bar {
  background: linear-gradient(90deg, #ffffff 0%, #f1f5f9 50%, #ffffff 100%);
  border-bottom: 1px solid var(--accent-primary);
  box-shadow: 0 4px 15px rgba(82, 214, 137, 0.2);
  color: #0f172a;
}

.top-campaign-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.top-campaign-badge {
  background: var(--accent-primary);
  color: #0f0f11;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
}

.top-campaign-marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.top-campaign-marquee {
  display: inline-flex;
  gap: 4rem;
  will-change: transform;
  animation: campaignMarquee 20s linear infinite;
  font-weight: 700;
}

.top-campaign-bar:hover .top-campaign-marquee {
  animation-play-state: paused;
}

@keyframes campaignMarquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.top-campaign-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: inherit;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-left: 1rem;
  transition: all 0.25s ease;
}

[data-theme="light"] .top-campaign-close {
  background: rgba(0, 0, 0, 0.08);
}

.top-campaign-close:hover {
  background: #ef4444 !important;
  color: #fff !important;
  transform: scale(1.1);
}

/* Adjust Navbar padding when Campaign Bar is Active */
body.has-campaign .navbar {
  top: 38px;
}
body.has-campaign .hero {
  padding-top: 12rem;
}

/* FIXED FLOATING SOCIAL MEDIA & CONTACT BAR WITH LABEL */
.floating-social-bar {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.85rem 0.6rem;
  border-radius: 40px;
  backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow);
  pointer-events: auto;
}

.floating-social-title {
  writing-mode: vertical-rl;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-primary);
  margin-bottom: 0.4rem;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.floating-social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  pointer-events: auto;
}

.floating-social-link:hover {
  background: var(--accent-primary);
  color: #0f0f11;
  border-color: var(--accent-primary);
  transform: scale(1.12);
  box-shadow: var(--glow-shadow);
}

.floating-social-link::before {
  content: attr(title);
  position: absolute;
  right: 52px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #0f0f11;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: var(--glass-shadow);
}

.floating-social-link:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Navbar & Header Links */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: top 0.3s ease;
  pointer-events: auto;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  pointer-events: auto;
}

.site-logo-img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-sparkle { color: var(--accent-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  pointer-events: auto;
}

.nav-links li {
  pointer-events: auto;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
  position: relative;
  padding: 0.4rem 0;
  pointer-events: auto;
  cursor: pointer;
  display: inline-block;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

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

.nav-links a.active {
  color: var(--accent-primary);
  font-weight: 700;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  pointer-events: auto;
}

.btn-nav-action {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.btn-nav-action:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* SCROLL MARGIN TOP FIX */
section[id] {
  scroll-margin-top: 110px;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  background: rgba(82, 214, 137, 0.12);
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* HERO TITLE GAP FIX: Clean line height without pre-line double gaps */
.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent-primary);
  color: #0f0f11;
  padding: 0.9rem 2.2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.9rem 2.2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.hero-media-card {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--glass-shadow);
  background: #000;
}

.hero-media-card img,
.hero-media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Search Bar */
.search-container {
  margin: 2rem 0;
  position: relative;
  max-width: 550px;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1.25rem 0.85rem 2.8rem;
  border-radius: 12px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: var(--glow-shadow);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* Section */
.section { padding: 6rem 0; }
.section-header { margin-bottom: 3rem; }
.section-title { font-size: 2.25rem; margin-bottom: 0.5rem; }

/* PORTFOLIO CARDS */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.55rem 1.35rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-primary);
  color: #0f0f11;
  border-color: transparent;
}

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

.behance-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.behance-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: var(--card-shadow), var(--glow-shadow);
}

.card-cover-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #141417;
  overflow: hidden;
}

.card-cover-wrapper img,
.card-cover-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.behance-card:hover .card-cover-wrapper img {
  transform: scale(1.05);
}

.behance-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 15, 17, 0.95) 0%, rgba(15, 15, 17, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.behance-overlay-btn {
  background: var(--accent-primary);
  color: #0f0f11;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: var(--glow-shadow);
  border: none;
  cursor: pointer;
}

.behance-card-meta {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
}

.behance-project-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.behance-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.behance-category {
  font-size: 0.75rem;
  color: var(--accent-primary);
  font-weight: 700;
  text-transform: uppercase;
}

.behance-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.stat-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.stat-group.liked i { color: #ef4444; }

/* MODAL CANVAS (MUST BE display: none BY DEFAULT) */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem 1rem;
}

.modal-backdrop.active {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  width: 94vw;
  max-width: 1280px;
  max-height: 94vh;
  border-radius: 24px;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--glass-shadow);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--accent-primary);
  color: #0f0f11;
  transform: rotate(90deg);
}

.behance-modal-header {
  padding: 3rem 3rem 2rem 3rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.behance-creator-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.behance-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f0f11;
  font-weight: 800;
  font-size: 1.3rem;
}

.behance-gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem;
  background: #0a0a0c;
}

.behance-gallery-item-wrapper {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.behance-gallery-item-wrapper img,
.behance-gallery-item-wrapper video {
  width: 100%;
  max-height: 900px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.behance-action-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

.btn-behance-like {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid #ef4444;
  color: #f87171;
  padding: 0.9rem 2rem;
  border-radius: 40px;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-behance-like:hover,
.btn-behance-like.active-liked {
  background: #ef4444;
  color: #ffffff;
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.btn-behance-link {
  background: rgba(0, 87, 255, 0.15);
  border: 1px solid #0057ff;
  color: #60a5fa;
  padding: 0.9rem 2rem;
  border-radius: 40px;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
}

.btn-behance-link:hover {
  background: #0057ff;
  color: #fff;
  transform: scale(1.04);
}

/* MARQUEE */
.clients-marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.clients-marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  will-change: transform;
  animation: marqueeRight 25s linear infinite;
}

.clients-marquee-container:hover .clients-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

.client-card-simple {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 220px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.client-card-simple:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: var(--glow-shadow);
}

.client-card-simple img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.client-card-simple .client-name {
  font-size: 1.05rem;
  font-weight: 700;
}

/* Admin Tabs */
.admin-tabs {
  display: flex;
  gap: 0.8rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  padding: 0.8rem 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.tab-btn:hover, .tab-btn.active {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-social-btn:hover {
  background: var(--accent-primary);
  color: #0f0f11;
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: var(--glow-shadow);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.5rem; }
  .floating-social-bar { right: 0.5rem; }
  .modal-card { width: 98vw; }
  .behance-modal-header { padding: 1.5rem; }
  .behance-gallery-stack { padding: 1.5rem 0.5rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .floating-social-bar {
    position: fixed;
    top: auto;
    bottom: 1rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    flex-direction: row;
    border-radius: 30px;
    padding: 0.5rem 1rem;
  }
  .floating-social-title { display: none; }
}
