/* Reset and 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, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #e8eaed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Color variables based on logo RGB(40,70,100) */
:root {
  --primary: #284664; /* Logo color */
  --primary-light: #3a5a7a;
  --primary-dark: #1e3547;
  --secondary: #f8f9fa;
  --accent: #e3f2fd;
  --text-primary: #1a1a1a;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border: #e2e8f0;
  --background: #e8eaed;
  --background-alt: #e8eaed;
}

/* Container */
.container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 4rem;
}

/* Force mobile padding */
@media (max-width: 767px) {
  .container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header */
.header {
  background: transparent;
  padding: 1.5rem 0;
  position: static;
}

.header__logo {
  height: 10rem;
  width: auto;
  display: block;
  margin: 0 auto;
  opacity: 1;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .header__logo {
    height: 12rem;
  }
}

@media (min-width: 1024px) {
  .header__logo {
    height: 14rem;
  }
}

/* Main content */
.main {
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
}

/* Hero section */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
  background: var(--background);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('./assets/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: -1;
}

.hero__headline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0 4rem;
  }
  
  .hero__headline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero__headline {
    font-size: 1.75rem;
  }
}

/* Content section */
.content {
  padding: 3rem 0;
  background: transparent;
}

.content__text {
  max-width: 48rem;
  margin: 0 auto;
}

.content__text p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.content__text p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .content {
    padding: 4rem 0;
  }
  
  .content__text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
}

/* Founders section */
.founders {
  padding: 3rem 0 4rem;
  background: transparent;
}

.founders__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 32rem;
  margin: 0 auto;
}

.founders__card {
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  background: var(--background);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.founders__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(40, 70, 100, 0.15);
}

.founders__figure {
  margin: 0;
  padding: 0;
}

.founders__photo {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  opacity: 1;
}

.founders__card:hover .founders__photo {
  transform: scale(1.02);
}

@media (min-width: 768px) {
  .founders {
    padding: 4rem 0 5rem;
  }
  
  .founders__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 48rem;
  }
  
  .founders__photo {
    height: 20rem;
  }
}

/* Screen reader only text */
.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;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Smooth transitions */
* {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Print styles */
@media print {
  .header {
    position: static;
    border-bottom: 1px solid #000;
  }
  
  .hero {
    background: none;
  }
  
  .founders__card:hover {
    transform: none;
    box-shadow: none;
  }
}
