/*-- -------------------------- -->
<---     Homepage (local)       -->
<--- -------------------------- -*/

/*-- -------------------------- -->
<---     Hero — Sektion 1       -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #hero {
    /* Full-bleed dark band; pull up under the fixed nav so the nav pill floats over it */
    margin-top: -4.25rem;
    background-color: #1d2021;
    color: #ebdbb2;
    padding: 7rem 1rem 4rem;
    position: relative;
    overflow: hidden;
    /* Curved bottom edge — matches the inner-page #int-hero bend */
    border-bottom-left-radius: 50% clamp(28px, 6vw, 70px);
    border-bottom-right-radius: 50% clamp(28px, 6vw, 70px);
  }
  #hero .hero-container {
    position: relative;
    z-index: 1;
    width: 92%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    text-align: center;
  }
  /* C — Matrix rain canvas, layered behind the hero (dark mode only) */
  #hero .hero-rain {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.18;
    display: none;
  }
  body.dark-mode #hero .hero-rain {
    display: block;
  }
  /* A — Typewriter hero cursor + terminal topper (dark mode only) */
  #hero .hero-cursor {
    display: none;
  }
  body.dark-mode #hero .hero-cursor {
    display: inline-block;
    width: 0.55rem;
    height: 0.9em;
    margin-left: 0.4rem;
    vertical-align: -0.08em;
    background: #b8bb26;
    box-shadow: 0 0 8px rgba(184, 187, 38, 0.8);
    animation: cta-blink 1.05s steps(1) infinite;
  }
  body.dark-mode #hero .hero-topper::before {
    content: '> ';
    color: #b8bb26;
  }
  @media (prefers-reduced-motion: reduce) {
    body.dark-mode #hero .hero-cursor { animation: none; }
  }
  #hero .hero-topper {
    display: block;
    color: var(--primary-hover);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: var(--topperFontSize);
    margin-bottom: 1rem;
  }
  #hero .hero-title {
    color: #f9f5d7;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.25rem;
  }
  #hero .hero-text {
    color: #d5c4a1;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 36rem;
    margin: 0 auto 2rem;
  }
  #hero .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  /* Outline button reads against the dark hero (cream border/text; fills orange on hover) */
  #hero .button-outline {
    color: #ebdbb2;
    border-color: #ebdbb2;
  }

  /* Device mockups (laptop + phone previewing the site).
     PNGs are transparent, so the shadow is applied in CSS via drop-shadow,
     which traces each device's silhouette — no baked-in shadow needed. */
  #hero .hero-visual {
    position: relative;
    width: 100%;
    max-width: 30rem;
    margin: 0 auto;
  }
  #hero .hero-laptop,
  #hero .hero-phone {
    display: block;
    line-height: 0;
  }
  #hero .hero-laptop img,
  #hero .hero-phone img {
    display: block;
    width: 100%;
    height: auto;
  }
  #hero .hero-laptop {
    width: 100%;
    filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.5));
  }
  #hero .hero-phone {
    position: absolute;
    right: -8%;
    bottom: -8%;
    width: 64%;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.55));
  }
}
/* Desktop */
@media only screen and (min-width: 64em) {
  #hero {
    margin-top: -6.25rem;
    padding: 11rem 1rem 6rem;
  }
  #hero .hero-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 4rem;
  }
  #hero .hero-content {
    flex: 1 1 0;
    max-width: 34rem;
  }
  #hero .hero-text {
    margin-left: 0;
    margin-right: 0;
  }
  #hero .hero-buttons {
    justify-content: flex-start;
  }
  #hero .hero-content {
    position: relative;
    z-index: 2;
  }
  #hero .hero-visual {
    flex: 1.15 1 0;
    max-width: 40rem;
    /* tuck the laptop slightly under the heading */
    margin-left: -3rem;
  }
}

/*-- -------------------------- -->
<---   Vad vi gör — Sektion 2   -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em) {
  #vad-vi-gor {
    padding: clamp(3.75rem, 7vw, 6rem) 1rem;
  }
  #vad-vi-gor .vvg-container {
    width: 92%;
    max-width: 80rem;
    margin: auto;
  }
  #vad-vi-gor .section-head {
    text-align: center;
    margin-bottom: 3rem;
  }
  #vad-vi-gor .section-intro {
    margin: 0 auto;
  }
  #vad-vi-gor .vvg-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  #vad-vi-gor .vvg-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: block;
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    padding: 1.75rem;
    transition: transform .35s ease, border-color .35s, box-shadow .35s, background-color .35s;
  }
  #vad-vi-gor .vvg-card:hover {
    transform: translateY(-6px);
    border-color: #1d2021;
    background-color: #1d2021;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  }
  /* Diagonal accent corner, revealed on hover */
  #vad-vi-gor .vvg-card::after {
    content: '';
    position: absolute;
    right: -2.5rem;
    bottom: -2.5rem;
    width: 5rem;
    height: 5rem;
    background: var(--primary);
    transform: rotate(45deg) scale(0);
    transition: transform .35s ease;
    z-index: 0;
  }
  #vad-vi-gor .vvg-card:hover::after {
    transform: rotate(45deg) scale(1);
  }
  /* Faint terminal code at the bottom, fades in on hover */
  #vad-vi-gor .card-code {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 9.5rem;
    background: url('/assets/svgs/card-code.svg') no-repeat left bottom;
    background-size: auto 100%;
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
    z-index: 0;
  }
  #vad-vi-gor .vvg-card:hover .card-code {
    opacity: 0.35;
  }
  /* Keep content above the decorations */
  #vad-vi-gor .vvg-icon,
  #vad-vi-gor .vvg-card h3,
  #vad-vi-gor .vvg-card p,
  #vad-vi-gor .card-link {
    position: relative;
    z-index: 1;
  }
  #vad-vi-gor .vvg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.75rem;
    background: var(--bg-soft);
    color: var(--primary);
    margin-bottom: 1.1rem;
    transition: background-color .35s, color .35s;
  }
  #vad-vi-gor .vvg-card:hover .vvg-icon {
    background: rgba(214, 93, 14, 0.18);
    color: var(--primary-hover);
  }
  #vad-vi-gor .vvg-card h3 {
    color: var(--text);
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    transition: color .35s;
  }
  #vad-vi-gor .vvg-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.1rem;
    transition: color .35s;
  }
  #vad-vi-gor .vvg-card:hover h3 {
    color: #f9f5d7;
  }
  #vad-vi-gor .vvg-card:hover p {
    color: #d5c4a1;
  }
  #vad-vi-gor .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-text);
    font-weight: 700;
    transition: color .35s;
  }
  #vad-vi-gor .card-link .arrow {
    transition: transform .3s;
  }
  #vad-vi-gor .vvg-card:hover .card-link {
    color: var(--primary-hover);
  }
  #vad-vi-gor .vvg-card:hover .card-link .arrow {
    transform: translateX(4px);
  }
  /* Blinking terminal cursor, shown on hover */
  #vad-vi-gor .card-cursor {
    position: absolute;
    right: 1.4rem;
    bottom: 1.5rem;
    width: 0.55rem;
    height: 1rem;
    background: #8ec07c;
    opacity: 0;
    z-index: 1;
    transition: opacity .3s ease .15s;
  }
  #vad-vi-gor .vvg-card:hover .card-cursor {
    opacity: 1;
    animation: cursor-blink 1s steps(1) infinite;
  }
  @keyframes cursor-blink {
    50% { opacity: 0; }
  }
  #vad-vi-gor .vvg-cta {
    text-align: center;
    margin-top: 3rem;
  }
  #vad-vi-gor .owner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3.5rem;
  }
  #vad-vi-gor .owner-photo {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    border: 2px solid var(--border);
    object-fit: cover;
    object-position: center 20%;
    flex-shrink: 0;
  }
  #vad-vi-gor .owner-info {
    display: flex;
    flex-direction: column;
    text-align: left;
  }
  #vad-vi-gor .owner-name {
    font-weight: 700;
    color: var(--text);
    font-size: 1.1rem;
  }
  #vad-vi-gor .owner-title {
    color: var(--text-muted);
    font-size: 0.9rem;
  }
}
/* Tablet+ : 2 cards on top, 3 below */
@media only screen and (min-width: 48em) {
  #vad-vi-gor .vvg-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  #vad-vi-gor .vvg-card:nth-child(1),
  #vad-vi-gor .vvg-card:nth-child(2) {
    grid-column: span 3;
  }
  #vad-vi-gor .vvg-card:nth-child(3),
  #vad-vi-gor .vvg-card:nth-child(4),
  #vad-vi-gor .vvg-card:nth-child(5) {
    grid-column: span 2;
  }
}
/* Dark mode: the terminal glows a little brighter on hover */
@media only screen and (min-width: 0em) {
  body.dark-mode #vad-vi-gor .vvg-card:hover .card-code {
    opacity: 0.55;
    filter: brightness(1.3) saturate(1.25);
  }
  body.dark-mode #vad-vi-gor .vvg-card:hover .card-cursor {
    box-shadow: 0 0 8px #8ec07c, 0 0 14px rgba(142, 192, 124, 0.6);
  }
}

/*-- -------------------------- -->
<--- Vad vi erbjuder — Sektion 3 -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em) {
  #vad-vi-erbjuder {
    background: #1d2021;
    color: #ebdbb2;
    padding: clamp(3.75rem, 7vw, 6rem) 1rem;
  }
  #vad-vi-erbjuder .vve-container {
    width: 92%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  #vad-vi-erbjuder .vve-intro .topper {
    color: var(--primary-hover);
  }
  #vad-vi-erbjuder .vve-intro .section-title {
    color: #f9f5d7;
  }
  #vad-vi-erbjuder .vve-intro .section-intro {
    color: #d5c4a1;
    margin-bottom: 1.75rem;
  }
  #vad-vi-erbjuder .vve-intro strong {
    color: #f9f5d7;
  }
  #vad-vi-erbjuder .vve-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  #vad-vi-erbjuder .vve-list li {
    display: flex;
    gap: 1rem;
  }
  #vad-vi-erbjuder .vve-list .check {
    color: #8ec07c;
    flex-shrink: 0;
    line-height: 1;
  }
  #vad-vi-erbjuder .vve-list h3 {
    color: #f9f5d7;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }
  #vad-vi-erbjuder .vve-list p {
    color: #a89984;
    font-size: 0.95rem;
    line-height: 1.55;
  }
}
/* Desktop: text block left, checklist (2-col) right */
@media only screen and (min-width: 64em) {
  #vad-vi-erbjuder .vve-container {
    flex-direction: row;
    align-items: flex-start;
    gap: 4.5rem;
  }
  #vad-vi-erbjuder .vve-intro {
    flex: 0 0 24rem;
    max-width: 26rem;
  }
  #vad-vi-erbjuder .vve-list {
    flex: 1;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }
}

/*-- -------------------------- -->
<---    Portfolio — Sektion 4   -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em) {
  #portfolio {
    padding: clamp(3.75rem, 7vw, 6rem) 1rem;
  }
  #portfolio .port-container {
    width: 92%;
    max-width: 80rem;
    margin: auto;
  }
  #portfolio .section-head {
    text-align: center;
    margin-bottom: 3rem;
  }
  #portfolio .section-intro {
    margin: 0 auto;
  }
  #portfolio .port-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  #portfolio .port-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    overflow: hidden;
    transition: transform .35s ease, border-color .35s, box-shadow .35s;
  }
  #portfolio .port-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
  }
  /* Browser mockup */
  #portfolio .port-visual {
    background: #32302f;
    border-bottom: 1px solid var(--border);
  }
  #portfolio .browser-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.8rem;
    background: #282828;
  }
  #portfolio .browser-bar .dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: #665c54;
  }
  #portfolio .browser-bar .dot:nth-child(1) { background: #cc241d; }
  #portfolio .browser-bar .dot:nth-child(2) { background: #d79921; }
  #portfolio .browser-bar .dot:nth-child(3) { background: #98971a; }
  #portfolio .browser-url {
    margin-left: 0.5rem;
    font-size: 0.72rem;
    color: #a89984;
    background: #1d2021;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
  }
  #portfolio .site-mock {
    background: #f9f5d7;
    padding: 0.9rem;
    height: 12rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }
  #portfolio .sm-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.2rem;
  }
  #portfolio .sm-logo {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 0.3rem;
    background: var(--mock-accent, #689d6a);
  }
  #portfolio .sm-links {
    display: flex;
    gap: 0.3rem;
  }
  #portfolio .sm-links i {
    width: 1.1rem;
    height: 0.32rem;
    border-radius: 999px;
    background: #d5c4a1;
    display: block;
  }
  #portfolio .sm-line {
    height: 0.5rem;
    border-radius: 999px;
    background: #d5c4a1;
    display: block;
  }
  #portfolio .sm-line.lg { width: 70%; height: 0.8rem; background: #3c3836; }
  #portfolio .sm-line.md { width: 90%; }
  #portfolio .sm-btn {
    margin-top: auto;
    width: 5rem;
    height: 1.3rem;
    border-radius: 999px;
    background: var(--mock-accent, #689d6a);
  }
  #portfolio .sm-hero {
    flex: 1;
    border-radius: 0.4rem;
    background: linear-gradient(135deg, var(--mock-accent), #fabd2f);
  }
  #portfolio .sm-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    flex: 1;
  }
  #portfolio .sm-thumbs span {
    border-radius: 0.3rem;
    background: #ebdbb2;
  }
  #portfolio .sm-thumbs span:nth-child(2) { background: var(--mock-accent); }
  #portfolio .sm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.4rem;
    flex: 1;
  }
  #portfolio .sm-grid span {
    border-radius: 0.3rem;
    background: #ebdbb2;
  }
  #portfolio .sm-grid span:nth-child(1),
  #portfolio .sm-grid span:nth-child(4) { background: var(--mock-accent); }
  /* per-project accents */
  #portfolio .sm-restaurant { --mock-accent: #cc241d; }
  #portfolio .sm-bygg { --mock-accent: #458588; }
  #portfolio .sm-salong { --mock-accent: #b16286; }

  #portfolio .port-body {
    padding: 1.5rem;
  }
  #portfolio .port-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 0.4rem;
  }
  #portfolio .port-body h3 {
    color: var(--text);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }
  #portfolio .port-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  #portfolio .port-body .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: color .3s;
  }
  #portfolio .port-body .card-link .arrow {
    transition: transform .3s;
  }
  #portfolio .port-card:hover .card-link {
    color: var(--primary-hover);
  }
  #portfolio .port-card:hover .card-link .arrow {
    transform: translateX(4px);
  }
}
/* Desktop: 3 across */
@media only screen and (min-width: 48em) {
  #portfolio .port-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*-- -------------------------- -->
<---    Prestanda — Sektion 5   -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em) {
  #prestanda {
    background: #1d2021;
    color: #ebdbb2;
    padding: clamp(3.75rem, 7vw, 6rem) 1rem;
  }
  #prestanda .perf-container {
    width: 92%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  #prestanda .perf-text .topper {
    color: var(--primary-hover);
  }
  #prestanda .perf-text .section-title {
    color: #f9f5d7;
  }
  #prestanda .perf-text .section-title .accent {
    color: var(--primary-hover);
  }
  #prestanda .perf-text .section-intro {
    color: #d5c4a1;
    margin-bottom: 1.75rem;
  }
  #prestanda .perf-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-width: 32rem;
  }
  #prestanda .perf-points li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
  }
  #prestanda .perf-points .pp-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
    line-height: 1;
  }
  #prestanda .perf-points p {
    color: #d5c4a1;
    font-size: 0.98rem;
    line-height: 1.55;
  }
  /* Stat boxes */
  #prestanda .perf-stats {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
  }
  #prestanda .perf-stat {
    flex: 1;
  }
  #prestanda .stat-num {
    display: block;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    color: var(--primary-hover);
    line-height: 1;
  }
  #prestanda .stat-label {
    color: #a89984;
    font-size: 0.9rem;
  }
  /* PageSpeed mock card */
  #prestanda .perf-pagespeed {
    background: #f9f5d7;
    border-radius: 0.9rem;
    padding: 1.5rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  }
  #prestanda .ps-gauges {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  #prestanda .ps-gauge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
  }
  #prestanda .gauge {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    border: 3px solid #689d6a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #689d6a;
    font-weight: 700;
    font-size: 1.05rem;
  }
  #prestanda .gauge-label {
    font-size: 0.68rem;
    color: #665c54;
    text-align: center;
    line-height: 1.2;
  }
  #prestanda .ps-metrics {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
  }
  #prestanda .ps-metrics li {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #665c54;
    border-top: 1px solid #d5c4a1;
    padding-top: 0.45rem;
  }
  #prestanda .ps-metrics b {
    color: #689d6a;
    white-space: nowrap;
  }
}
/* Desktop: text left, visual right */
@media only screen and (min-width: 64em) {
  #prestanda .perf-container {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
  #prestanda .perf-text {
    flex: 1;
  }
  #prestanda .perf-visual {
    flex: 1;
  }
}

/*-- -------------------------- -->
<---     Priser — Sektion 7     -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em) {
  #priser-home {
    padding: clamp(3.75rem, 7vw, 6rem) 1rem;
  }
  #priser-home .priser-container {
    width: 92%;
    max-width: 80rem;
    margin: auto;
  }
  #priser-home .section-head {
    text-align: center;
    margin-bottom: 3.5rem;
  }
  #priser-home .section-head .button-solid {
    margin-top: 1.25rem;
  }
}

/* Omdömen (Sektion 9) removed — no customers yet; revisit later. */

/*-- -------------------------- -->
<---  7.2 Dark-mode flourishes  -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em) {
  /* F — Count-up stats: green terminal styling in dark mode */
  body.dark-mode #prestanda .stat-num {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    color: #b8bb26;
    text-shadow: 0 0 12px rgba(184, 187, 38, 0.45);
  }

  /* G — Card glow + scanlines on hover (dark mode only) */
  body.dark-mode #vad-vi-gor .vvg-card:hover,
  body.dark-mode #portfolio .port-card:hover {
    border-color: #b8bb26;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45), 0 0 36px rgba(184, 187, 38, 0.2);
  }
  body.dark-mode #vad-vi-gor .vvg-card::before,
  body.dark-mode #portfolio .port-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .35s ease;
    background: repeating-linear-gradient(rgba(184, 187, 38, 0.05) 0 1px, transparent 1px 3px);
    border-radius: inherit;
  }
  body.dark-mode #vad-vi-gor .vvg-card:hover::before,
  body.dark-mode #portfolio .port-card:hover::before {
    opacity: 1;
  }
}

