/* ============================================================
   Anna Iyer's Portfolio — Zeever Theme (faithful static rebuild)
   Colors, animations, and layout matching the original WordPress
   Zeever theme by Jegstudio.
   ============================================================ */

/* --- CSS Variables (Zeever Palette) --- */
:root {
  --zeever-primary: #FCFCFC;
  --zeever-secondary: #ed5278;
  --zeever-third: #121212;
  --zeever-bodytext: #D0D0D0;
  --zeever-bgsoft: #0B0C10;
  --zeever-border: #363636;
  --zeever-button-border: #82243b;
  --zeever-form: #252525;
  --black: #000000;
  --white: #ffffff;

  --zeever-transition: cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--zeever-bodytext);
  background-color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--zeever-secondary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--zeever-primary); }

h1, h2, h3, h4, h5, h6 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--zeever-primary);
}

p { margin-top: 0; margin-bottom: 0.9rem; line-height: 1.8; }

img { border-style: none; height: auto; max-width: 100%; }

/* --- Hero / Cover Section --- */
.hero-cover {
  position: relative;
  min-height: 999px;
  padding-bottom: 154px;
  display: flex;
  flex-direction: column;
  background-color: var(--black);
  overflow: hidden;
}

.hero-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/geometric-bg.jpg');
  background-position: 50% 50%;
  background-size: cover;
  background-attachment: fixed;
  will-change: transform;
}

.hero-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-cover > * { position: relative; z-index: 2; }

/* --- Header / Navigation --- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1170px;
  margin: 0 auto;
  width: 100%;
  padding: 20px 29px;
}

.site-title {
  font-size: 36px;
  font-weight: 500;
}
.site-title a { color: var(--white); }
.site-title a:hover { color: var(--zeever-secondary); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-nav > ul > li { position: relative; }

.main-nav a {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.main-nav a:hover { color: var(--zeever-secondary); }

/* Dropdown */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--zeever-third);
  border: 1px solid var(--zeever-border);
  padding: 10px 0;
  min-width: 220px;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.submenu li { list-style: none; }

.submenu a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0.05em;
  color: var(--zeever-bodytext);
}

.submenu a:hover { color: var(--zeever-secondary); }

.dropdown:hover .submenu { display: block; }

/* --- Hero Content --- */
.hero-content {
  max-width: 1170px;
  margin: 0 auto;
  width: 100%;
  padding: 200px 29px 0;
  display: flex;
  flex: 1;
}

.hero-left {
  flex: 0 0 700px;
  max-width: 700px;
}

.hero-right {
  flex: 1;
  text-align: right;
  padding-top: 320px;
}

.hero-left .iam {
  font-size: 50px;
  font-weight: 700;
  text-transform: capitalize;
  color: var(--zeever-primary);
  margin: 0 0 23px 0;
  line-height: 1.2;
}

.hero-left .name {
  font-size: clamp(42px, 5.2778vw, 76px);
  font-weight: 700;
  text-transform: capitalize;
  color: var(--zeever-primary);
  margin: 0;
  line-height: 1.2;
}

.hero-right .subtitle {
  font-size: 33px;
  font-weight: 700;
  color: var(--zeever-primary);
  margin: 0;
  line-height: 1.2;
}

/* --- Animations (Zeever-style) --- */
.zeever-animate-init {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) translateX(0) scale(1) rotate(0) !important;
}

.zeever-animate {
  opacity: 0;
  visibility: hidden;
  transition-property: opacity, transform;
  transition-duration: 0.7s;
  transition-timing-function: var(--zeever-transition);
}

.zeever-move-up  { transform: translateY(30px); }
.zeever-move-down { transform: translateY(-30px); }
.zeever-move-right { transform: translateX(-40px); }
.zeever-move-left  { transform: translateX(40px); }

.zeever-delay-1  { transition-delay: 0.1s; }
.zeever-delay-3  { transition-delay: 0.3s; }
.zeever-delay-5  { transition-delay: 0.5s; }
.zeever-delay-7  { transition-delay: 0.7s; }
.zeever-delay-10 { transition-delay: 1s; }

/* Scroll-triggered animation via Intersection Observer */
.animate-on-scroll {
  opacity: 0;
  visibility: hidden;
  transition-property: opacity, transform;
  transition-duration: 0.7s;
  transition-timing-function: var(--zeever-transition);
}
.animate-on-scroll.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) translateX(0) scale(1) rotate(0);
}
.animate-from-right { transform: translateX(-40px); }
.animate-from-left  { transform: translateX(40px); }
.animate-from-bottom { transform: translateY(30px); }
.animate-from-top   { transform: translateY(-30px); }

.anim-delay-1  { transition-delay: 0.1s; }
.anim-delay-3  { transition-delay: 0.3s; }
.anim-delay-5  { transition-delay: 0.5s; }
.anim-delay-7  { transition-delay: 0.7s; }

/* --- Main Content --- */
main {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 29px;
  width: 100%;
}

section { margin-bottom: 60px; }

.main-notice {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 14px;
}

.section-title {
  font-size: 50px;
  color: var(--zeever-primary);
  margin-bottom: 30px;
}

/* --- Passion Cards (Zeever style) --- */
.passion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-right: 10px;
  padding-left: 10px;
  margin-top: -80px;
}

.passion-card {
  background-color: var(--zeever-third);
  border: 2px solid var(--zeever-third);
  padding: 50px 30px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.passion-card:hover {
  border-color: var(--zeever-secondary);
  transform: translateY(-5px);
}

.passion-card .icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 30px;
  filter: brightness(0) saturate(100%) invert(47%) sepia(78%) saturate(3172%) hue-rotate(327deg) brightness(92%) contrast(94%);
  /* Pink tint via filter to match zeever duotone effect */
}

.passion-card h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--zeever-primary);
  margin: 30px 0 15px;
}

.passion-card p {
  color: var(--zeever-bodytext);
  margin-bottom: 0.9rem;
}

/* --- Portfolio Grid --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 30px 0;
}

.portfolio-item {
  background-color: var(--zeever-third);
  border: 2px solid var(--zeever-third);
  padding: 40px 30px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.portfolio-item:hover {
  border-color: var(--zeever-secondary);
  transform: translateY(-5px);
}

.portfolio-item h3 {
  font-size: 20px;
  color: var(--zeever-primary);
  margin: 20px 0 5px;
}

.portfolio-item .role {
  color: var(--zeever-secondary);
  font-size: 15px;
  margin-bottom: 20px;
}

.portfolio-item .btn {
  display: inline-block;
  padding: 23px 30px;
  background-color: transparent;
  color: var(--white);
  font-family: 'Heebo', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--zeever-secondary);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.portfolio-item .btn:hover {
  background-color: transparent;
  border-color: var(--zeever-button-border);
  color: var(--white);
}

/* --- Contact Section --- */
#contact p {
  font-size: 18px;
  color: var(--zeever-bodytext);
}

#contact a {
  color: var(--zeever-secondary);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

#contact a:hover {
  color: var(--zeever-primary);
  border-bottom-color: var(--zeever-secondary);
}

/* --- Footer --- */
footer {
  background-color: var(--zeever-bgsoft);
  border-top: 1px solid var(--zeever-border);
  padding: 50px 29px;
  text-align: center;
}

footer h2 {
  font-size: 18px;
  margin-bottom: 20px;
}

footer h2 a { color: var(--zeever-primary); }
footer h2 a:hover { color: var(--zeever-secondary); }

.social-links {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 20px 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  font-size: 20px;
  color: var(--white);
  border: 2px solid var(--zeever-secondary);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--white);
  border-color: var(--white);
  color: #082222;
}

.return-home {
  display: inline-block;
  margin-top: 30px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--zeever-bodytext);
}

.return-home:hover { color: var(--zeever-secondary); }

/* --- Content Pages (Works sub-pages) --- */
.content-section {
  line-height: 1.8;
  font-size: 16px;
  color: var(--zeever-bodytext);
  max-width: 900px;
}

.content-section p { margin-bottom: 20px; }

.content-section h2 {
  font-size: 28px;
  color: var(--zeever-primary);
  margin-top: 50px;
  margin-bottom: 20px;
}

.project-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.project-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--zeever-border);
  color: var(--zeever-bodytext);
}

.project-list li:last-child { border-bottom: none; }

/* --- Image Gallery --- */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.image-gallery img {
  width: 100%;
  border-radius: 0;
  border: 2px solid var(--zeever-third);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.image-gallery img:hover {
  border-color: var(--zeever-secondary);
  transform: scale(1.02);
}

/* --- Spacers (Zeever-style) --- */
.spacer-30 { height: 30px; }
.spacer-97 { height: 97px; }
.spacer-100 { height: 100px; }
.spacer-138 { height: 138px; }

/* === Sub-page specific === */

/* Page banner */
.page-banner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 60px 29px;
}

.page-banner h1 {
  font-size: 50px;
  color: var(--zeever-primary);
  margin: 0;
}

/* Back to top link */
.back-to-top {
  display: inline-block;
  margin-top: 40px;
  color: var(--zeever-bodytext);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.back-to-top:hover { color: var(--zeever-secondary); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content { flex-direction: column; padding-top: 80px; }
  .hero-left { flex: none; max-width: 100%; }
  .hero-right { padding-top: 40px; text-align: left; }
  .hero-right .subtitle { font-size: 24px; }
  .passion-grid { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 15px; }
  .main-nav ul { flex-direction: column; gap: 10px; width: 100%; }
  .submenu { position: static; box-shadow: none; border: none; padding-left: 20px; }
  .passion-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-left .iam { font-size: 32px; }
  .hero-left .name { font-size: 36px; }
  .hero-right .subtitle { font-size: 20px; }
  .section-title { font-size: 32px; }
  .social-links { gap: 30px; }
  .image-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .image-gallery { grid-template-columns: 1fr; }
}
