/* ========================================
   BLOOM BUSINESS — Main Stylesheet
   ======================================== */

:root {
  --red: #DC2626;
  --red-dark: #B91C1C;
  --blue: #4A90D9;
  --dark: #1A1A2E;
  --gray: #666666;
  --light: #F8F9FB;
  --white: #FFFFFF;
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* --- Utilities --- */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.section-tag { display: inline-block; color: var(--red); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.section-title { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; margin-top: 8px; color: var(--dark); }
.section-desc { color: var(--gray); margin-top: 12px; font-size: 1.05rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: var(--red); color: #fff; border: none; border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.3s; font-family: var(--font-body); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(220,38,38,0.3); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.3s; font-family: var(--font-body); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }

/* --- Navigation --- */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 0; transition: all 0.4s ease; }
#navbar.scrolled { padding: 12px 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 44px; width: auto; transition: all 0.4s; }
#navbar.scrolled .nav-logo img { height: 38px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { position: relative; font-weight: 500; font-size: 0.9rem; letter-spacing: 0.02em; cursor: pointer; transition: color 0.3s; padding: 4px 0; color: #fff; }
#navbar.scrolled .nav-link { color: var(--dark); }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform 0.3s ease; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-link:hover, .nav-link.active { color: var(--red); }
.lang-selector { position: relative; }
.lang-btn { padding: 6px 12px; background: none; border: 1px solid rgba(255,255,255,0.4); border-radius: 6px; cursor: pointer; font-size: 0.82rem; font-weight: 500; display: flex; align-items: center; gap: 6px; transition: all 0.2s; font-family: var(--font-body); white-space: nowrap; color: #fff; }
#navbar.scrolled .lang-btn { color: var(--dark); border-color: #e0e0e0; }
.lang-btn:hover { border-color: var(--red); color: var(--red); }
.lang-dropdown { position: absolute; top: 100%; right: 0; margin-top: 8px; background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.12); padding: 8px; z-index: 1000; min-width: 160px; display: none; }
.lang-dropdown.open { display: block; }
.lang-option { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: none; background: none; width: 100%; cursor: pointer; border-radius: 8px; font-size: 0.85rem; font-weight: 500; transition: background 0.2s; font-family: var(--font-body); color: #333; }
.lang-option:hover { background: #f5f5f5; }
.lang-option.active { background: #fef2f2; color: var(--red); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: all 0.3s; }
#navbar.scrolled .hamburger span { background: var(--dark); }

/* --- Mobile Menu --- */
.mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #fff; z-index: 999; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.mobile-menu.open { display: flex; }
.mobile-close { position: absolute; top: 20px; right: 24px; background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--dark); }
.mobile-link { font-size: 1.3rem; font-weight: 500; color: var(--dark); }
.mobile-link:hover { color: var(--red); }
.mobile-langs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }

/* --- Hero --- */
.hero { min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #1a365d 100%); position: relative; overflow: hidden; }
.hero-bg-pattern { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-orb { position: absolute; border-radius: 50%; animation: float 6s ease-in-out infinite; }
.hero-orb-1 { top: 80px; right: 10%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(220,38,38,0.15), transparent 70%); }
.hero-orb-2 { bottom: 100px; left: 5%; width: 200px; height: 200px; background: radial-gradient(circle, rgba(74,144,217,0.15), transparent 70%); animation-delay: 2s; animation-duration: 8s; }
.hero-content { max-width: 1200px; margin: 0 auto; padding: 120px 24px 80px; width: 100%; position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; background: rgba(220,38,38,0.15); border-radius: 50px; margin-bottom: 24px; animation: fadeInUp 0.8s ease 0.2s both; }
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
.hero-badge span { color: #fca5a5; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.hero-title { font-family: var(--font-display); font-size: 3.8rem; font-weight: 700; color: #fff; line-height: 1.1; max-width: 700px; animation: fadeInUp 0.8s ease 0.4s both; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.7); margin-top: 24px; max-width: 600px; line-height: 1.7; animation: fadeInUp 0.8s ease 0.6s both; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; animation: fadeInUp 0.8s ease 0.8s both; }

/* --- Stats --- */
.stats-bar { background: linear-gradient(135deg, var(--red), var(--red-dark), #991b1b); }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 24px; border-right: 1px solid rgba(255,255,255,0.15); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: #fff; line-height: 1; display: inline; }
.stat-suffix { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: #fff; display: inline; }
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.8); margin-top: 8px; font-weight: 500; }

/* --- Video --- */
.video-section { padding: 80px 24px; background: #fff; }
.video-wrapper { max-width: 900px; margin: 36px auto 0; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.12); background: #0f172a; aspect-ratio: 16/9; position: relative; }
.video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, #0f172a, #1e293b, #1a365d); }
.play-btn { width: 72px; height: 72px; border-radius: 50%; background: rgba(220,38,38,0.9); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 4px 20px rgba(220,38,38,0.4); }
.play-btn:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(220,38,38,0.5); }
.video-placeholder p { color: rgba(255,255,255,0.5); margin-top: 16px; font-size: 0.85rem; }

/* --- Services --- */
.services-section { padding: 100px 24px; background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: #fff; border-radius: 16px; overflow: hidden; transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94); border: 1px solid #f0f0f0; cursor: default; position: relative; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0; background: linear-gradient(180deg, var(--red), var(--blue)); transition: height 0.4s ease; z-index: 1; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); border-color: transparent; }
.service-card:hover::before { height: 100%; }
.service-card-img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform 0.6s ease; }
.service-card:hover .service-card-img { transform: scale(1.05); }
.service-card-body { padding: 28px; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.service-card p { color: var(--gray); font-size: 0.92rem; line-height: 1.7; }

/* --- About --- */
.about-section { padding: 100px 24px; background: #fff; }
.about-content { display: flex; gap: 60px; align-items: center; margin-bottom: 60px; }
.about-image-wrap { flex: 1 1 40%; position: relative; }
.about-img-container { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.about-img { width: 100%; height: 480px; object-fit: cover; display: block; }
.about-badge { position: absolute; bottom: -16px; right: -16px; background: var(--blue); color: #fff; padding: 16px 24px; border-radius: 12px; box-shadow: 0 8px 30px rgba(74,144,217,0.3); }
.about-badge-num { font-size: 1.8rem; font-weight: 700; font-family: var(--font-display); }
.about-badge-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.9; }
.about-text { flex: 1 1 55%; }
.about-text p { color: #555; line-height: 1.8; margin-bottom: 20px; font-size: 0.98rem; }
.values-section { margin-top: 20px; }
.values-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 24px; color: var(--dark); text-align: center; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card { padding: 32px; border-radius: 12px; background: linear-gradient(135deg, #fafbff, #f5f7fa); transition: all 0.3s; border: 1px solid #eef0f4; }
.value-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.value-card-bar { width: 40px; height: 4px; border-radius: 2px; margin-bottom: 14px; }
.value-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.value-card p { color: var(--gray); font-size: 0.85rem; line-height: 1.6; }

/* --- Expertise --- */
.expertise-section { padding: 100px 24px; background: var(--light); }
.sectors-wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 48px; }
.sector-tag { display: inline-block; padding: 10px 20px; border-radius: 50px; background: #fff; border: 1px solid #e5e7eb; font-size: 0.88rem; font-weight: 500; transition: all 0.3s; cursor: default; }
.sector-tag:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-2px); }

/* --- Contact --- */
.contact-section { padding: 100px 24px; background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 900px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.input-field { width: 100%; padding: 14px 16px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 0.95rem; font-family: var(--font-body); transition: all 0.3s; background: #fafafa; }
.input-field:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(74,144,217,0.1); }
textarea.input-field { resize: vertical; }
.contact-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; color: var(--dark); }
.contact-item { margin-bottom: 24px; }
.contact-label { color: #999; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.contact-value { color: var(--dark); font-weight: 500; }
.contact-value a { color: var(--blue); }

/* --- Footer --- */
.footer { background: #0f172a; padding: 60px 24px 32px; color: rgba(255,255,255,0.6); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 48px; }
.footer-logo { height: 36px; width: auto; margin-bottom: 12px; display: block; }
.footer-tagline { font-size: 0.9rem; font-style: italic; }
.footer-nav { display: flex; gap: 32px; }
.footer-nav a { font-size: 0.88rem; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 0.82rem; }
.footer-langs { display: flex; gap: 8px; }
.footer-lang-btn { background: transparent; border: none; padding: 4px 8px; border-radius: 4px; cursor: pointer; font-size: 0.9rem; transition: background 0.2s; }
.footer-lang-btn.active { background: rgba(220,38,38,0.2); }

/* --- Animations --- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.8; } }

/* --- Responsive --- */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links { display: none !important; }
  .hero-title { font-size: 2.2rem !important; }
  .services-grid { grid-template-columns: 1fr !important; }
  .values-grid { grid-template-columns: 1fr 1fr !important; }
  .stats-inner { grid-template-columns: 1fr 1fr !important; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .about-content { flex-direction: column !important; }
  .about-img { height: 300px !important; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem !important; }
  .section-title { font-size: 1.8rem; }
  .values-grid { grid-template-columns: 1fr !important; }
  .stats-inner { grid-template-columns: 1fr 1fr !important; }
  .stat-number, .stat-suffix { font-size: 2rem; }
}
