/*
Theme Name: My Light Theme
Theme URI: http://example.com/
Author: Avinash
Description: A lightweight, SEO-optimized, mobile responsive theme.
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-light-theme
*/

/* =============================
   Base Typography
============================= */
body {
  font-family: Arial, sans-serif;
  font-size: 16px;   /* Base: 16px */
  line-height: 1.6;
  color: #fff;
  margin: 0;
  padding: 0;
}

/* Headings - Scales properly */
h1 { font-size: 32px; line-height: 1.2; }
h2 { font-size: 28px; line-height: 1.3; }
h3 { font-size: 24px; line-height: 1.3; }
h4 { font-size: 20px; line-height: 1.4; }
h5 { font-size: 18px; line-height: 1.4; }
h6 { font-size: 16px; line-height: 1.5; }

/* =============================
   Header & Navigation
============================= */
header {
  background: #222;
  color: #fff;
  padding: 15px;
  text-align: center;
}

header .site-title a {
  color: #fff !important;
  text-decoration: none;
  font-size: 32px; /* matches h1 */
}

nav {
  background: #333;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: #fff;
  padding: 12px 18px;
  text-decoration: none;
  font-size: 16px;
}

nav a:hover {
  background: #555;
}

/* =============================
   Layout
============================= */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 12px;
  position: fixed;
  bottom: 0;
  width: 100%;
  font-size: 14px;
}

/* =============================
   Responsive
============================= */

/* Tablet */
@media (max-width: 768px) {
  body { font-size: 15px; }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  h3 { font-size: 20px; }
  h4 { font-size: 18px; }

  header .site-title a {
    font-size: 26px;
  }

  nav {
    flex-direction: column;
  }

  nav a {
    text-align: center;
    border-top: 1px solid #444;
    font-size: 15px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  body { font-size: 14px; }
  h1 { font-size: 22px; }
  h2 { font-size: 20px; }
  h3 { font-size: 18px; }
  h4, h5, h6 { font-size: 16px; }

  header .site-title a {
    font-size: 22px;
  }

  nav a {
    padding: 10px;
    font-size: 14px;
  }
}
