/* ==========================================================================
   SATHVIKA SOLUTIONS (SATSOL) - CLEAN PORTFOLIO STYLESHEET
   Simple, Professional, High-Impact Architecture
   ========================================================================== */

:root {
  --bg-primary: #F8FAFC;
  --bg-secondary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.95);
  
  --text-main: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  
  --accent: #F0552B;
  --accent-hover: #D84218;
  --accent-glow: rgba(240, 85, 43, 0.25);
  --accent-cyan: #0284C7;
  --accent-emerald: #059669;
  
  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  
  --font-heading: 'Familjen Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --container-max: 1200px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

p {
  color: var(--text-secondary);
}

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

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

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

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 40px;
  width: auto;
}

.brand-tag {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
  border-left: 1.5px solid var(--border-subtle);
  padding-left: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-item:hover {
  color: var(--text-main);
}

.nav-item.active {
  color: var(--accent);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-main);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all var(--transition);
}

.btn-icon:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Page Banner */
.page-banner {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 64px 0 52px;
}

.page-banner .kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  display: block;
}

.page-banner h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 14px;
}

.page-banner p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 680px;
  color: var(--text-secondary);
}

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

.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading.center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

/* ==========================================================================
   HOME PAGE SPECIFIC (COMPANY HIGHLIGHT ONLY)
   ========================================================================== */
.company-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border-subtle);
  background: 
    linear-gradient(to bottom, rgba(248, 250, 252, 0.92), rgba(248, 250, 252, 0.98)),
    url('../assets/showcase/operations-room.jpg') center/cover no-repeat;
}

.company-hero-inner {
  max-width: 820px;
}

.company-hero h1 {
  font-size: clamp(34px, 4.8vw, 54px);
  margin-bottom: 20px;
  line-height: 1.12;
}

.company-hero p.lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.company-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

.company-stat-box {
  padding: 16px 0;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Company Story Tabs */
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.story-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.story-tab-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 4px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.story-tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.story-pane {
  display: none;
}

.story-pane.active {
  display: block;
}

.story-pane p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.team-photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.team-photos-grid img {
  border-radius: var(--radius-md);
  height: 190px;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.team-photos-grid img:nth-child(3) {
  grid-column: span 2;
  height: 160px;
}

/* Service Highlights (Clean simple cards on home) */
.services-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.service-summary-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.service-summary-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.service-summary-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 16px;
}

.service-summary-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.service-summary-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ==========================================================================
   PROJECTS PAGE (ALL 38 PROJECTS)
   ========================================================================== */
.projects-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.chip-btn {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.chip-btn:hover {
  border-color: var(--accent);
  color: var(--text-main);
}

.chip-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.projects-search-bar {
  margin-bottom: 32px;
  position: relative;
  max-width: 500px;
}

.projects-search-bar input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
}

.projects-search-bar input:focus {
  outline: none;
  border-color: var(--accent);
}

.projects-search-bar span.icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.project-count-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  cursor: pointer;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-card__img-wrap {
  position: relative;
  height: 210px;
  background: var(--bg-secondary);
}

.project-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  background: rgba(10, 14, 20, 0.85);
}

.project-badge.ongoing {
  background: var(--accent);
}

.project-badge.completed {
  background: var(--accent-emerald);
}

.project-card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-category-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

.project-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.project-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}

.project-card__footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.project-card__location {
  color: var(--text-muted);
}

.project-card__view {
  color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   CLIENTS PAGE
   ========================================================================== */
.clients-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}

.client-logo-box {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: all var(--transition);
}

.client-logo-box:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.client-logo-box img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.client-sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.sector-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.sector-card h3 {
  font-size: 19px;
  margin-bottom: 16px;
  color: var(--accent);
}

.sector-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sector-list li {
  font-size: 14.5px;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.sector-list li::before {
  content: '▪';
  color: var(--accent);
  font-size: 16px;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-info-boxes {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.info-item {
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-item .icon {
  font-size: 22px;
  color: var(--accent);
}

.info-item h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.info-item p, .info-item a {
  font-size: 14.5px;
  color: var(--text-secondary);
}

.map-box {
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

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

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 2;
}

.modal-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.modal-content {
  padding: 32px;
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 28px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 24px;
}

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

@media (max-width: 768px) {
  .site-header__inner { height: auto; padding: 16px 0; flex-direction: column; gap: 16px; }
  .nav-links { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .story-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
