/*!
Theme Name: Umby Tech
Theme URI: https://hejdu.it/
Author: Matteo Aiale
Description: Custom Theme sviluppato per Umby Tech
Version: 1.0.0
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES - ONEPAGE.AI STYLE
   ========================================================================== */

:root {
  --color-text: 249, 225, 211;
  --alpha-text: 1;
  --gradient-text: radial-gradient(circle at 13.53% 72.32%, rgb(230 226 219) 0%, transparent 70%), 
                   radial-gradient(circle at 19.74% 14.20%, rgb(255 255 255) 0%, transparent 70%), 
                   radial-gradient(circle at 66% 39%, rgb(255 255 255) 0%, transparent 70%), 
                   radial-gradient(circle at 91% 85%, rgb(255 145 1) 0%, transparent 70%);
  --color-bg: 0, 0, 0;
  --alpha-bg: 1;
  --color-border: 0, 0, 0;
  --alpha-border: 1;
}

/* Gradiente Text System */
.con-kit-quark-color {
  color: rgba(var(--color-text), var(--alpha-text));
}

.con-kit-quark-color--gradient,
.con-kit-quark-color--gradient * {
  background-image: var(--gradient-text);
  color: transparent !important;
  background-clip: text;
  -webkit-background-clip: text;
  caret-color: rgba(var(--color-text), var(--alpha-text));
}

.con-kit-quark-color--gradient * .con-kit-quark-color,
.con-kit-quark-color--gradient * .con-kit-quark-color *,
.con-kit-quark-color--gradient .con-kit-quark-color,
.con-kit-quark-color--gradient .con-kit-quark-color * {
  color: rgba(var(--color-text), var(--alpha-text)) !important;
  background-image: none !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
}

/* ==========================================================================
   ROOT VARIABLES
   - Colori
   - Tipografia
   - Spacing
   - Breakpoints
========================================================================== */

/* ==========================================================================
   TEMPLATE PAGES STYLES
   ========================================================================== */

/* Stili per le pagine template */
.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

.page-content {
    margin-bottom: 2rem;
}

/* Stili per la sidebar di contatto */
.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 0.75rem;
    width: 20px;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.social-links h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    color: var(--secondary-color);
}

/* Responsive per mobile */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .social-links a {
        font-size: 1.3rem;
        margin-right: 0.75rem;
    }
}
:root {
  /* Colori */
  --color-primary: #212121;
  --color-secondary: #000;
  --color-accent: #3498db;
  --color-text: #212121;
  --color-text-hover: #000;
  --color-text-white: #ffffff;
  --color-text-light: #686868;
  --color-background: #ffffff;
  --color-bg-hover: #000;
  --color-background-light: #f8f9fa;
  --color-border: #e9ecef;
  --color-shadow: rgba(0, 0, 0, 0.1);

  /* Tipografia */
  --font-family-primary: "Helvetica Now Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-family-heading: "Helvetica Now Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  /* Line Height */
  --line-height-tight: 1.1;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  --spacing-5xl: 8rem;

  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ==========================================================================
   SCREEN READER TEXT
   - Nasconde contenuti agli utenti normali
   - Rende il testo visibile solo ai lettori di schermo
========================================================================== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ==========================================================================
   BASE STYLES
========================================================================== */

/* Migliora la resa dei font */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  height: 100%;
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-feature-settings: normal;
  font-variation-settings: normal;
}

html,
body {
  margin: 0;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
}

body {
  position: relative;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Reset margini sui titoli */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-family-heading);
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--color-text);
}

/* Paragrafi base */
p {
  font-family: var(--font-family-heading);
  margin: 0 0 var(--spacing-md) 0;
  color: var(--color-text);
}

/* Link */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-text-hover);
  text-decoration: underline;
}

/* Immagini */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lista */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ==========================================================================
   HOME BACKGROUND STYLES
   ========================================================================== */

/* Background della homepage - Solo sezioni 1 e 2 */
/* Home Background Styles - Onepage.ai Exact Style */
.home-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  --image-position-x: 0%;
  --image-position-y: 100%;
}

.con-kit-fade-box img {
  height: 100%;
  width: 100%;
  -o-object-position: var(--image-position-x, center) var(--image-position-y, center);
  object-position: var(--image-position-x, center) var(--image-position-y, center);
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Blur Effect */
.home-background.con-blur-active .home-bg-image {
  filter: blur(5px);
  transition: filter 0.3s ease;
}

/* Container per le sezioni 1 e 2 */
.home-sections-container {
  position: relative;
  z-index: 1;
}

/* Assicuriamo che il contenuto sia sopra il background */
.site-main {
  position: relative;
  z-index: 1;
}

/* Sezioni successive (3, 4, 5, 6) con background pulito */
.section-three,
.section-four,
.section-five,
.section-six {
  background: #ffffff;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   HERO SECTION - ONEPAGE.AI STYLE
   ========================================================================== */

/* Hero Section Container */
.hero-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}


/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Hero Apix (sottotitolo) */
.hero-apix {
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* Hero Title (H1) - Onepage.ai Style */
.hero-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 500; /* Onepage.ai usa font-weight normale */
  line-height: 1; /* Onepage.ai: line-height 1 */
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* Applica il sistema di gradiente Onepage.ai */
.hero-title.con-kit-quark-color--gradient {
  background-image: var(--gradient-text);
  color: transparent !important;
  background-clip: text;
  -webkit-background-clip: text;
  background-size: 100% 100%; /* Gradiente statico come Onepage.ai */
}

/* Hero Text - Onepage.ai Style */
.hero-text {
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.7;
  color: #fff;
  text-wrap: balance !important;
  max-width: 700px;
  margin: 0 auto 3rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  letter-spacing: 0.01em;
}

/* Hero Buttons */
.hero-buttons {
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-buttons .btn {
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Primary Button - Onepage.ai Style (Giallo) */
.hero-buttons .btn-primary {
  background: rgb(255, 184, 3);
  border: none;
  color: rgb(1, 1, 1);
  border-radius: 100px;
  font-weight: 500;
  font-size: 18px;
  padding: 9px 36px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(255, 184, 3, 0.3);
}

.hero-buttons .btn-primary:hover {
  background: rgb(232.5, 166.99, 0);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 184, 3, 0.4);
}

/* Outline Button - Onepage.ai Style (Bianco) */
.hero-buttons .btn-outline-primary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  border-radius: 100px;
  font-weight: 500;
  font-size: 18px;
  padding: 9px 36px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hero-buttons .btn-outline-primary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Rimossa animazione gradientShift - Onepage.ai usa gradiente statico */

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0;
  }
  
  .hero-title {
    font-size: clamp(2rem, 6vw, 3rem); /* Mobile: più piccolo */
  }
  
  .hero-text {
    font-size: 1.25rem;
    max-width: 100%;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    height: 60px;
    font-size: 16px;
    padding: 8px 24px;
  }
}

/* ==========================================================================
   COVER CANVAS - ONEPAGE.AI EXACT STYLE
   ========================================================================== */

/* Canvas Wrapper */
.canvas-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20%;
  margin-top: -20%;
  pointer-events: none;
}

/* Cover Canvas Container */
.cover-canvas {
  position: relative;
  display: flex;
  aspect-ratio: 1.6/1;
  min-width: 100%;
  justify-content: center;
  align-items: flex-start;
  --scroll: 0px;
}

/* Background Image */
.cover-bg {
  position: absolute;
  object-fit: cover;
  object-position: top left;
  width: 85%;
  height: 120%;
  top: 0px;
  transform: translateY(calc(var(--scroll)/7));
  border-radius: 8px;
}

/* Interface comune per le immagini overlay */
.cover-interface {
  position: absolute;
  background-color: rgba(30, 27, 27, 0.5);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 41.548px 145.417px 0 rgba(0, 0, 0, 0.8);
}

/* Immagine destra (cover-code) */
.cover-code {
  top: 30%;
  width: 35%;
  transform: translateX(90%) translateZ(100px) translateY(calc(var(--scroll)/12));
}

/* Immagine sinistra (cover-widget) */
.cover-widget {
  left: 0%;
  top: 15%;
  width: 40%;
  border-radius: 16px;
  transform: translateX(0%) translateZ(100px) translateY(calc(var(--scroll)/4));
}

/* Responsive adjustments - Onepage.ai style */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  .cover-canvas {
    min-width: 800px;
  }
  
  .canvas-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 20%;
    margin-top: -20%;
    min-width: 700px;
  }
  
  .cover-widget {
    width: 70%;
  }
  
  .cover-code {
    display: none;
  }
}



