/* Base styles for body and html */
body, html {
  margin: 1em auto;
  max-width: 40em;
  padding: 0 1em;
  font-family: 'Georgia', serif;
  color: #333;
  background-color: #f8f9fa;
  line-height: 1.6;
}

/* Header styling */
header {
  text-align: center;
  margin-bottom: 2em;
}

h1 {
  font-size: 2.5em;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 0.2em;
}

.subtitle {
  font-size: 1.2em;
  color: #7f8c8d;
  margin-top: 0;
}

/* Intro section */
.intro h2 {
  font-size: 1.8em;
  color: #34495e;
  margin-bottom: 0.5em;
}

.tagline {
  font-style: italic;
  color: #95a5a6;
}

/* About section */
.about {
  margin-top: 2em;
}

.about h3 {
  margin-top: 1em;
  font-size: 1.5em;
  color: #2980b9;
}

/* Services list */
.services li {
  margin-bottom: 0.5em;
}

/* Portfolio section */
.portfolio {
  background-color: #ecf0f1;
  padding: 1em;
  border-left: 5px solid #2980b9;
  margin-top: 2em;
}

.portfolio h3 {
  color: #2c3e50;
}

/* Call-to-action button */
.cta-button {
  margin-top: 2em;
  text-align: center;
}

.cta-button a {
  background-color: #2980b9;
  color: white;
  padding: 0.7em 1.5em;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta-button a:hover {
  background-color: #3498db;
}

/* Footer */
footer {
  margin-top: 3em;
  text-align: center;
  font-size: 0.9em;
  color: #7f8c8d;
}

footer a {
  color: #2980b9;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Language switcher */
.language-switcher {
  text-align: center;
  margin-bottom: 1em;
}

.language-switcher button {
  background-color: #2980b9;
  color: white;
  border: none;
  padding: 0.7em 1.5em;
  margin: 0 0.5em;
  cursor: pointer;
  border-radius: 5px;
  font-family: 'Georgia', serif;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s;
}

.language-switcher button:hover {
  background-color: #3498db;
}

.language-switcher button:active {
  background-color: #1c669e;
}

/* Open button link */
.open-button {
  color: #2980b9;
  margin-left: 5px;
  text-decoration: none;
}

.open-button:hover {
  color: #3498db;
}

/* Unvisited link color */
a {
  color: #2980b9;
  text-decoration: none;
}

/* Visited link color */
a:visited {
  color: #a10d2d;
}
