/* ===================================
   MODERN TAX WEBSITE - CASUAL/PROFESSIONAL
   =================================== */

/* CSS Variables */
:root {
  /* Colors - Matching Business Card Red Theme */
  --primary-color: #991b1e;
  --primary-dark: #7a1517;
  --primary-light: #b32428;
  --secondary-color: #c9a66b;
  --secondary-dark: #b8925f;
  --accent-color: #d4a574;

  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;

  --bg-primary: #ffffff;
  --bg-secondary: #f5f3f0;
  --bg-accent: #fef8f3;

  --border-color: #e5e7eb;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 5rem 0;
  --container-padding: 0 1.5rem;

  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  line-height: 1.7;
  background: var(--bg-primary);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}
h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary-color);
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1.125rem;
}

/* Labels */
.label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-accent);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-shrink: 0;
}

.company-name-nav {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: #dc2626;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  order: 3;
}

.logo i {
  color: var(--primary-color);
}

/* Logo Image Styles */
.logo-image {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.logo:hover .logo-image {
  transform: scale(1.05);
}

.location-badge {
  padding: 0.25rem 0.75rem;
  background: #e5e7eb;
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 1rem;
  width: fit-content;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  order: 2;
}

.nav-menu a {
  font-weight: 500;
  color: var(--text-primary);
}

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

.btn-nav {
  background: var(--primary-color);
  color: white !important;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.btn-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: white;
  box-shadow: var(--shadow-xl);
  padding: 2rem;
  transition: var(--transition);
  z-index: 2000;
}

.mobile-menu.active {
  right: 0;
}

.mobile-close {
  display: block;
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu ul {
  margin-top: 2rem;
}

.mobile-menu li {
  margin-bottom: 1.5rem;
}

.mobile-menu a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, var(--bg-accent) 0%, white 100%);
  margin-top: 73px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: white;
  border-radius: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-badge i {
  color: var(--accent-color);
}

.hero h1 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-features .feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.hero-features i {
  color: var(--secondary-color);
  font-size: 1.25rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.indicator i {
  color: var(--primary-color);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
  padding: var(--section-padding);
  background: linear-gradient(
      rgba(249, 247, 245, 0.85),
      rgba(249, 247, 245, 0.85)
    ),
    url('../images/audience.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 2.5rem 2rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-accent);
  color: var(--primary-color);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.service-content h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.service-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-content ul {
  margin-bottom: 1.5rem;
}

.service-content li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.service-content li i {
  color: var(--secondary-color);
  font-size: 0.875rem;
}

.service-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link:hover {
  gap: 0.75rem;
  color: var(--primary-dark);
}

/* ===================================
   WHY CHOOSE US
   =================================== */
.why-choose {
  padding: var(--section-padding);
}

.why-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.why-item {
  display: flex;
  gap: 1rem;
}

.why-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--bg-accent);
  color: var(--primary-color);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.why-item h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.9375rem;
  margin: 0;
}

.why-right {
  position: relative;
}

.why-right img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
}

.stats-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===================================
   SERVICE AREAS
   =================================== */
.service-areas {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.area-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.area-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.area-map {
  width: 100%;
  height: 200px;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.area-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.area-card h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.area-card p {
  font-size: 0.9375rem;
  margin: 0;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
  padding: var(--section-padding);
}

.about-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.about-badge i {
  font-size: 1.25rem;
}

.about-text h2 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 0.75rem;
}

.credential {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--text-primary);
}

.credential i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.about-company {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--bg-accent);
  border-left: 4px solid var(--primary-color);
  border-radius: 0.5rem;
}

.about-company h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta {
  padding: var(--section-padding);
  background: linear-gradient(
      135deg,
      rgba(168, 50, 45, 0.92) 0%,
      rgba(168, 50, 45, 0.95) 100%
    ),
    url('../images/audience.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-content > p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta-contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.125rem;
}

.cta-contact a {
  color: white;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.cta-contact .divider {
  color: rgba(255, 255, 255, 0.3);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-align: center;
}

.footer-logo i {
  color: var(--primary-light);
}

/* Footer Logo Image */
.footer-logo-image {
  height: 70px;
  width: auto;
  display: block;
  margin: 0 auto 1rem;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: white;
  padding-left: 0.5rem;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
  color: var(--primary-light);
  width: 20px;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.service-areas-text {
  font-size: 0.8125rem !important;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

  .hero-image {
    order: -1;
  }

  .why-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 0;
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  /* Mobile Logo Styles */
  .logo-image {
    height: 40px;
  }

  .footer-logo-image {
    height: 60px;
  }

  /* Mobile Company Name */
  .company-name-nav {
    font-size: clamp(0.875rem, 3.5vw, 1rem);
  }

  .location-badge {
    font-size: 0.65rem;
  }

  .hero {
    padding: 5rem 0 3rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-indicators {
    flex-direction: column;
    gap: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-badge {
    position: static;
    margin-top: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .cta-contact {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cta-contact .divider {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .service-content {
    padding: 1.5rem;
  }

  .why-grid {
    gap: 1.5rem;
  }

  .stats-badge {
    flex-direction: column;
    gap: 1rem;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }
}
