/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00a2ff;
    --primary-dark: #0077cc;
    --text-dark: #1b1b1b;
    --text-muted: #555555;
    --bg-light: #f8fbff;
    --white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 12px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 162, 255, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utility */
.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: capitalize;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 162, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 162, 255, 0.4);
}

.btn-block {
    width: 100%;
}

.icon {
    margin-left: 8px;
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text small {
    font-size: 0.6em;
    font-weight: 500;
    color: var(--primary);
    vertical-align: super;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-right: 5px;
}

.lang-switcher a {
    display: inline-block;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: grayscale(90%) opacity(0.6);
}

.lang-switcher a:hover,
.lang-switcher a.active {
    transform: scale(1.15);
    filter: grayscale(0%) opacity(1);
}

.lang-switcher img {
    border-radius: 4px;
    width: 26px;
    height: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Offset navbar */
    overflow: hidden;
}

.slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 20%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    color: var(--white);
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.highlight-phone a {
    color: var(--primary);
    font-size: 1.5rem;
    display: inline-block;
    margin-top: 10px;
}

.highlight-phone a:hover {
    color: var(--white);
    text-shadow: 0 0 10px var(--primary);
}

.slider-controls {
    display: flex;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Glassmorphism Form */
.hero-formglass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(0);
    transition: var(--transition);
}

.hero-formglass:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #fafbfc;
    transition: var(--transition);
    color: var(--text-dark);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 162, 255, 0.1);
}

.input-group textarea {
    resize: vertical;
}

/* Despre Noi Section */
.despre-section {
    padding: 100px 0;
    background-color: var(--primary);
    color: var(--white);
}

.despre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.despre-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.despre-content .lead {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.7;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    backdrop-filter: blur(10px);
}

.highlight-box .icon-large {
    font-size: 2rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.highlight-box p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Servicii Section */
.servicii-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 162, 255, 0.1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 162, 255, 0.1);
    color: var(--primary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.icon-wrapper svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    flex-grow: 1;
}

.featured-service {
    grid-column: span 2;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

@media (max-width: 900px) {
    .featured-service {
        grid-column: span 1;
    }
}

/* Footer */
.footer {
    background-color: #0b1120;
    color: #a0aec0;
    padding: 80px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-link .logo-text {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-logo {
    height: 45px;
    mix-blend-mode: screen;
    filter: brightness(1.5);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.contact-info,
.footer-links {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a:hover,
.contact-info li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
}

/* Footer Banner */
.footer-banner {
    background: linear-gradient(135deg, #0d1a33, #15274d);
    padding: 18px 30px;
    border-radius: var(--border-radius);
    display: inline-block;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.footer-banner:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.footer-banner a {
    color: var(--white);
    font-size: 1.15rem;
}

.footer-banner a strong {
    color: var(--primary);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: #FFF;
}

/* reCAPTCHA Badge - ascuns, textul de atributie e in formular */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
}

.recaptcha-notice {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 8px;
    line-height: 1.4;
}

.recaptcha-notice a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
}


/* Responsive Variables */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .slider-controls {
        justify-content: center;
        margin-bottom: 40px;
    }

    .slider-overlay {
        background: rgba(0, 0, 0, 0.6);
    }

    .despre-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        padding: 40px 20px;
        transition: 0.4s;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
    }

    .lang-switcher {
        margin: 15px 0;
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .despre-section,
    .servicii-section {
        padding: 60px 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}