/* Reset general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header {
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 80px; /* Înălțime fixă pentru header */
    
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-spacer {
    height: 80px; /* Trebuie să fie IDENTICĂ cu înălțimea header-ului */
    width: 100%;
}

/* Eliminăm padding-ul de pe body dacă l-am adăugat anterior, 
deoarece spacer-ul face acum treaba asta */
body {
    margin: 0;
    padding-top: 0 !important;
}



[data-aos] {
    pointer-events: none;
}
.aos-animate {
    pointer-events: auto;
}



.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0056b3;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0056b3;
}

/* Butoane */
.btn-primary {
    background: #0056b3;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #004494;
}

.btn-secondary {
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 10px;
}



/* Hero Section */
.hero-section {
    padding: 100px 5%;
    text-align: center;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
}
/*
.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
*/
.hero-section h1 {
    color: #ffffff;
    font-weight:2.5rem; /* Un font mai gros arată superb în alb */
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Umbră fină pentru profunzime */
	margin-bottom: 20px;
}

.hero-buttons {
    margin-top: 30px;
}

/* Servicii Grid */
.services-section {
    padding: 80px 5%;
    text-align: center;
	background: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    
    /* Marginea colorată în partea de sus */
    border-top: 5px solid #00d2ff; 
    
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-align: left;
}
.service-card.color-1 { border-top-color: #00d2ff; } /* Albastru ciel */
.service-card.color-2 { border-top-color: #0056b3; } /* Albastru royal */
.service-card.color-3 { border-top-color: #25d366; } /* Verde WhatsApp */
.service-card.color-4 { border-top-color: #6f42c1; } /* Mov elegant */

.service-card:hover {
    transform: translateY(-12px);
    /* Umbră mai pronunțată și ușor colorată la hover */
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.15);
    border-top-color: #800000; /* Schimbă nuanța marginii la hover */
}

/* Opțional: Adăugăm un mic icon sau număr discret în fundal */
.service-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent, rgba(0, 210, 255, 0.05));
    border-radius: 50%;
}

.service-card h3 {
    color: #1a1d23;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
}


/* Portofoliu Styles */
.portfolio-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
}

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

.section-header h2 {
    font-size: 2.3rem;
    color: #333;
    margin-bottom: 10px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.view-project {
    color: white;
    text-decoration: none;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.portfolio-info {
    padding: 20px;
    text-align: left;
}

.portfolio-info h3 {
    margin-bottom: 5px;
    font-size: 1.25rem;
    color: #333;
}

.portfolio-info span {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsivitate (Meniu Mobil) */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    nav {
        position: absolute;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }
    nav.active { left: 0; }
    nav ul { flex-direction: column; padding: 20px 0; }
    nav ul li { margin: 15px 0; }
    .desktop-btn { display: none; }
}

/* Contact Section Styles */
.contact-section {
    padding: 80px 5%;
	background-color: white;
}


.contact-container {
/*    max-width: 1100px; */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.2rem;
    color: #0056b3;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.detail-item {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.detail-item strong {
    color: #0056b3;
    display: block;
}

/* Form Styles */
.contact-form {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    border-color: #0056b3;
    box-shadow: 0 0 8px rgba(0,86,179,0.1);
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
}


/* Footer Stilizat */
.main-footer {
    background-color: #1a1d23; /* Gri foarte închis/albastru închis */
    color: #ffffff;
    padding: 80px 5% 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-logo span {
    color: #00d2ff; /* Accent de culoare (Albastru deschis sau Verde) */
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #00d2ff;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: #00d2ff;
}

.footer-col p {
    color: #adb5bd;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.contact-list li {
    color: #adb5bd;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Responsivitate */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .contact-list li {
        justify-content: center;
    }
}


/* Responsivitate pentru Formular */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        text-align: center;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.05);
}

.float-text {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.5s ease, margin 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.whatsapp-float:hover .float-text {
    max-width: 200px;
    margin-left: 10px;
}

/* Animație de puls */
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    animation: pulse-whatsapp 2s infinite;
}

/* Ajustare pentru mobil (îl facem mai mic sau mutăm mai sus) */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 12px;
    }
    .float-text { display: none; } /* Pe mobil lăsăm doar iconița */
}

section {
    scroll-margin-top: 80px; /* Aceeași înălțime ca header-ul */
}



/* Opțional: dezactivăm AOS pentru prima secțiune pe ecrane foarte mici dacă face probleme */
@media (max-width: 480px) {
    [data-aos="fade-up"] {
        opacity: 1 !important;
        transform: none !important;
    }
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-links a:hover {
    background-color: #00d2ff;
    color: #1a1d23;
    transform: translateY(-5px);
    border-color: #ffffff;
}

.contact-list li i {
    color: #00d2ff;
    width: 25px; /* Aliniere egală pentru iconițe */
}