/* Main CSS */


/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 4rem;
}
.hero-content {
  width: 100%;
}
.hero-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 11vw, 9rem);
  line-height: 0.95;
  font-weight: 800;
  color: var(--text-main);
  overflow-wrap: break-word;
  hyphens: auto;
}
.hero-title span {
  display: block;
  overflow: hidden;
}
.hero-title .word {
  transform: translateY(100%);
  display: block;
}
.hero-desc {
  margin-top: 3rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.6;
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  right: 5%;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 50px;
  height: 1px;
  background: var(--text-muted);
}

/* Work Section */

.work-section {
  padding: 10rem 0 5rem;
}
.section-header {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.section-header span{
  /* opacity: 0.6; */
}
.project-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: padding 0.3s ease;
}
.project-item:hover {
  padding: 3rem 2rem;
  background: var(--surface);
}
.project-item img {
  opacity: 0;
  pointer-events: none;
  width: 30%;
  z-index: 999;
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 1rem;
}

.p-info h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.p-info p {
  color: var(--text-muted);
  font-size: 1rem;
}

.p-cats {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  color: var(--text-muted);
}

.see-all-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}

/* Hover Reveal Image */
.hover-reveal {
  position: fixed;
  width: 300px;
  height: 400px;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 50;
  transform: translate(-50%, -50%) scale(0.8);
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

/* --- EXPERTISE --- */
.expertise-section {
  padding: 5rem 0;
  background: var(--surface);
  transition: background 0.5s ease;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.skill-card {
  background: var(--bg);
  padding: 3rem;
  transition: background 0.3s ease;
}

.skill-card:hover {
  background: var(--surface);
}

.skill-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-style: normal;
  display: block;
}

.skill-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.skill-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- ABOUT SECTION --- */
.about-section {
  padding: 8rem 0;
}

.about-text p {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.about-text p strong {
  color: var(--text-main);
  font-weight: 400;
}

.about-meta {
  display: flex;
  gap: 4rem;
  margin-top: 4rem;
  align-items: center;
  flex-wrap: wrap;
}

.meta-item h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.meta-item p {
  font-size: 1.1rem;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.resume-btn {
  padding: 1.2rem 2.5rem;
  border: 1px solid var(--text-main);
  color: var(--text-main);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all 0.3s ease;
  background: transparent;
  white-space: nowrap;
}

.resume-btn:hover {
  background: var(--text-main);
  color: var(--bg);
}


/* --- FOOTER --- */
.footer {
  min-height: 100vh;
  padding: 8rem 0 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: auto;
  padding-top: 4rem;
}

.footer-cta {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 9rem);
  /* Adjusted for mobile */
  line-height: 0.9;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s;
  margin-bottom: 3rem;
  display: block;
  word-break: break-word;
}

.footer-cta:hover {
  color: var(--accent);
}

.footer-links-col h4 {
  color: var(--text-muted);
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.footer-links-col a {
  display: block;
  color: var(--text-main);
  text-decoration: none;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
  transition: color 0.2s;
}

.footer-links-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.ist-time {
  text-align: right;
}

.ist-time span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.ist-time div {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}

