/*
Theme Name: WebDesign Service Theme
Theme URI: https://example.com/webdesign-service-theme
Author: AI Assistant
Author URI: https://example.com
Description: A simple modern WordPress theme designed for a company that offers website‑creation services to emerging shops in Colombian cities. The theme features a responsive layout with a hero section, services overview, blog listing and contact area. It uses clean typography and vibrant accent colours to appeal to a young to middle‑aged audience.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webdesign-service-theme
Tags: custom, responsive, modern, blog, agency
*/

/* Reset & base styles */
html {
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  margin: 0;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}
a {
  color: var(--accent-color);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* CSS variables for easy theming */
:root {
  --primary-color: #222831;
  --secondary-color: #393e46;
  --accent-color: #00adb5;
  --light-color: #f5f5f5;
  --max-width: 1200px;
}

/* Layout helpers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  background-color: var(--primary-color);
  color: #fff;
  padding: 1rem 0;
}
.site-title {
  font-size: 1.8rem;
  margin: 0;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
}
nav li {
  display: inline-block;
}
nav a {
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 0;
}

/* Hero section */
.hero {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.btn-primary {
  display: inline-block;
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out;
}
/* Use a slightly darker shade on hover */
.btn-primary:hover {
  background-color: #00888e;
}

/* Section styles */
section {
  padding: 3rem 0;
}
section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--primary-color);
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.service-item {
  flex: 1 1 300px;
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.service-item h3 {
  margin-top: 0;
  color: var(--secondary-color);
}
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.blog-post {
  background-color: var(--light-color);
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.blog-post h3 {
  margin-top: 0;
  color: var(--secondary-color);
}
.contact-section {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
}
.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}
.contact-section input,
.contact-section textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
.contact-section button {
  align-self: flex-start;
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}
/* Slightly darker shade for button hover */
.contact-section button:hover {
  background-color: #00888e;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: #ccc;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}