html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/poppins/v22/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/opensans/v40/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVI.woff2') format('woff2');
}

/* Meniu Principal */
.main-menu ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.main-menu a:hover {
    color: white;
    text-decoration: none;
}

/* Responsiv */
@media (max-width: 768px) {
    .main-menu ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Stiluri suplimentare pentru meniu */
.main-menu li {
    position: relative;
    padding: 5px 0;
}

.main-menu li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--portocaliu);
    transition: 0.3s;
}

.main-menu li:hover::after {
    width: 100%;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background: #f9f9f9;
}

.faq h2 {
	text-align: center;
    padding: 1rem;
}

.faq .cta-button {
	text-align: center;
}

.qa-item {
    margin: 2rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.question:hover {
    background: #f5f7fa;
}

.question h3 {
    color: #000;
    font-size: 1.1rem;
    margin: 0;
}

.toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FF6B35;
}

.answer {
    display: none;
    padding: 1.5rem;
    background: #fff;
    border-top: 1px solid #eee;
}

.answer p {
    color: #666;
    line-height: 1.8;
}

.answer strong {
    color: #2A3F8E;
}

.faq .cta-button {
    display: block; 
    margin: 2rem auto 0;
    width: fit-content;
}

/* Active State */
.qa-item.active .answer {
    display: block;
}

.qa-item.active .toggle {
    transform: rotate(45deg);
}


/* Reset și Fonturi */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #000;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
}

/* Paleta de Culori */
:root {
    --albastru: #2E2E2E;
    --verde: #5C85AD;
    --portocaliu: #FF6B35;
    --gri-deschis: #F5F7FA;
}

/* Antet */
header {
    background: var(--albastru);
    padding: 1rem;
    position: unset;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-block;
    line-height: 0; /* Elimină spațierea sub imagine */
}

.logo img {
    width: 180px;
    height: 56px;
    transition: 0.3s; /* Animatie la hover (opțional) */
}

.contact-info p {
    color: white;
    margin: 0.3rem 0;
}

.contact-info a {
    color: white;
    text-decoration: none;
}

.cta-button {
    background: #004080;
    color: white!important;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
	display: inline-block;
	border: none;
	font-size: 20px;
}

.cta-button:hover {
    background: var(--portocaliu);
}

/* Beneficii */
.beneficii {
    padding: 4rem 1rem;
    background: var(--gri-deschis);
	text-align: center;
}

.grid-beneficii {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.beneficiu {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.beneficiu img {
    width: 80px;
    margin-bottom: 1rem;
}

/* Call to action */
.calltoaction {
    background: var(--albastru);
    color: white;
    padding: 4rem 1rem;
	text-align: center;
}

.calltoaction-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.calltoaction-content p {
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

/* Services */
.services {
    padding: 4rem 1rem;
    background: var(--gri-deschis);
	text-align: center;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.servicesingle {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.servicesingle img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0;
}

/* Portofoliu */
.portofoliu {
    padding: 4rem 1rem;
    text-align: center;
}

.grid-portofoliu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.client {
    background: var(--gri-deschis);
    padding: 2rem;
    border-radius: 10px;
}

/* Ofertă */
.oferta {
    background: #D9C5A0;
    color: black;
    padding: 4rem 0;
	text-align: center;
}

.oferta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.oferta-content p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

form input {
    width: 100%;
    padding: 12px;
    margin: 0;
    border: none;
    border-radius: 5px;
}

input:focus::placeholder {
  color: transparent;
}

textarea:focus::placeholder{
 color:transparent;
}

/* Stiluri formular */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
}

.checkbox-group {
    display: block;
    align-items: flex-start; /* Schimbă din 'center' în 'flex-start' */
    gap: 8px;
    margin: 1rem 0;
    width: 100%;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px; /* Ajustează pentru aliniere verticală */
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
    gap: 6px; /* Reduci spațiul dintre checkbox și text */
}

.checkbox-group a {
    color: #004080;
    text-decoration: underline;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: #2E2E2E;
    color: white;
    padding: 3rem 0;
}

.footer-col {
    margin: 1rem 1rem 2rem 1rem;
	text-align: center;
}

.social img {
    width: 35px;
    margin: 10px 5px;
}

/* Responsiv */
@media (max-width: 768px) {
    .logo img {
        width: 200px; /* Reduci dimensiunea */
        height: auto;
    }
	
    .grid-beneficii, .grid-portofoliu {
        grid-template-columns: 1fr;
    }
	
	.calltoaction h2 {
	 display: block;
	 font-size: 1.2em;
	}
	
.servicesingle {
    padding: 1rem;
}

.servicesingle img {
    width: 100%;
}
	
	.grid-services {
        grid-template-columns: 1fr;
    }

    header .container {
        flex-direction: column;
        text-align: center;
    }
	
    header .cta-button {
        display: none;
    }	
	
	.hero {
		padding: 4rem 1rem;
	}
	
    .hero h1 {
        line-height: 1.2;
    }

    .main-menu {
        display: none;
    }
	
	.oferta {
    padding: 1rem;
}

.oferta-content p {
    margin: 0.5rem 0;
    font-size: 1rem;
}
	.form-group {
    margin-bottom: 0.5rem;
}
textarea {
    height: 100px;
}
}

.thank-you-message {
    text-align: center;
    padding: 100px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-message h1 {
    color: #2A3F8E;
    margin-bottom: 2rem;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .main-menu {
        display: none !important;
    }
}



.realisations {
    padding: 4rem 1rem;
    background: #fff;
    text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.03);
}

#lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 15px #000;
}

/* Buton de închidere */
.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  font-weight: bold;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 5px 12px;
  line-height: 36px;
}

.close-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* Săgeți navigare */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: white;
  background: rgba(0,0,0,0.4);
  padding: 10px 16px;
  cursor: pointer;
  user-select: none;
  z-index: 10000;
  border-radius: 4px;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.nav-btn:hover {
  background: rgba(255,255,255,0.2);
}

.appelalaction {
    position: fixed;
    bottom: 12px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 10000;
    pointer-events: none;
}

.appelalaction a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    pointer-events: auto;
}

.appelalaction a:hover {
    transform: scale(1.1);
}

.appelalaction a img {
    width: 50px;
    height: 50px;
}


@media (min-width: 768px) {
    .appelalaction {
        display: none !important;
    }
}

#cookie-banner p {
    margin-block: 10px;
}