/*!
Theme Name: GPA Academy
Theme URI: https://gpa.ac
Author: GPA Team
Author URI: https://gpa.ac
Description: Custom lightweight theme for GPA Academy - responsive, RTL ready, and performance optimized.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gpa
Tags: custom-theme, responsive, minimal, educational, rtl-language-support
*/

/* ========== BASE STYLES ========== */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: #f9f9fb;
  color: #111;
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
  color: #0D1E40;
  margin-top: 0;
}

h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  color: #0056b3;
}

/* ========== IMAGES ========== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== CONTAINERS ========== */
.container {
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
  margin: auto;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn:hover {
  background: #0056b3;
}

/* ========== LANGUAGE STYLES ========== */
body:lang(ar), [dir="rtl"], .lang-ar {
  font-family: 'Alexandria', sans-serif;
  direction: rtl;
  text-align: right;
}

body:lang(en), [dir="ltr"], .lang-en {
  direction: ltr;
  text-align: left;
}

/* ========== HEADER DEFAULT (can be customized) ========== */
.site-header {
  background: #fff;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.site-header .logo {
  font-size: 24px;
  font-weight: bold;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #0D1E40;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }

  .btn {
    padding: 8px 16px;
    font-size: 14px;
  }
}
