/*
Theme Name: BP Management Theme - Corporate
Theme URI: https://www.bpmanagement.info
Author: BP Management S.r.l.
Author URI: https://www.bpmanagement.info
Description: Tema WordPress professionale per B.P. Management S.r.l. - Formazione Manageriale (partner OSM Trapani) e Soluzioni d'Arredo (in partnership con Moodus).
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bp-management
*/

:root {
  --primary: #0f172a;
  --secondary: #1e293b;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --osm-blue: #1d4ed8;
  --moodus-gold: #d97706;
  --bg-light: #f8fafc;
  --text-main: #334155;
  --text-muted: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background: var(--primary);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 1px solid #334155;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-info span {
  margin-right: 20px;
}

.top-bar-info a {
  color: #cbd5e1;
}

/* Header */
.site-header {
  background: var(--white);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.brand-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.brand-logo span {
  color: var(--accent);
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-menu a {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-menu a:hover {
  color: var(--accent);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.88)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 110px 0;
  text-align: center;
}

.hero-content {
  max-width: 850px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 35px;
  font-weight: 300;
}

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

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid #64748b;
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Division Cards Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 35px;
}

.division-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.division-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.division-card.osm {
  border-top: 5px solid var(--osm-blue);
}

.division-card.moodus {
  border-top: 5px solid var(--moodus-gold);
}

.tag-partner {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.tag-osm {
  background: #dbeafe;
  color: var(--osm-blue);
}

.tag-moodus {
  background: #fef3c7;
  color: var(--moodus-gold);
}

.division-card h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.division-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.division-features {
  list-style: none;
  margin-bottom: 25px;
}

.division-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--bg-light);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Company Details Section */
.company-details {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.contact-card {
  background: var(--white);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: center;
}

.contact-card h4 {
  color: var(--primary);
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #94a3b8;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 25px;
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .header-container { flex-direction: column; gap: 15px; }
  .nav-menu ul { flex-wrap: wrap; justify-content: center; }
}
