/* ============================================ */
/* ✅ WORKING: External CSS File */
/* ============================================ */
/* This file demonstrates CSS ELEMENT SELECTORS */

/* Element Selector - Targets ALL img elements */
img {
  width: 300px;
  height: 200px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin: 20px 0;
  object-fit: cover;
}

/* Element Selector - Centers all content in body */
body {
  text-align: center;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* Element Selector - Styles main heading */
h1 {
  color: #2c3e50;
  font-size: 2.5em;
  margin-bottom: 40px;
  border-bottom: 3px solid #3498db;
  padding-bottom: 15px;
}

/* Element Selector - Styles section headings */
h2 {
  color: #e74c3c;
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
}

/* Element Selector - Styles all paragraphs */
p {
  color: #555;
  line-height: 1.6;
  max-width: 700px;
  margin: 15px auto;
  font-size: 1.1em;
}

/* Key Concept: Element selectors apply to ALL elements of that type!
   - ALL images get the same width/height (300x200px)
   - ALL headings get the same colors
   - ALL paragraphs get the same line-height
   This is the power of CSS selectors! */
