


<?php




function uploadMultiple($field, $folder) {
    $files = [];
    if (!isset($_FILES[$field])) return $files;

    $baseDir = __DIR__ . "/uploads/" . $folder . "/";
    if (!is_dir($baseDir)) mkdir($baseDir, 0777, true);

    foreach ($_FILES[$field]['tmp_name'] as $i => $tmp) {
        if ($_FILES[$field]['error'][$i] !== 0) continue;

        $ext = strtolower(pathinfo($_FILES[$field]['name'][$i], PATHINFO_EXTENSION));
        if (!in_array($ext, ['jpg','jpeg','png','webp','gif'])) continue;

        $name = time() . "_" . rand(1000,9999) . "." . $ext;
        $target = $baseDir . $name;

        if (move_uploaded_file($tmp, $target)) {
            $files[] = "uploads/$folder/$name";
        }
    }

    return $files;
}













session_start();

$PASSWORD = "Nurengiz2026!";

function loadJson($file) {
    return json_decode(@file_get_contents($file), true) ?: [];
}
function saveJson($file, $data) {
    file_put_contents($file, json_encode($data, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT));
}
function uploadFile($field, $folder) {
    if (!isset($_FILES[$field]) || $_FILES[$field]['error'] !== 0) return "";
    $baseDir = __DIR__ . "/uploads/" . $folder . "/";
    if (!is_dir($baseDir)) mkdir($baseDir, 0777, true);

    $ext = strtolower(pathinfo($_FILES[$field]['name'], PATHINFO_EXTENSION));
    $allowed = ['jpg','jpeg','png','webp','gif'];
    if (!in_array($ext, $allowed)) return "";

    $name = time() . "_" . rand(1000,9999) . "." . $ext;
    $target = $baseDir . $name;

    if (move_uploaded_file($_FILES[$field]['tmp_name'], $target)) {
        return "uploads/" . $folder . "/" . $name;
    }
    return "";
}

$base = __DIR__;
$dataDir = $base . "/data";

if (isset($_GET['logout'])) {
    session_destroy();
    header("Location: admin.php");
    exit;
}

if (isset($_POST['login_password'])) {
    if ($_POST['login_password'] === $PASSWORD) {
        $_SESSION['admin_logged'] = true;
        header("Location: admin.php");
        exit;
    } else {
        $loginError = "Şifrə yanlışdır.";
    }
}

if (empty($_SESSION['admin_logged'])):
?>
<!DOCTYPE html>
<html lang="az">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Giriş</title>
<style>
body{
  margin:0;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:Arial,sans-serif;
  background:radial-gradient(circle at top,#2b0d38 0%,#13051a 55%,#0b0310 100%);
  color:#fff;
}
.box{
  width:min(460px,92%);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  padding:36px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
}
h1{margin:0 0 10px;color:#f2d085;font-size:38px}
p{color:rgba(255,255,255,.72);margin-bottom:22px}
input{
  width:100%;
  padding:16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  color:#fff;
  margin-bottom:16px;
}
button{
  width:100%;
  padding:16px;
  border:none;
  border-radius:16px;
  background:#f2d085;
  color:#1c1023;
  font-weight:800;
  cursor:pointer;
}
.err{
  background:rgba(255,80,80,.12);
  border:1px solid rgba(255,80,80,.24);
  color:#ffb3b3;
  padding:12px 14px;
  border-radius:14px;
  margin-bottom:16px;
}
</style>
</head>
<body>
  <form class="box" method="post">
    <h1>Admin Giriş</h1>
    <p>Nurəngiz Gün saytının idarə paneli</p>
    <?php if (!empty($loginError)): ?><div class="err"><?= htmlspecialchars($loginError) ?></div><?php endif; ?>
    <input type="password" name="login_password" placeholder="Şifrəni daxil et">
    <button type="submit">Daxil ol</button>
  </form>
</body>
</html>
<?php
exit;
endif;

$siteFile = $dataDir . "/site.json";
$postsFile = $dataDir . "/posts.json";
$galleryFile = $dataDir . "/gallery.json";
$booksFile = $dataDir . "/books.json";
$videosFile = $dataDir . "/videos.json";

$site = loadJson($siteFile);
$posts = loadJson($postsFile);
$gallery = loadJson($galleryFile);
$books = loadJson($booksFile);
$videos = loadJson($videosFile);

if (isset($_POST['save_site'])) {
    $site["site_title"] = trim($_POST["site_title"] ?? "");
    $site["hero_note"] = trim($_POST["hero_note"] ?? "");
    $site["site_subtitle"] = trim($_POST["site_subtitle"] ?? "");
    $site["background_image"] = trim($_POST["background_image"] ?? "");
    $site["about_text"] = trim($_POST["about_text"] ?? "");
    saveJson($siteFile, $site);
    header("Location: admin.php?saved=1");
    exit;
}

if (isset($_POST['add_post'])) {
    $cover = uploadFile("post_cover", "posts");
    $posts[] = [
        "title" => trim($_POST["post_title"] ?? ""),
        "type" => trim($_POST["post_type"] ?? "Şeir"),
        "content" => trim($_POST["post_content"] ?? ""),
        "cover" => $cover
    ];
    saveJson($postsFile, $posts);
    header("Location: admin.php?tab=posts");
    exit;
}

if (isset($_POST['add_video'])) {
    $videos[] = [
        "title" => trim($_POST["video_title"] ?? ""),
        "link" => trim($_POST["video_link"] ?? "")
    ];
    saveJson($videosFile, $videos);
    header("Location: admin.php?tab=videos");
    exit;
}

if (isset($_POST['add_book'])) {
    $cover = uploadFile("book_cover_upload", "books");
    $books[] = [
        "title" => trim($_POST["book_title"] ?? ""),
        "desc" => trim($_POST["book_desc"] ?? ""),
        "cover" => $cover
    ];
    saveJson($booksFile, $books);
    header("Location: admin.php?tab=books");
    exit;
}

if (isset($_POST['add_gallery'])) {
    $img = uploadFile("gallery_upload", "gallery");
    $gallery[] = [
        "title" => trim($_POST["gallery_title"] ?? ""),
        "image" => $img
    ];
    saveJson($galleryFile, $gallery);
    header("Location: admin.php?tab=gallery");
    exit;
}

if (isset($_GET['delete']) && isset($_GET['type']) && isset($_GET['i'])) {
    $i = (int)$_GET['i'];
    $type = $_GET['type'];

    if ($type === "posts" && isset($posts[$i])) { unset($posts[$i]); saveJson($postsFile, array_values($posts)); }
    if ($type === "gallery" && isset($gallery[$i])) { unset($gallery[$i]); saveJson($galleryFile, array_values($gallery)); }
    if ($type === "books" && isset($books[$i])) { unset($books[$i]); saveJson($booksFile, array_values($books)); }
    if ($type === "videos" && isset($videos[$i])) { unset($videos[$i]); saveJson($videosFile, array_values($videos)); }

    header("Location: admin.php?tab=" . urlencode($type));
    exit;
}
?>
<!DOCTYPE html>
<html lang="az">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Premium Admin</title>
<style>
*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:Arial,sans-serif;
  background:linear-gradient(180deg,#15071d 0%,#0d0413 100%);
  color:#fff;
}
.wrap{
  width:min(1320px,94%);
  margin:34px auto;
}
.top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
  margin-bottom:26px;
}
.title{
  font-size:44px;
  font-weight:800;
  color:#f2d085;
}
.subtitle{
  color:rgba(255,255,255,.68);
  margin-top:8px;
}
.btn{
  display:inline-block;
  padding:14px 20px;
  border-radius:16px;
  font-weight:800;
  text-decoration:none;
  border:none;
  cursor:pointer;
}
.btn-gold{
  background:#f2d085;
  color:#1a1021;
}
.btn-dark{
  background:rgba(255,255,255,.06);
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
}
.tabs{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:24px;
}
.tab{
  padding:12px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
}
.panel{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  padding:28px;
  box-shadow:0 20px 60px rgba(0,0,0,.20);
  margin-bottom:24px;
}
h2{
  color:#f2d085;
  margin-bottom:18px;
  font-size:28px;
}
label{
  display:block;
  margin:14px 0 8px;
  font-weight:700;
  color:rgba(255,255,255,.82);
}
input, textarea, select{
  width:100%;
  padding:15px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  color:#fff;
}
input[type=file]{
  padding:14px;
  background:rgba(255,255,255,.04);
}
textarea{min-height:140px;resize:vertical}
.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.card-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
  margin-top:24px;
}
.item{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:18px;
}
.item h3{
  color:#f2d085;
  margin-bottom:10px;
}
.item p{
  color:rgba(255,255,255,.78);
  font-size:14px;
}
.item img{
  width:100%;
  border-radius:18px;
  margin-bottom:12px;
}
.delete{
  display:inline-block;
  margin-top:14px;
  color:#ff8b8b;
  text-decoration:none;
  font-weight:700;
}
.notice{
  background:rgba(64,194,114,.14);
  border:1px solid rgba(64,194,114,.28);
  color:#a8f0c1;
  padding:16px 18px;
  border-radius:18px;
  margin-bottom:20px;
}
small{
  display:block;
  margin-top:8px;
  color:rgba(255,255,255,.5);
}
@media(max-width:900px){
  .grid{grid-template-columns:1fr}
}
</style>
</head>
<body>
<div class="wrap">

  <div class="top">
    <div>
      <div class="title">Premium Admin CMS V4</div>
      <div class="subtitle">Şəkil upload + məzmun idarəsi</div>
    </div>
    <div style="display:flex;gap:12px;flex-wrap:wrap;">
      <a class="btn btn-dark" href="index.php" target="_blank">Saytı aç</a>
      <a class="btn btn-dark" href="admin.php?logout=1">Çıxış</a>
    </div>
  </div>

  <?php if (isset($_GET['saved'])): ?>
    <div class="notice">Sayt məlumatları yadda saxlanıldı.</div>
  <?php endif; ?>

  <div class="tabs">
    <a class="tab" href="admin.php">Əsas</a>
    <a class="tab" href="admin.php?tab=posts">Yazılar</a>
    <a class="tab" href="admin.php?tab=gallery">Şəkillər</a>
    <a class="tab" href="admin.php?tab=books">Kitablar</a>
    <a class="tab" href="admin.php?tab=videos">Videolar</a>
  </div>

  <?php $tab = $_GET['tab'] ?? 'main'; ?>

  <?php if ($tab === 'main'): ?>
    <div class="panel">
      <h2>Əsas sayt məlumatları</h2>
      <form method="post">
        <div class="grid">
          <div>
            <label>Sayt adı</label>
            <input type="text" name="site_title" value="<?= htmlspecialchars($site["site_title"] ?? "") ?>">
          </div>
          <div>
            <label>Hero qeyd</label>
            <input type="text" name="hero_note" value="<?= htmlspecialchars($site["hero_note"] ?? "") ?>">
          </div>
        </div>

        <label>Alt başlıq</label>
        <input type="text" name="site_subtitle" value="<?= htmlspecialchars($site["site_subtitle"] ?? "") ?>">

        <label>Arxa fon şəkil linki</label>
        <input type="text" name="background_image" value="<?= htmlspecialchars($site["background_image"] ?? "") ?>">

        <label>Haqqında mətni</label>
        <textarea name="about_text"><?= htmlspecialchars($site["about_text"] ?? "") ?></textarea>

        <div style="margin-top:20px;">
          <button class="btn btn-gold" type="submit" name="save_site">Yadda saxla</button>
        </div>
      </form>
    </div>
  <?php endif; ?>

  <?php if ($tab === 'posts'): ?>
    <div class="panel">
      <h2>Yeni yazı / şeir əlavə et</h2>
      <form method="post" enctype="multipart/form-data">
        <label>Başlıq</label>
        <input type="text" name="post_title">

        <label>Növ</label>
        <select name="post_type">
          <option>Şeir</option>
          <option>Poema</option>
          <option>Hekayə</option>
          <option>Povest</option>
          <option>Yazı</option>
        </select>

        <label>Kapak şəkli</label>
        <input type="file" name="post_cover" accept="image/*">
        <label>Yazı içi şəkillər (birdən çox seç)</label>
<input type="file" name="post_images[]" multiple accept="image/*">
        <small>Şeir və ya yazı üçün şəkil yüklə</small>

        <label>Mətn</label>
        <textarea name="post_content"></textarea>

        <div style="margin-top:20px;">
          <button class="btn btn-gold" type="submit" name="add_post">Əlavə et</button>
        </div>
      </form>

      <div class="card-list">
        <?php foreach (array_reverse($posts, true) as $i => $post): ?>
          <div class="item">
            <?php if (!empty($post["cover"])): ?><img src="<?= htmlspecialchars($post["cover"]) ?>" alt=""><?php endif; ?>
            <h3><?= htmlspecialchars($post["title"] ?? "") ?></h3>
            <p><strong><?= htmlspecialchars($post["type"] ?? "") ?></strong></p>
            <p><?= nl2br(htmlspecialchars(mb_substr($post["content"] ?? "", 0, 250))) ?>...</p>
            <a class="delete" href="admin.php?tab=posts&type=posts&delete=1&i=<?= $i ?>" onclick="return confirm('Silmək istəyirsən?')">Sil</a>
          </div>
        <?php endforeach; ?>
      </div>
    </div>
  <?php endif; ?>

  <?php if ($tab === 'gallery'): ?>
    <div class="panel">
      <h2>Qalereyaya şəkil əlavə et</h2>
      <form method="post" enctype="multipart/form-data">
        <label>Şəkil adı</label>
        <input type="text" name="gallery_title">

        <label>Şəkil yüklə</label>
        <input type="file" name="gallery_upload" accept="image/*">

        <div style="margin-top:20px;">
          <button class="btn btn-gold" type="submit" name="add_gallery">Əlavə et</button>
        </div>
      </form>

      <div class="card-list">
        <?php foreach (array_reverse($gallery, true) as $i => $img): ?>
          <div class="item">
            <?php if (!empty($img["image"])): ?><img src="<?= htmlspecialchars($img["image"]) ?>" alt=""><?php endif; ?>
            <h3><?= htmlspecialchars($img["title"] ?? "") ?></h3>
            <a class="delete" href="admin.php?tab=gallery&type=gallery&delete=1&i=<?= $i ?>" onclick="return confirm('Silmək istəyirsən?')">Sil</a>
          </div>
        <?php endforeach; ?>
      </div>
    </div>
  <?php endif; ?>

  <?php if ($tab === 'books'): ?>
    <div class="panel">
      <h2>Kitab əlavə et</h2>
      <form method="post" enctype="multipart/form-data">
        <label>Kitab adı</label>
        <input type="text" name="book_title">

        <label>Açıqlama</label>
        <textarea name="book_desc"></textarea>

        <label>Üz qabığı yüklə</label>
        <input type="file" name="book_cover_upload" accept="image/*">

        <div style="margin-top:20px;">
          <button class="btn btn-gold" type="submit" name="add_book">Əlavə et</button>
        </div>
      </form>

      <div class="card-list">
        <?php foreach (array_reverse($books, true) as $i => $book): ?>
          <div class="item">
            <?php if (!empty($book["cover"])): ?><img src="<?= htmlspecialchars($book["cover"]) ?>" alt=""><?php endif; ?>
            <h3><?= htmlspecialchars($book["title"] ?? "") ?></h3>
            <p><?= htmlspecialchars($book["desc"] ?? "") ?></p>
            <a class="delete" href="admin.php?tab=books&type=books&delete=1&i=<?= $i ?>" onclick="return confirm('Silmək istəyirsən?')">Sil</a>
          </div>
        <?php endforeach; ?>
      </div>
    </div>
  <?php endif; ?>

  <?php if ($tab === 'videos'): ?>
    <div class="panel">
      <h2>Video əlavə et</h2>
      <form method="post">
        <label>Video adı</label>
        <input type="text" name="video_title">

        <label>Video linki</label>
        <input type="text" name="video_link" placeholder="https://youtube.com/...">

        <div style="margin-top:20px;">
          <button class="btn btn-gold" type="submit" name="add_video">Əlavə et</button>
        </div>
      </form>

      <div class="card-list">
        <?php foreach (array_reverse($videos, true) as $i => $video): ?>
          <div class="item">
            <h3><?= htmlspecialchars($video["title"] ?? "") ?></h3>
            <p><?= htmlspecialchars($video["link"] ?? "") ?></p>
            <a class="delete" href="admin.php?tab=videos&type=videos&delete=1&i=<?= $i ?>" onclick="return confirm('Silmək istəyirsən?')">Sil</a>
          </div>
        <?php endforeach; ?>
      </div>
    </div>
  <?php endif; ?>

</div>
</body>
</html>



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

body {
  font-family: 'Inter', system-ui, Arial, sans-serif;
}


*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}
html{
  scroll-behavior:smooth;
}
body{
  font-family:Arial, sans-serif;
  background:#120518;
  color:#fff;
  line-height:1.6;
}
a{
  text-decoration:none;
}
.container{
  width:min(1200px,92%);
  margin:0 auto;
}
.topbar{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(18,5,24,.72);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 0;
}
.brand{
  color:#f2d085;
  font-size:28px;
  font-weight:800;
}
.nav{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  align-items:center;
}
.nav a{
  color:rgba(255,255,255,.86);
  font-size:15px;
  transition:.25s ease;
}
.nav a:hover{
  color:#f2d085;
}
.admin-link{
  background:#f2d085;
  color:#180d20 !important;
  padding:10px 16px;
  border-radius:999px;
  font-weight:700;
}
.hero{
  min-height:100vh;
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
}
.hero-content{
  position:relative;
  z-index:3;
  text-align:center;
  padding:90px 0;
}
.hero-note{
  color:#c9a264;
  letter-spacing:7px;
  text-transform:uppercase;
  font-size:14px;
  margin-bottom:18px;
}
.hero h1{
  font-size:clamp(56px,10vw,120px);
  line-height:.95;
  color:#f5d387;
  margin-bottom:24px;
  text-shadow:0 0 30px rgba(255,196,0,.12);
}
.hero p{
  max-width:860px;
  margin:0 auto;
  font-size:clamp(20px,2.2vw,30px);
  color:rgba(255,255,255,.95);
}
.hero-buttons{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:16px;
  margin-top:36px;
}
.btn{
  padding:16px 24px;
  border-radius:999px;
  font-weight:800;
  display:inline-block;
  transition:.25s ease;
}
.btn:hover{
  transform:translateY(-3px);
}
.btn-gold{
  background:#f2d085;
  color:#1b1022;
  box-shadow:0 15px 40px rgba(242,208,133,.22);
}
.btn-light{
  background:rgba(255,255,255,.08);
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
}
.hero-glow{
  position:absolute;
  border-radius:50%;
  filter:blur(90px);
  opacity:.28;
}
.glow-1{
  width:320px;
  height:320px;
  background:#ff8c00;
  top:10%;
  left:8%;
}
.glow-2{
  width:420px;
  height:420px;
  background:#ffcc33;
  right:10%;
  bottom:8%;
}
.sections,.posts,.gallery,.books,.videos,.about{
  padding:100px 0;
}
.section-title-wrap{
  text-align:center;
  margin-bottom:50px;
}
.eyebrow{
  color:#c9a264;
  text-transform:uppercase;
  letter-spacing:4px;
  font-size:13px;
}
.section-title-wrap h2{
  font-size:48px;
  margin:14px 0 10px;
  color:#f2d085;
}
.section-title-wrap p{
  color:rgba(255,255,255,.72);
  max-width:760px;
  margin:0 auto;
}
.sun-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:28px;
}
.sun-card{
  position:relative;
  min-height:290px;
  border-radius:28px;
  background:linear-gradient(180deg, rgba(255,196,0,.08), rgba(255,140,0,.03));
  border:1px solid rgba(255,255,255,.08);
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  overflow:hidden;
  transition:.28s ease;
}
.sun-card:hover{
  transform:translateY(-8px) scale(1.01);
  box-shadow:0 25px 60px rgba(255,140,0,.18);
}
.sun-core{
  position:absolute;
  top:26px;
  left:50%;
  transform:translateX(-50%);
  width:120px;
  height:120px;
  border-radius:50%;
  background:
    radial-gradient(circle at center, #fff4b0 0%, #ffd04d 18%, #ff9d00 48%, #ff6a00 72%, rgba(255,106,0,.10) 100%);
  box-shadow:
    0 0 25px rgba(255,166,0,.9),
    0 0 60px rgba(255,140,0,.65),
    0 0 100px rgba(255,110,0,.35);
  animation:pulseSun 4s ease-in-out infinite;
}
@keyframes pulseSun{
  0%,100%{transform:translateX(-50%) scale(1)}
  50%{transform:translateX(-50%) scale(1.08)}
}
.sun-label{
  position:relative;
  z-index:2;
  font-size:28px;
  font-weight:800;
  color:#fff;
  margin-bottom:8px;
}
.sun-desc{
  position:relative;
  z-index:2;
  color:rgba(255,255,255,.72);
  font-size:15px;
}
.cards-grid,.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:26px;
}
.content-card,.gallery-card,.about-box{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  padding:24px;
  box-shadow:0 20px 50px rgba(0,0,0,.18);
}
.content-type{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(242,208,133,.12);
  color:#f2d085;
  font-size:13px;
  font-weight:800;
  margin-bottom:14px;
}
.content-card h3{
  font-size:28px;
  color:#f2d085;
  margin-bottom:12px;
}
.content-card p{
  color:rgba(255,255,255,.82);
}
.gallery-card img,.book-cover{
  width:100%;
  border-radius:22px;
  display:block;
  margin-bottom:14px;
}
.gallery-caption{
  color:#f2d085;
  font-weight:700;
}
.empty-box{
  grid-column:1/-1;
  text-align:center;
  padding:36px;
  border-radius:24px;
  background:rgba(255,255,255,.04);
  border:1px dashed rgba(255,255,255,.12);
  color:rgba(255,255,255,.62);
}
.about-box{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:28px;
  align-items:start;
}
.about-box h2{
  color:#f2d085;
  font-size:44px;
  margin-top:10px;
}
.about-box p{
  color:rgba(255,255,255,.86);
  font-size:18px;
}
.footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:28px 0;
  color:rgba(255,255,255,.52);
  text-align:center;
}
@media(max-width:900px){
  .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .nav{
    gap:12px;
  }
  .about-box{
    grid-template-columns:1fr;
  }
  .section-title-wrap h2{
    font-size:36px;
  }
}