:root {
  --bg: #000000;
  --text: #1d1a17;
  --muted: rgba(36, 31, 31, 0.774);
  --line: rgba(81, 4, 133, 0.61);
  --shadow: 0 24px 60px rgba(10, 4, 0, 0.281);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f7f7f6 100%);
  /*background: linear-gradient(180deg, #292928 100%, #6f9138 100%);*/

  color: var(--text);
  font-family: "Inter", sans-serif;
}


a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}



.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 14, 14, 0.884);
  /*background: rgba(15, 14, 14, 0.884);*/
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.brand {
  font-size: 0.8rem;
  color: rgb(31, 25, 25);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a,
.nav-links button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: white;
  transition: all 0.2s ease;

  background: transparent; /* Fixes the white background issue */
  border: 1px solid transparent; 
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links button:hover,
.nav-links button:focus-visible {
  border: 1px solid var(--line);
  background: rgba(218, 216, 216, 0.24);
  color: white;
}




.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 52px;
  align-items: end;
  padding: 72px 0 26px;

}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-copy h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(4.2rem, 8vw, 8.7rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.hero-copy p {
  margin: 22px 0 0;
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s ease;
}

.button.primary {
  background: var(--text);
  color: #302c28;
  border-color: var(--text);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.18);
}




.socials-section {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-section {
  padding: 52px 0 20px;
}

.section-title {
  margin: 0 0 24px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.05em;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.26);
}

.social-btn-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 12px;
}

.social-link .social-text {
  font-weight: 500;
  display: inline-block;
}




.project-slider {
  display: grid;
  grid-template-columns: 50px 1fr 10px;
  gap: 32px;
  align-items: center;
}

.project-arrow {
  width: 60px;
  height: 60px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.project-arrow:hover,
.project-arrow:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.4);
}

.project-feature {
  display: block;
  min-height: 520px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-feature:hover,
.project-feature:focus-visible {
  transform: scale(1.015);
  box-shadow: 0 28px 70px rgba(33, 28, 25, 0.12);
}

.project-visual {
  height: 250px;
  position: relative;
  overflow: hidden;

 
  background-size: cover;          
  background-position: center;      
  
  background-color: #eaeaea; 
}


.project-visual::before,
.project-visual::after {
  content: "";
  position: absolute;
  border-radius: 30px;
}

/* MUST CHANGE TO IMAGE RELATING TO PROJECT */
.project-visual::before {
  width: 72%;
  height: 52%;
  left: 14%;
  top: 16%;
  /*background: linear-gradient(135deg, rgba(255, 0, 0, 0.52), rgba(0,0,0,0.06));*/
  /*border: 1px solid rgba(255,255,255,0.25);*/
}

/* MUST CHANGE TO IMAGE RELATING TO PROJECT */
.project-visual::after {
  width: 58%;
  height: 26%;
  left: 21%;
  bottom: 15%;
  /*background: linear-gradient(135deg, rgba(255, 0, 0, 0.76), rgba(29,26,23,0.28));*/
}

.project-content-box {
  padding: 22px 24px 26px;
}

.project-tag {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-feature h3 {
  margin: 14px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.project-feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.project-nav {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.project-nav a {
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}


/* When dark mode is active on the body element */
body.dark-mode {
  background: rgba(15, 14, 14, 0.884); /* Dark background instead of light grey */
  color: #f7f7f6;      /* Off-white text color */
}

/* Update your hero description and project paragraph text colors */
body.dark-mode .hero-copy p,
body.dark-mode .project-feature p,
body.dark-mode .project-tag {
  color: rgba(255, 255, 255, 0.7); /* Muted white text for descriptions */
}

/* Optional: Make your card containers blend nicely into the dark background */
body.dark-mode .project-feature {
  background: rgba(255, 255, 255, 0.05);
}
