/*
Theme Name: Portfolio 2
Author: Siddharth
Description: A clean, high-performance portfolio theme for Sanchita Srivastava.
Version: 4
Text Domain: portfolio2
*/

:root {

  --forest-old: #1f3d32;
  --forest: #2c7b5a;
  --forest-deep: #0c422b;
  --terracotta: #e0457c;
  --mustard: #ffc75f;
  --sage: #2c7b5a;
  --cream: #fefefe;
  --cream-warm: #f1f8f6;
  --ink: #1c1a17;
  --ink-soft: #292929;
  --ink-faint: #888780;
  --border: #e3e0d5;
  --gradient-name: linear-gradient(
    100deg,
    #1f3d32 0%,
    #e0457c 55%,
    #e8b14a 100%
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
main{
	padding-bottom:40px;
	padding-top:40px;
}
body {
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
}

.wrap-wide {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  font-family: "Fraunces", serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--forest);
}

/* Dynamic Active States (WordPress and Static fallback) */
.nav-links a.active,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
  color: var(--forest);
  border-bottom: 1.5px solid var(--terracotta);
  padding-bottom: 4px;
}

.nav-resume {
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
  border-bottom: 1.5px solid var(--terracotta);
  padding-bottom: 2px;
}
/* waving -hand */
.waving-hand {
  animation-name: wave-animation;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  transform-origin: 70% 70%;
  display: inline-block;
}

@keyframes wave-animation {
  0% { transform: rotate( 0.0deg) }
  15% { transform: rotate(14.0deg) }  /* The following five values can be played with to make the waving more or less extreme */
  30% { transform: rotate(-8.0deg) }
  40% { transform: rotate(14.0deg) }
  50% { transform: rotate(-4.0deg) }
  60% { transform: rotate(10.0deg) }
  70% { transform: rotate( 0.0deg) }  /* Reset for the last half to pause */
 100% { transform: rotate( 0.0deg) }
}
/* ---------- Shared Typography & Accents ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 100;
  letter-spacing: 0.02em;
  color: var(--sage);
  margin-bottom: 22px;
  font-style: italic;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

h1 .accent,
h2 .accent,
span.accent {
  background: var(--gradient-name);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientMove 6s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ---------- Buttons ---------- */
.btn-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--forest);
  color: var(--cream);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 8px 8px 8px 26px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--forest-deep);
  transform: translateY(-1px);
}

.btn-primary .arrow-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-primary .arrow-circle svg {
  width: 16px;
  height: 16px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--forest);
  padding: 16px 30px;
  border-radius: 30px;
  border: 1.4px solid var(--forest);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--forest);
  color: var(--cream);
}
/*--- headers for case study-----*/
.sub-text {
    font-size: 20px;
    Color: #2c7b5a;
    font-style: italic;
}
.case-study-image {
    border: 4px solid var(--border);
    border-radius: 20px;
}
/* ---------- Tag & Status Badges ---------- */
.tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--forest);
  background: rgba(138, 154, 107, 6%);
  padding: 6px 14px;
  border-radius: 20px;
}

.case-rank {
  font-family: "Fraunces", serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  display: block;
}

.case-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--terracotta);
  margin-bottom: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  margin-left: 10px;
  vertical-align: middle;
}

.status-shipped {
  background: #e8f0eb;
  color: var(--forest);
}

.status-paused {
  background: #fbe2e8;
  color: #9c1f45;
}

/* ---------- Footer ---------- */
footer {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 48px 0;
  text-align: center;
  font-size: 13.5px;
}

footer p {
  color: rgba(252, 250, 245, 0.5);
}

/* Footer layout for pages with Full CTA (e.g. Front Page) */
.footer-has-cta {
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(252, 250, 245, 0.1);
  text-align: left;
}

.footer-top h2 {
  font-family: "Fraunces", serif;
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 18px;
  max-width: 480px;
}

.footer-top p {
  color: rgba(252, 250, 245, 0.65);
  max-width: 440px;
  margin-bottom: 30px;
  font-size: 15.5px;
}

.footer-contact-list {
  font-size: 14.5px;
  color: rgba(252, 250, 245, 0.75);
  line-height: 1.9;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mustard);
  margin-bottom: 16px;
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(252, 250, 245, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.social-row a:hover {
  background: rgba(252, 250, 245, 0.1);
}

.footer-bottom {
  text-align: center;
  padding: 26px 0;
  font-size: 14px;
  color: #ffffff;
}

/* ---------- Responsive Menu Utilities ---------- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
}

.mobile-only {
  display: none;
}

@media (max-width: 920px) {
  .wrap {
    padding: 0 24px;
  }
  .wrap-wide {
    padding: 0 24px;
  }
  .nav-row {
    padding: 18px 24px;
  }
  .nav-toggle {
    display: block;
  }
  .nav-resume {
    display: none;
  }
  .mobile-only {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a {
    border-bottom: none;
  }
}
.footer-heart {
  display: inline-flex;
  vertical-align: middle;
  animation: heartPulse 1.4s ease-in-out infinite;
}
.footer-heart svg {
  fill: var(--rose-pink, #E85D75); /* replace fallback with your exact hex */
}
@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}