/* -------------------------------------------------------
   CORE VARIABLES
------------------------------------------------------- */
:root {
  --bg-top: #050908;
  --bg-bottom: #0d1c16;

  --text-main: #f5f5f5;
  --text-muted: #c2c7c4;

  --accent-gold: #c9a348;
  --accent-gold-soft: rgba(201, 163, 72, 0.18);

  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.7);
}

/* -------------------------------------------------------
   GLOBAL RESET
------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Inter", sans-serif;
  color: var(--text-main);
}

/* -------------------------------------------------------
   MOVING BACKGROUND
------------------------------------------------------- */
body {
  background:
    radial-gradient(circle at 10% 0%, #1d332a 0%, transparent 55%),
    radial-gradient(circle at 90% 100%, #101517 0%, transparent 60%),
    linear-gradient(160deg, var(--bg-top), var(--bg-bottom));
  background-size: 200% 200%;
  animation: bgMove 17s ease-in-out infinite;
}

@keyframes bgMove {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

/* -------------------------------------------------------
   HERO
------------------------------------------------------- */
.hero {
  text-align: center;
  padding: 4rem 1.5rem 2.5rem;
}

.hero-logo {
  width: 370px;
  max-width: 80%;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.9));
}

.hero-location {
  margin-top: 1rem;
  font-family: "Cinzel", serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

/* -------------------------------------------------------
   PROJECTS SECTION
------------------------------------------------------- */
.section-title {
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.projects {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.project-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(181, 180, 122, 0.724) 0%, transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(1, 50, 31, 0.904) 0%, transparent 60%),
    rgba(16, 24, 20, 0.92); /* brighter */
  border-radius: 30px;
  padding: 2.8rem 2.4rem 2.6rem;
  width: 360px;
  text-align: center;
  border: 1px solid rgba(201, 163, 72, 0.45);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
}

.project-logo {
  width: 165px;
  margin: 0 auto 1.2rem;
  filter:
    drop-shadow(0 0 18px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 10px rgba(201, 163, 72, 0.1));
}

.project-tagline {
  color: var(--accent-gold);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.project-text {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
  max-width: 300px;
  margin: 0 auto 2.2rem;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 26px 60px rgba(0,0,0,0.85),
    0 0 35px rgba(201, 163, 72, 0.25); /* soft gold glow */
  border-color: rgba(201, 163, 72, 0.65);
}
.project-card {
  position: relative;
  overflow: hidden;
}

.project-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 60%);
  transform: translate(var(--x, 0), var(--y, 0));
  transition: opacity 0.2s ease;
  opacity: 0;
  pointer-events: none; /* FIX */
}

.project-card:hover::after {
  opacity: 1;
}


/* -------------------------------------------------------
   BUTTONS
------------------------------------------------------- */
.project-btn {
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 0.92rem;
  text-decoration: none;
  color: #ffffff;

  background: linear-gradient(
    135deg,
    rgba(201, 163, 72, 0.18),
    rgba(201, 163, 72, 0.35)
  );

  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  transition: 0.25s ease;
}

.project-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(201, 163, 72, 0.45),
    rgba(201, 163, 72, 0.75)
  );
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

/* -------------------------------------------------------
   FOOTER
------------------------------------------------------- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 1rem 2.6rem;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(201, 163, 72, 0.15), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.7));
}

.footer-title {
  font-family: "Cinzel", serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.footer-line {
  display: block;
  width: 70px;
  height: 1px;
  margin: 0.5rem auto 1.5rem;
  background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
}

.footer-item {
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  color: rgba(240, 240, 240, 0.9);
}

.footer-copy {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  color: rgba(200, 204, 202, 0.8);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.content {
  padding-bottom: 4rem;
}
.footer {
  margin-top: 1.5rem;
}
.footer-link {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

@media (max-width: 768px) {

  /* Disable hover effects on mobile */
  .project-card:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
    border-color: rgba(201, 163, 72, 0.45);
  }

  .project-card::after {
    display: none;
  }

  /* Slightly smaller cards */
  .project-card {
    width: 92%;
    padding: 2rem 1.4rem 2.2rem;
    margin-bottom: 1.5rem;
  }

  /* Smaller logos for better view */
  .project-logo {
    width: 135px;
    margin-bottom: 1rem;
  }

  /* Tighter text */
  .project-text {
    font-size: 0.92rem;
    margin-bottom: 1.8rem;
  }

  /* Bigger buttons for thumb tapping */
  .project-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  /* Footer spacing */
  .footer {
    padding-top: 2.2rem;
  }

  .footer-item {
    font-size: 0.9rem;
  }

  .footer-copy {
    margin-top: 1rem;
    font-size: 0.72rem;
  }
}
