/* Base */
body.body {
  margin: 0;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  color: #2d3748;
  background-color: white;
  font-weight: 400;
  max-width: 100%;
  overflow-x: hidden;
}

/* Header */
.header {
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 1rem;
}

.nav-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #9CB4C8;
}

/* Hero Video */
.hero-video {
  width: 100%;
  height: 100vh;
  object-fit: cover;  
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}

.hero-video-wrapper {
  width: 100%;
  overflow: hidden;
}
.section-nav {
  padding: 6rem 1rem 2rem;
}

.main{
  flex:1;
}
/* Sections */
.section {
  padding: 1rem 1.5rem;
}


.container {
  max-width: 1100px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
}

.extra-spacing-bottom {
  margin-bottom: 2rem; 
}

.bg-light-blue {
  background-color: #9CB4C8;
  padding: 1rem;
  color: white;
  font: "Poppins", sans-serif; 
  font-weight: 500;
}

h1, h2, h3, h4, .section-title, .subtitle {
  font-family: "Poppins", sans-serif;
  color: #2d3748;
}

.text-white {
  color: white !important;
}

/* Typography */
.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2d3748;
  transition: opacity 1s ease, transform 1s ease;
  text-align: left;
  font-family: "Poppins", sans-serif;
}

.section-title[data-aos] {
  opacity: 0;
  transform: translateX(-30px);
}

.section-title.aos-animate {
  opacity: 1;
  transform: translateX(0);
}

.contact .section-title {
  text-align: center;
}

.subtitle {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1rem;
  transition: opacity 1s ease, transform 1s ease;
}

.subtitle[data-aos] {
  opacity: 0;
  transform: translateY(30px);
}

.subtitle.aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.section-text {
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.85rem;
  color: #2d3748;
  transition: opacity 1s ease, transform 1s ease;
}

.section-text[data-aos] {
  opacity: 0;
  transform: translateX(30px);
}

.section-text.aos-animate {
  opacity: 1;
  transform: translateX(0);
}

/* Images */
.image, .img-hover {
  width: 90%;
  max-width: 450px;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  justify-self: center;
}

.img-hover {
  transition: transform 0.5s;
}

.img-hover:hover {
  transform: scale(1.05);
}

.list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: opacity 1s ease, transform 1s ease;
}

.list[data-aos] {
  opacity: 0;
  transform: translateY(30px);
}

.list.aos-animate {
  opacity: 1;
  transform: translateY(0);
}
.interior-group {
  position: relative;
  list-style: none;
  padding-left: 1.5rem;
  margin-left: 0;
  border-left: 3px solid #9CB4C8; 
}

.interior-group li {
   display: inline-block;
  position: relative;
  cursor: pointer;
  margin-bottom: 0.4rem; 
  line-height: 1.6;       
}

.interior-group li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #9CB4C8;
  transition: width 0.3s ease;
}

.interior-group li:hover::after {
  width: 100%;
}

.interior-group[data-aos] {
  opacity: 0;
  transform: translateY(20px);
}

.interior-group.aos-animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
}

/* Riviera */
.section.riviera {
  background-color: #fdfaf6;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.section.riviera .section-title {
  font-size: 2.25rem;
  color: #2d3748;
}

.riviera .image {
  max-width: 600px;
  width: 100%;
}


.section.riviera .subtitle {
  font-size: 1.5rem;
  color: #2d3748;
}

.section.riviera .section-text,
.section.riviera .list li {
  color: #2d3748;
}

.section.riviera .list li::before {
  background-color: #9CB4C8;
}

/* Contact */
.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}


.contact-btn {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto;
  background-color: #9CB4C8;
  color: white;
  padding: 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
}

.contact-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}



/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 500px;
  padding: 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 0.375rem;
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  background-color: #9CB4C8;
  transition: border-color 0.3s;
  color: white;
}

.form-group  input::placeholder,
.form-group  textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}
textarea {
  resize: vertical;
}

.checkbox-group {
    margin-top: 1rem;
    display: flex;
    justify-content: center;  
    font-size: 0.95rem;
    color: #333;
    text-align: center;
}

.checkbox-group label {
    display: flex;
    align-items: center;    
    gap: 0.5rem;
    cursor: pointer;
    flex-wrap: wrap;
    max-width: 600px;        
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0077cc;
    cursor: pointer;
    margin: 0;
}

.checkbox-group a {
    color: #0077cc;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.checkbox-group a:hover {
    color: #005fa3;
}

.section-nav.contact.riviera {
  background-color: #fdfaf6 !important;
}


.success-message,
.error-message {
  max-width: 500px;
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.success-message {
  background-color: #e6f4ea;
  color: #276749; /* verde închis, stil calm */
  border-left: 4px solid #38a169;
}

.error-message {
  background-color: #fdecea;
  color: #721c24;
  border-left: 4px solid #f56565;
}


/* Contact subsol*/
.footer {
  background-color: #2d3748;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-family: "Poppins", sans-serif;
}

.cookie-link-wrapper {
  margin-top: 1rem;
}

.cookie-policy-btn {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #9CB4C8;
  padding: 0.5rem 1.25rem;
  border-radius: 0.375rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cookie-policy-btn:hover {
  background-color: #9CB4C8;
  color: white;
}



.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #9cb4c8;
}


.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.footer-social a {
  font-size: 1.25rem;
  color: #ffffff;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #9CB4C8;
}
.info-block {
  display: flex;
  align-items: center; 
  gap: 0.75rem;
  max-width: 300px;
  text-align: left;
}

.info-block p {
  line-height: 1.5;
}


/* Projects Carousel */

.projects-carousel {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
}

.carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.carousel-slide h2 {
    margin-top: 1rem;
    font-size: 1.2rem;
    color:#2d3748;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #9CB4C8;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    z-index: 10;
}

.carousel-btn.prev {
    left: 0.5rem;
}

.carousel-btn.next {
    right: 0.5rem;
}


/* Cookie Popup */
#cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, 0.3);
    z-index: 9998;
    display: none;
}

#cookie-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    color: #2d3748;
    padding: 2rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    font-family: 'Poppins', sans-serif;
    z-index: 9999;
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
}

#cookie-banner a {
    color: #9CB4C8;
    text-decoration: underline;
    font-weight: 500;
}

#cookie-banner button {
    background-color: #9CB4C8;
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 0.5rem;
    cursor: pointer;
    align-self: flex-end;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#cookie-banner button:hover {
    background-color: #7a97af;
    transform: translateY(-2px);
}


/* Responsive Styles */


@media (min-width: 768px) {

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-left {
    order: 0;
  }


  .grid > * {
    align-self: center;
  }

    .order-right {
    order: 1;
  }

  
  .grid.reverse > * {
    direction: ltr;
  }

  
  .grid.alt-right > * {
    direction: ltr;
  }

  .grid.alt-left {
    direction: ltr;
  }

  .grid.alt-left > * {
    direction: rtl;
  }

    .contact-info {
    flex-direction: row;
    gap: 2rem;
  }

  .footer-contact {
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
  }
}



@media (max-width: 600px) {

  .nav {
    gap: 0.8rem;
  }

  .nav-link {
      font-size: 0.9rem;
    }

  .contact-btn {
    width: 100%;
    max-width: 250px;
    font-size: 1rem;
  }

  .form-group input,
  .form-group textarea {
      font-size: 0.95rem;
      padding: 0.75rem;
    }

  .contact-mobile-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    box-sizing: border-box;
  }

  .contact-container {
    width: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    overflow-x: hidden
  }

  .contact-form {
    text-align: center;
    gap: 1rem;
    
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    font-size: 1rem;
    padding: 0.75rem;
  }


  .section-title {
    font-size: 1.5rem;
  }
}


@media (max-width: 767px) {
 .grid {
    display: flex;
    flex-direction: column;
  }

  .grid .order-left {
    order: 0;
  }

  .grid .order-right {
    order: 1;
  }

  .grid:nth-of-type(even) .order-left {
    order: 1;
  }

  .grid:nth-of-type(even) .order-right {
    order: 0;
  }

    #cookie-banner {
    top: auto;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    padding: 1.25rem;
    font-size: 0.9rem;
    border-radius: 0.75rem;
    line-height: 1.5;
  }

  #cookie-banner button {
    width: 100%;
    align-self: center;
    text-align: center;
    padding: 0.75rem;
    font-size: 1rem;
  }
}

