/* SimplyOnline Styles - Calm Authority Design */

/* ============================================
   Reset & Base Styles
   ============================================ */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #1A202C;
  background-color: #FFFFFF;
}

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

a {
  color: #2B6CB0;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1e4d7b;
}

a:focus {
  outline: 2px solid #2B6CB0;
  outline-offset: 2px;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1A202C;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
}

p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  max-width: 65ch;
}

.large-text {
  font-size: 1.25rem;
  color: #718096;
}

.small-text {
  font-size: 0.875rem;
  color: #718096;
}

/* ============================================
   Layout Containers
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: #F7FAFC;
}

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

/* ============================================
   Header & Navigation
   ============================================ */

header {
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #E2E8F0;
  transition: box-shadow 0.2s ease;
}

header.scrolled {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.logo {
  height: 40px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-weight: 500;
  color: #1A202C;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

nav a:hover {
  border-bottom-color: #2B6CB0;
  color: #2B6CB0;
}

nav a.active {
  color: #2B6CB0;
  border-bottom-color: #2B6CB0;
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.lang-switch a {
  color: #718096;
  border: none;
}

.lang-switch a.active {
  color: #2B6CB0;
  font-weight: 600;
  border: none;
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #1A202C;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: #FFFFFF;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    padding: 4rem 2rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .menu-toggle:checked ~ nav {
    right: 0;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  padding: 6rem 0;
  text-align: left;
}

.hero h1 {
  font-size: 3rem;
  max-width: 20ch;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero .large-text {
  max-width: 50ch;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ============================================
   Buttons & CTAs
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  min-width: 44px;
  min-height: 44px;
}

.btn-primary {
  background: #2B6CB0;
  color: #FFFFFF;
}

.btn-primary:hover {
  background: #1e4d7b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.3);
}

.btn-secondary {
  color: #2B6CB0;
  border-bottom: 2px solid #2B6CB0;
  padding: 0.5rem 0;
}

.btn-secondary:hover {
  color: #1e4d7b;
  border-bottom-color: #1e4d7b;
}

/* ============================================
   Trust Bar / Stats
   ============================================ */

.trust-bar {
  background: #F7FAFC;
  padding: 2rem 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.trust-item strong {
  font-size: 1.25rem;
  color: #2B6CB0;
  font-weight: 600;
}

.trust-item span {
  color: #718096;
  font-size: 0.875rem;
}

/* ============================================
   Cards Grid
   ============================================ */

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

.card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
  border-color: #2B6CB0;
}

.card h3 {
  color: #2B6CB0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card p {
  color: #718096;
  font-size: 1rem;
  margin: 0;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

/* ============================================
   Skills / Tags
   ============================================ */

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.skill-tag {
  background: #F7FAFC;
  color: #1A202C;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid #E2E8F0;
  transition: all 0.2s ease;
}

.skill-tag:hover {
  background: #2B6CB0;
  color: #FFFFFF;
  border-color: #2B6CB0;
  transform: translateY(-2px);
}

/* ============================================
   Process / Timeline
   ============================================ */

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #2B6CB0;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: #718096;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #E2E8F0;
    z-index: -1;
  }
}

/* ============================================
   About Section with Photo
   ============================================ */

.about-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.about-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-text p {
  max-width: 65ch;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-photo {
    max-width: 250px;
    margin: 0 auto;
  }
}

/* ============================================
   Contact
   ============================================ */

.contact-info {
  margin-top: 2rem;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item strong {
  display: block;
  font-size: 0.875rem;
  color: #718096;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item a {
  font-size: 1.5rem;
  font-weight: 500;
}

/* ============================================
   Articles Placeholder
   ============================================ */

.articles-placeholder {
  text-align: center;
  padding: 4rem 2rem;
  background: #F7FAFC;
  border-radius: 8px;
  margin-top: 2rem;
}

.articles-placeholder p {
  color: #718096;
  margin: 0 auto;
}

/* ============================================
   Footer
   ============================================ */

footer {
  background: #F7FAFC;
  border-top: 1px solid #E2E8F0;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #1A202C;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #718096;
  font-size: 0.875rem;
}

.footer-section a:hover {
  color: #2B6CB0;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
  color: #718096;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================
   Utility Classes
   ============================================ */

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

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #2B6CB0;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}
