/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --primary-color: #333;
  --accent-color: #007a5e;
  --light-accent: #e0f2ec;
  --bg-color: #ffffff;
  --font-family: 'Segoe UI', sans-serif;
}

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

body {
  font-family: var(--font-family);
  background: var(--bg-color);
  color: var(--primary-color);
  line-height: 1.6;

}


/* nav */

.custom-navbar {
  position: fixed;
  background: var(--bg-color);
  border-bottom: 1px solid #ddd;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 5rem;
  font-weight: bold;
  letter-spacing: 0.5px;

}

.navbar-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
  padding: 20px;
  position: relative;
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-color);
  text-transform: capitalize;
  transition: color 0.3s;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color);
}

.youtube-button {
  font-weight: bold;
  color: rgb(0, 0, 0);
}

#language {
  color: var(--primary-color);
  font-weight: 500;
  text-transform: capitalize;
}

#language:focus {
  border-color: var(--accent-color);
  box-shadow: none;
}

/* nav */


/* content */
.hero2 {
  height: 400px;
  width: 100%;
  background: var(--light-accent);
  position: relative;
  padding: 4rem 1rem;
  overflow: hidden;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 2rem 1rem;
  background: var(--light-accent);
  text-align: left;
}

.hero {
  max-width: 600px;
}



.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .button {
  background: var(--accent-color);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.hero .button:hover {
  background: #005d46;
}

.hero .sub {
  margin-top: 1rem;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 500;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-header,
.hero2 {
 position: relative;
background-image: linear-gradient(rgba(27, 27, 27, 0.427), rgba(66, 66, 66, 0.441)), url('../images/fructe.jpg');
  background-size: cover;
 
background-attachment: fixed;
  color: #ffffff;
}

/* content */


/* form */
section {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

section ul {
  list-style: none;
  padding-left: 1rem;
}

section li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}

section li::before {
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

input,
select,
textarea {
  padding: 0.7rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.button {
  background: var(--accent-color);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.button:hover {
  background: #005d46;
}

form .button {
  background: var(--accent-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: fit-content;
}

form .button:hover {
  background: #005d46;
}

footer {
  text-align: center;
  font-size: 0.85rem;
  padding: 2rem 0;
  color: #777;
}

.hidden {
  display: none;
}


.language-selector select {
  background-color: var(--accent-color);
  border: none;
  font-size: 16px;
  font-family: Arial, sans-serif;
  padding: 5px;
  cursor: pointer;
}

.language-selector select:hover,
.language-selector select:focus {
  outline: none;
}


/* footer */
.footer {
  background-color: var(--light-accent);
  color: #fff;
  font-size: 0.95rem;
}

.footer h5 {
  color: var(--primary-color);
  font-weight: 600;
}



/* video */
.videos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 1rem;
}

.video-wrapper {
  flex: 1 1 300px;
  max-width: 400px;
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.video-wrapper:hover {
  transform: scale(1.02);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* Telefoane: doar primul video */
@media (max-width: 600px) {
  .hero2 h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .video-wrapper {
    display: none;
  }

  .video-wrapper:first-child {
    display: block;
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Tablete: doar primele două videouri */
@media (min-width: 601px) and (max-width: 1024px) {
  .video-wrapper {
    flex: 1 1 45%;
    max-width: 45%;
    display: none;
  }

  .video-wrapper:nth-child(1),
  .video-wrapper:nth-child(2) {
    display: block;
  }

  .hero2 h2 {
    font-size: 2rem;
    text-align: center;
  }
}

/* Desktop: toate videourile */
@media (min-width: 1025px) {
  .video-wrapper {
    flex: 1 1 30%;
    max-width: 400px;
    display: block;
  }

  .hero2 h2 {
    font-size: 2.5rem;
  }
}





/* galerie de poze */
.galerie {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  width: 90%;
  margin: 50px auto;
}

.galerie img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.galerie img.mare {
  grid-column: span 2;
  grid-row: span 2;
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

@media (max-width: 768px) {
  .galerie {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .galerie {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .galerie img.mare {
    grid-column: auto;
    grid-row: auto;
  }
}


a[href^="tel:"] {
  color: rgb(0, 32, 3);
  font-weight: bold;
  text-decoration: none;
}

a[href^="mailto:"] {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 600;
}

.underline {
  text-decoration: underline;
}

/*  */

.container-centru {
  display: flex;
  align-items: center;     
  justify-content: center; 
  gap: 40px;
  padding: 40px 20px;
  flex-wrap: wrap;         
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.container-centru img {
  max-width: 4cm;
  width: 4cm;
  height: 4cm;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.text-centru {
  max-width: 500px;
}

.text-centru h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.text-centru p {
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .text-centru h2 {
    font-size: 1.5rem;
  }

  .text-centru p {
    font-size: 1rem;
  }

  .container-centru {
    gap: 20px;
    padding: 20px 10px;
  }
}

@media (max-width: 768px) {
  .hero-header,
  .hero2 {
    background-attachment: scroll !important;
  }
}

.commentbox {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Optional: make sure iframe or embedded content inside fills container */
.commentbox iframe,
.commentbox > div {
  width: 100% !important;
  min-height: 400px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .commentbox {
    padding: 15px;
    margin: 20px 10px;
  }
}