/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f5f7fa;
  color: #2c3e50;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
  background: #1a1a40;
  color: #ecf0f1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-decoration: none;
  color: #ecf0f1;
  transition: color 0.3s ease;
}
.logo span {
  color: #00d8ff;
}

/* Hero Section */
.hero {
  padding: 5rem 2rem 3rem 2rem;
  background: linear-gradient(135deg, #162447, #1f4068);
  color: #f0f4f8;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0 0 40px 40px;
  box-shadow: inset 0 0 50px #0008;
}

.hero-text {
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 500;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about {
  max-width: 720px;
  margin: 0 auto 4rem auto;
  padding: 0 1.5rem;
  color: #34495e;
  font-size: 1.15rem;
  line-height: 1.7;
  text-align: left;
}

.about p {
  margin-bottom: 1.6rem;
}

/* Learn link button */
.learn-link {
  display: inline-block;
  background-color: #00d8ff;
  color: #162447;
  padding: 0.65rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,216,255,0.3);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  user-select: none;
}

.learn-link:hover,
.learn-link:focus {
  background-color: #0ff;
  color: #0a1a2b;
  transform: scale(1.05);
  outline: none;
}

/* Docker Guide Container */
.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  line-height: 1.7;
  font-size: 1rem;
  color: #2c3e50;
  background-color: #fefefe;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Headings */
.container h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.container h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #005f73;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.3rem;
}

.container h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #0a9396;
}

/* Paragraphs */
.container p {
  margin-bottom: 1.2rem;
}

/* Lists */
.container ul,
.container ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.container ul li,
.container ol li {
  margin-bottom: 0.75rem;
}

.docker-hero-image {
  max-width: 300px; /* Adjust size as needed */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Helps with centering if needed */
  margin: 20px auto; /* Adds some space and centers it */
}

/* Inline code */
.container code {
  background-color: #f4f4f4;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  color: #c7254e;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.8rem 1rem;
  background: #1a1a40;
  color: #ecf0f1;
  margin-top: 3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  user-select: none;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .about {
    padding: 0 1rem;
  }
  .container {
    padding: 1rem;
  }
}
