:root {
  --bg-dark: #050505;
  --bg-panel: #111111;
  --bg-input: #1a1a1a;
  --accent: #e50914;
  --accent-hover: #f40612;
  --accent-glow: rgba(229, 9, 20, 0.3);
  --text-main: #f5f5f5;
  --text-muted: #888888;
  --font-main:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --border-radius: 12px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --nav-height: 80px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  margin: 0;
  padding: 0;
}

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--nav-height);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Navigation - Premium Glassmorphism */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: rgba(5, 5, 5, 0.75);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.brand .mw {
  color: var(--text-muted);
  font-weight: 300;
}

.recording-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(229, 9, 20, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 9, 20, 0);
  }
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active-link {
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle,
.mobile-menu-close {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition);
}

/* SPA Architecture & Animations */
#app-content {
  flex: 1;
}

.spa-page {
  display: none;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.spa-page.active {
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  min-height: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #9b0007);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(229, 9, 20, 0.1);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.action-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 0 60px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(229, 9, 20, 0.15) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, #ff4d4d, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 80px;
}

.service-card {
  background: linear-gradient(145deg, var(--bg-panel), #0a0a0a);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--border-radius);
  box-shadow: inset 0 0 0 1px rgba(229, 9, 20, 0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(145deg, #151515, var(--bg-panel));
}

.service-card:hover::after {
  box-shadow: inset 0 0 0 1px var(--accent);
}

.service-card i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 20px;
  display: inline-block;
  background: linear-gradient(135deg, #ff4d4d, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About / Info Section */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 100px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.about-visual {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4/4;
  background: linear-gradient(145deg, #1a1a1a, #000);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  background: conic-gradient(
    from 0deg,
    transparent,
    var(--accent),
    transparent 30%
  );
  animation: rotate 10s linear infinite;
  opacity: 0.15;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.about-visual-content {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 40px;
}

.about-visual-content h3 {
  font-size: 4rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.about-visual-content p {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

/* Headers & Portfolio */
.page-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.filter-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-panel);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 44px;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-main);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-panel);
  cursor: pointer;
}

.portfolio-item img,
.portfolio-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover img,
.portfolio-item:hover video {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-meta {
  transform: translateY(20px);
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-meta {
  transform: translateY(0);
}

.portfolio-overlay p {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.portfolio-overlay h3 {
  font-size: 1.25rem;
  color: var(--text-main);
}

.portfolio-icon i {
  font-size: 2.5rem;
  color: var(--text-main);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.loader,
.loader-small {
  text-align: center;
  color: var(--text-muted);
  width: 100%;
}
.loader {
  padding: 60px;
  grid-column: 1 / -1;
}
.loader i,
.loader-small i {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.5rem;
  color: var(--accent);
}

/* Forms */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-panel);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
}

label i {
  color: var(--accent);
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
  min-height: 48px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #222;
  box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: #666;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

/* Global Footer */
.site-footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 24px 40px;
  margin-top: auto; /* Pushes to bottom of flex container */
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand .brand {
  margin-bottom: 20px;
  justify-content: flex-start;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  max-width: 350px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--text-main);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-col a,
.footer-col span {
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #666;
  font-size: 0.85rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-panel);
  color: var(--text-main);
  padding: 16px 24px;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 350px;
}

.toast.success {
  border-left-color: #2ed573;
}
.toast.success i {
  color: #2ed573;
}
.toast.error {
  border-left-color: #ff4757;
}
.toast.error i {
  color: #ff4757;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Media Queries */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 4rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 30px 30px;
    gap: 25px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }
  .nav-links.show {
    right: 0;
  }
  .nav-links a {
    font-size: 1.2rem;
  }
  .mobile-menu-close {
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
  }
  .form-container {
    padding: 30px 20px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }

  .action-group {
    flex-direction: column;
    width: 100%;
  }
  .action-group .btn {
    width: 100%;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 60px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .toast-container {
    bottom: 20px;
    left: 20px;
    right: 20px;
    align-items: center;
  }
  .toast {
    width: 100%;
    max-width: none;
  }
}

/* --- PORTFOLIO VIEWS BADGE --- */
.portfolio-views {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item:hover .portfolio-views {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-views i {
  color: var(--accent);
  font-size: 1rem;
}

/* --- MEDIA LIGHTBOX / MODAL --- */
.media-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 5, 5, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 9999;
  padding: 40px 24px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.media-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 1100px;
  width: 100%;
  background: var(--bg-panel);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.95) translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.media-modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}

.modal-body {
  width: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  max-height: 75vh;
  position: relative;
}

.modal-body img,
.modal-body video {
  max-width: 100%;
  max-height: 75vh;
  width: 100%;
  object-fit: contain;
}

.modal-meta {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-panel);
  flex-wrap: wrap;
  gap: 15px;
}

.modal-meta h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.modal-meta p {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.modal-meta p i {
  color: var(--accent);
  font-size: 1.2rem;
}

@media (max-width: 767px) {
  .media-modal {
    padding: 20px 15px;
  }
  .modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .modal-meta h3 {
    font-size: 1.1rem;
  }
}

/* ========================================= */
/* LIGHT / DARK MODE THEME                   */
/* ========================================= */

/* 1. Define new layout variables for dark mode */
:root {
  --bg-nav: rgba(5, 5, 5, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --card-bg-2: #0a0a0a;
  --card-bg-hover: #151515;
  --footer-bg: #000;
}

/* 2. Define the Light Theme variables */
[data-theme="light"] {
  --bg-dark: #f0f2f5;
  --bg-panel: #ffffff;
  --bg-input: #e4e6eb;
  --text-main: #1c1e21;
  --text-muted: #606770;

  --bg-nav: rgb(253, 253, 254,);
  --border-subtle: rgba(0, 0, 0, 0.1);
  --card-bg-2: #f8f9fa;
  --card-bg-hover: #f1f3f5;
  --footer-bg: #ffffff;
}

/* 3. Override previously hardcoded elements */
.navbar {
  background-color: var(--bg-nav);
  border-bottom-color: var(--border-subtle);
}
.nav-links a:hover,
.nav-links a.active-link {
  color: var(--text-main);
}
.mobile-menu-toggle,
.mobile-menu-close {
  color: var(--text-main);
}
.service-card {
  background: linear-gradient(145deg, var(--bg-panel), var(--card-bg-2));
  border-color: var(--border-subtle);
}
.service-card:hover {
  background: linear-gradient(145deg, var(--card-bg-hover), var(--bg-panel));
}
.about-visual {
  background: linear-gradient(145deg, var(--bg-input), var(--bg-panel));
  border-color: var(--border-subtle);
}
.about-visual-content h3 {
  color: var(--text-main);
}
input,
select,
textarea {
  border-color: var(--border-subtle);
  color: var(--text-main);
}
input:focus,
select:focus,
textarea:focus {
  background: var(--bg-panel);
}
.site-footer {
  background: var(--footer-bg);
  border-top-color: var(--border-subtle);
}
.footer-bottom {
  border-top-color: var(--border-subtle);
}
.modal-content {
  border-color: var(--border-subtle);
}

/* Invert the calendar icon for light mode dates */
[data-theme="light"] input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0);
}

/* 4. Theme Button Styling */
.theme-toggle-btn {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}
.theme-toggle-btn:hover {
  color: var(--accent);
  transform: rotate(15deg);
}

@media (max-width: 767px) {
  .nav-links {
    background: var(--bg-nav);
    border-left-color: var(--border-subtle);
  }
  .theme-toggle-btn {
    margin-right: 15px;
  }
}
