/* =========================
   style.css
   ========================= */
/*
Theme Name: MGStheme
Author: Ahmet TUTER
Created on: 2026-01-12
Description: Contemporary, clean, tech-focused WordPress theme
*/

/* =========================
   Global Styles
   ========================= */


   /*tech theme*/
   /*
:root {
  --bg-main: #0b0f1a;
  --bg-card: #12172a;
  --text-main: #e6e9f0;
  --text-muted: #9aa4bf;
  --accent: #4da3ff;
  --accent-2: #00e0b8;
  --border-soft: rgba(255,255,255,0.08);
}
  */

/*garden theme*/
:root {
  /* Existing garden variables */
  --bg-main: #ecec10;       /* page background / bottom of gradient */
  --bg-card: #ffffff;       
  --text-main: #2e3d2b;    
  --text-muted: #6b7b63;   
  --accent: #4caf50;       
  --accent-2: #81c784;     
  --border-soft: rgba(46,61,43,0.1);

  /* Updated gradient variables */
  --bg-top: #3aa943;        /* lighter, fresh green for top */
  --bg-bottom: var(--bg-main); /* bottom uses main background */
  --bg-main-gradient: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));

  /* Footer background */
  --bg-footer: #e6f2e8;      /* soft, light garden green ----su anda kullanilmiyor gradient oldugundan----*/
  --bg-footer-top: #2fd21d;   /* lighter green for top of footer */
  --bg-footer-bottom: #d8eed6; /* slightly darker green for bottom of footer */
  --bg-footer-gradient: linear-gradient(180deg, var(--bg-footer-top), var(--bg-footer-bottom));




}





body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-main-gradient);
  color: var(--text-main);
  line-height: 1.65;
}




a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-2);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------------------------------------------------------------------------------------------------------------------------*/
/* -------------------------------------------------------GLOBAL STYLES BITIS-------------------------------------------------------*/
/* ---------------------------------------------------------------------------------------------------------------------------------*/


/* ---------------------------------------------------------------------------------------------------------------------------------*/
/* -------------------------------------------------------HEADER BASLANGIC ---------------------------------------------------------*/
/* ---------------------------------------------------------------------------------------------------------------------------------*/



.site-header {
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  background: rgba(11,15,26,0.75);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.site-logo a {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

.main-nav a {
  color: var(--text-main);
  font-weight: 500;
}


.category-bar {
  display: flex;
  gap: 16px;
  padding: 8px 0;
  overflow-x: auto;
}

.category-link {
  background: var(--bg-card);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.category-link:hover {
  background: var(--accent);
  color: var(--bg-main);
}




/* ---------------------------------------------------------------------------------------------------------------------------------*/
/* -------------------------------------------------------HEADER BITIS---------------- ---------------------------------------------*/
/* ---------------------------------------------------------------------------------------------------------------------------------*/


/* ---------------------------------------------------------------------------------------------------------------------------------*/
/* -------------------------------------------------------Index / Posts grid BASLANGIC ---------------------------------------------*/
/* ---------------------------------------------------------------------------------------------------------------------------------*/






/* ---------------------------------------------------------------------------------------------------------------------------------*/
/* -------------------------------------------------------INDEX BITIS---------------- ---------------------------------------------*/
/* ---------------------------------------------------------------------------------------------------------------------------------*/


/* ---------------------------------------------------------------------------------------------------------------------------------*/
/* -------------------------------------------------------FOOTER BASLANGIC ---------------------------------------------------------*/
/* ---------------------------------------------------------------------------------------------------------------------------------*/



.site-footer {
  background: var(--bg-footer-gradient);
  border-top: 1px solid var(--border-soft);
  padding: 48px 0 32px;
  margin-top: 64px;
}



.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-copy {
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

