@import url("https://fonts.cdnfonts.com/css/roslindale?styles=147515,147505,147536");
@import url("https://fonts.googleapis.com/css2?family=Sofia+Sans+Semi+Condensed:ital,wght@0,1..1000;1,1..1000&display=swap");

/* === VARIABLES === */
:root {
  --color-dark: #0e1012;
  --color-light: #f1f1f1;
  --color-accent: #b50100;
  --color-overlay: rgba(0, 0, 0, 0.6);
  --color-text: #eac9b3;
  --font-principal: "Roslindale", sans-serif;
  --font-secundar: "Sofia Sans Semi Condensed", sans-serif;
  --mask-size: 200px;
  --mask-inner: 199px;
  --mask-outer: 200px;
  --round: 20px;
}

/* Light theme variables */
[data-theme="light"] {
  --color-dark: #f1f1f1;
  --color-light: #0e1012;
  --color-accent: #b50100;
}


* {
  -webkit-tap-highlight-color: transparent;
}
*:focus {
  outline: none;
}

button,
a,
.theme-toggle {
  -webkit-tap-highlight-color: transparent;
}


/* === BASE RESET === */
body {
  background-color: var(--color-light);
  font-family: var(--font-secundar);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.1;
  mix-blend-mode: screen;
  z-index: 9999;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.wrapper {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
}

.wrapper,
.content {
  position: relative;
  width: 100%;
}

.content {
  overflow-x: hidden;
}


/*Hero*/
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}


.hero-card-section .hero-masked-image-container {

   height: calc(100vh - 40px);
   margin: 20px;
  aspect-ratio: unset; 
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-radius: 20px; /* optional – dacă vrei fără colțuri rotunjite */
}


.hero-card-section .hero-masked-image-container video.section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}

/* card 9x16 
@media (max-width: 768px) {

  .card-section {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .card-section .masked-image-container {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 9 / 16; 
  }
}
*/



.title-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: var(--font-principal);
}


.title-content {
  width: 90%;
    color: var(--color-light);
}



/* === GENERIC IMAGE CONTAINER === */
.masked-image-container {
  width: 60vw;
  aspect-ratio: 16 / 9;
  border-radius: var(--round);
  overflow: hidden;
  position: relative;
}

.videoplayer{
  width: 60vw;
  aspect-ratio: 16 / 9;
  border-radius: var(--round);
  overflow: hidden;
  position: relative;
}


.section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section-hero {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2; 
}

.hero-card-overlay {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  perspective: 500px;
  overflow: hidden;
    background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0) 80%
  );
}

.video-container {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  perspective: 500px;
  overflow: hidden;
}

.video-container::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 70%; /* ajustează cât overlay vrei */
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0) 80%
  );
}



/* === Overlay Text Title === */
.home-text {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 90%;
  text-align: center;
  pointer-events: none;
  color: var(--color-text);
}



.home-text h1 {
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-family: var(--font-principal);
}

.up {
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 5%;
  z-index: 10;
  pointer-events: none;
}


@media (max-width: 768px) {
  .up {
    bottom: 15%;
  }
}


/* === SCROLL DOWN === */
.scroll-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 20;
}

.scroll-arrow {
position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  font-size: 2rem;
  color: var(--color-text);
  animation: scrollPulse 2s infinite ease-in-out;
  user-select: none;
}

@keyframes scrollPulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}


.text-xs {
  font-weight: 100;
  color: var(--color-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 1rem;
}

.text-xxs {
  font-weight: 100;
  color: var(--color-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.75rem;
}




/* === CARD SECTION === */
.card-section .masked-image-container video.section-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.card-section {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
 
}

.white{
   background-color: var(--color-dark);
  transition: 0.3;
}

.padding{
  padding: clamp(1rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
}

.card-section .masked-image-container {
  width: clamp(75vw, 80vw, 85vw);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  z-index: 1;
}





.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, var(--color-overlay) 100%);
  color: var(--color-text);
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}

/* overlay hide când video rulează */
.card-overlay.hide {
  opacity: 0;
  pointer-events: none; /* click-through pentru controale */
}




.card-header,
.card-footer {
  align-self: center;
  text-align: center;
}

.card-info,
.card-subtitle,
.card-location {
  font-size: clamp(0.8rem, 1.8vw, 1.1rem);
  letter-spacing: 0.1em;
  opacity: 0.9;
  display: block;
  font-family: var(--font-secundar);
}

.card-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 5rem);
  line-height: 0.85;
  display: block;
  font-weight: 500;
  font-family: var(--font-principal);
}

.center-play-text {
  position: absolute;
  top: 50%;          /* vertical centrat */
  left: 50%;         /* orizontal centrat */
  transform: translate(-50%, -50%); /* mută centrul elementului exact în mijloc */
  
  width: 50%;       /* aria de click dorită */
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-family: var(--font-principal);
  letter-spacing: 0.05em;
  
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
  opacity: 1;
  transition: opacity .3s ease;
}




.center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}


.left {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: 100%;
}

.bold{
  font-weight: bold;
}

.color{
  font-family: var(--font-secundar);
  color: var(--color-text);
}


.margin{
  margin: 1rem 0 1rem 0;
}


.margin-top{
  margin-top: 1rem 0 1rem 0;
}

.margin-bottom{
  margin-bottom: 1rem 1rem 1rem 1rem;
}


/* === SERVICES SECTION === */
.services-section {
  width: 100%;


  color: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-header {
    text-align: center;
    width: 100%;
}

.services-container {
  max-width: 900px;
  margin: 40px auto;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.services-grid {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  margin-top: clamp(4rem, 8vw, 6rem);
}

/* mobile */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* desktop */
@media (min-width: 769px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-number {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 200;
  margin-bottom: 1.5rem;
  opacity: 0.7;
  font-family: var(--font-principal);
}

.service-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 200;
  letter-spacing: 0.1em;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 0.1;
}

.service-description {
  font-size: clamp(1rem, 2vw, 1.5rem);
  opacity: 0.7;
  font-weight: 300;
  letter-spacing: 1px;
  
}


/* === Service Item Images === */
.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: var(--round);
    margin-bottom: 1.5rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* optional: pentru un look mai cinematic */
.service-item {
    padding-bottom: 1rem;
}




/* === CONTACT SECTION === */
.contact-section {
  width: 100%;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.contact-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: center;
}

  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

.contact-content {
  color: var(--color-light);
}

.text-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  letter-spacing: 0.3em;
  font-weight: 300;
  display: block;
  text-transform: uppercase;
}

.text-title {
  font-size: clamp(2.5rem, 10vw, 6rem);
  font-weight: 500;
  line-height: 1.1;
  font-family: var(--font-principal);
}

.text-description{
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  opacity: 0.8;
}

.contact-form iframe {
  border: 0;
  margin: 0;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /*backdrop-filter: blur(50px);*/
  border-bottom: 0 solid rgba(234, 201, 179, 0.1);
  z-index: 1000;
  transition: all 0.5s ease, transform 0.3s ease;
  transform: translateY(0);
}

.header-container {
  margin: 0 auto;
  padding: 0 clamp(2rem, 5vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* === LOGO === */
.logo {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  font-family: var(--font-principal);
}

/* === DESKTOP MENU === */
.nav-menu {
  display: flex;
  list-style: none;
  gap: clamp(2rem, 4vw, 3rem);
  margin: 0;
  padding: 0;
  font-family: var(--font-principal);
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--color-accent);
  text-decoration: none;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-accent);
}

.nav-link:hover::after {
  width: 100%;
}

/* === CONTROLS CONTAINER === */
.controls-container {
  display: flex;
  align-items: center;
  gap: 1rem; /* spațiu între butoane */
}

.cta-button {
  max-width: 300px;
  background: none;
  border: 2px solid var(--color-accent);
  border-radius: var(--round);
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-secundar);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}

/* === THEME TOGGLE (DIAFRAGMA) === */
.theme-toggle {
  background: none;
  border: none;
  border-radius: var(--round);
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-secundar);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}

.theme-toggle:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .hide {
    display: none;
  }
}


.mobile-menu .theme-toggle {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}


/* === DIAFRAGMA ICON === */
.aperture-icon {
  width: 21px;
  height: 21px;
  position: relative;
  display: inline-block;
}

.aperture-svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: all 0.3s ease;
}

/* === MENU BUTTON (MOBILE) === */
.menu-button {
  display: none;
  background: none;
  border: none;
  border-radius: var(--round);
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-secundar);
  font-size: 1rem;
  font-weight: 900;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}

.menu-button:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.menu-button.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* === MOBILE MENU === */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--color-dark);
  transition: right 0.3s ease;
  z-index: 999;
  padding-top: 100px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  text-transform: uppercase;
}

.mobile-nav-link {
  color: var(--color-light);
  text-decoration: none;
  font-size: 4rem;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.mobile-nav-link:hover {
  color: var(--color-accent);
  transform: scale(1.05);
    font-weight: 900;
}

.close-button {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--color-light);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button:hover {
    color: var(--color-accent);
    transform: scale(1.1);
}


  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-item {
    text-align: left;
    padding: 0 1rem;
  }

 



  .contact-form {
    order: 2;
  }

  .contact-content {
    order: 1;
  }

  .header-container {
    padding: 0 2rem;
    height: 70px;
  }

  .nav-menu {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-menu {
    display: block;
  }


  .controls-container {
    gap: 0.5rem;
  }

  .theme-toggle {
    padding: 6px 12px;
    font-size: 0.8rem;
  }





/* Footer */
.footer{
width: 100%;
text-align:center;
}

.footer .row{
width:100%;
margin:1% 0%;
padding:0.6% 0%;
color:gray;
font-size:0.8em;
}

.footer .row a{
text-decoration:none;
color:gray;
transition:0.5s;
}

.footer .row a:hover{
color: var(--color-accent);
}

.footer .row ul{
width:100%;
}

.footer .row ul li{
display:inline-block;
margin:0 30px;
}

.footer .row a i{
font-size:2em;
margin:0% 1%;
}

@media (max-width:720px){
.footer{
text-align:center;
padding:5%;
}
.footer .row ul li{

margin:10px 10px;
text-align:center;
}
.footer .row a i{
margin:0 3%;
}
}

.fa {
  color: var(--color-accent);
}





/* tally*/
.tally-wrapper {
  opacity: 0;
  transition: opacity 1s ease;
  position: relative;
}

.tally-wrapper.show {
  opacity: 1;
}

.tally-container {
  width: 100%;
  max-width: 900px;
  margin: 20px auto 0;
  padding: 0 20px;
  position: relative;
  box-sizing: border-box;
}





/* Overlay vizual pur */
.video-overlay {
    color: var(--color-text);
  position: absolute;
  inset: 0;
  z-index: 50;
  background: rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 2em;
  pointer-events: none; /* nu blochează click-ul pe video */
  transition: opacity 0.35s ease;
}

.video-overlay.hidden {
  opacity: 0;
}

.play-symbol {
  font-size: 0.7em;
  margin: 10px 0;
}

.video-js .vjs-big-play-button {
  display: none;
}
      
.video-js .vjs-control-bar {
    width: 90%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
}







/* REC indicator */
.rec-indicator {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
}

.rec-indicator.show {
  opacity: 1;
}

.rec-dot {
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: rec-blink 1s infinite;
}

@keyframes rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.rec-text {
  color: var(--color-accent);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

