/* Starter theme — main stylesheet */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Fira Sans Extra Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  color: #1a1a1a;
  background: #ffffff;
}

p {
  font-size: 1.25rem;
}

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

/* Header */
header {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #134e4a 100%);
  color: white;
  padding: 2rem 0;
  margin-bottom: 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: padding 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  padding: 0.5rem 0;
}

header h1 img {
  height: 3em;
  width: auto;
  filter: brightness(0) invert(1);
  transform-origin: left center;
  will-change: transform;
  transform: scale(1);
  transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled h1 img {
  transform: scale(0.5);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header h1 {
  margin: 0;
  line-height: 1;
  font-weight: 700;
  transition: font-size 2s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled h1 {
  font-size: 2.5rem;
}

header h1 a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

/* Nav */
nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 1.5rem;
  transition: gap 2s cubic-bezier(0.4, 0, 0.2, 1), font-size 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled nav {
  gap: 1rem;
  font-size: 1.2rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.2s;
  line-height: 1;
}

nav a:hover {
  opacity: 1;
}

/* Main & Footer */
main {
  min-height: 60vh;
  padding-bottom: 4rem;
  padding-top: 0;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0 0 1rem 0;
  padding: 0;
}

.breadcrumbs a {
  color: #14b8a6;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs__sep {
  color: #adb5bd;
  margin: 0 0.25rem;
}

.breadcrumbs__current {
  color: #1a1a1a;
  font-weight: 500;
}

footer {
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  padding: 2rem 0;
  margin-top: 4rem;
  color: #6c757d;
  text-align: center;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.hero-intro {
  margin-inline: 15% auto;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
  margin-block: 2rem;
  text-align: center;
}

.hero-intro__image-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: -0.1rem;
}

.hero-intro__image {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: inset 0 0 2.5rem 0.75rem rgba(0, 0, 0, 0.2);
}

.hero-intro__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.hero-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-intro__caption {
  font-size: 1.1rem;
  font-weight: bold;
  color: #000000;
  text-align: center;
}

.hero-intro__text {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: left;
  white-space: nowrap;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #134e4a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: #6c757d;
  margin-bottom: 2rem;
}

/* CTA */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #134e4a 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 0;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

a {
  color: #667eea;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  background: #f1f3f5;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
  font-size: 0.9em;
}

pre {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  border-left: 4px solid #667eea;
}

pre code {
  background: none;
  padding: 0;
}

main img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

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

/* Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(50, 44, 44, 0.1);
  transform: translateY(-2px);
}

/* Contact form */
.contact-form-card {
  background: #ccfbf1;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  max-width: 32rem;
}

.contact-form {
  margin: 0;
}

.contact-form__row {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 6rem;
}

.contact-form__submit {
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: white;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #134e4a 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.35);
}

.badge {
  display: inline-block;
  background: #667eea;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-intro {
    margin-inline: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-intro__image-wrap {
    align-items: center;
  }

  .container {
    padding: 0 1rem;
  }

  header:not(.scrolled) .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  header:not(.scrolled) .container nav {
    margin-top: 0;
  }
}

@media (min-width: 681px) and (max-width: 960px) {
  header.scrolled .container {
    flex-wrap: nowrap;
  }

  header.scrolled .container nav {
    flex-wrap: nowrap;
    margin-left: -1.5em;
  }

  header.scrolled .container nav a {
    white-space: nowrap;
  }
}

@media (max-width: 800px) {
  header.scrolled .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  header.scrolled .container nav {
    margin-top: -1em;
    margin-left: 0;
  }
}

@media (max-width: 499px) {
  .hero-intro__text {
    white-space: normal;
  }
}