/* ============================================
   Rajat Taneja & Associates - Professional Website
   Classy, authentic, trustworthy aesthetic
   ============================================ */

:root {
  --color-navy: #1a2744;
  --color-navy-light: #2a3a5c;
  --color-cream: #f8f6f1;
  --color-cream-dark: #ebe8e0;
  --color-gold: #b8860b;
  --color-gold-light: #d4a84b;
  --color-text: #2c2c2c;
  --color-text-muted: #5a5a5a;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, sans-serif;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 246, 241, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 39, 68, 0.08);
  transition: var(--transition);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo-accent {
  color: var(--color-gold);
  font-weight: 500;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--color-gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-navy);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 39, 68, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-tagline {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-accent {
  color: var(--color-gold);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-navy);
  color: var(--color-cream);
}

.btn-primary:hover {
  background: var(--color-navy-light);
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: 5rem 2rem;
}

.section-alt {
  background: #fff;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--color-navy);
  margin-bottom: 2.5rem;
  text-align: center;
  letter-spacing: 0.02em;
}

/* About Section */
.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
}

.lead {
  font-size: 1.1875rem;
  color: var(--color-text) !important;
}

/* Founder Section */
.founder-card {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 2.5rem;
  background: #fff;
  border: 1px solid rgba(26, 39, 68, 0.08);
  border-left: 4px solid var(--color-gold);
  box-shadow: 0 4px 24px rgba(26, 39, 68, 0.04);
}

.founder-image {
  flex-shrink: 0;
  width: 200px;
}

.founder-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 1;
}

.founder-content h3 {
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.founder-role {
  font-size: 0.9375rem;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.founder-content p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  padding: 2rem;
  border: 1px solid rgba(26, 39, 68, 0.06);
  border-left: 3px solid var(--color-gold);
  transition: all var(--transition);
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 32px rgba(26, 39, 68, 0.06);
}

.service-card-wide {
  grid-column: 1 / -1;
}

.service-image-wrapper {
  width: calc(100% + 4rem);
  height: 140px;
  margin: -2rem -2rem 1.25rem -2rem;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Location Section */
.section-location {
  padding: 3rem 2rem;
}

.location-text {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

/* Contact Section */
.section-contact {
  background: var(--color-navy);
  color: var(--color-cream);
}

.section-contact .section-title {
  color: var(--color-cream);
}

.contact-intro {
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--color-cream);
  transition: opacity var(--transition);
}

.contact-item:hover {
  opacity: 0.9;
}

.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1.0625rem;
  font-weight: 500;
}

/* Footer */
.footer {
  padding: 2rem;
  text-align: center;
  background: var(--color-navy);
  color: rgba(248, 246, 241, 0.7);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(26, 39, 68, 0.08);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .section {
    padding: 3.5rem 1.5rem;
  }

  .founder-card {
    flex-direction: column;
    padding: 1.5rem;
  }

  .founder-image {
    width: 160px;
    margin: 0 auto;
  }

  .service-image-wrapper {
    width: calc(100% + 3rem);
    height: 120px;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
  }

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

  .contact-details {
    flex-direction: column;
    align-items: center;
  }
}
