/* GLOBAL STYLES */
main {
  padding-top: 25px;
}

body {
  padding-bottom: 3rem;
  color: rgb(var(--bs-tertiary-color-rgb));
}


/* HEADER */
header {
  position: relative;
}

@media (max-width: 768px) {
.carousel img {
    width: 100%;
    height: auto;
    /* păstrează proporțiile */
    display: block;
  }

.carousel {
    min-height: 0;
    /* elimină banda gri */
  }
}

@font-face {
  font-family: 'RoFont';
  src: url('../font/Satisfy-Romanian.woff2') format('woff2');
}


/* --------navbar------------- */

/* NAVBAR */
.navbar .custom-navbar{
  background-color: rgba(26, 15, 8, 0.85) !important;
  backdrop-filter: blur(5px);
  color: rgb(255, 255, 255);
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-nav .nav-link,
h1,
h2,
h3, h4 {
  font-family: 'RoFont', sans-serif;
  font-size: 24px;
  margin-top: 20px;
}

.navbar-brand {
  margin-left: 40px; /* ajustează după nevoie */
  /* padding-left: 0;   dacă vrei să resetezi padding implicit */
}


@media (max-width: 768px) {
  .dropdown-menu {
    padding: 0.25rem 0;
  }

  .navbar-collapse .nav-link {
    --bs-nav-link-padding-y: 0rem; /* mai mic vertical */   }

  .dropdown-item {
    padding: 0.2rem 0.75rem;
    font-size: 0.85rem;
  }
}

/* CAROUSEL */

.carousel {
  /* min-height: 500px; */
  position: relative;
}
.carousel {
      /* margin-top: 60px; */
      height: auto;
      min-height: 0;
    }
  
    .carousel img {
      width: 100%;
      height: auto;
       /* object-fit: cover; */
    }



.carousel-item img {
  display: block;   /* echivalent d-block */
  width: 100%;      /* echivalent w-100 */
  height: auto;     /* previne deformarea */
}


@media (max-width: 768px) {
  .carousel {
    margin-top: 50px;
  }
}

.carousel-caption {
  position: absolute;
  bottom: 20%;
  left: 10%;
  max-width: 40%;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
  z-index: 10;
  color: white;
}

.carousel-item {
  width: 100%;
  max-height: 90%;
  object-fit: cover;
}

.carousel-item img {
  max-height: 800px;
  width: auto;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

@media (max-width: 768px) {
  .carousel-item img {
    /* max-height: 250px; */
    width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* dacă vrei să umple complet containerul */
  }

  .carousel-caption {
    bottom: 10%;
    left: 5%;
    right: 5%;
    max-width: 90%;
    padding: 10px;
    font-size: 0.5rem;
  }

  .carousel-control-prev,
  .carousel-control-next,
  .carousel-indicators {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* țintește containerul caruselului */
  .carousel.slide.pointer-event {
    height: 170px;/* înălțimea dorită pe mobil */
  }

  /* pentru ca imaginile să umple containerul */
  .carousel.slide.pointer-event .carousel-item img {
    height: 100%;
    object-fit: cover;
  }
}




/* BUTTON */
.custom-btn {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: 1px solid rgba(0, 0, 0, 0.8);
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.custom-btn:hover {
  background-color: rgba(199,199,199,0.8);
}

/* featurette */
.col-lg-6 p,
.col-lg-4 p {
  margin-left: 1rem;
}

.featurette-divider {
  margin: 2rem 0;
}

.featurette-heading {
  letter-spacing: -0.05rem;
}

@media (min-width: 768px) {
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 1.25rem;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

/* galerie foto */
.zoom-img {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.zoom-img:hover {
  transform: scale(1.05);
}

/* justify */
 .text-justify {
   text-align: justify;
 }

/* SOCIAL ICONS */
.social-icon {
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  margin: 0 8px;
  border-radius: 50%;
  text-align: center;
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s ease;
}

.social-icon.facebook {
  background-color: #3b5998;
}

.social-icon.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
  text-decoration: none;
}


.map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* raport 16:9 */
  height: 0;
  overflow: hidden;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* site footer */

.site-footer {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Bază (desktop/tablet) – folosește valori potrivite pentru layout-ul mare */
.site-footer {
  --scale: 1;                 /* vom ajusta doar pe mobil */
  font-size: 1rem;            /* 16px de bază */
  line-height: 1.4;
  padding: 2rem 1.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto auto;
  align-items: center;

}

.site-footer .footer-logo {
  height: 2.25rem;            /* ~36px */
  width: auto;
}

.site-footer .icon {
  height: 1.5rem;             /* ~24px */
  width: auto;
}

.site-footer .footer-nav a {
  margin-right: 1rem;
}

/* Variantă compactă pentru telefoane */
@media (max-width: 480px) {
  .site-footer {
    /* Scale “logic” pentru toate: font, spațiere, imagini */
    --scale: 0.85; /* ajustează între 0.75–0.9 după nevoie */

    font-size: clamp(0.78rem, 2.5vw, 0.9rem);
    padding: calc(1.25rem * var(--scale)) calc(1rem * var(--scale));
    gap: calc(0.75rem * var(--scale));
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer .footer-logo {
    height: calc(2.25rem * var(--scale));
  }

  .site-footer .icon {
    height: clamp(18px, 4.5vw, 22px);
  }

  .site-footer .footer-nav a {
    margin-right: calc(0.7rem * var(--scale));
  }

  /* spațiere mai mică între elemente */
  .site-footer .footer-brand,
  .site-footer .footer-nav,
  .site-footer .footer-social {
    margin-block: calc(0.2rem * var(--scale));
  }
}


/* email, telefon */




.contact-links i {
  vertical-align: middle;
}

/* Responsive: pe telefoane mici afișează doar iconița */
@media (max-width: 576px) {
  .contact-links span {
    display: none;
  }
}

footer a, .contact-links a {
  color: #0a0a0a;             /* negru */
  text-decoration: none;
  display: inline-flex;        /* păstrează alinierea icon + text */
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s, transform 0.2s;
}

footer a:hover, .contact-links a:hover {
  /* color: #0084ff;          culoare la hover */
   transform: scale(1.1); /* mărește linkul cu 10% */
}


/* galerie foto cununie */

/* Stil pentru containerul imaginii */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Imagine cu tranziție pentru zoom */
.gallery-item img {
  transition: transform 0.4s ease, filter 0.4s ease;
  display: block;
  width: 100%;
  height: auto;
}

/* Zoom la hover + blur ușor */
.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.8);
}

/* Overlay text / icon optional */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}


/* buton inchidere videoclip */
  .modal .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1056;
    filter: invert(1);
  }
  .overlay {
    pointer-events: none;
  }


/* Stil toast */
#formToast {
    min-width: 320px;
    max-width: 400px;
    min-height: 60px;
    white-space: normal;
    border-radius: 0.5rem;
    font-size: 1rem;
}

#formToast .toast-body {
    padding: 1rem;
    line-height: 1.4;
    word-wrap: break-word;
}


#videoFallback {
  display: none;
  color: #000;             /* text negru */
  background-color: #fff;   /* fundal alb */
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
}
