/* =========================================================
   ORIGINAL CSS (nemodificat) 
   ========================================================= */
/* Reset și bază */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header și navigare */
header {
    display: flex;
    justify-content: center;  /* centrează conținutul */
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav.container {
    display: flex;
    justify-content: center; /* aliniează logo-ul și link-urile în centru */
    align-items: center;
    gap: 2rem;               /* spațiu între elemente */
}




/* Link-uri desktop */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #667eea;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8)),
                url('/img/hero.jpg') center/cover;
    color: white;
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInFromTop 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInFromBottom 1s ease-out 0.3s both;
}

.hero-badge {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
    animation: pulse 2s infinite;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.cta-button {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    animation: slideInFromBottom 1s ease-out 0.6s both;
    margin-top: 2rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

@keyframes slideInFromTop {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInFromBottom {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    }
}

/* Services Section */
.services {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.service-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.service-card.featured .service-icon {
    color: #feca57;
}

.service-card.featured::before {
    background: linear-gradient(45deg, #feca57, #ff6b6b);
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    padding: 0;
    background: #f8f9fa;
    position: relative;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    padding: 40px 0 20px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 40px;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-card h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.contact-card .contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 1.8rem;
    animation: floating-pulse 2s infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.phone-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.whatsapp-btn {
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
}

@keyframes floating-pulse {
    0% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 0 10px rgba(102, 126, 234, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
}

/* Legal accordion */
.legal {
    padding: 40px 0;
    background: #f8f9fa;
}

.legal details {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.legal summary {
    font-size: 0,7rem;
    font-weight: 600;
    cursor: pointer;
}

.legal .content {
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    line-height: 1.5;
}

/* Footer legal */
.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: #333;
    padding: 2rem 0;
    color: #fff;
    text-align: center;
}

.footer-legal .company-info,
.footer-legal .footer-links {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.footer-legal .company-info li {
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-legal .footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal .footer-links a {
    color: #fff;
    text-decoration: underline;
    font-size: 0.9rem;
}

.footer-legal .footer-links a:hover {
    color: #feca57;
}

.footer-legal .footer-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0.5rem 0;
}

.footer-legal .footer-logos img {
    height: 40px;
    object-fit: contain;
}

.footer-legal .copyright {
    font-size: 0.85rem;
    opacity: 0.8;
}

.legal-in-footer details {
    background: #444;
    color: #fff;  
    border-radius: 5px;
    margin: 1rem 0;
    padding: 0.5rem;
}

.legal-in-footer summary {
    font-weight: bold;
    cursor: pointer;
}

.legal-in-footer .content {
    margin-top: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    color: #eee;
    font-size: 0.85rem;
}

/* Animations fade-in */
.fade-in {
    animation: fadeIn 1s ease-in both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adițional */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-badge {
        font-size: 1rem;
        padding: 8px 20px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .map-container {
        height: 350px;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .map-btn{
        background:#4285F4;     
        color:#fff;
    }


    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 20px 30px;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-card h3 {
        font-size: 1.3rem;
    }

    .contact-card p {
        font-size: 1rem;
    }
}

/* =========================================================
   FIXES & ADĂUGIRI (fără a șterge nimic din original)
   ========================================================= */

/* Offset pentru header fix când se face scroll la ancore */
html { scroll-padding-top: 110px; }

/* Corectură font-size cu virgulă */
.legal summary { font-size: 0.7rem; }

/* Selectorul corect pentru copyright */
.copyright {
    margin-top: 2rem;
    display: block;
    text-align: center;
}

/* Mutăm și menținem stilul .map-btn și în desktop (nu doar în media query) */
.map-btn{
    background:#4285F4;
    color:#fff;
}

/* Preferințe de reducere a animațiilor pentru accesibilitate */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Contrast îmbunătățit în secțiunea About (text alb pe gradient deschis) */
.about-content { color: #f7f7f7; }

/* Mic tweak pentru nav-links pe mobil (spacing mai mic) */
@media (max-width: 480px) {
  .nav-links { gap: 1rem; }
}
