/* Custom Styles for Pietroni Tecnologie */

:root {
    --industrial-blue: #1e3a8a;
    --steel-blue: #475569;
    --dark-slate: #334155;
    --orange-accent: #ea580c;
    --light-gray: #f8fafc;
    --medium-gray: #64748b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark-slate);
    background-color: #ffffff;
}

.navbar-brand img {
    height: 45px;
    width: auto;
    object-fit: cover;
    object-position: center;
}

.hero-section {
    background: linear-gradient(135deg, var(--industrial-blue) 0%, var(--steel-blue) 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::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 80 80"><defs><pattern id="pcb-traces" patternUnits="userSpaceOnUse" width="40" height="40"><g stroke="rgba(255,255,255,0.18)" fill="none"><path d="M2 20 L8 20 L8 8 L20 8 L20 2" stroke-width="1.2" stroke-linecap="round"/><path d="M20 20 L30 20 L30 30 L38 30" stroke-width="1.2" stroke-linecap="round"/><path d="M8 30 L20 30 L20 38" stroke-width="1" stroke-linecap="round"/><path d="M30 8 L38 8 L38 2" stroke-width="1" stroke-linecap="round"/><path d="M2 8 L8 8" stroke-width="0.8" stroke-linecap="round"/><path d="M30 2 L30 8" stroke-width="0.8" stroke-linecap="round"/><path d="M2 30 L8 30" stroke-width="0.8" stroke-linecap="round"/><path d="M20 38 L20 40" stroke-width="0.8" stroke-linecap="round"/><path d="M38 20 L40 20" stroke-width="0.8" stroke-linecap="round"/><path d="M0 20 L2 20" stroke-width="0.8" stroke-linecap="round"/><path d="M8 0 L8 2" stroke-width="0.8" stroke-linecap="round"/><path d="M30 38 L30 40" stroke-width="0.8" stroke-linecap="round"/><path d="M0 8 L2 8" stroke-width="0.6" stroke-linecap="round"/><path d="M38 30 L40 30" stroke-width="0.6" stroke-linecap="round"/><path d="M14 14 L26 14" stroke-width="0.6" stroke-linecap="round"/><path d="M14 26 L26 26" stroke-width="0.6" stroke-linecap="round"/><path d="M14 2 L14 8" stroke-width="0.6" stroke-linecap="round"/><path d="M26 32 L26 38" stroke-width="0.6" stroke-linecap="round"/><path d="M2 14 L8 14" stroke-width="0.5" stroke-linecap="round"/><path d="M32 14 L38 14" stroke-width="0.5" stroke-linecap="round"/><path d="M2 26 L8 26" stroke-width="0.5" stroke-linecap="round"/><path d="M32 26 L38 26" stroke-width="0.5" stroke-linecap="round"/><path d="M14 0 L14 2" stroke-width="0.5" stroke-linecap="round"/><path d="M26 0 L26 2" stroke-width="0.5" stroke-linecap="round"/><path d="M14 38 L14 40" stroke-width="0.5" stroke-linecap="round"/><path d="M26 38 L26 40" stroke-width="0.5" stroke-linecap="round"/><circle cx="8" cy="20" r="1.5" fill="rgba(255,255,255,0.12)" stroke="rgba(255,255,255,0.16)" stroke-width="0.4"/><circle cx="20" cy="8" r="1.2" fill="rgba(255,255,255,0.1)" stroke="rgba(255,255,255,0.14)" stroke-width="0.4"/><circle cx="30" cy="30" r="1.2" fill="rgba(255,255,255,0.1)" stroke="rgba(255,255,255,0.14)" stroke-width="0.4"/><circle cx="20" cy="20" r="0.8" fill="rgba(255,255,255,0.08)" stroke="rgba(255,255,255,0.12)" stroke-width="0.3"/><circle cx="14" cy="14" r="0.6" fill="rgba(255,255,255,0.06)" stroke="rgba(255,255,255,0.1)" stroke-width="0.3"/><circle cx="26" cy="26" r="0.6" fill="rgba(255,255,255,0.06)" stroke="rgba(255,255,255,0.1)" stroke-width="0.3"/><rect x="18" y="28" width="4" height="4" rx="0.5" fill="rgba(255,255,255,0.06)" stroke="rgba(255,255,255,0.1)" stroke-width="0.3"/><rect x="6" y="6" width="4" height="4" rx="0.5" fill="rgba(255,255,255,0.06)" stroke="rgba(255,255,255,0.1)" stroke-width="0.3"/><rect x="28" y="6" width="4" height="4" rx="0.5" fill="rgba(255,255,255,0.06)" stroke="rgba(255,255,255,0.1)" stroke-width="0.3"/><rect x="12" y="12" width="2" height="6" rx="0.3" fill="rgba(255,255,255,0.04)" stroke="rgba(255,255,255,0.08)" stroke-width="0.2"/><rect x="24" y="24" width="2" height="6" rx="0.3" fill="rgba(255,255,255,0.04)" stroke="rgba(255,255,255,0.08)" stroke-width="0.2"/></g></pattern></defs><rect width="80" height="80" fill="url(%23pcb-traces)"/></svg>') repeat;
    mask: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 20%, rgba(0,0,0,0.3) 35%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0) 50%);
    -webkit-mask: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 20%, rgba(0,0,0,0.3) 35%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0) 50%);
    opacity: 0.75;
}

.hero-badge {
    margin-bottom: 20px;
}

.hero-badge .badge {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 193, 7, 0.3);
}

.hero-features {
    margin: 30px 0;
}

.feature-item {
    color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.feature-item i {
    font-size: 1.5rem;
    color: #ffc107;
    display: block;
}

.feature-item small {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.services-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--orange-accent);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--industrial-blue), var(--steel-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.about-section {
    padding: 80px 0;
    background: white;
}

.contact-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.btn-primary {
    background: var(--orange-accent);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.btn-warning {
    background: #ffc107;
    border: 2px solid #ffc107;
    color: #000;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: transparent;
    color: #ffc107;
    border-color: #ffc107;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--industrial-blue);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 50px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 30px;
}

.feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--orange-accent);
    font-weight: bold;
    font-size: 18px;
}

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.navbar-nav .nav-link {
    color: var(--dark-slate) !important;
    font-weight: 500;
    padding: 6px 16px !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--orange-accent) !important;
}

#langToggle {
    border: 1px solid var(--industrial-blue);
    color: var(--industrial-blue);
    background: transparent;
    transition: all 0.3s ease;
}

#langToggle:hover {
    background: var(--industrial-blue);
    color: white;
    transform: translateY(-1px);
}

.contact-info {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.contact-item:hover {
    background: var(--light-gray);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--orange-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 20px;
    flex-shrink: 0;
}