@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   RESET & SYSTEM STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette */
    --bg-primary: #ffffff;
    --bg-secondary: #f4fafd;
    --primary: #0ea5e9;       /* Vibrant Clean Blue */
    --primary-hover: #0284c7;
    --primary-light: #e0f2fe; /* Light cyan tint */
    --text-main: #1e293b;     /* Dark Slate */
    --text-muted: #64748b;    /* Cool Gray */
    --accent: #22d3ee;        /* Fresh Cyan */
    
    /* Layout & Shadow constants */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(14, 165, 233, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 30px -5px rgba(14, 165, 233, 0.08), 0 4px 6px -2px rgba(14, 165, 233, 0.02);
    --shadow-lg: 0 20px 40px -10px rgba(14, 165, 233, 0.15), 0 10px 15px -3px rgba(14, 165, 233, 0.05);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   REUSABLE COMPONENTS
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-nav, .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    font-size: 0.95rem;
    transition: var(--transition-bounce);
    cursor: pointer;
    border: none;
    outline: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px -6px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -5px rgba(14, 165, 233, 0.6);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-main);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--primary-hover);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.btn-nav {
    background-color: var(--primary-light);
    color: var(--primary-hover);
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    width: 120px;
}

.btn-nav:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px -4px rgba(14, 165, 233, 0.3);
}

/* Section Titles */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.section-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

/* ==========================================================================
   1. NAVIGATION BAR
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: rgba(255, 255, 255, 0.0);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(14, 165, 233, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    height: 70px;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
}

.logo a span {
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.5rem;
}

.main-nav ul li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 0.5rem 0;
    position: relative;
}

.main-nav ul li a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

.main-nav ul li a:not(.btn-nav):hover {
    color: var(--primary);
}

.main-nav ul li a:not(.btn-nav):hover::after {
    width: 100%;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-nav-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--text-main);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 160px 0 100px 0;
    background: radial-gradient(circle at 80% 20%, rgba(224, 242, 254, 0.6) 0%, rgba(255, 255, 255, 1) 70%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.08) 0%, rgba(14, 165, 233, 0.05) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    line-height: 1.15;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-image-placeholder {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-placeholder img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    animation: floatAnimation 6s ease-in-out infinite;
}

.hero-image-placeholder img:hover {
    transform: scale(1.02);
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   3. SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

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

.service-card {
    background-color: var(--bg-primary);
    border: 1px solid rgba(14, 165, 233, 0.06);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Hover Animation Effect on Cards */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.02) 0%, rgba(34, 211, 238, 0.01) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 233, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
    transition: var(--transition-bounce);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--primary);
    color: #ffffff;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   4. WHY CHOOSE US (TRUST SECTION)
   ========================================================================== */
.trust-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    position: relative;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.trust-item {
    background-color: var(--bg-primary);
    border: 1px solid rgba(14, 165, 233, 0.03);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.trust-item h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   5. CONTACT & QUOTE FORM
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-details li {
    font-size: 1.05rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-details li strong {
    color: var(--primary);
}

.contact-form-wrapper {
    background-color: var(--bg-primary);
    border: 1px solid rgba(14, 165, 233, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input, .form-group select, .form-group textarea {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.85rem 1.2rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid #cbd5e1;
    background-color: var(--bg-primary);
    color: var(--text-main);
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
    color: #ffffff;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1rem;
    box-shadow: 0 8px 20px -6px rgba(14, 165, 233, 0.4);
    padding: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -5px rgba(14, 165, 233, 0.6);
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.main-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 2.5rem 0;
    border-top: 1px solid #1e293b;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-footer p {
    margin: 0;
}

/* ==========================================================================
   3.5 GALLERY / SLIDER SECTION
   ========================================================================== */
.gallery-section {
    padding: 100px 0 0 0;
    background-color: var(--bg-primary);
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide {
    flex: 0 0 100%;
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 550px;
    max-height: 750px;
    background-color: #cbd5e1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0) 100%);
    color: #ffffff;
    padding: 7rem 0 5.5rem 0;
}

.caption-container {
    text-align: left;
}

.caption-container span {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    display: inline-block;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-main);
    box-shadow: var(--shadow-md);
    z-index: 10;
    transition: var(--transition-bounce);
}

.slider-arrow:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 40px;
}

.next-arrow {
    right: 40px;
}

/* Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 100px;
}

.privacy-checkbox-group {
    display: flex !important;
    flex-direction: row !important; /* Forțează așezarea pe orizontală, nu pe verticală */
    align-items: flex-start !important; /* Aliniază bifa cu primul rând de text */
    justify-content: flex-start !important; /* Mută totul în stânga */
    gap: 10px; /* Lasă un spațiu curat între pătrățel și text */
    margin: 15px 0; /* Spațiere sus și jos */
    text-align: left !important; /* Forțează textul să înceapă din stânga */
}

.privacy-checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 3px 0 0 0; /* Coboară bifa doar 3 pixeli ca să fie la nivelul textului */
    cursor: pointer;
    flex-shrink: 0; /* Împiedică bifa să se turtească pe ecrane mai mici */
}

.privacy-checkbox-group label {
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    line-height: 1.4;
}

.privacy-checkbox-group label a {
    color: #0088cc; /* Sau culoarea albastră din logo-ul tău */
    text-decoration: underline;
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0 0 0;
    }
    .slide {
        height: 50vh;
        min-height: 400px;
    }
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    .prev-arrow { left: 15px; }
    .next-arrow { right: 15px; }
    .caption-container span {
        font-size: 1.3rem;
    }
    .slide-caption {
        padding: 4rem 0 3.5rem 0;
    }
    .slider-dots {
        bottom: 24px;
    }
}

.footer-socials {
    display: flex;
    gap: 15px; /* Spațiu între iconițe */
    align-items: center;
}

.social-link {
    color: #a0aec0; /* O culoare gri neutră, potrivită pentru fundalul închis al subsolului */
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Efect când utilizatorul trece cu mouse-ul peste iconițe */
.social-link:hover {
    color: #0088cc; /* Va lua culoarea albastră din logo-ul tău */
    transform: translateY(-3px); /* Se ridică ușor 3 pixeli pentru un efect dinamic premium */
}
/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-container {
        gap: 2.5rem;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .contact-container {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-nav-toggle {
        display: block;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 100px 2rem 2rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        transition: var(--transition-smooth);
        z-index: 1000;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .main-nav ul li {
        width: 100%;
    }
    
    .main-nav ul li a {
        font-size: 1.2rem;
        display: block;
        width: 100%;
    }
    
    .btn-nav {
        text-align: center;
        padding: 0.85rem 2rem;
    }
    
    /* Layout Adaptations */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image-placeholder {
        order: -1;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-details {
        align-items: center;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.6rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta a {
        width: 100%;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

.section-padding {
    padding: 20px;
}
/* Containerul pentru cardurile Before/After */
.ba-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.ba-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #edf2f7;
}

/* Containerul celor 2 poze alăturate */
.ba-images {
    display: flex;
    gap: 2px; /* Linie subțire între imagini */
    background-color: #e2e8f0;
}

.ba-photo {
    position: relative;
    flex: 1;
    height: 380px; /* Am mărit puțin înălțimea pentru poze verticale */
    background-color: #f8fafc; /* Fundal neutru pentru eventualele margini */
}

.ba-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Afișează POZA COMPLETĂ, fără decupare */
    display: block;
}

/* Etichetele BEFORE și AFTER */
.ba-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.badge-before {
    background-color: #e53e3e; /* Roșu discret */
}

.badge-after {
    background-color: #2b6cb0; /* Albastru/Verde adaptat brandului */
}

.ba-details {
    padding: 20px;
}

.ba-details h3 {
    color: #002D62;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.ba-details p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* Adaptare pentru ecrane mici (Mobil) */
@media (max-width: 600px) {
    .ba-images {
        flex-direction: column; /* Pe mobil se pun una sub alta */
    }
    .ba-photo {
        height: 220px;
    }
}