/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins:wght@600;700&display=swap');

/* CuraLegis Brand Colors */
:root {
  --teal: #00bfa5;      /* Caribbean teal */
  --sunshine: #ffca28;  /* Bright sunshine yellow */
  --coral: #ff7043;     /* Warm coral orange */
  --sky: #4fc3f7;       /* Clear sky blue */
  --white: #ffffff;     /* Pure white */
  --gray: #f5f5f5;      /* Light gray background */
  --text: #333333;      /* Dark gray text */
}

/* Base styles */
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  margin: 0;
  background-color: var(--gray);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
  background-color: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  flex-wrap: wrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo,
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  color: var(--white);
}

.logo img,
.site-logo {
  height: 40px;
  margin-right: 0.5rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.highlight {
  color: var(--sunshine);
}

/* Navigation */
.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.current,
.nav-link[aria-current="page"] {
  color: var(--sunshine);
  text-decoration: underline;
}

/* Language switcher */
.lang-switcher {
  text-align: right;
  padding: 1rem 2rem;
  background-color: var(--gray);
  font-size: 0.9rem;
}

.lang-switcher a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.5rem;
}

.lang-switcher a img {
  width: 24px;
  vertical-align: middle;
  margin-right: 0.3rem;
}

.lang-switcher a:hover {
  text-decoration: underline;
}

/* Main content */
main {
  padding: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  position: relative;
}

/* Background pattern for sections */
section {
  background: url('images/background-pattern.svg') no-repeat right top;
  background-size: 140px;
  padding: 2rem 2rem 2rem 0;
  border-radius: 12px;
}

/* Headings */
h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--teal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  color: var(--coral);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

h2 i {
  color: var(--sky);
  font-size: 1.4rem;
}

/* Paragraphs */
p {
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* Links */
a {
  color: var(--teal);
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  color: var(--text);
  background-color: var(--gray);
  margin-top: 3rem;
}

/* Responsive */
@media (max-width: 600px) {
  section {
    background-size: 100px;
    padding-right: 1rem;
  }
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }
}
