:root {

--bg: #f4f6fb;
--bg-secondary: #ffffff;

--text: #111;
--muted: #555;
--links: #111;

--accent: #3a6df0;
--accent-soft: #e6ecff;

--border: #e4e8f0;

}

[data-theme="dark"] {

--bg: #0b0f1a;
--bg-secondary: #121827;

--text: #e6e8ef;
--muted: #9aa4bf;
--links: #ff1493;

--accent: #5c8dff;
--accent-soft: rgba(92,141,255,0.15);

--border: #1f2a44;

}

body {

margin: 0;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
background: var(--bg);
color: var(--text);

}

    /* Theme Switcher */
    .theme-switcher { margin-left: .5rem; }
    .theme-select {
      appearance: none; border: 1px solid var(--border); background: var(--bg); color: var(--text);
      padding: .45rem .6rem; border-radius: .7rem; font-weight: 600;
    }

.content {
width:80%;
margin:auto;
padding:1em;
}

.padBottom { display: none; }

/* HEADER */

.header {

display: flex;
align-items: center;
justify-content: space-between;

padding: 14px 22px;

background: var(--bg-secondary);
border-bottom: 1px solid var(--border);

position: relative;
z-index: 100;

}



/* LOGO */

.logo img {

height: 42px;
width: auto;
display: block;

}



/* NAVIGATION */

.topNav {

display: flex;
gap: 22px;

}

.topNav a {

text-decoration: none;
color: var(--muted);
font-weight: 500;

}

.topNav a:hover {

color: var(--accent);
text-shadow: 0 0 6px rgba(90,120,255,.4);

}


.footerNav a {

text-decoration: none;
color: var(--muted);
font-weight: 500;

}

.footerNav a:hover {

color: var(--accent);
text-shadow: 0 0 6px rgba(90,120,255,.4);

}


a { color: var(--links); font-weight: bold; }


/* HERO */

.hero {

padding: 120px 20px;
text-align: center;
max-width: 900px;
margin: auto;

}

.hero h1 {

font-size: 48px;
margin-bottom: 20px;

}

.hero p {

font-size: 18px;
color: var(--muted);
margin-bottom: 40px;

}



/* CTA BUTTON */

.cta {

display: inline-block;
padding: 14px 28px;

background: var(--accent);
color: white;

border-radius: 6px;
cursor: pointer;

}



/* GRID */

.grid {

display: grid;
grid-template-columns: repeat(auto-fit,minmax(260px,1fr));

gap: 30px;

padding: 60px 40px;
max-width: 1200px;
margin: auto;

}



/* CARDS */

.card {

background: var(--bg-secondary);

padding: 30px;

border-radius: 10px;

border: 1px solid var(--border);

transition: 0.2s;

}

.card:hover {

transform: translateY(-5px);
border-color: var(--accent);

}



/* FOOTER */

.site-footer { border-top: 1px solid var(--border); background: var(--elev); }

/* 70/30 grid layout */
.footer-grid {
  display: grid;
  grid-template-columns: 7fr 3fr; /* ~70% / 30% */
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.footer-left {
  color: var(--muted);
  font-size: .95rem;
}

.footer-right { justify-self: end; }

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }


/* HAMBURGER BUTTON */

.menu-toggle {

display: none;

width: 42px;
height: 42px;

border-radius: 10px;
border: 1px solid var(--border);

background: var(--bg-secondary);

cursor: pointer;

flex-direction: column;
justify-content: center;
align-items: center;

gap: 5px;

}

.menu-toggle span {

width: 20px;
height: 2px;

background: var(--text);

transition: all .28s ease;

}



/* HAMBURGER ANIMATION */

.menu-toggle.open span:nth-child(1){

transform: translateY(7px) rotate(45deg);

}

.menu-toggle.open span:nth-child(2){

opacity: 0;

}

.menu-toggle.open span:nth-child(3){

transform: translateY(-7px) rotate(-45deg);

}



/* MOBILE */

@media (max-width: 860px){

.sr-only { display: none; }
.padBottom { diplay: display; }

.content {
width:95%;
margin:auto;
padding:.3em;
}


.menu-toggle {
display: flex;
}

.topNav {

position: absolute;

top: 70px;
left: 12px;
right: 12px;

display: none;
flex-direction: column;

background: var(--bg-secondary);

border: 1px solid var(--border);

border-radius: 14px;

padding: 8px;

box-shadow: 0 10px 30px rgba(0,0,0,.08);

backdrop-filter: blur(10px);

}

.topNav.open {
display: flex;
}

.topNav a {

padding: 14px 16px;
border-radius: 10px;

}

.topNav a:hover {

background: var(--accent-soft);

}

  .footer-grid { grid-template-columns: 1fr; }
  .footer-right { justify-self: center; padding-bottom:2em; }


}
