/* General Reset & Base Styles */
html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

button, a, .gallery-item {
  touch-action: manipulation;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #ffffff; /* Fundal alb pur pentru a se îmbina perfect cu imaginile */
  color: #333333;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  position: relative;
}

/* Film Grain Overlay - Textură fină de granulație */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0; /* Mutat în spate pentru a nu se suprapune peste fotografii */
  opacity: 0.22; /* Ajustat pentru a fi subtil, dar vizibil */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Main Container */
.main-container {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  width: 100%;
}

/* Hero Wrapper - Raport de aspect fix 16:9 pentru menținerea proporțiilor */
.hero-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* Navigation - Poziționată absolut sub logo-ul roșu */
.main-nav {
  position: absolute;
  left: 22.5%; /* Aliniere pe mijlocul liniei inferioare a Z-ului */
  top: 63.5%;  /* Poziționare chiar sub baza logoului */
  display: flex;
  flex-direction: column;
  gap: 0.8vw;  /* Distanțare dinamică în funcție de lățimea ecranului */
  width: fit-content;
}

.nav-item {
  color: #b52b30; /* Roșul exact extras din logoul imaginii */
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1.6vw; /* Dimensiune dinamică pentru a scala perfect pe desktop */
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.2;
  display: inline-block;
  cursor: pointer;
  position: relative;
  transform-origin: left center;
  will-change: transform, opacity, letter-spacing;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out, letter-spacing 0.2s ease-out;
}

/* Micro-animații la Hover Snappy & Rapid */
.nav-item:hover {
  opacity: 0.7;
  letter-spacing: 0.20em;
  transform: translateX(5px);
}

/* Site Footer */
.site-footer {
  width: 100%;
  padding: 1.5rem;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  z-index: 10;
}

.site-footer p {
  color: #b52b30;
  opacity: 0.4;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
}

/* Homepage Specific Overrides for Split Layout */
.home-page {
  overflow: hidden;
  background-color: #ffffff;
}

.home-page .main-container {
  padding: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.home-left-col {
  width: 40%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 0;
  padding-right: 3rem;
  background-color: #ffffff;
  position: relative;
}

.logo-container {
  width: 170%;
  margin-left: -3rem; /* Deplasare pentru a lipi linia Z de marginea ecranului pe desktop */
  margin-bottom: 0.4rem; /* Spațiu micșorat */
}

.home-logo {
  width: 100%;
  height: auto;
  display: block;
}

.home-left-col .main-nav {
  position: static;
  margin-left: calc(15.3vw - 5.3rem); /* Aliniere fluidă sub mijlocul liniei de jos a Z-ului */
  display: flex;
  flex-direction: column;
  gap: 0.8rem; /* Rubricile aduse mai aproape una de cealaltă */
  width: fit-content;
}

.home-left-col .nav-item {
  color: #b52b30;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.8vw, 24px); /* Font responsive */
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.2;
  display: inline-block;
  cursor: pointer;
  position: relative;
  transform-origin: left center;
  will-change: transform, opacity, letter-spacing;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out, letter-spacing 0.2s ease-out;
}

.home-left-col .nav-item:hover {
  opacity: 0.7;
  letter-spacing: 0.20em;
  transform: translateX(5px);
}

.home-right-col {
  width: 60%;
  height: 100vh;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Aliniată la dreapta pentru a evita suprapunerea */
}

.home-person-image {
  width: 78%;
  height: 78vh;
  object-fit: contain; /* Blenduire totală, fără decupaj */
  object-position: right center;
  display: block;
  margin-right: 3vw; /* Distanță de la marginea din dreapta */
  position: relative; /* Pentru a fi deasupra texturii de grain */
  z-index: 2;
}

.home-page .site-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%; /* Lățime completă pentru centrare simetrică */
  padding: 1.5rem;
  background: transparent;
  pointer-events: none;
  z-index: 10;
  text-align: center; /* Centrare simetrică */
  padding-left: 0;
}

/* responsive/Media Queries pentru Pagina Principală și General */

/* responsive/Media Queries pentru Pagina Principală și General */

/* Tablete Portrait și Telefoane (Vertical / Portrait) */
@media (max-width: 768px) {
  .home-page {
    overflow-y: auto; /* Permitem scroll pe verticală */
  }

  .home-page .main-container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }
  
  .home-left-col {
    width: 100%;
    height: auto;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem; /* Padding redus */
    align-items: flex-start;
  }
  
  .logo-container {
    width: 170%;
    margin-left: -1.5rem; /* Lipit fix de marginea ecranului pe tabletă */
    margin-bottom: 0.4rem;
    max-width: 550px; /* Logo compact pe tabletă */
  }
  
  .home-left-col .main-nav {
    margin-left: 100px; /* Aliniere precisă sub Z pe tabletă */
    align-items: flex-start;
    gap: 0.8rem; /* Rubrici aduse mai aproape */
  }
  
  .home-left-col .nav-item {
    font-size: clamp(1.1rem, 3.5vw, 1.2rem);
  }
  
  .home-right-col {
    width: 100%;
    height: auto;
    margin-top: 1rem;
    padding: 0 1.5rem 3rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .home-person-image {
    width: 80%; /* Centrat și redimensionat pe mobil/tabletă portrait */
    aspect-ratio: 3 / 2; /* Raport aspect nativ */
    object-fit: contain; /* Blenduire totală */
    margin-right: 0;
  }
  
  .home-page .site-footer {
    position: static;
    width: 100%;
    text-align: center;
    padding: 1.5rem;
    background: transparent;
  }
}

/* Telefoane mobile (Portrait) */
@media (max-width: 480px) {
  .home-left-col {
    padding: 1.5rem 1rem 0.5rem 1rem; /* Padding foarte compact pe mobil */
  }
  
  .logo-container {
    margin-left: -1rem; /* Lipit fix de marginea ecranului pe mobil */
    max-width: 280px; /* Logo compact pentru a fi complet vizibil și a lăsa spațiu pozei */
  }
  
  .home-left-col .main-nav {
    margin-left: 47px; /* Aliniere precisă sub Z pe mobil */
    gap: 0.6rem; /* Spațiu compact între rubrici */
  }
  
  .home-right-col {
    padding: 0.5rem 1rem 1.5rem 1rem; /* Spațiu micșorat */
  }
  
  .home-person-image {
    width: 70%; /* Poză mai mică pentru a fi complet vizibilă pe ecranul mobil */
  }
}
@media (max-width: 600px) {
  .site-footer p {
    font-size: 0.65rem;
  }
}

/* ==========================================================================
   STILURI PAGINI SECUNDARE (SUBPAGES)
   ========================================================================== */

/* Header-ul comun pentru paginile secundare */
.site-header {
  width: 100%;
  padding: 0.8rem 3rem; /* Compactat padding-ul vertical */
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(181, 43, 48, 0.15);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #b52b30;
  text-decoration: none;
  letter-spacing: 0.25em;
  transition: opacity 0.3s ease;
}

.logo-link:hover {
  opacity: 0.7;
}

.logo-image-link {
  display: flex;
  align-items: center;
  padding: 0;
  text-decoration: none;
}

.header-logo {
  height: 76px; /* Dublat de la 38px */
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.logo-image-link:hover .header-logo {
  opacity: 0.7;
}

@media (max-width: 480px) {
  .site-header {
    padding: 0.6rem 1.5rem; /* Padding mai mic pe mobil */
  }
  .header-logo {
    height: 60px; /* Dublat de la 30px */
  }
}

.header-nav {
  display: flex;
  gap: 2rem;
}

.header-nav-item {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #555555;
  text-decoration: none;
  letter-spacing: 0.15em;
  font-weight: 500;
  transition: color 0.2s ease-out;
  padding: 5px 0;
  position: relative;
  will-change: color;
}

.header-nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: #b52b30;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.header-nav-item:hover::after,
.header-nav-item.active::after {
  transform: scaleX(1);
}

.header-nav-item:hover,
.header-nav-item.active {
  color: #b52b30;
}

/* Structură Subpagini */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
}

.page-title {
  margin-bottom: 1.5rem; /* Redus de la 3rem pentru a strânge spațiul gol pe desktop */
  border-left: 3px solid #b52b30;
  padding-left: 1rem;
  display: flex;
  align-items: center;
}

/* Distanța de la logotipul ABOUT la switcher-ul EN/RO (exact 4.2rem ca spațiul de sub titlul WHY AM I DIFFERENT) */
.about-page-title {
  margin-bottom: 4.2rem !important;
}

/* Lărgim containerul paginii pe About pentru a maximiza poza fără a comprima textul */
.about-page-container {
  max-width: 1350px !important;
}

.page-title-img {
  width: auto;
  display: block;
  mix-blend-mode: multiply; /* Face fundalul alb al imaginilor 100% transparent */
}

/* Gallery: 20% mai mic ca text (h: 120px) + margini negative */
.page-title-img.title-gallery {
  height: 120px;
  margin-left: -35px;
  margin-top: -30px;
  margin-bottom: -30px;
}

/* Video Projects: 20% mai mic ca text (h: 120px) + margini negative */
.page-title-img.title-video {
  height: 120px;
  margin-left: -35px;
  margin-top: -30px;
  margin-bottom: -30px;
}

/* About: 30% mai mic ca text (h: 100px) + margini negative */
.page-title-img.title-about {
  height: 100px;
  margin-left: -30px;
  margin-top: -25px;
  margin-bottom: -25px;
}

/* Contact: neschimbat ca text (h: 150px) + margini negative */
.page-title-img.title-contact {
  height: 150px;
  margin-left: -45px;
  margin-top: -40px;
  margin-bottom: -40px;
}

.gokceada-page-title,
.rostik-page-title {
  border-left: 3px solid #b52b30 !important;
  padding-left: 2rem !important; /* Spațiu generos între linia roșie și siglă */
  margin-bottom: 3.5rem !important;
  display: flex !important;
  align-items: center !important;
}

.myprecious-page-title {
  border-left: 3px solid #b52b30 !important;
  padding-left: 1.5rem !important;
  margin-bottom: 2.5rem !important;
  display: flex !important;
  align-items: center !important;
  min-height: 65px !important;
}

.page-title-img.title-gokceada,
.page-title-img.title-rostik {
  height: 180px !important; /* 50% mai mare pentru vizibilitate ca subtitlu */
  width: auto !important; /* Păstrează proporțiile 100% originale fără nicio deformare/stretch */
  max-width: 100% !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  margin-left: 0 !important; /* Detașare totală de linia roșie */
  margin-top: -35px !important;
  margin-bottom: -35px !important;
}

.page-title-img.title-myprecious {
  height: 55px !important; /* Ocupă de 2-3 ori mai puțin spațiu pe pagină (280px latime max), păstrând claritatea ultra-HD (2400px) */
  width: auto !important;
  max-width: 280px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* --- SECȚIUNEA GALLERY (Flexbox Masonry - Poziție fixă 100%, Fără Re-amestecare la Scroll) --- */
.gallery-grid {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  width: 100%;
  align-items: flex-start;
}

.masonry-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  min-width: 0;
}

@media (max-width: 900px) {
  .gallery-grid {
    gap: 1.2rem;
  }
  .masonry-col {
    gap: 1.2rem;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    gap: 0.8rem;
  }
  .masonry-col {
    gap: 0.8rem;
  }
}

body.gallery-loading-lock {
  overflow: auto;
}

.gallery-loader-overlay.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 1.5rem;
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  background-color: #f7f7f7;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  z-index: 2;
  content-visibility: auto;
  contain-intrinsic-size: 1px 300px;
}

.gallery-item img {
  opacity: 0;
  transition: opacity 0.35s ease-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item img.img-loaded,
.gallery-item img[complete] {
  opacity: 1;
}

/* --- OVERLAY ÎNCĂRCARE GALERIE (REVENIT LA INTERFAȚA MINIMALISTĂ ORIGINALĂ) --- */
.gallery-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #f5f5f5;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: auto;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 2rem;
  text-align: center;
}

.loader-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(181, 43, 48, 0.15);
  border-top-color: #b52b30;
  border-radius: 50%;
  animation: loaderSpin 0.8s infinite linear;
}

@keyframes loaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333333;
  letter-spacing: 0.03em;
  max-width: 360px;
  line-height: 1.5;
}

/* Poza cu barca din galerie făcută Alb-Negru */
img[src*="photo-53.jpg"],
img[src*="photo-43.jpg"],
img[src*="prelucratt-01640.jpg"] {
  filter: grayscale(100%) contrast(110%) !important;
}

.gallery-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
  width: 100%;
  height: auto; /* Înălțime naturală, proporție originală păstrată 100% */
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
  -webkit-touch-callout: none; /* Deplasează meniul contextual nativ pe mobil */
  -webkit-user-drag: none;      /* Dezactivează drag-and-drop-ul nativ pe imagini */
  user-select: none;            /* Previne selectarea imaginii */
}

@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover img {
    transform: scale(1.02);
  }
}

/* Placeholder pentru încărcare galerie */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.02);
  border: 1px dashed rgba(181, 43, 48, 0.2);
  color: #b52b30;
  opacity: 0.7;
  padding: 2rem;
}

.gallery-placeholder span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* ==========================================================================
   LIGHTBOX OVERLAY (PREVIEW PREMIUM DE IMAGINI)
   ========================================================================== */
.lightbox-dialog {
  border: none;
  background: transparent;
  padding: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-dialog[open] {
  display: flex;
}

.lightbox-dialog::backdrop {
  background-color: rgba(28, 28, 30, 0.94); /* Gri închis elegant (cinematic dark gray) */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  user-select: none;
}

/* Ascundere definitivă numărătoare neagră în modul slideshow */
.lightbox-counter,
.lightbox-caption,
#lightbox-counter,
#lightbox-caption {
  display: none !important;
}

/* Butoane de Control în Lightbox */
.lightbox-btn {
  position: absolute;
  background: transparent;
  border: none;
  color: #b52b30;
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lightbox-btn:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.lightbox-close {
  top: 2rem;
  right: 3rem;
  font-size: 2.5rem;
  font-family: inherit;
  font-weight: 300;
}

.lightbox-prev {
  left: 3rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Optimizare Mobile pentru Lightbox */
@media (max-width: 768px) {
  .lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
  }
  
  .lightbox-prev {
    left: 1rem;
  }
  
  .lightbox-next {
    right: 1rem;
  }
  
  .lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
  }
  
  .lightbox-btn {
    font-size: 1.8rem;
  }
}

/* --- ANIMAȚIE FADE IN PE HOMEPAGE --- */
.home-page .main-container {
  opacity: 0;
  animation: homePageFadeIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes homePageFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- SECȚIUNEA VIDEO PROJECTS (REDESIGN COMPLET) --- */
.video-page-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 3rem 6rem 3rem;
  box-sizing: border-box;
}

.video-page-container .page-title {
  margin-bottom: 1.5rem;
  border-left: 3px solid #b52b30;
  padding-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.video-page-container .lang-toggle-container {
  justify-content: flex-start;
  margin-left: 0;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

/* Background cu marina/bărci la ponton (alb-negru) */
.video-bg-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.12; /* Subtil, cinematic, 100% lizibil */
  filter: grayscale(100%) contrast(115%) brightness(105%);
  mix-blend-mode: multiply;
  transition: opacity 0.5s ease;
}

.single-video-grid {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  margin-top: 1rem;
}

.single-video-card {
  position: relative;
  width: 100%;
  max-width: 520px; /* Păstrează lățimea inițială a cadranului, aliniat la stânga */
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.single-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(181, 43, 48, 0.08);
  border-color: rgba(181, 43, 48, 0.25);
}

/* Grafică Barca de pe Fundalul Cadranului (Culoarea descrierii #444444, mutată mai sus să nu atinga titlul) */
.card-boat-overlay {
  position: absolute;
  top: -185px; /* Mutată mai sus pentru a nu atinge titlul */
  right: -140px;
  width: 680px;
  height: 680px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: hidden;
}

.card-boat-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(100%) brightness(0.28) contrast(110%); /* Culoarea exactă a descrierii #444444 */
}

/* Container Video & Copertă Custom Alb-Negru */
.video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 2; /* Thumbnail-ul stă peste grafica cu barca din fundal */
}

.custom-video-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.thumb-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(115%) brightness(95%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.custom-video-thumb:hover .thumb-bg-img {
  transform: scale(1.04);
  filter: grayscale(100%) contrast(125%) brightness(105%);
}

.thumb-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

/* Buton Watch pe Centru */
.watch-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  background-color: #b52b30;
  color: #ffffff;
  border: none;
  border-radius: 40px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(181, 43, 48, 0.4), 0 0 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease, box-shadow 0.35s ease;
  z-index: 5;
}

.watch-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background-color: #ffffff;
  color: #b52b30;
  box-shadow: 0 12px 35px rgba(181, 43, 48, 0.5), 0 0 30px rgba(255, 255, 255, 0.4);
}

.watch-play-btn:hover .play-icon-triangle svg {
  fill: #b52b30;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-details {
  position: relative;
  z-index: 2; /* Textul stă deasupra graficii cu barca */
  padding: 0.4rem 0.2rem 0.2rem 0.2rem;
}

.video-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #b52b30;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.video-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  color: #444444;
  line-height: 1.55;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.video-desc span {
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .video-page-container {
    padding: 2rem 1rem 4rem 1rem;
  }

  .single-video-card {
    max-width: 100%;
    padding: 1.2rem;
  }

  .video-title {
    font-size: 1.2rem;
  }

  .video-desc {
    font-size: 0.9rem;
  }

  .card-boat-overlay {
    width: 450px;
    height: 450px;
    opacity: 0.18;
    top: -80px;
    right: -80px;
  }
}

/* --- SECȚIUNEA ABOUT --- */
/* --- SECȚIUNEA ABOUT --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

.about-framed-container {
  position: relative;
  width: 100%;
  max-width: 550px; /* Limitează dimensiunea maximă pe mobil și tabletă */
  margin: 0 auto;  /* Centrează pe mobil și tabletă */
  aspect-ratio: 1024 / 861; /* Raportul de aspect original al ramei */
  z-index: 2;
}

.about-photo-crop {
  position: absolute;
  top: 11.15%;  /* Detecție pixel-perfectă prin canvas scanning */
  left: 13.09%; /* Detecție pixel-perfectă prin canvas scanning */
  width: 76.76%; /* Detecție pixel-perfectă prin canvas scanning */
  height: 61.90%;/* Detecție pixel-perfectă prin canvas scanning */
  overflow: hidden; /* Ascunde surplusul din zoom */
  border: 8px solid #ffffff; /* Delimitare albă egală pe fiecare parte */
  box-sizing: border-box;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.5); /* Zoom de 50% în total (mărit cu încă 20%) pentru focalizare puternică pe subiect */
  transform-origin: 75% 45%; /* Focus pe corp și față */
}

.about-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  mix-blend-mode: multiply; /* Face fundalul alb transparent */
  display: block;
}

.about-text {
  display: flex;
  flex-direction: column;
  /* Eliminăm gap-ul generic pentru a controla precis marginile din paragrafe */
  gap: 0;
}

.about-text h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem; /* Exact același aspect și mărime ca font cu BUT */
  font-weight: 700;
  color: #b52b30;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 2.7rem; /* Redus cu un rând de spațiu (de la 4.2rem) */
}

.about-text p {
  font-size: 1.09rem; /* Mărit cu 15% (de la 0.95rem) */
  line-height: 1.7;
  color: #444444;
  margin-top: 0;
  margin-bottom: 1.38rem; /* Mărit proporțional cu 15% */
}

@media (min-width: 901px) {
  .about-grid {
    grid-template-columns: 37.65rem 1fr; /* Blochează lățimea textului exact ca în v32, permițând pozei să crească maxim pe restul paginii */
    gap: 4.5rem;
  }
  
  .about-text {
    grid-column: 1;
    grid-row: 1; /* Forțează așezarea în rândul 1 pentru a fi lipit de partea de sus, lângă poza */
  }
  
  .about-framed-container {
    grid-column: 2;
    grid-row: 1; /* Forțează așezarea în rândul 1 */
    align-self: start;
    margin-top: 0;
  }
}

/* Comutator de limbă premium */
.lang-toggle-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem; /* Mărit cu 15% */
  margin-bottom: 0.8rem; /* Redus de la 1.5rem pentru a compacta spațiul gol pe desktop */
  user-select: none;
}

.lang-toggle-btn {
  background: transparent;
  border: none;
  color: #888888;
  cursor: pointer;
  font-weight: 500;
  padding: 0;
  transition: color 0.3s ease, transform 0.2s ease;
}

.lang-toggle-btn:hover {
  transform: scale(1.05);
  color: #111111;
}

.lang-toggle-btn.active {
  color: #b52b30;
  font-weight: 700;
  pointer-events: none;
}

.lang-toggle-divider {
  color: #b52b30;
  font-weight: 600;
  opacity: 0.8;
}

/* Animație de fade pentru limbi */
.different-content {
  transition: opacity 0.3s ease;
}

/* Text evidențiat bilingv (Citat/Manifest) */
.highlight-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.27rem; /* Mărit cu 15% (de la 1.1rem) */
  font-style: italic;
  color: #b52b30;
  border-left: 2px solid rgba(181, 43, 48, 0.3);
  padding-left: 1.5rem;
  margin: 2rem 0;
  line-height: 1.8;
}

/* Buton CTA premium */
.action-container {
  margin-top: 2rem;
}

.portfolio-btn {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border: 1px solid #b52b30;
  color: #b52b30;
  background-color: transparent;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-btn:hover {
  background-color: #b52b30;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(181, 43, 48, 0.15);
  transform: translateY(-2px);
}

/* Buton CTA inline */
.portfolio-btn-inline {
  display: inline-block;
  padding: 0.35rem 1.2rem;
  border: 1px solid #b52b30;
  color: #b52b30;
  background-color: transparent;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 0.6rem;
  vertical-align: middle;
  line-height: 1.2;
}

.portfolio-btn-inline:hover {
  background-color: #b52b30;
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(181, 43, 48, 0.15);
  transform: translateY(-1px);
}

/* Stilizare pentru paragraful final de acțiune și dropcap-ul "BUT" / "DAR" */
.highlight-action-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem; /* Mărit cu 15% (de la 1.05rem) */
  font-weight: 500; /* Bolduit subtil */
  line-height: 1.7;
  color: #111111;
  margin-top: 2rem;
  margin-bottom: 1.5rem !important;
}

.dropcap-but {
  font-family: 'Outfit', sans-serif; /* Același font ca h2 */
  color: #b52b30;
  font-size: 2.4rem; /* Exact aceeași mărime ca h2 */
  font-weight: 700; /* Exact același aspect bold ca h2 */
  line-height: 0.9;
  display: inline-block;
  margin-right: 0.2rem;
  vertical-align: -5%;
}

/* Stilizări speciale text bilingv */
.highlight-red-text {
  color: #b52b30;
  font-weight: 500;
}

.highlight-question {
  color: #b52b30;
  font-style: italic;
  font-weight: 500;
}

/* Container centrat pentru buton CTA cu spațiu de 1 rând */
.action-container-centered {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem; /* Un rând de spațiu de la textul de deasupra */
  margin-bottom: 1.5rem;
}

/* --- SECȚIUNEA CONTACT --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

@media (max-width: 850px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-block h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #b52b30;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.contact-info-block p,
.contact-info-block a {
  font-size: 0.95rem;
  color: #444444;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.contact-info-block a:hover {
  color: #b52b30;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #555555;
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #b52b30;
}

/* Formular Contact */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #555555;
  letter-spacing: 0.1em;
}

.form-control {
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(181, 43, 48, 0.15);
  padding: 0.85rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #333333;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #b52b30;
  background-color: rgba(255, 255, 255, 0.8);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  background-color: #b52b30;
  color: #ffffff;
  border: none;
  padding: 1rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #333333;
  color: #ffffff;
}

@media (max-width: 768px) {
  .site-header {
    padding: 1.2rem 1rem;
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
    align-items: center;
  }
  
  .header-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  
  .header-nav::-webkit-scrollbar {
    display: none;
  }
  
  .header-nav-item {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    white-space: nowrap; /* Impiedică ruperea cuvintelor pe două rânduri pe mobil! */
    flex-shrink: 0;
  }
  
  .page-container {
    padding: 2rem 1rem;
  }
  
  .page-title {
    margin-bottom: 2rem;
  }
  
  .page-title-img {
    width: auto;
    display: block;
    mix-blend-mode: multiply;
  }
  
  .page-title-img.title-gallery,
  .page-title-img.title-video {
    height: 80px;
    margin-left: -20px;
    margin-top: -20px;
    margin-bottom: -20px;
  }
  
  .page-title-img.title-about {
    height: 65px;
    margin-left: -15px;
    margin-top: -15px;
    margin-bottom: -15px;
  }
  
  .page-title-img.title-contact {
    height: 100px;
    margin-left: -25px;
    margin-top: -25px;
    margin-bottom: -25px;
  }
  
  .page-title-img.title-gokceada {
    height: 120px;
    width: auto !important;
    max-width: 100%;
    margin-left: 0 !important;
    margin-top: -20px;
    margin-bottom: -20px;
  }
  
  .submit-btn {
    width: 100%;
    text-align: center;
  }
}

/* --- PAGINA DESCHIDERE: ANIMAȚIE DE INTRARE PREMIUM --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-page-container,
.gallery-page-container,
.contact-page-container {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- SECȚIUNEA DIVE DEEPER: POVESTEA ÎNCEPUTULUI --- */
.starting-story-section {
  margin-top: 6rem;
  margin-bottom: 6rem;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 4.2rem;
}

.story-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #b52b30;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.story-section-title span {
  display: block;
  transition: opacity 0.3s ease;
}

.envelope-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Sigiliu interactiv de ceară */
.wax-seal-btn {
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 5;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-bottom: 2rem;
}

.wax-seal-btn:hover {
  transform: scale(1.08) rotate(5deg);
}

.wax-seal-btn:active {
  transform: scale(0.95);
}

.wax-seal-btn.open {
  transform: scale(0.9) rotate(-15deg);
}

.seal-icon svg {
  filter: drop-shadow(0 6px 12px rgba(181, 43, 48, 0.25));
  transition: filter 0.3s ease;
}

.wax-seal-btn:hover .seal-icon svg {
  filter: drop-shadow(0 10px 18px rgba(181, 43, 48, 0.35));
}

.seal-tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
  background-color: #333333;
  color: #ffffff;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 6;
}

.wax-seal-btn:hover .seal-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Foaia de scrisoare texturată */
.letter-sheet {
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background-color: #faf6f0; /* Textură fină și caldă de hârtie premium */
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02), 0 1px 3px rgba(0,0,0,0.01);
  transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 3rem;
  box-sizing: border-box;
  text-align: left;
}

.letter-sheet.open {
  max-height: 2000px; /* Mărit de la 1200px pentru a asigura că tot conținutul scrisorii este complet vizibil fără trunchiere */
  opacity: 1;
  padding: 4rem 5rem;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.08), 0 10px 25px rgba(0, 0, 0, 0.04);
}

.letter-content {
  position: relative;
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  font-weight: 500;
  color: #b52b30; /* Culoarea roșie a brandului */
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* Comutator de limbă pentru scrisoare */
.letter-lang-toggle {
  position: absolute;
  top: -1.5rem;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.letter-lang-btn {
  background: none;
  border: none;
  color: #b52b30;
  opacity: 0.4;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  transition: opacity 0.3s ease;
  font-weight: 700;
}

.letter-lang-btn.active, 
.letter-lang-btn:hover {
  opacity: 1;
}

.letter-lang-divider {
  color: #b52b30;
  opacity: 0.3;
}

/* Stiluri interioare text scrisoare */
.letter-text p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  transition: opacity 0.3s ease;
}

.letter-salutation {
  font-size: 2.1rem;
  margin-bottom: 2.5rem !important;
  font-weight: 600;
}

.letter-quote {
  font-style: italic;
  font-size: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(181, 43, 48, 0.25);
  margin: 2.2rem 0 !important;
}

.letter-conclusion {
  font-weight: 600;
  color: #111111;
}

/* Semnătură Roșie Zqhomi în subsolul scrisorii de pe About */
.letter-signature-wrapper {
  margin-top: 3.5rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  padding-right: 1.2rem;
}

.letter-signature-img {
  height: 190px; /* Dublat de la 95px */
  width: auto;
  max-width: 90%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(115%);
}

.letter-conclusion {
  margin-top: 2.5rem !important;
  font-size: 1.9rem;
  font-weight: 600;
}

/* Responsive Letter */
@media (max-width: 768px) {
  .letter-sheet.open {
    padding: 3rem 2rem;
  }
  .letter-content {
    font-size: 1.5rem;
  }
  .letter-salutation {
    font-size: 1.8rem;
  }
  .letter-quote {
    font-size: 1.6rem;
  }
  .letter-lang-toggle {
    position: static;
    justify-content: flex-end;
    margin-bottom: 2rem;
  }
}

/* --- FUNDAL ARTISTIC INTERFAȚĂ ABOUT --- */
.about-bg-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.about-bg-img {
  height: 92vh;
  max-height: 950px;
  width: auto;
  object-fit: contain;
  opacity: 0.14; /* Subtil și stilat, păstrează lizibilitatea 100% */
  mix-blend-mode: multiply; /* Face fundalul alb al fotografiei 100% transparent */
  filter: grayscale(100%) contrast(105%);
  transform: translateX(12%) translateY(6%);
  transition: opacity 0.4s ease;
}

@media (max-width: 768px) {
  .about-bg-img {
    height: 70vh;
    opacity: 0.08;
    transform: translateX(25%) translateY(10%);
  }
}

/* --- PAGINA CONTACT (REDESIGN COMPLET & OPTIMIZAT) --- */
.contact-page-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 3rem 6rem 3rem;
  box-sizing: border-box;
}

.contact-page-container .page-title {
  margin-bottom: 1.5rem;
  border-left: 3px solid #b52b30;
  padding-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.contact-page-container .lang-toggle-container {
  justify-content: flex-start;
  margin-left: 0;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.contact-page-container .lang-toggle-btn {
  position: relative;
  z-index: 11;
  pointer-events: auto;
  cursor: pointer;
  padding: 4px 8px;
}

/* Background cu barca de pânze (alb-negru) */
.contact-bg-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.12; /* Subtil, cinematic, 100% lizibil */
  filter: grayscale(100%) contrast(115%) brightness(105%);
  mix-blend-mode: multiply;
  transition: opacity 0.5s ease;
}

.contact-hero-content {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* Heading principal mare pe centru (Culoare Roșu Brand) */
.contact-main-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem; /* Mărit pentru impact */
  font-weight: 700;
  color: #b52b30; /* Culoarea roșie a tematicii */
  line-height: 1.22;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 950px;
  margin: 0 auto 2.6rem auto; /* Redus cu 20% distanța față de buton */
  text-align: center;
}

.contact-main-heading span {
  display: block;
  transition: opacity 0.3s ease;
}

/* Buton Email Mailto Custom cu Text Inițial & Hover M Roșu Animat */
.contact-action-wrapper {
  margin-bottom: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-email-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 320px;
  height: 68px;
  background-color: #b52b30; /* Roșul oficial al brandului */
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(181, 43, 48, 0.25);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

/* Grain / Noise de fundal în spatele literei M */
.contact-email-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.35'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

/* Textul Inițial (State normal) */
.btn-text-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 2;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* Grafică M Roșu fără semnătură */
.btn-hover-graphic {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.email-m-img {
  height: 240%; /* 30% mai mare */
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  mix-blend-mode: multiply; /* Blenduiește 100% impecabil cu fundalul #f5f5f5! */
  filter: contrast(120%) brightness(102%);
  transform: translateY(32%); /* Picioarele de jos ale M-ului se lipesc exact pe marginea de jos a butonului */
}

/* Stare HOVER exclusiv pe Desktop cu mouse (Evită blocarea WebKit a primului tap pe ecran tactil!) */
@media (hover: hover) and (pointer: fine) {
  .contact-email-btn:hover::before {
    opacity: 1;
  }

  .contact-email-btn:hover .btn-text-content {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .contact-email-btn:hover {
    background-color: #f5f5f5 !important;
    color: transparent !important;
    transform: translateY(-3px) scale(1.02);
    animation: buttonOuterRedGlow 2s infinite alternate ease-in-out;
  }

  .contact-email-btn:hover .btn-hover-graphic {
    opacity: 1;
  }
}

/* Stare ACTIVĂ / TOUCH (Feedback vizual instantaneu pe mobil la un singur tap) */
.contact-email-btn.touch-active::before,
.contact-email-btn:active::before {
  opacity: 1;
}

.contact-email-btn.touch-active .btn-text-content,
.contact-email-btn:active .btn-text-content {
  opacity: 0 !important;
  visibility: hidden !important;
}

.contact-email-btn.touch-active,
.contact-email-btn:active {
  background-color: #f5f5f5 !important;
  color: transparent !important;
  transform: translateY(-3px) scale(1.02);
  animation: buttonOuterRedGlow 2s infinite alternate ease-in-out;
}

.contact-email-btn.touch-active .btn-hover-graphic,
.contact-email-btn:active .btn-hover-graphic {
  opacity: 1;
}

@keyframes buttonOuterRedGlow {
  0% {
    box-shadow: 0 0 20px rgba(181, 43, 48, 0.6), 
                0 0 40px rgba(181, 43, 48, 0.35), 
                0 10px 25px rgba(181, 43, 48, 0.4);
  }
  100% {
    box-shadow: 0 0 32px rgba(181, 43, 48, 0.85), 
                0 0 65px rgba(181, 43, 48, 0.55), 
                0 14px 35px rgba(181, 43, 48, 0.5);
  }
}

.contact-direct-address {
  margin-top: 1.2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #666666;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Rubrica Socials */
.contact-socials-wrapper {
  width: 100%;
  max-width: 550px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 3rem;
  margin-top: 1rem;
}

.contact-socials-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #b52b30;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  text-align: center;
}

.contact-socials-grid {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.contact-social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem 2.2rem;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 170px;
}

.contact-social-item:hover {
  border-color: #b52b30;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.social-platform {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.social-handle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #b52b30;
}

/* Adaptare Mobil & Tabletă Contact */
@media (max-width: 768px) {
  .contact-page-container {
    padding: 2rem 1rem 4rem 1rem;
  }

  .contact-main-heading {
    font-size: 1.5rem;
    line-height: 1.3;
    letter-spacing: 0.01em;
    margin-bottom: 2rem;
    text-align: center;
    padding: 0 0.5rem;
  }
  
  .contact-email-btn {
    width: 280px;
    height: 60px;
  }
  
  .email-text-img {
    height: 60%;
    width: 85%;
  }
  
  .contact-socials-grid {
    gap: 1.2rem;
  }
  
  .contact-social-item {
    width: 100%;
    min-width: unset;
  }

  .contact-bg-img {
    opacity: 0.09;
  }
}

/* ==========================================================================
   CLIENT PORTAL & PRIVATE GALLERIES (VIEW YOUR OWN) STYLES
   ========================================================================== */

.portal-main-container {
  min-height: calc(100vh - 160px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.5rem;
}

.portal-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 3.5rem 3rem;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.portal-lang-toggle {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.portal-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #b52b30;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.portal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #111111;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.portal-prompt {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #555555;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.portal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.input-wrapper {
  width: 100%;
}

.portal-input {
  width: 100%;
  padding: 1.1rem 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #111111;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.portal-input:focus {
  border-color: #b52b30;
  box-shadow: 0 0 0 3px rgba(181, 43, 48, 0.15);
}

.portal-submit-btn {
  width: 100%;
  height: 56px;
  border-radius: 12px;
  border: none;
  background-color: #b52b30 !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(181, 43, 48, 0.3);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.25s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.portal-submit-btn:hover {
  background-color: #9e2428 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(181, 43, 48, 0.45);
}

.portal-submit-btn:active,
.portal-submit-btn.btn-pop-active {
  transform: scale(0.96) !important;
  background-color: #b52b30 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(181, 43, 48, 0.5), 0 0 25px rgba(181, 43, 48, 0.6) !important;
}

.portal-error-msg {
  display: none;
  margin-top: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #b52b30;
  font-weight: 500;
}

/* Animație Shake la Parolă Greșită */
.input-shake {
  animation: shakeKeyframe 0.4s ease-in-out;
  border-color: #b52b30 !important;
}

@keyframes shakeKeyframe {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-10px); }
  40%, 80% { transform: translateX(10px); }
}

/* Container Galerie Gokceada pe Ecran Complet */
.gokceada-page-container {
  max-width: 1600px !important;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2.5rem 6rem 2.5rem;
}

/* Grid-ul Gokceada Masonry (Flexbox Masonry - Poziție fixă 100%, Fără Re-amestecare la Scroll) */
.gokceada-masonry-grid {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  width: 100%;
  align-items: flex-start;
}

.gokceada-masonry-grid .masonry-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  flex: 1;
  min-width: 0;
}

@media (min-width: 1600px) {
  .gokceada-masonry-grid {
    gap: 3rem;
  }
  .gokceada-masonry-grid .masonry-col {
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .gokceada-masonry-grid {
    gap: 1.5rem;
  }
  .gokceada-masonry-grid .masonry-col {
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .gokceada-masonry-grid {
    gap: 1rem;
  }
  .gokceada-masonry-grid .masonry-col {
    gap: 1rem;
  }
}

.gokceada-masonry-grid .gallery-item {
  break-inside: avoid;
  margin-bottom: 0;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  content-visibility: auto;
  contain-intrinsic-size: 1px 300px;
}

.gokceada-masonry-grid .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* 100% Forma Întreagă, Fără Decupare! */
  opacity: 0;
  transition: opacity 0.35s ease-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gokceada-masonry-grid .gallery-item img.img-loaded,
.gokceada-masonry-grid .gallery-item img[complete] {
  opacity: 1;
}

.gokceada-masonry-grid .gallery-item:hover img {
  transform: scale(1.025);
}

/* Poza Hero #1 (gokceada-302.jpg) - Spans Full Width at Top */
.gokceada-masonry-grid .gallery-item.gokceada-hero-item {
  margin-bottom: 3.5rem !important;
  border: 1px solid rgba(181, 43, 48, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Pozele Featured Căutate (gokceada-138.jpg, gokceada-317.jpg) */
.gokceada-masonry-grid .gallery-item.gokceada-featured-item {
  margin-top: 2rem !important;
  margin-bottom: 3.5rem !important;
  border: 1.5px solid rgba(181, 43, 48, 0.35);
  box-shadow: 0 16px 40px rgba(181, 43, 48, 0.12);
}

/* Container Poza Hero #1 (Separat de grid-ul cu coloane pentru a rezolva bug-ul de disparitie pe scroll) */
.gokceada-hero-wrapper {
  width: 100%;
  margin-bottom: 3rem;
}

.gokceada-hero-wrapper .gallery-item.gokceada-hero-item {
  width: 100%;
  border: 1px solid rgba(181, 43, 48, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0 !important;
}

/* Lightbox Body Overflow Control */
body.lightbox-open {
  overflow: hidden !important;
}

/* Container Galerie Rostik pe Ecran Complet */
.rostik-page-container {
  max-width: 1600px !important;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2.5rem 6rem 2.5rem;
}

.rostik-hero-wrapper {
  width: 100%;
  margin-bottom: 3rem;
}

.rostik-hero-wrapper .gallery-item {
  width: 100%;
  border: 1px solid rgba(181, 43, 48, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0 !important;
}

.rostik-masonry-grid {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  width: 100%;
  align-items: flex-start;
}

.rostik-masonry-grid .masonry-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  flex: 1;
  min-width: 0;
}

@media (min-width: 1600px) {
  .rostik-masonry-grid {
    gap: 3rem;
  }
  .rostik-masonry-grid .masonry-col {
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .rostik-masonry-grid {
    gap: 1.5rem;
  }
  .rostik-masonry-grid .masonry-col {
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .rostik-masonry-grid {
    gap: 1rem;
  }
  .rostik-masonry-grid .masonry-col {
    gap: 1rem;
  }
}

.rostik-masonry-grid .gallery-item {
  break-inside: avoid;
  margin-bottom: 0;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  content-visibility: auto;
  contain-intrinsic-size: 1px 300px;
}

.rostik-masonry-grid .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.35s ease-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.rostik-masonry-grid .gallery-item img.img-loaded,
.rostik-masonry-grid .gallery-item img[complete] {
  opacity: 1;
}

.rostik-masonry-grid .gallery-item:hover img {
  transform: scale(1.025);
}

.rostik-masonry-grid .gallery-item.gokceada-highlight-item,
.rostik-masonry-grid .gallery-item.rostik-highlight-item {
  border: 1.5px solid rgba(181, 43, 48, 0.45);
  box-shadow: 0 8px 25px rgba(181, 43, 48, 0.15);
}

/* Grid-ul MY PRECIOUS Masonry (Colțuri Rotunjite 8px, Distanță Verticală Redusă cu 40%) */
.myprecious-masonry-grid {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  width: 100%;
  align-items: flex-start;
}

.myprecious-masonry-grid .masonry-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Redus cu 40% (de la 2.5rem la 1.5rem) între pozele suprapuse */
  flex: 1;
  min-width: 0;
}

@media (min-width: 1600px) {
  .myprecious-masonry-grid {
    gap: 3rem;
  }
  .myprecious-masonry-grid .masonry-col {
    gap: 1.8rem; /* Redus cu 40% de la 3rem */
  }
}

@media (max-width: 900px) {
  .myprecious-masonry-grid {
    gap: 1.5rem;
  }
  .myprecious-masonry-grid .masonry-col {
    gap: 0.9rem; /* Redus cu 40% de la 1.5rem */
  }
}

@media (max-width: 600px) {
  .myprecious-masonry-grid {
    gap: 1rem;
  }
  .myprecious-masonry-grid .masonry-col {
    gap: 0.6rem; /* Redus cu 40% de la 1rem */
  }
}

.myprecious-masonry-grid .gallery-item {
  break-inside: avoid;
  margin-bottom: 0;
  width: 100%;
  border-radius: 8px !important; /* Colțuri rotunjite identic cu Rostik & Gokceada */
  overflow: hidden !important;
  position: relative;
  background: transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  content-visibility: auto;
  contain-intrinsic-size: 1px 300px;
}

.myprecious-masonry-grid .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 8px !important; /* Colțuri rotunjite pe imagine */
  opacity: 0;
  transition: opacity 0.35s ease-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.myprecious-masonry-grid .gallery-item img.img-loaded,
.myprecious-masonry-grid .gallery-item img[complete] {
  opacity: 1;
}

.myprecious-masonry-grid .gallery-item:hover img {
  transform: scale(1.025);
}

.myprecious-hero-wrapper {
  width: 100%;
  margin-bottom: 1.8rem !important; /* Spațiu vertical redus cu 40% sub poza hero */
}

.myprecious-hero-wrapper .gallery-item {
  width: 100%;
  border: 1px solid rgba(181, 43, 48, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-radius: 8px !important;
  overflow: hidden !important;
  margin-bottom: 0 !important;
}


