
/* Reset */

img {
    display: block;
    position: relative;
    max-width: 100%;
    height: auto;
}


/* Fundal general */
body {
    background-color: #000;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
}


/* Container imagine */
.image-container {
    position: relative;
    display: inline-block;
    transform: scale(var(1));
    transform-origin: top center;
    width: 700px;
}

/* container responsive sigur */
.container, .image-container {
  width: 100%;
  max-width: 700px;   /* dimensiunea ta de design */
    
}

/* imaginea trebuie sa nu depășească niciodată viewport-ul */
.background-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.subtext {
    position: absolute;
    top: 170px;
    left: 262px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
}

.subtext-1 {
  position: absolute;
    top: 135px;
    left: 17px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
}

.subtext-2 {
  position: absolute;
    top: 230px;
    left: 16px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
}

.subtext-3 {
  position: absolute;
    top: 280px;
    left: 17px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
}

.subtext-4 {
  position: absolute;
    top: 460px;
    left: 55px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
}

.subtext-5 {
  position: absolute;
    top: 490px;
    left: 70px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
}


.subtext-6 {
  position: absolute;
    top: 102px;
    left: 60px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: right;
    text-shadow: 1px 1px 3px #000;
}

.subtext-7 {
  position: absolute;
    top: 129px;
    left: 60px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
}

.subtext-8 {
  position: absolute;
    top: 157px;
    left: 60px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
}

.subtext-9 {
  position: absolute;
    top: 207px;
    left: 9px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: left;
    text-shadow: 1px 1px 3px #000;
}

.subtext-10 {
  position: absolute;
    top: 285px;
    left: 60px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: left;
    text-shadow: 1px 1px 3px #000;
}

.subtext-11 {
  position: absolute;
    top: 392px;
    left: 9px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: left;
    text-shadow: 1px 1px 3px #000;
}

.subtext-12 {
  position: absolute;
    top: 105px;
    left: 179px;
    font-family: "Dubai Light", sans-serif;
    font-size: 20px;
    color: #FFA500;
    text-align: left;
    font-style: italic;
    text-shadow: 1px 1px 3px #000;
}

.subtext-13 {
  position: absolute;
    top: 138px;
    left: 180px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    font-style: italic;
    color: white;
    text-align: left;
    text-shadow: 1px 1px 3px #000;
}

.subtext-14 {
  position: absolute;
    top: 282px;
    left: 181px;
    font-family: "Dubai Light", sans-serif;
    font-size: 20px;
    font-style: italic;
    color: #FFA500;
    text-align: left;
    text-shadow: 1px 1px 3px #000;
}

.subtext-15 {
  position: absolute;
    top: 315px;
    left: 181px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    font-style: italic;
    color: white;
    text-align: left;
    text-shadow: 1px 1px 3px #000;
}

.subtext-16 {
  position: absolute;
    top: 455px;
    left: 180px;
    font-family: "Dubai Light", sans-serif;
    font-size: 20px;
    font-style: italic;
    color: #FFA500;
    text-align: left;
    text-shadow: 1px 1px 3px #000;
}

.subtext-17 {
  position: absolute;
    top: 488px;
    left: 180px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    font-style: italic;
    color: white;
    text-align: left;
    text-shadow: 1px 1px 3px #000;
}

.subtext-18 {
  position: absolute;
    top: -5px;
    left: 105px;
    font-family: "Times New Roman", serif;
    font-size: 28pt;
    font-weight: bold;
    color: #FFA500;
    text-shadow: 2px 2px 5px #000;
}

.subtext-19 {
  position: absolute;
    top: -5px;
    left: 170px;
    font-family: "Times New Roman", serif;
    font-size: 28pt;
    font-weight: bold;
    color: #FFA500;
    text-shadow: 2px 2px 5px #000;
}

.subtext-20 {
  position: absolute;
    top: -5px;
    left: 200px;
    font-family: "Times New Roman", serif;
    font-size: 28pt;
    font-weight: bold;
    color: #FFA500;
}

.subtext-21 {
  position: absolute;
    top: -5px;
    left: 200px;
    font-family: "Times New Roman", serif;
    font-size: 28pt;
    font-weight: bold;
    color: #FFA500;
}

.subtext-22 {
    position: absolute;
    top: -5px;
    left: 155px;
    font-family: "Times New Roman", serif;
    font-size: 28pt;
    font-weight: bold;
    color: #FFA500;
}

.subtext-23 {
  position: absolute;
    top: 106px;
    left: 45px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
}

.subtext-24 {
  position: absolute;
    top: 147px;
    left: 45px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
}

.subtext-25 {
  position: absolute;
    top: 217px;
    left: 55px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
}

.subtext-26 {
  position: absolute;
    top: 350px;
    left: 17px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
}

.subtext-27 {
  position: absolute;
    top: 380px;
    left: 17px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
}

.subtext-28 {
  position: absolute;
    top: 410px;
    left: 17px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
}

.subtext-29 {
  position: absolute;
    top: 445px;
    left: 17px;
    font-family: "Dubai Light", sans-serif;
    font-size: 19px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
    color: #FFA500;
    font-weight: bold;
}

.subtext-30 {
  position: absolute;
    top: 475px;
    left: 17px;
    font-family: "Dubai Light", sans-serif;
    font-size: 19px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
    color: #FFA500;
    font-weight: bold;
}

.subtext-31 {
  position: absolute;
    top: -5px;
    left: 200px;
    font-family: "Times New Roman", serif;
    font-size: 28pt;
    font-weight: bold;
    color: #FFA500;
    text-shadow: 2px 2px 5px #000;
}

.subtext-32 {
  position: absolute;
    top: 110px;
    left: 17px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: left;
    text-shadow: 1px 1px 3px #000;
}

.subtext-33 {
  position: absolute;
    top: 205px;
    left: 17px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    font-style: italic;
    text-align: left;
    text-shadow: 1px 1px 3px #000;
}

.subtext-34 {
  position: absolute;
    top: 365px;
    left: 19px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: left;
    text-shadow: 1px 1px 3px #000;
}

.subtext-35 {
  position: absolute;
    top: 425px;
    left: 17px;
    font-family: "Dubai Light", sans-serif;
    font-size: 17px;
    color: white;
    text-align: left;
    text-shadow: 1px 1px 3px #000;
}

.subtext-36 {
  position: absolute;
    top: 990px;
    left: 14px;
    font-family: "Dubai Light", sans-serif;
    font-size: 19px;
    color: #000;
    font-weight: bold;
    text-align: left;
    text-shadow: 1px 1px 3px white
}

.subtext-37 {
  position: absolute;
    top: 990px;
    left: 14px;
    font-family: "Dubai Light", sans-serif;
    font-size: 19px;
    color: #000;
    font-weight: bold;
    text-align: left;
    text-shadow: 1px 1px 3px white
}

.subtext-38 {
  position: absolute;
    top: 990px;
    left: 14px;
    font-family: "Dubai Light", sans-serif;
    font-size: 19px;
    color: #000;
    font-weight: bold;
    text-align: left;
    text-shadow: 1px 1px 3px white
}

.subtext-39 {
  position: absolute;
    top: 990px;
    left: 14px;
    font-family: "Dubai Light", sans-serif;
    font-size: 19px;
    color: #000;
    font-weight: bold;
    text-align: left;
    text-shadow: 1px 1px 3px white
}

.subtext-40 {
  position: absolute;
    top: 990px;
    left: 14px;
    font-family: "Dubai Light", sans-serif;
    font-size: 19px;
    color: #000;
    font-weight: bold;
    text-align: left;
    text-shadow: 1px 1px 3px white
}

.subtext-41 {
  position: absolute;
    top: 990px;
    left: 14px;
    font-family: "Dubai Light", sans-serif;
    font-size: 19px;
    color: #000;
    font-weight: bold;
    text-align: left;
    text-shadow: 1px 1px 3px white
}

/* Linkuri */
.link {
    position: absolute;
    left: 105px;
    color: #FFA500;
    font-size: 25px;
    text-decoration: none;
    font-family: "Times New Roman", serif;
    background-color: transparent;
    padding: 4px 10px;
    border-radius: 5px;
}

.link1 { top: 320px; }
.link2 { top: 380px; }
.link3 { top: 440px; }
.link4 { top: 500px; }
.link5 { top: 560px; }

.link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


/* Link întoarcere - Pagina Despre */
.link-despre {
    position: absolute;
    top: 630px;          /* ajustează după nevoie */
    left: 280px;         /* ajustează după nevoie */
    color: #FFA500;      /* portocaliu, ca restul linkurilor */
    font-size: 22px;
    font-weight: 300;    /* font mai subțire */
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.6); /* fundal semi-transparent */
    border: 2px solid #FFA500;  /* chenar portocaliu */
    padding: 8px 16px;          /* spațiu interior */
    border-radius: 8px;         /* colțuri rotunjite */
    transition: 0.3s;
}

/* Efect la trecerea cu mouse-ul peste buton */
.link-despre:hover {
    background-color: #FFA500;
    color: #000;
}

/* Buton sus stânga - săgeată întoarcere */
.link-sus {
    position: absolute;
    top: 30px;         /* poziție verticală sus */
    left: 20px;        /* poziție orizontală stânga */
    color: #FFA500;
    font-size: 28px;
    font-weight: 200;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid #FFA500;
    padding: 0.1px 10px;
    border-radius: 8px;
    transition: 0.3s;
}

/* Efect hover */
.link-sus:hover {
    background-color: #FFA500;
    color: #000;
}


/* Logo cu cheile franceze */
.logo-img {
    position: absolute;
    top: 320px;
    left: 385px;
    
    width: 150px;
    height: 100px;

}


/* Semn Atentionare */
.logo-1 {
    position: absolute;
    top: 210px;
    left: 20px;
    width: 40px;
    
}

/* Semn Atentionare 2 */
.logo-2 {
    position: absolute;
    top: 210px;
    left: 540px;
    width: 40px;
    
}


/* === Rotițe (gear) === */
.gear {
    position: absolute;
    background-color: transparent;
    animation: spin 10s linear infinite;
    transform-origin: center center;
   
    transform: translate(-50%, 0); /* mutarea fixă */

    /* FIX Safari */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform, top, left;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Fix suplimentar pe fiecare roată */
.gear1, .gear2, .gear3, .gear4, {
    position: absolute;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform, top, left;
}

/* Roata mare (cea de jos, centrală) */
.gear1 {
    width: 43px;
    top: 355px;
    left: 433px;
    animation-duration: 8s; /* rotire mai lentă */
}

/* Roata mică 1 (dreapta sus) */
.gear2 {
    width: 21px;
    top: 338px;
    left: 461px;
    animation-duration: 2s; /* mai rapidă */
    animation-direction: reverse; /* sens opus pentru realism */
}

/* Roata mică 2 (stânga sus) */
.gear3 {
    width: 24px;
    top: 355px;
    left: 476px;
    animation-duration: 3s;
}

/* Roata Servicii Autorizate */
.gear4 {
    width: 40px;
    top: 310px;
    left: 10px;
    animation-duration: 1.3s;
    
}


/* === Animație rotire === */
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.litera {
  color: #FFA500;
  font-weight: bold;
}

.simbol1 {
    position: absolute;   
    top: 320px;          
    left: 60px;
    width: 35px;
    height: 35px; 
           
   }

.simbol2 {
    position: absolute;   
    top: 380px;          
    left: 60px;
    width: 37px;
    height: 37px; 
           
   }

.simbol3 {
    position: absolute;   
    top: 442px;          
    left: 63px;
    width: 32px;
    height: 32px; 
           
   }

.simbol4 {
    position: absolute;   
    top: 498px;          
    left: 62px;
    width: 36px;
    height: 36px; 
           
   }

.simbol5 {
    position: absolute;   
    top: 557px;          
    left: 60px;
    width: 40px;
    height: 39px;        
   }

.simbol6 {
    position: absolute;   
    top: 10px;          
    left: -15px;
    width: 150px;
    height: 150px; 
           
   }

/* ======== GALERIE FOTO ======== */
.gallery {
  position: absolute;
  top: 115px;         /* distanța față de titlu — ajustează după nevoie */
  left: 35px;
  display: flex;
  flex-direction: column;
  
  z-index: 20;
}

.gallery > * + * {
  margin-top: 4.5rem;
}

.album-stack {
  position: relative;
  display: inline-block;
  width: 110px;
  height: 100px;
  perspective: 800px;
}

.album-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-radius: 3px;
  position: relative;
  z-index: 5;
  transition: transform 0.4s ease;
}

/* Straturi spate pentru efect 3D */
.layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 100px;
  border: 4px solid rgba(255, 255, 255, 0.6);
  background: rgba(234, 234, 234, 0.8);
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 1;
}

.layer2 { transform: translateY(6px) translateX(6px); z-index: 2; }
.layer3 { transform: translateY(12px) translateX(12px); }

/* Hover – coperta se înclină */
.album:hover img {
  transform: rotate(-4deg) scale(1.05);
}


/* ======== LIGHTBOX ======== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 999;
}

.lightbox img {
  max-width: 65%;
  max-height: 65%;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  cursor: zoom-in;  /* cursor pentru click zoom in */
}

.lightbox.show img {
  opacity: 1;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
}

.controls {
  margin-top: 15px;
}

.controls button {
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  margin: 0 15px;
  transition: transform 0.2s;
  border-radius: 8px;
  padding: 5px 12px;           /* mai mare pentru click confortabil */
}

.controls button:hover {
  transform: scale(1.3);
}

/* Zoom efect */
.zoomed {
  transform: scale(1.5);
  cursor: zoom-out;
}

@media (max-width: 700px) {
    .image-container {
        width: 700px; /* lățimea designului original */
        height: auto;
        transform: scale(calc(100vw / 700));
        transform-origin: top center;
    }
}

html {
  -webkit-text-size-adjust: 100%;
}

.map-preview {
    position: absolute;
    top: 500px;        /* ajustezi poziția */
    left: 95px;       /* ajustezi poziția */

    width: 100px;     /* ajustezi dimensiunea */
    height: 100px;

    background-size: cover;
    background-position: center;
    border-radius: 10px;
    cursor: pointer;

    z-index: 9999;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.map-app-selector {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}

.map-app-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    width: 250px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.map-app-box button {
    display: block;
    width: 100%;
    margin: 8px 0;
    padding: 10px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}