/*
Theme Name: Willy Analytica Theme
Author: Willy Analytica LLC
Description: Custom, high-performance PHP theme optimized for SEO, Core Web Vitals, and E-E-A-T signals. Fully responsive, dark-mode, without page builders.
Version: 2.4 - Final Layout and Padding Fix
Author URI: https://www.willyanalytica.com
*/

/* --- Stiluri Generale & Resetare --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* --- Bara de Navigare (Header) --- */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

ul.nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
}

ul.nav-menu li a {
    display: block;
    padding: 10px 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

ul.nav-menu li a:hover {
    color: #00f0ff;
}

/* --- Secțiunea Hero (Prima Pagina) --- */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5)), url('https://www.willyanalytica.com/wp-content/uploads/2025/04/Willy-Analytica-Online-Ditigal-Marketing.jpg') center center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    color: #ccc;
    max-width: 700px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 35px;
    border-radius: 50px;
    background: linear-gradient(90deg, #00f0ff, #007bff);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.7);
}

/* --- Secțiunea de Contact (de pe Prima Pagina) --- */
.contact-section {
    padding: 100px 20px; /* ACEST '20px' ADAUGA SPATIU STANGA-DREAPTA */
    background-color: #0a0a0a;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.8rem;
    color: #00f0ff;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

/* --- Footer --- */
.site-footer {
    text-align: center;
    padding: 50px 20px;
    background: #000;
    color: #aaa;
    border-top: 1px solid rgba(0, 240, 255, 0.2);
}

.footer-logo {
    max-width: 150px;
    height: auto;
    margin: 0 auto 20px auto;
}

.site-footer p {
    max-width: 700px;
    margin: 0 auto 15px auto;
    line-height: 1.6;
    font-size: 14px;
}

/* --- Stiluri pentru Paginile Interioare (generate de page.php) --- */
.page-header {
    padding: 160px 20px 80px 20px;
    background-color: #050505;
    text-align: center;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://www.willyanalytica.com/wp-content/uploads/2025/04/Willy-Analytica-Online-Ditigal-Marketing.jpg');
    background-size: cover;
    background-position: center;
}

.page-title {
    font-size: 3rem;
    color: #00f0ff;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.page-content {
    padding: 80px 20px;
    background-color: #0a0a0a;
}

.page-content-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-content-container h1,
.page-content-container h2,
.page-content-container h3 {
    color: #00f0ff;
    margin-bottom: 20px;
    text-align: center;
}

.page-content-container p,
.page-content-container li {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 20px;
    text-align: left;
}

.page-content-container a {
    color: #00f0ff;
    text-decoration: underline;
}

/* --- Stiluri Specifice pentru Formularul WPForms --- */
.wpforms-container {
    max-width: 600px;
    margin: 40px auto 0 auto !important;
}

.wpforms-field-label {
    color: #ffffff !important;
    font-weight: 600;
}

.wpforms-required-label {
    color: #00f0ff !important;
}

.wpforms-form input[type=text],
.wpforms-form input[type=email],
.wpforms-form textarea {
    background-color: #111 !important;
    border: 1px solid #007bff !important;
    color: #fff !important;
    border-radius: 8px !important;
}

.wpforms-form .wpforms-submit {
    width: 100%;
    background: linear-gradient(90deg, #00f0ff, #007bff) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

/* --- Responsive Design (Optimizare pentru ecrane mici) --- */
@media (max-width: 992px) {
    .hero h1, .page-title { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .contact-section h2 { font-size: 2.2rem; }
    ul.nav-menu li a { font-size: 14px; padding: 10px; }
}

@media (max-width: 480px) {
    .site-header { padding: 10px 0; }
    .hero h1, .page-title { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .cta-button { width: 90%; }
    .hero-buttons { gap: 10px; }
    ul.nav-menu li a { font-size: 13px; padding: 8px; }
}
/* Adauga spatiu sub butonul de submit al formularului */
.wpforms-submit-container {
    margin-bottom: 60px !important;
}
/* ==========================================================================
   Stiluri Formular - VERSIUNEA FINALA (Mobil, Tableta, Desktop)
   ========================================================================== */

/* STILURI DE BAZA (Mobile-First) - se aplica pe toate ecranele */
/* Asigura alinierea corecta pe mobil si tableta */
.wpforms-field-label {
    text-align: left; /* Aliniem etichetele la stanga pe mobil/tableta */
    width: 100%;
}

/* STILURI PENTRU DESKTOP (se aplica DOAR pe ecrane mai mari de 1000px) */
@media (min-width: 1000px) {
    /* Transforma fiecare rand al formularului intr-un container flexibil */
    .wpforms-field {
        display: flex;
        align-items: center; /* Aliniaza eticheta si campul la centru pe verticala */
        gap: 20px; /* Adauga spatiu intre eticheta si camp */
    }

    /* Seteaza o latime fixa pentru eticheta, pentru a crea o coloana ordonata */
    .wpforms-field-label {
        flex: 0 0 200px; /* Marim putin spatiul pentru eticheta */
        text-align: right; /* Aliniem la dreapta doar pe desktop */
        width: auto; /* Anulam latimea de 100% de pe mobil */
    }

    /* Permite containerului campului sa ocupe restul spatiului */
    .wpforms-field-container {
        flex: 1;
    }
    
    /* Aliniaza si butonul de submit cu campurile de deasupra */
    .wpforms-submit-container {
        padding-left: 220px; /* 200px (pentru eticheta) + 20px (pentru spatiu) */
    }
}