@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap');
/*reset style*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/*general style*/
/* LANGUAGE SWITCHER*/
.language-switcher-compact {
  position: fixed;
  top: 10px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
body:not(.preloader-active) .btn-toggle {
    position: fixed !important;
    top: 20px;
    right: 25px;
    z-index: 100000;
}
/* Afișează switcher-ul doar după ce preloader-ul dispare */
.language-switcher-compact.show {
  opacity: 1;
  visibility: visible;
}
.lang-option {
  cursor: pointer;
  transition: opacity 0.2s ease;
  user-select: none;
  white-space: nowrap;
}
.lang-option:hover {
  opacity: 0.4;
}
.lang-option.active {
  font-weight: 700;
  opacity: 1;
}
/* Responsive pentru mobile */
@media (max-width: 768px) {
  .language-switcher-compact {
    left: 50%;
    top: 20px;
    font-size: 13px;
    gap: 8px;
    width: auto;
    justify-content: center;
  }
}
.poppins-thin-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: italic;
    line-height: 2;
}

 body {
    font-size: 1rem;
    /*
    background-color: #210e0e;*/
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* VIDEO BACKGROUND GLOBAL */
#global-bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
}

body.preloader-active #global-bg-video {
    opacity: 0 !important;
    visibility: hidden !important;
}
body:not(.preloader-active) #global-bg-video {
    opacity: 1;
    visibility: visible;
}


/* Asigură că html și body ocupă întreaga înălțime a paginii */
html, body {
  height: 100%;
  max-width: 100vw !important; /* Previne depășirea lățimii */
  overflow-x: hidden; /* Previne derularea orizontală */
  margin: 0;
  padding: 0;
}
#intro-screen {
    position: fixed;
    width: 100%;
    height: 100vh;
    background:#210e0e;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* Z-index mai mare pentru a fi deasupra tuturor */
}
#intro-screen.hide {
    display: none !important; /* Dispare imediat, nu cu fade */
    opacity: 0;
    pointer-events: none; /* Previne interacțiunile cu ecranul de introducere */
}
/* Ascunde header-ul și language switcher-ul în timpul preloader-ului */
/* Ascunde elementele implicit pentru preloader */
header,
footer,
#languageSwitcherCompact {
    display: none;
}
/* Afișează elementele doar după ce preloader-ul se termină */
body:not(.preloader-active) header {
    display: block;
}
body:not(.preloader-active) footer {
    display: flex;
}
body:not(.preloader-active) #languageSwitcherCompact {
    display: flex; /* Păstrează flex pentru layout orizontal */
}
/* Asigură că main-content ocupă spațiul rămas și împinge footer-ul jos */
#main-content {
    flex: 1;
    opacity: 1; /* Default visibility - va fi controlat de GSAP */
    will-change: opacity; /* Optimizare pentru animații */
}
#logo {
    width: 300px;
    animation: rotate 2s linear;
    background: url('folderimaginiz/logoalb.png') no-repeat center center; /* Asigură că logo-ul este centrat */
    background-size: contain;
}
@keyframes rotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 .7rem; 
    width: 100%;
    box-sizing: border-box; 
}
section:not(.hero) {
    padding: 6rem 0;
    width: 100%;
    display: block;
    clear: both;
}
/* Asigură că secțiunile sunt una sub alta */
#about, #contact {
    width: 100% !important;
    display: block !important;
    float: none !important;
    clear: both !important;
}
section > .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}
section >.section-subtitle{
    text-align: center;
    color: #9d9c9c;
}
/*Header style*/
header { 
  color: #fff;
  line-height: 1.4;
  background-color: rgba(33, 14, 14, 0.75); /* opacity pentru a vedea videoclipul */
  padding: 0 1rem; /* spațiu de 2rem la stânga și dreapta */
}
header > .container {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Spațiu între logo și butonul de meniu */
    padding-top: 1.3rem;
    padding-bottom: 1.3rem; 
    flex-wrap: wrap;
}
/* Stilizare logo */
header .btn-toggle {
    background: transparent;
    color:#fff;
    border: solid 2px #fff;
    border-radius: 4px;
    padding: 0.5rem;
}
header .btn-toggle:hover {
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
    background: transparent;
    color: #210e0e;
}
header .navigation {
    flex-basis: 100%;
    margin-top: 1rem;
    display: none; /* Ascunde meniul în mod implicit */
}
header .navigation.active{
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
    background-color: rgba(33, 14, 14, 0.75);
    padding: 1rem;
    margin-top: 0;
}
header .nav-items {
    list-style: none;
    font-size: clamp(0.2rem, 2vw + 0.5rem, 0.9rem);  
}
.nav-items .nav-link {
    text-decoration: none;
    color: #7d7b7b;
    padding: 0.5rem 0;
    display: block;
    transition: all 0.5s ease-in-out;
    border-radius: 4px;
}
.nav-items .nav-link:hover {
    background-color: #a89a9a;
    transform: translateX(5px); /* Mută butonul spre dreapta cu 5px */
}
/* hero style*/
.hero{
    height: 100vh;
    position: relative; 
    padding-bottom: 0;
}
/* Stilizare video de fundal */
.background-video {
    position: absolute; /* Poziționează videoclipul în spatele conținutului */
    top: 0;
    left: 0;
    width: 100%; /* Se întinde pe toată lățimea secțiunii */
    height: 100%; /* Se întinde pe toată înălțimea secțiunii */
    object-fit: cover; /* Se ajustează pentru a acoperi complet secțiunea fără distorsionare */
    z-index: -1; /* Videoclipul rămâne în fundal */
    opacity: 1; /* Ușoară transparență pentru un efect estetic */
    /* Optimizări pentru performanță */
    will-change: auto;
    transform: translateZ(0); /* Forțează accelerarea hardware */
    backface-visibility: hidden;
}
/* Stilizare strat semi-transparent pentru lizibilitate */
.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: transparent;
    z-index: 0; /* Strat intermediar între video și text */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* Stilizare conținut text */
.hero-content {
    position: relative; /* Conținutul apare deasupra fundalului video */
    z-index: 1; /* Prioritate față de stratul video și overlay */
    color: #fff; 
    text-align: center; 
    padding: 15px; /* Spațiere pentru un aspect aerisit */
    text-wrap: balance;
}
.hero-content h1 {
    border: 1px solid #b3b3b3;
    padding: 15px 5px;
    font-size: clamp(1rem, 2vw, 1.2rem); 
    margin-bottom: 15px;
}  
.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 20px; 
    line-height: 1.6 ;
    display: block;
    font-family: 'Poppins', sans-serif; 
    font-weight: 300;
    padding: 0 50px; 
}
.btn-primary1 {
    justify-content: center !important;
    align-items: center;
    opacity: 0.8; /* 50% transparent */
    transition: opacity 0.5s; 
    font-weight: bold;
    display: inline-block;
    text-decoration: none; 
    color: #fff;
    padding: 1rem 1rem; /* Spațiere internă */
    border-radius: 5px; 
    font-size: clamp(0.9rem, 2vw, 1.2rem); 
    transition: background-color 0.5s, transform 0.5s; 
    backdrop-filter: blur(8px); /* Creează efectul de apă (necesită suport browser) */
}
.btn-primary1:hover {
    background: rgba(255, 255, 255, 0.463); /* Fundal mai puțin transparent */
    border-color: rgba(255, 255, 255, 0.797); /* Ramă mai intensă */
    opacity: 0.8;
    transform: scale(1.5);
}
@keyframes miscare-buton {
    0% {transform: translateX(0);}
    25% {transform: translateX(5px);}
    50% {transform: translateX(0);}
    75% {transform: translateX(-5px);}
    100% {transform: translateX(0);}
}
.btn-primary:active {
    animation: miscare-buton 0.5s ease; /* Aplică animația la click */
}
.hero-bottom-description {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.2rem); 
    color: #f8f8f8;
    padding: 0 30px; 
}

.scrolling-banner {
  width: 100%;
  height: 40px;
  background-color:rgba(83, 64, 64, 0.60);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.scrolling-text {
  white-space: nowrap;
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 20s linear infinite;
  color: #ccc; /* gri deschis */
  font-size: 1.4rem;
  font-family: 'Dancing Script', cursive; 
  font-weight: 400; 
  letter-spacing: 3px;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/*services style*/
.services {
    background-color: rgba(33, 14, 14, 0.75); /* opacity pentru a vedea videoclipul */
    padding: 30px;
}
.section-subtitle {
    color: #b3b3b3; 
    font-size: clamp(1.5rem, 2vw, 1.7rem); 
    margin-bottom: 40px;
    padding: 0 20px; /* Spațiu pe laterale */
    font-family: 'Dancing Script', cursive; 
    font-weight: 500; 
    letter-spacing: 2px;
}
.services-description {
    font-size: clamp(1rem, 2vw, 1.2rem); 
    color: #8b8b8b; 
    margin-top: 15px;
    line-height: 1.8; 
    margin-bottom: 20px;
} 
/* Stilizare mozaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(20, 1fr); /* 20 coloane */
  grid-template-rows: repeat(20, 1fr);    /* 20 rânduri */
  width: 500px;   /* dimensiunea imaginii */
  height: 500px;
  perspective: 1000px; /* pentru efect 3D */
  margin: 10px auto;   /* centrare */
  transform-style: preserve-3d; /* esențial pentru 3D */
}

.tile {
  will-change: transform, opacity, box-shadow; /* optimizare performanță - specifică toate proprietățile animate */
  background-image: url('./folderimaginiz/grup.jpg'); /* fotografia ta */
  background-size: 500px 500px; /* corectare dimensiune pentru a se potrivi exact pe grid */
  box-shadow: 0 0 0 rgb(18, 0, 0); /* inițial fără umbră */
  transform-style: preserve-3d; /* esențial pentru 3D */
  backface-visibility: visible; /* pentru GSAP 3D */
  /* Optimizări pentru animații line pe mobil */
  transform: translateZ(0); /* forțează accelerarea hardware */
  -webkit-backface-visibility: hidden; /* previne flickering pe iOS/Safari */
  -webkit-perspective: 1000px; /* perspective pentru WebKit */
  perspective: 1000px; /* perspective standard pentru compatibilitate */
  -webkit-transform: translateZ(0); /* accelerare hardware WebKit */
  transition: none; /* elimină orice tranziții CSS care ar putea conflicta cu GSAP */
}
.mosaic-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* mută fix în centru */
  color: rgb(248, 16, 16);          /* vizibil pe imagine */
  font-size: 1.2rem;     /* ajustează mărimea */
  font-weight: normal;     /* opțional, pentru claritate */
  z-index: 10; /* deasupra tuturor */
}
/* wrapper-ul principal */
.circle__wrapper {
  width: 100%;
  height: 70vh;
  position: relative;
}
.circle__wrapper ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.circle__text__wrapper__left {
  position: absolute;
  width: 100vw;
  height: 20%;
  left: 20%;
  transform: translateX(-100%);
  font-size: 1.5rem;

  @media screen and (max-width: 425px) {
    font-size: 1.5rem;
  }
}
.circle__text__wrapper__right {
  position: absolute;
  width: 100vw;
  height: 40%;
  left: 60%;
  text-align: right;
  font-size: 1.5rem;
}

/* Media query pentru desktop - cercuri jumătăți */
@media screen and (min-width: 769px) {
  .circle__text__wrapper__left {
    left: -35%;
    transform: translateX(0%);
    font-size: inherit; 
  }
  .circle__text__wrapper__right {
    left: 25%;
    font-size: inherit;
  }
  .circle__wrapper {
    position: relative;
    height: 90vh;     /* rezervă spațiu vertical */
    margin: 3rem 0;   /* spațiu față de alte secțiuni */
  }

}
.circle__text__wrapper__left,
.circle__text__wrapper__right {
  top: -120px; /* ridică cercurile */
}
.circle__text__left__item,
.circle__text__right__item {
  color: rgb(172, 4, 4);
  position: absolute;
  font-family: sans-serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 2rem);
  text-transform: uppercase;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  width: 25rem;

  @media screen and (max-width: 768px) {
    width: 15rem;
  }

  @media screen and (max-width: 425px) {
    width: 10rem;
  }
}
.services > .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.service-card, .section-title, .section-subtitle {
    text-align: center;
    padding: 1rem;
    position: relative;
}
.service-card .section-title {
    margin-bottom: 15rem;
}
.service-card .section-subtitle {
    margin-top: 0; /* Elimină padding inutil */
}
body { 
    font-family: poppins-thin-italic, sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem); 
    background-color:#221414; /* Fondul paginii */
    color: rgb(159, 158, 158); /* Scrisul alb */
   
} 
.service-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  transition-delay: calc(var(--index) * 0.3s);
}
.service-card.show {
  opacity: 1;
  transform: translateY(0);
}

/*gallery style*/

.gallery {
  padding: 30px;
  background-color: rgba(33, 14, 14, 0.75); /* 75% opacity pentru a vedea videoclipul */
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Container pentru carduri */
.gallery-cards-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.gallery .section-title,
.gallery .section-subtitle {
  text-align: center;
  margin: 0 auto;
  padding: 1rem;
  position: relative;
}
/* Stilizare pentru container */
.wide-image-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: black;
  margin-bottom: 30px;
}

/* Stilizare pentru imagine */
.wide-image-container img {
  width: 100%; /* Lățime mai mare pentru efectul de panoramare */
  height: auto;
  display: block;
  position: relative;
  animation: panorama 6s ease-in-out infinite alternate;
}
/* Definirea animației */
@keyframes panorama {
  from {
    transform: translateX(-15%);
  }
  to {
    transform: translateX(0);
  }
}

/* Stilizare pentru cardurile 3D */
.gallery-card-3d {
  perspective: 1000px;
  width: 250px;
  height: 450px;
  margin: 1rem auto;
}
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 3.5s ease;
}
.gallery-card-3d.flipped .card-inner {
  transform: rotateY(180deg);
  box-shadow: 0 20px 40px rgb(9, 0, 0);
}
.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
}
.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}
.card-back {
  background:  #534040;
  color: #a8a6a6;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  transform-style: preserve-3d;
}

/* Stilizare pentru butonul de întoarcere */
.return-circle {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 2px solid #564343;
  border-radius: 50%;
  cursor: pointer;
  background: conic-gradient(#564343 0% 25%, #fff 25% 100%);
}
@keyframes floatCard {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}
.card-front {
  animation: floatCard 4.5s ease-in-out infinite;
}
.gallery-card-3d.flipped .card-front {
  animation: none;
}

/* Media Query pentru ecrane mari */
@media (min-width: 768px) {
  .gallery-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
  }
  .gallery .section-title,
  .gallery .section-subtitle,
  .gallery .wide-image-container {
    width: 100%;
  }
  .gallery-card-3d {
    margin: 1rem 0;
  }
  .wide-image-container img {
    width: 100%; /* Lățime fixă pentru imaginea largă */
    height: 300px; /* Înălțime fixă pentru imaginea largă */
    object-fit: cover; /* Asigură că imaginea acoperă complet containerul */
    object-position: center; 
  }
  .gallery .section-title {
    margin-bottom: 20px;
  }
  .gallery .section-subtitle {
    margin-bottom: 10px; 
  }
}

/* Stilizare pentru citatul de sub galerie */
.gallery-quote {
  text-align: center;
  margin-top: 40px;
  font-family: Dancing Script, cursive; /* elegant, caligrafic */
  font-size: clamp(1.4rem, 2vw, 2rem); ;
  color: #6b6a6a; /* sau alb dacă fundalul e închis */
}
.gallery-quote .quote-author {
  text-align: center;
  margin-top: 40px;
  font-family: Dancing Script, cursive; /* elegant, caligrafic */
  font-size: clamp(1.4rem, 2vw, 2rem); 
  color: #555454; /* sau alb dacă fundalul e închis */
}

/*about style*/
.about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(33, 14, 14, 0.75); /* 75% opacity pentru a vedea videoclipul */
    text-align: center;
}
.section-subtitle {
    color: #9d9c9c !important; 
    font-size: clamp(1.4rem, 2vw, 2rem); 
    margin-bottom: 40px;
    padding: 0 20px; /* Spațiu pe laterale */
    font-family: Dancing Script, cursive;
    font-weight: normal!important;
}
 
/* cube animation */
.cube-section {
  margin-top: 25vh;
  margin-bottom: 25vh;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  min-height: 300px;
  position: relative;
  padding: 0 20px;
  box-sizing: border-box;
  width: 100%;
}

/* Media queries pentru mobile clasic (doar 768px) */
@media (max-width: 768px) {
  .cube-section {
    margin-top: 25vh;
    margin-bottom: 30vh;
    min-height: 140px;
    padding: 0 60px;
  }
  .cube-container {
    width: 90px;
    height: 90px;
    perspective: 350px;
    max-width: 60vw;
    max-height: 60vw;
    margin: 20px auto;
    transform: scale(1.1);
  } 
  .face {
    width: 90px;
    height: 90px;
  }
  
  .front  { transform: translateZ(45px); }
  .back   { transform: rotateY(180deg) translateZ(45px); }
  .right  { transform: rotateY(90deg) translateZ(45px); }
  .left   { transform: rotateY(-90deg) translateZ(45px); }
  .top    { transform: rotateX(90deg) translateZ(45px); }
  .bottom { transform: rotateX(-90deg) translateZ(45px); }
  
  .hint-static {
    font-size: 0.7rem;
    bottom: -25px;
  }
}
.cube-container {
  perspective: 1000px;
  width: 220px;
  height: 220px;
  position: relative;
}
.cube {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.face {
  position: absolute;
  width: 220px;
  height: 220px;
  backface-visibility: hidden;
}
.face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.front  { transform: translateZ(110px); }
.back   { transform: rotateY(180deg) translateZ(110px); }
.right  { transform: rotateY(90deg) translateZ(110px); }
.left   { transform: rotateY(-90deg) translateZ(110px); }
.top    { transform: rotateX(90deg) translateZ(110px); }
.bottom { transform: rotateX(-90deg) translateZ(110px); }

.hint-static {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(103, 101, 101, 0.6);
  text-align: center;
}

/* Media query pentru desktop standard */
@media (min-width: 1024px) {
  .cube-container {
    width: 400px;   /* cub mai mare pe PC */
    height: 400px;
  }
  .face {
    width: 400px;
    height: 400px;
  }
  .front  { transform: translateZ(200px); }
  .back   { transform: rotateY(180deg) translateZ(200px); }
  .right  { transform: rotateY(90deg) translateZ(200px); }
  .left   { transform: rotateY(-90deg) translateZ(200px); }
  .top    { transform: rotateX(90deg) translateZ(200px); }
  .bottom { transform: rotateX(-90deg) translateZ(200px); }
}
.about-section .container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100% !important;
    box-sizing: border-box;
}
.about-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    animation: move-up 6s ease-in-out;
    animation-delay: calc(0.7s * var(--index, 0));
}
.about-card img,
.about-card video {
    max-width: 300px;
    height: auto;
    border-radius: 50%;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    margin-bottom: 20px;
    margin-top: 20px ;
    object-fit: cover;
}
.about-card img:hover,
.about-card video:hover {
    transform: scale(1.1);
    box-shadow: 0 70px 50px -10px rgba(15, 0, 0, 0.9);
    cursor: pointer;
}
.description {
    color: #8b8b8b;
    margin-top: 40px;
    margin-bottom: 5px;
    margin-left: 20px; 
    margin-right: 20px; 
    animation: move-up 6s ease-in-out;
    animation-delay: calc(0.7s * var(--index, 0));
}
.quote-author{
  font-family: Dancing Script, cursive;
  text-align: center;
  font-size: clamp(1.4rem, 2vw, 2rem); 
  color:#555454; /* sau alb dacă fundalul e închis */
  animation: move-up 6s ease-in-out;
  animation-delay: calc(0.7s * var(--index, 0));
  margin-bottom: 50px; 
}
.image2 {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    margin-bottom: 20px;
    margin-top: 90px;
}

/* Animație de apariție */
@keyframes move-up {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive pentru about */
@media (min-width: 768px) {
    .about-section .container {
        padding: 0 2rem 60px 2rem;
        font-size: clamp(1rem, 2vw, 1.2rem);
    }
    .section-subtitle {
        font-size: clamp(1.4rem, 2vw, 2rem); 
        margin-bottom: 60px; 
        padding: 1rem 7rem;  
    } 
    .about-card {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        text-align: left;
        gap: 40px;
    }
    .about-card:nth-child(even) {
        flex-direction: row-reverse;
    }
    .about-card img,
    .about-card video {
        margin-bottom: 0;
        margin-left: 30px;
    }
    .about-card:nth-child(even) img,
    .about-card:nth-child(even) video {
        margin-right: 0;
        margin-left: 30px;
    }
    .image2 {
        width: 100%;
        max-height: 600px;
        object-fit: cover;
        object-position: top;
        margin-top: 50px;
    }
   .description { order: 1; }
   .quote-author { order: 2; } 
}

/* Secțiunea contact */
.contact-section {
  display: flex;
  flex-direction: column; /* Elemente aranjate pe verticală */
  align-items: center; /* Centrează conținutul pe orizontală */
  background-color:rgba(33, 14, 14, 0.75); /* 75% opacity pentru a vedea videoclipul */
  color: #b3b3b3; 
  padding: 30px;/* Spațiu interior */
  flex-grow: 1; /* Permite secțiunii să ocupe tot spațiul disponibil */
  text-align: center;
  margin: 0 auto !important; 
}
.contact {
  margin: 0 auto; 
}
.contact .section-title {
  font-size: clamp(1.8rem, 2vw, 2rem ) ; 
  color:  #9d9c9c; 
  margin-bottom: 10px; 
  padding: 20px;

  /* Animația CSS înlăturată pentru a permite GSAP letters slideUp */
}
.contact .section-subtitle {
  font-size: clamp(1.5rem, 2vw, 1.7rem); 
  color: #b3b3b3; 
  margin-bottom: 20px; 
  font-family: 'Dancing Script', cursive; 
  font-weight: 400; 
  animation: slide-in-right 6s ease-in-out; 
  animation-delay: 0.5s;
  text-align: center; 
}
.contact .description {
  border: 1px solid #696868;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #b3b3b3; 
  font-family: 'Dancing script', cursive; 
  font-weight: 400;
  margin-bottom: 30px;
  line-height: 1.6; 
  text-align: center;
  animation: none; 
  padding:0 2rem;
}
.logo-container {
  margin: 8px 0; /* Spațiu deasupra și dedesubt */
}
@keyframes spinLogo {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}
.logo-container img {
  transform-origin: center;
  animation: spinLogo 10s linear infinite;
}
.contact-logo {
  max-width: 200px; /* Lățimea maximă a imaginii */
  height: auto; /* Păstrează proporțiile */
  display: inline-block; /* Asigură afișarea corectă */
}
.article-links {
    text-align: center;
    margin-bottom: 30px;
    margin-left: 15px;
    margin-right: 15px;
}
.article-title {
    font-size: clamp(1rem, 2vw, 1.2rem); /* Dimensiune dinamică */
    font-weight: bold;
    margin-bottom: 15px;
}
.article-list {
    list-style-type: none;
    padding: 0;
}
.article-list li {
    margin-bottom: 10px;
}
.article-list a {
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1.2rem); /* Dimensiune dinamică */
    font-weight: 500;
    color:#8b8b8b;
    line-height: 1.4; /* Spațiere între linii */
}
.article-list a:hover {
    color: #e67e76;
  }

/* Stilizare pentru cardurile de contact */
.contact-card {
  margin-bottom: 5px;
}
.btn-primary2{
  backdrop-filter: blur(8px); /* Fundal blurat */
  color: #fff;
  text-decoration: none; /* Elimină sublinierea link-ului */
  max-width: 150px; /* Lățimea maximă a butonului */
  position: relative; /* Poziționare relativă pentru a permite animații */
  font-size: 12px; /* Ajustează dimensiunea textului */
  padding: 4px 4px; /* Ajustează dimensiunea interioară */ 
  display: flex; /* Flexbox pentru aliniere */
  justify-content: center !important; /* Centrează conținutul */ 
  border-radius: 5px;
}

/* Container pentru centrare */
.map-btn-container {
  display: flex;
  justify-content:center; /* Centrează conținutul pe orizontală */
  align-items: center;
  margin: 30px 0; /* Spațiu deasupra și dedesubt */
}
.fa-map-marker-alt {
  font-size: 16px; /* Ajustează dimensiunea pictogramei */
  margin-right: 5px; /* Spațiu între pictogramă și text */
}
.btn-primary2:hover {
  background: rgba(255, 255, 255, 0.463); /* Fundal mai puțin transparent */
  transform: scale(1.1); /* Mărire subtilă la hover */
  border-color: rgba(255, 255, 255, 0.8); /* Ramă mai intensă */
  opacity: 0.8;
  transform: scale(1.1);
}

/* Social media */
.contact-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content:center; /* Centrează conținutul pe orizontală */
  gap: 40px;
  width: 100%;
}
.social-media {
  display: flex;
  justify-content: space-around; /* Distribuie uniform pe lățimea secțiunii */
  align-items: center;
  gap: 5px;
  width: 100%;
  flex-wrap: nowrap; /* Împiedică trecerea pe alt rând */
}
.contact-item {
  display: flex;
  align-items: center;
  font-size: 20px;
  text-decoration: none;
}
.social-button {
  font-size: 30px;
  text-decoration: none;
  transition: transform 0.3s ease;
  padding: 10px;
}

/* Contact icons color & hover */
.contact-phone {
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s;
}
.contact-phone:hover {
  color:#fff;
  transform: scale(1.2);
}
.contact-item .fa-whatsapp {
  color: #25D366;
  transition: color 0.3s, transform 0.3s;
}
.contact-item .fa-whatsapp:hover {
  color:#25D366;
  transform: scale(2);
}
.contact-item .fa-facebook {
  color: #1877f3;
  transition: color 0.3s, transform 0.3s;
}
.contact-item .fa-facebook:hover {
  color: #1877f3;
  transform: scale(2);
}
.contact-item .fa-instagram {
  color: #e4405f;
  transition: color 0.3s, transform 0.3s;
}
.contact-item .fa-instagram:hover {
  color: #e4405f;
  transform: scale(2);
}

@media (min-width: 768px) {
  .contact .description {
   text-align: center;
   margin: 10px auto;
   max-width: 50%; /* ocupă doar 60% din lățimea ecranului */
   
  }
}

/* FOOTER STYLES*/
footer {
    display: flex;
    color: #b3b3b3;
    background-color: rgba(68, 49, 49, 0.75); /*opacity pentru a vedea videoclipul */
    padding: 0.6rem 0;
    font-size: clamp(0.5rem, 2vw, 0.7rem);
    margin: 0;
    margin-top: auto;
    width: 100%;
}
footer > .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
}
footer .copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
footer .copyright p {
    margin: 0;
}
footer .footer_text {
    text-align: left;
    flex: 1;
}
footer .footer_text_2 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap:5px;
}
.clanofhunters-logo {
  height: 40px;/* dimensiunea siglei */
  margin: 0 10px;
  transition: transform 0.3s ease;
}
.clanofhunters-logo:hover {
  transform: scale(1.3);   
}

  /* media query style*/
    @media screen and (min-width: 768px) {
          body {
            margin: 0;
          }
            footer {
              margin-bottom: 0;
            }
            footer > .container {
              padding: 0 1rem; /* Ajustează padding-ul pentru ecrane mari */
              justify-content: space-between;
            }

          /*header style*/
          header .btn-toggle {
            display: none; /* Ascunde butonul de meniu pe ecrane mari */
          }
          header .navigation {
            display: flex; /* Afișează meniul pe ecrane mari */
            flex-basis: auto; /* Permite lățimea automată */
            margin-top: 0; /* Elimină marginea de sus */
          }
          header .nav-items {
            display: flex; /* Afișează elementele de meniu pe orizontală */
            gap: 1rem; /* Spațiu între elemente */
          }
           .nav-items .nav-link {
            padding: 0.5rem; /* Spațiu interior pentru link-uri */
            font-size: 1rem; /* Dimensiune text pentru link-uri */
          }
            header > .container {
              padding-top: 0.3rem;
              padding-bottom: 0.5rem; /* Ajustează padding-ul pentru ecrane mari */
            }}

/* Fix Contact Section alignment on small screens */
@media (max-width: 600px) {
  .contact-section {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    align-items: unset;
    flex-direction: unset;
  }
  .contact {
    width: 100%;
    box-sizing: border-box;
  }
}

/* --- EASTER EGG VIDEO --- */
#eggVideo {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  z-index: 9999;
  pointer-events: none;
  display: none; /* Mereu ascuns inițial - controlat doar de JavaScript */
  opacity: 0; /* Inițial invizibil */
  will-change: opacity; /* Optimizare pentru animații */
}
