/* ================================
   Rose Gold Academia Theme (FINAL)
   ================================ */

:root {
  --bg-main: #fffdfc;
  --text-main: #3b2f2f;        /* dark brown */
  --text-muted: #6b5a5a;

  --accent: #c48a8a;           /* rose gold */
  --accent-dark: #a96b6b;
  --accent-soft: #f4eaea;

  --card-bg: #ffffff;
  --card-border: rgba(60, 40, 40, 0.08);
}

/* ---------- Global ---------- */
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.7;
}

p {
  color: var(--text-muted);
}

/* ---------- Headings (fonts only) ---------- */
h1, h2, h3, h4, h5 {
  font-family: "Playfair Display", serif;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

/* Accent color used by the template */
.text-primary {
  color: var(--accent) !important;
}

/* ---------- Sidebar / Navbar ---------- */
#sideNav {
  background: linear-gradient(180deg, #3b2f2f, #2a2020);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.75);
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #ffffff;
}

/* ---------- Links ---------- */
a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

a:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}

/* ---------- Section spacing ---------- */
.resume-section {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

/* ---------- Project cards ---------- */
#projects .mb-4 {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 18px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#projects .mb-4:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(60, 40, 40, 0.12);
}

/* ---------- Subheadings (NOT ALL CAPS) ---------- */
.subheading {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none !important;   /* key fix */
  color: var(--accent-dark);
}

/* ---------- Social icons ---------- */
.social-icons .social-icon {
  background-color: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 14px;
}

.social-icons .social-icon:hover {
  background-color: var(--accent);
  color: #ffffff;
}

/* ---------- Mobile polish ---------- */
@media (max-width: 991px) {
  h1 {
    font-size: 3rem !important;
  }
}

/* ================================
   Capitalization rules
   ================================ */

/* ONLY section titles (h2.mb-5) are uppercase */
h2.mb-5 {
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  font-weight: 600;
}

/* FORCE normal case for everything else that the template uppercases */
.resume-section-content h1,
.resume-section-content h3,
.resume-section-content h4,
.resume-section-content h5,
h1, h3, h4, h5,
h4.mb-1,
h3.mb-0,
#projects h4,
#experience h3,
#education h3,
#publications strong {
  text-transform: none !important;
  letter-spacing: -0.01em !important;
}

/* Keep nav links as-is (template often uppercases them).
   If you ALSO want nav links in normal case, uncomment below:

#sideNav .navbar-nav .nav-link {
  text-transform: none !important;
  letter-spacing: 0.02em !important;
}

*/

/* Prevent horizontal scroll on mobile */
html, body {
  overflow-x: hidden;
}

.site-footer {
    font-size: 0.95rem;
    color: #6c757d;
}

.hebrew-name {
    font-family: inherit;
}
<style>
/* Sticky footer (always visible) */
.sticky-footer{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030; /* above content */
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Divider line above footer */
.footer-divider{
    height: 1px;
    background: rgba(0,0,0,0.10);
}

/* Footer layout */
.footer-inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: center;
}

/* Side by side EN + HE */
.footer-lang{
    font-size: 0.95rem;
    line-height: 1.2;
    color: rgba(0,0,0,0.75);
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

/* Optional: make sure the Hebrew column can shrink/wrap properly */
.footer-he, .footer-en{
    min-width: 0;
}

.footer-en{ text-align: left; }
.footer-he{ text-align: right; }

/* Meta */
.footer-meta{
    font-size: 0.9rem;
    color: rgba(0,0,0,0.65);
    white-space: nowrap;
}

.footer-meta a{
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.25);
}
.footer-meta a:hover{
    border-bottom-color: rgba(0,0,0,0.55);
}

.footer-sep{
    margin: 0 8px;
    opacity: 0.55;
}

/* Prevent content from being hidden behind sticky footer */
body{
    padding-bottom: 76px; /* adjust if footer height changes */
}

/* Responsive: stack nicely on small screens */
@media (max-width: 992px){
    .footer-inner{
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-en, .footer-he{
        text-align: center;
    }
}
</style>


