/* hamburger-menu */

.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 10;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: 0.4s;
    /* Animație fluidă */
}

/* Ascundem meniul implicit pe ecrane mici */
.nav-links {
    display: none;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 77px;
    width: 100%;
    right: 0;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

.nav-links ul {
    list-style: none;
    padding: 12px;
    margin: 0;
    text-transform: capitalize;
    text-align: right;
}

.nav-links.active {
    display: flex;
}

/* Animație pentru transformarea în "X" */
.hamburger-menu.open .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Culori Brand Actualizate din Logo */

:root {
    --dark-blue: #1A3668;
    /* Albastru Tech */
    --solar-blue: #00AEEF;
    /* Albastru Solar */
    --leaf-green: #8CC63F;
    /* Verde Eco */
    --light-bg: #00000000;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

h1,
h2,
h3,
.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Navigație */

header {
    background: #fff;
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 34px;
    font-weight: bold;
    color: var(--dark-blue);
}

.logo span {
    color: var(--leaf-green);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    /* Ajustează dimensiunea logo-ului aici */
    width: auto;
}

nav a {
    text-decoration: none;
    color: var(--dark-blue);
    margin-left: 20px;
    font-weight: 600;
    transition: 0.3s;
    font-size: 0.9rem;
    text-transform: capitalize;
    display: inline-block;
    padding-block: 3px;
}

nav a:hover {
    color: var(--leaf-green);
}

/* Hero */
.hero.hero--home {
    /* Ajustează '60vh' dacă vrei să fie și mai îngustă sau mai lată */
    height: 50vh;
    width: 100%;
    /* Asigură-te că imaginea salvată are exact acest nume în folderul tău */
    background: url('casa-inteligenta.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero.hero--contact {
    background: linear-gradient(rgba(26, 54, 104, 0.85), rgba(26, 54, 104, 0.85)),
        url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    height: auto;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-overlay {
    /* Un gradient subtil pentru a face textul lizibil fără a acoperi detaliile casei */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    font-family: 'Arial', sans-serif;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 300;
}

.status-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: #00d1b2;
    /* O nuanță de turcoaz/verde energetic */
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Adaptare pentru mobil */
@media (max-width: 768px) {
    .hero {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* CTA */
.cta-button {
    background-color: var(--leaf-green);
    color: white;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 50px;
    /* Aspect mai modern, rotunjit */
    font-weight: bold;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 4px 15px rgba(140, 198, 63, 0.4);
}

.cta-button:hover {
    background-color: #7ab332;
    transform: scale(1.05);
}

/* Servicii */
.services {
    padding: 10px 10%;
    text-align: center;
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border-bottom: 5px solid var(--solar-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--leaf-green);
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: white;
    text-align: center;
    padding: 50px 10%;
}

.footer-info {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 20px;
}

/* Contact Page Specific Styles */
.contact-section {
    padding: 60px 10%;
    background: var(--light-bg);
}

.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.contact-section .subtitle {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 40px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    color: var(--dark-blue);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.info-item {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item strong {
    color: var(--dark-blue);
    font-size: 1rem;
}

.info-item span {
    color: #666;
    font-size: 0.95rem;
}

.info-item a {
    color: inherit;
    text-decoration: none;
}

/* Stiluri CSS specifice BITES Automation */
.bitesa-electrical-section {
    padding: 10px 10px;
    background-color: #f9f9f9;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .subtitle {
    color: #0056b3;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 36px;
    margin: 15px 0;
    color: #1a1a1a;
}

.section-header .description {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: #0056b3;
    margin: 25px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card.featured {
    border-top: 5px solid #0056b3;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title svg {
    width: 60px;
    height: 60px;
    color: #0056b3;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 0;
    color: #1a1a1a;
    margin-top: 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.features-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0056b3;
    font-weight: bold;
}

.cta-wrapper {
    text-align: center;
    margin-top: 60px;
}

.btn-bitesa {
    display: inline-block;
    background-color: #0056b3;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.btn-bitesa:hover {
    background-color: #003d80;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    header {
        padding: 15px;
    }

    .logo {
        font-size: 16px;
    }

    .cta-button {
        padding: 8px 15px;
        font-size: 14px;
    }

    .nav-links {
        top: 60px;
    }
}