/* =============================================
   EAR4BUSINESS.COM - Brand Stylesheet
   Electric Blue + Dark + Orange Planet
   "Listen. Discover. Succeed Together."
   ============================================= */

:root {
  --blue: #1565C0;
  --blue-light: #42A5F5;
  --blue-bright: #1E88E5;
  --blue-dark: #0D47A1;
  --orange: #E65100;
  --orange-light: #FF8A65;
  --orange-glow: #FF6D00;
  --dark: #111111;
  --dark-card: #1a1a1a;
  --dark-surface: #222222;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --light-gray: #e0e0e0;
  --medium-gray: #888888;
  --dark-gray: #aaaaaa;
  --text-light: #cccccc;
  --red: #E53935;
  --red-light: #FF8A80;
  --success: #43A047;
  --success-light: #E8F5E9;
  --shadow: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.4);
  --radius: 8px;
  --radius-lg: 12px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--text-light);
  background: var(--dark);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; }

a {
  color: var(--blue-light);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--orange-light); }

h1, h2, h3, h4 {
  line-height: 1.3;
  color: var(--white);
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 60px 0; }
.section-alt { background: var(--dark-card); }

/* --- Navigation --- */
.navbar {
  background: var(--dark);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--dark-surface);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.nav-logo img {
  height: 45px;
  width: auto;
}

.nav-logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--white) !important;
}

.nav-logo-text .ear { color: var(--blue-light); }
.nav-logo-text .four { color: var(--orange); }
.nav-logo-text .biz {
  background: linear-gradient(90deg, #E65100 0%, #FF6D00 25%, #1E88E5 55%, #1565C0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3px;
}

.nav-links a {
  color: var(--text-light) !important;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--dark-surface);
  color: var(--blue-light) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0d1b2a 50%, var(--dark) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero .highlight { color: var(--blue-light); }
.hero .highlight-orange { color: var(--orange-light); }

.hero p {
  font-size: 1.15rem;
  color: var(--dark-gray);
  max-width: 600px;
  margin: 0 auto 30px;
}

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover {
  background: var(--blue-bright);
  color: var(--white);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover {
  background: var(--orange-glow);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--blue-light);
  color: var(--blue-light);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* --- Cards --- */
.card {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--dark-surface);
  padding: 30px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--dark-gray); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

/* --- About / Bio --- */
.about {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--dark-surface);
  border: 3px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--blue-light);
  flex-shrink: 0;
}

.about-text h2 { margin-bottom: 15px; }
.about-text p {
  color: var(--dark-gray);
  margin-bottom: 12px;
}

/* --- Review Cards --- */
.review-card {
  border-left: 4px solid var(--blue-light);
}

.review-card .badge {
  display: inline-block;
  background: rgba(66, 165, 245, 0.15);
  color: var(--blue-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.stars {
  color: var(--orange-light);
  font-size: 1.3rem;
  letter-spacing: 2px;
}
.stars .empty { color: var(--dark-surface); }

/* --- Blog Cards --- */
.blog-card { overflow: hidden; }

.blog-card .blog-image {
  height: 180px;
  background: var(--dark-surface);
  margin: -30px -30px 20px -30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--medium-gray);
  font-size: 3rem;
}

.blog-card .blog-meta {
  font-size: 0.85rem;
  color: var(--medium-gray);
  margin-bottom: 10px;
}

.blog-card .blog-category {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-card h3 { margin: 10px 0; }

.blog-card .read-more {
  color: var(--blue-light);
  font-weight: 600;
  margin-top: 10px;
  display: inline-block;
}

/* --- Category Filter --- */
.category-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.category-btn {
  padding: 8px 18px;
  border: 2px solid var(--dark-surface);
  background: var(--dark-card);
  color: var(--text-light);
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.category-btn:hover,
.category-btn.active {
  border-color: var(--blue-light);
  background: var(--blue);
  color: var(--white);
}

/* --- Contact Form --- */
.contact-form {
  background: var(--dark-card);
  border: 1px solid var(--dark-surface);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.form-group { margin-bottom: 15px; }

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--blue-light);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--dark-surface);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--dark);
  color: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-light);
}

/* --- Page Header --- */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, #0d1b2a 100%);
  color: var(--white);
  padding: 50px 0;
  text-align: center;
  border-bottom: 1px solid var(--dark-surface);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 8px;
}

.page-header p {
  color: var(--medium-gray);
  font-size: 1.1rem;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: var(--text-light);
  padding: 40px 0 20px;
  border-top: 1px solid var(--dark-surface);
}

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

.footer h4 {
  color: var(--blue-light);
  margin-bottom: 15px;
}

.footer p, .footer a {
  color: var(--medium-gray);
  font-size: 0.9rem;
}
.footer a:hover { color: var(--blue-light); }

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }

.footer-bottom {
  border-top: 1px solid var(--dark-surface);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--medium-gray);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-blue { color: var(--blue-light); }
.text-orange { color: var(--orange-light); }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

/* --- Content Sections --- */
.content-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.content-section h2 {
  color: var(--blue-light);
  margin-bottom: 20px;
}

.content-section p {
  color: var(--dark-gray);
  margin-bottom: 15px;
  line-height: 1.8;
}

.content-section ul {
  list-style: none;
  margin: 15px 0;
}

.content-section ul li {
  padding: 8px 0;
  color: var(--dark-gray);
  padding-left: 20px;
  position: relative;
}

.content-section ul li::before {
  content: "\25B8";
  color: var(--blue-light);
  position: absolute;
  left: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 50px 0; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .section { padding: 40px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 10px 20px 20px;
    border-bottom: 1px solid var(--dark-surface);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .about { flex-direction: column; text-align: center; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; }
}
