/*
Theme Name: VD-Digital Portfolio Theme
Theme URI: https://verbumdistrict.com
Author: Verbum District
Author URI: https://verbumdistrict.com
Description: Verbum District Custom Theme
Template: kadence
Version: 1.0.0
Text Domain: kadence-child
*/




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

/* ============================
   RESET BASE
============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ============================
   DISATTIVA PALETTE WORDPRESS + KADENCE
============================ */
:root {
  --wp--preset--color--black: initial !important;
  --wp--preset--color--white: initial !important;
  --wp--preset--color--gray: initial !important;
  --wp--preset--color--accent: initial !important;

  --global-palette1: initial !important;
  --global-palette2: initial !important;
  --global-palette3: initial !important;
  --global-palette4: initial !important;
  --global-palette5: initial !important;
  --global-palette6: initial !important;
  --global-palette7: initial !important;
  --global-palette8: initial !important;
  --global-palette9: initial !important;
}

/* ============================
   PALETTE PERSONALIZZATA
============================ */
:root {
  --black-deep: #030300 !important;
  --gray-dark: #4a4a4a !important;
  --gray-mid: #c3c3c3 !important;
  --off-white: #e5e4e2 !important;
  --light: #f2f3f4 !important;
  --accent: #f0ff40 !important;

  --pad-mobile: 24px;
  --pad-desktop: 120px;

  --radius-card: 32px;
}

/* ============================
   BODY
============================ */
body {
  font-family: "Poppins", sans-serif;
  background: var(--black-deep) !important;
  color: var(--light);
  line-height: 1.6;
}

/* ============================
   RIMUOVIAMO SFONDI INTRUSI DI WP
============================ */
.wp-block-group,
.wp-block-columns,
.wp-block-column,
.wp-block-cover,
.wp-block-section,
.wp-block-container {
  background: transparent !important;
  color: inherit !important;
}

/* ============================
   HEADER & FOOTER CORRETTI
============================ */


/* Footer OK, resta dark */
footer {
  width: 100%;
  background: var(--black-deep) !important;
  color: var(--light);
  padding: 20px var(--pad-mobile);
}

/* Header custom che NON viene sovrascritto */
header.vd-header {
  width: 100%;
  padding: 16px 24px;

  background: rgba(255,255,255,0.05) !important;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);

  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;

  border: none !important;
  box-shadow: none !important;
}


/* ============================
   HERO TRASLUCIDA, FIX COMPLETO
============================ */
.vd-hero {
  width: 100%;
  min-height: 100vh;

  /* SUPPORTO BACKGROUND IMAGE */
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  display: flex;
  align-items: center;
  padding: 0 var(--pad-mobile);
  position: relative;
}

/* Layer trasparente che NON nasconde la foto */
.vd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.32); /* visibilità + eleganza */
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 0;
}

.vd-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: var(--light);
}

/* ============================
   TITOLI E TESTI
============================ */
.vd-title-xl {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.vd-title-lg {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.vd-text {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.vd-lead {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .vd-title-xl { font-size: 4rem; }
  .vd-title-lg { font-size: 2.6rem; }
}

/* ============================
   CTA CAPSULE BUTTON
============================ */
.vd-btn {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid currentColor !important;
  border-radius: 999px;
  color: currentColor !important;
  background: transparent !important;
  font-weight: 600;
  transition: 0.25s ease-in-out;
}

.vd-btn:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* ============================
   SEZIONI
============================ */
.vd-block {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 60px auto;
  padding: 80px var(--pad-mobile);
  border-radius: var(--radius-card);
}

.vd-block-dark {
  background: var(--gray-dark) !important;
  color: var(--light) !important;
}

.vd-block-light {
  background: var(--off-white) !important;
  color: var(--black-deep) !important;
}

.vd-block-mid {
  background: var(--gray-mid) !important;
  color: var(--black-deep) !important;
}

/* ============================
   ABOUT LAYOUT
============================ */
.vd-about-layout {
  display: grid;
  gap: 40px;
}

.vd-about-text { order: 1; }
.vd-about-img  { order: 2; }

@media (min-width: 900px) {
  .vd-about-layout {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .vd-about-img { order: 1; }
  .vd-about-text { order: 2; }
}

.vd-about-img img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 420px;
}

@media (min-width: 900px) {
  .vd-about-img img { max-height: 520px; }
}

/* ============================
   PORTFOLIO, LIGHTBOX
============================ */
.vd-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.vd-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.25s ease-in-out;
}

.vd-thumb:hover {
  transform: scale(1.03);
  opacity: 0.85;
}

#vd-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#vd-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

#vd-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  font-weight: 300;
}

/* ============================
   UTILITY
============================ */
.vd-mb-20 { margin-bottom: 20px; }
.vd-mb-40 { margin-bottom: 40px; }
.vd-mb-60 { margin-bottom: 60px; }






/* ============================
   HEADER TRASPARENTE
============================ */
header.vd-header {
  width: 100%;
  padding: 16px 24px;

  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);

  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;

  border: none;
  box-shadow: none;
}





/* Wrapper */
.vd-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.vd-logo {
  color: var(--light);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}


/* ============================
   NAV DESKTOP (CAPSULE)
============================ */

.vd-nav-desktop {
  display: none; /* mobile first */
  align-items: center;
  gap: 16px;
}

@media (min-width: 900px) {
  .vd-nav-desktop {
    display: flex;
  }
}

/* Capsule */
.vd-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 22px;
  height: 34px;
  border-radius: 999px;

  border: 2px solid var(--light);
  color: var(--light);
  background: transparent;

  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;

  transition: 0.25s ease-in-out;
}

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


/* ============================
   BURGER NEW
============================ */
.vd-burger-new {
  font-size: 2rem;
  line-height: 1;
  color: var(--light);
  background: none;
  border: none;
  cursor: pointer;
  display: block;
}

@media (min-width: 900px) {
  .vd-burger-new {
    display: none;
  }
}


/* ============================
   MENU MOBILE FULLSCREEN
============================ */
.vd-mobile-new {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;

  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(14px);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 99999;
}

/* Apertura menu */
.vd-mobile-new.open {
  display: flex;
}

/* Wrapper interno per centratura verticale */
.vd-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: center;
}

/* Capsule stile desktop, ma grandi */
.vd-mobile-inner .vd-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 26px;
  border-radius: 999px;

  border: 2px solid var(--light);
  color: var(--light);
  background: transparent;

  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;

  transition: 0.25s ease-in-out;
}

.vd-mobile-inner .vd-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Nascondi menu mobile su desktop */
@media (min-width: 900px) {
  .vd-mobile-new {
    display: none !important;
  }
}











html, body, * {
  scroll-behavior: auto !important;
}
.vd-content, .entry-content, .wp-site-blocks, body, html {
  overflow: visible !important;
}

.vd-page {
  background: var(--black-deep) !important;
  color: var(--light) !important;
  padding-top: 120px; /* per compensare l’header fixed */
}

.vd-project-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.vd-project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
  margin: 40px 0;
}

.vd-project-img img {
  width: 100%;
  border-radius: 12px;
  display: block;
}


