/* ====================================================================
   LUXEVISUALS STYLESHEET
   - Dark Aesthetic matching LuxeVisuals brand (Electric Violet / Blue)
   - Animated Background
   - Zero glows on buttons or body
   - Elegant hover glow only on top navigation tabs
   ==================================================================== */

:root {
  --bg-deep: #09080e;
  --card-bg: #121019;
  --card-border: rgba(120, 50, 220, 0.25);
  
  /* Brand Colors from LuxeVisuals image */
  --color-purple: #9d25f7;
  --color-blue: #007aff;
  --color-cyan: #00bfff;
  --gradient-luxe: linear-gradient(135deg, #a82cf9 0%, #6830ff 48%, #0084ff 100%);
  --gradient-luxe-hover: linear-gradient(135deg, #b944ff 0%, #7c44ff 48%, #1fa0ff 100%);
  --gradient-card: linear-gradient(160deg, rgba(25, 20, 36, 0.95), rgba(15, 12, 22, 0.98));

  /* Text colors */
  --text-main: #f5f5fa;
  --text-muted: #9592a6;
  --text-sub: #b2aec5;

  /* Fonts */
  --font-common: 'Cinzel', serif;
  --font-brush: 'Permanent Marker', cursive, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-common);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ====================================================================
   FULLSCREEN WEBSITE LOADING VIDEO OVERLAY
   ==================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: all;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* ====================================================================
   ANIMATED BACKGROUND
   Subtle floating luminous particles and shifting chromatic ambient nodes
   ==================================================================== */
.animated-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -3;
  pointer-events: none;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
  animation: floatOrb 22s infinite alternate ease-in-out;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #8d28f8, transparent 70%);
  top: -15%;
  left: -10%;
  animation-duration: 24s;
}

.orb-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #0077ff, transparent 70%);
  bottom: -20%;
  right: -10%;
  animation-duration: 28s;
  animation-delay: -7s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #6c22f5, transparent 70%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 32s;
  animation-delay: -14s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(60px, -45px) scale(1.1);
  }
  100% {
    transform: translate(-40px, 50px) scale(0.95);
  }
}

/* Background diagonal accent shapes */
.bg-diagonal-left {
  position: fixed;
  left: -220px;
  top: -180px;
  width: 600px;
  height: 140%;
  background: linear-gradient(135deg, rgba(25, 18, 38, 0.75) 0%, rgba(10, 8, 16, 0.95) 100%);
  transform: rotate(-18deg);
  z-index: -2;
  pointer-events: none;
}

.bg-diagonal-right {
  position: fixed;
  right: -280px;
  bottom: -220px;
  width: 700px;
  height: 150%;
  background: linear-gradient(215deg, rgba(20, 15, 35, 0.8) 0%, rgba(8, 6, 14, 0.98) 100%);
  transform: rotate(-22deg);
  z-index: -2;
  pointer-events: none;
}

/* ====================================================================
   MAIN SHELL & CARD
   ==================================================================== */
.site-wrapper {
  position: relative;
  width: 100%;
  max-width: 1300px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card {
  position: relative;
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  padding: 40px 52px 48px;
  min-height: 680px;
  display: flex;
  flex-direction: column;
}

/* ====================================================================
   NAVIGATION BAR
   ==================================================================== */
.navbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.04);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

/* GLOWS ONLY PERMITTED ON TOP NAVIGATION WHEN HOVERED OR ACTIVE */
.nav-item {
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-common);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  transition: all 0.25s ease;
  position: relative;
  padding: 6px 0;
  cursor: pointer;
}

.nav-item:hover {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(0, 180, 255, 0.8), 0 0 25px rgba(168, 44, 249, 0.5);
}

.nav-item.active {
  color: #00d2ff;
  font-weight: 700;
  text-shadow: 0 0 16px rgba(0, 210, 255, 0.9), 0 0 30px rgba(104, 48, 255, 0.6);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-luxe);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.9);
}

/* ====================================================================
   BUTTONS (CUSTOM TEXTURE ASSETS: btn_normal.png & btn_hover.png)
   STRICTLY ZERO GLOWS / NO BOX SHADOW GLOW
   ==================================================================== */
.btn {
  text-decoration: none;
  font-family: var(--font-common);
  font-weight: 700;
  letter-spacing: 1.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  border-radius: 14px;
  border: none;
  outline: none;
  color: #ffffff;
  position: relative;
  background-image: url('assets/btn_normal.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  transition: transform 0.18s ease, filter 0.18s ease;
  box-shadow: none !important; /* Zero glows per request */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
}

.btn:hover,
.btn-primary:hover {
  background-image: url('assets/btn_hover.png');
  transform: translateY(-2px);
  filter: brightness(1.05);
}

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

.nav-cta {
  width: 148px;
  height: 48px;
  padding: 0 20px;
  font-size: 13.5px;
}

.btn-lg {
  width: 190px;
  height: 60px;
  padding: 0 24px;
  font-size: 15.5px;
}

/* ====================================================================
   VIEWS / SECTIONS CONTAINER
   ==================================================================== */
.views-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 24px;
}

.view-section {
  display: none;
  width: 100%;
  animation: fadeInView 0.3s ease forwards;
}

.view-section.active {
  display: block;
}

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

/* ====================================================================
   1. HOME VIEW (MATCHING FIRST IMAGE EXACTLY)
   ==================================================================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: 520px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  max-width: 540px;
}

.greeting-subtitle {
  font-size: 15px;
  color: var(--text-sub);
  letter-spacing: 1.5px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.creator-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 1.6px;
  margin-bottom: 12px;
}

.main-headline {
  font-family: var(--font-brush);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: 1.5px;
  transform: rotate(-1deg);
  display: inline-block;
}

.brush-text {
  background: var(--gradient-luxe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Social links (Custom circle button asset) */
.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.social-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-image: url('assets/circle_button.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 19px;
  text-decoration: none;
  box-shadow: none !important;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-circle:hover {
  color: #00d2ff;
  transform: translateY(-2px) scale(1.08);
  filter: brightness(1.15);
}

.cta-actions {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

/* Floating Stats Badge Card */
.stats-badge-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gradient-card);
  border: 1px solid rgba(147, 51, 234, 0.28);
  border-radius: 16px;
  padding: 18px 28px;
  max-width: 450px;
  box-shadow: none !important; /* Zero glows */
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-common);
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient-luxe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.8px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.09);
}

/* Right Column: Logo Video Player */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.video-container {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(147, 51, 234, 0.3);
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ====================================================================
   COMMON SECTION HEADER STYLES
   ==================================================================== */
.section-header-wrap {
  text-align: center;
  margin-bottom: 36px;
}

.section-title {
  font-family: var(--font-brush);
  font-size: 42px;
  letter-spacing: 1.5px;
  background: var(--gradient-luxe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ====================================================================
   2. SERVICES VIEW
   ==================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid rgba(147, 51, 234, 0.22);
  border-radius: 18px;
  padding: 30px 28px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: none !important;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 180, 255, 0.5);
}

.service-index {
  font-family: var(--font-brush);
  font-size: 26px;
  background: var(--gradient-luxe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  min-width: 36px;
}

.service-body h3 {
  font-family: var(--font-common);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.service-body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ====================================================================
   3. TOS (TERMS OF SERVICE) VIEW
   ==================================================================== */
.tos-container {
  max-width: 900px;
  margin: 0 auto;
}

.tos-notice-box {
  background: rgba(147, 51, 234, 0.08);
  border: 1px solid rgba(147, 51, 234, 0.35);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
}

.tos-notice-box i {
  color: var(--color-cyan);
  font-size: 22px;
}

.tos-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tos-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 20px 24px;
}

.tos-num {
  font-family: var(--font-brush);
  font-size: 20px;
  color: var(--color-cyan);
  min-width: 30px;
}

.tos-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-sub);
}

.tos-text strong {
  color: #ffffff;
}

/* ====================================================================
   4. PORTFOLIO VIEW (WITH VIDEOS & PHOTOS TABS)
   ==================================================================== */
.portfolio-tab-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-family: var(--font-common);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: none !important;
}

.tab-btn.active {
  background: var(--gradient-luxe);
  color: #ffffff;
  border-color: transparent;
}

.tab-btn:hover:not(.active) {
  color: #ffffff;
  border-color: rgba(0, 180, 255, 0.4);
}

/* 2 Items per row layout matching request */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

/* ====================================================================
   PORTFOLIO STATUS & SKELETON LOADERS
   ==================================================================== */
.portfolio-status-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(147, 51, 234, 0.09);
  border: 1px solid rgba(147, 51, 234, 0.28);
  border-radius: 12px;
  max-width: 480px;
  margin: 0 auto 24px;
  padding: 10px 22px;
  color: #00d2ff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-status-bar.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  height: 0;
  padding: 0;
  margin-bottom: 0;
  overflow: hidden;
  border: none;
}

.status-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #00d2ff;
  box-shadow: 0 0 10px #00d2ff;
  animation: statusPulse 1.2s infinite ease-in-out;
}

@keyframes statusPulse {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* Skeleton Loading Placeholder for Media Items */
.skeleton-placeholder {
  position: relative;
  background: linear-gradient(110deg, #0e0c15 8%, #1c172a 18%, #0e0c15 33%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  border: 1px solid rgba(147, 51, 234, 0.25);
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(147, 51, 234, 0.3);
  border-top-color: #00d2ff;
  border-radius: 50%;
  animation: spinLoader 0.8s infinite linear;
}

@keyframes spinLoader {
  to {
    transform: rotate(360deg);
  }
}

.skeleton-label {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-sub);
  font-weight: 600;
}

.portfolio-media-item {
  position: relative;
  background: #000000;
  border: 1px solid rgba(147, 51, 234, 0.22);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  animation: fadeInItem 0.35s ease forwards;
}

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

.portfolio-media-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-cyan);
}

.portfolio-media-item.x-embed-item {
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050508;
  padding: 10px;
  min-height: 480px;
  aspect-ratio: auto;
}

.portfolio-media-item.x-embed-item:hover {
  transform: none;
}

.portfolio-media-item.x-embed-item .twitter-tweet {
  margin: 0 auto !important;
}

/* Card-level loading overlay (visible while media is still loading) */
.portfolio-media-item.loading {
  pointer-events: none;
}

.card-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(110deg, #0e0c15 8%, #1c172a 18%, #0e0c15 33%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 16px;
}

.portfolio-media-item.loading video,
.portfolio-media-item.loading img {
  opacity: 0;
}

.portfolio-media-item img,
.portfolio-media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 8, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 1px;
}

.media-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 24px;
  color: #ffffff;
}

.portfolio-media-item:hover .media-hover-overlay {
  opacity: 1;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  background: var(--gradient-card);
  border: 1px dashed rgba(147, 51, 234, 0.35);
  border-radius: 16px;
}

.empty-state i {
  font-size: 38px;
  color: var(--color-cyan);
  margin-bottom: 14px;
  display: block;
}

.empty-state h4 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ====================================================================
   5. CONTACT VIEW
   ==================================================================== */
.contact-container {
  max-width: 760px;
  margin: 0 auto;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.contact-card {
  background: var(--gradient-card);
  border: 1px solid rgba(147, 51, 234, 0.25);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: none !important;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-cyan);
}

.contact-icon-box {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
  transition: all 0.2s ease;
}

.contact-card.discord-card .contact-icon-box {
  color: #5865F2;
}

.contact-card.x-card .contact-icon-box {
  color: #ffffff;
}

.contact-card:hover .contact-icon-box {
  background: var(--gradient-luxe);
  color: #ffffff;
  border-color: transparent;
}

.contact-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-handle {
  font-size: 13.5px;
  color: var(--color-cyan);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.contact-action {
  font-size: 12.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* ====================================================================
   FULLSCREEN MEDIA LIGHTBOX / MODAL
   ==================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  border: 1px solid rgba(147, 51, 234, 0.4);
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 32px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.15);
  color: var(--color-cyan);
}

/* ====================================================================
   RESPONSIVE DESIGN
   ==================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-visual {
    order: -1;
  }
  .video-container {
    max-width: 380px;
  }
  .portfolio-card {
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    gap: 14px;
  }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-around;
    gap: 8px;
  }
  .main-headline {
    font-size: 40px;
  }
  .services-grid,
  .portfolio-grid,
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
}
