@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: #0a0a0c;
  color: #f1f1f1;
  line-height: 1.75;
  font-size: 16px;
  scroll-behavior: smooth;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

p {
  color: #ccc;
}

/* --- Links --- */
a {
  text-decoration: none;
  transition: all 0.25s ease;
  color: inherit;
}

a:hover {
  opacity: 0.8;
}

/* --- Container --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 0;
}

/* --- HEADER --- */
header {
  background: #0d0d0f;
  padding: 1.5rem 0;
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-combo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(to right, #9f2bff, #00d9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-img {
  height: 60px;
  max-height: 60px;
}

.login-button {
  background: linear-gradient(to right, #9f2bff, #00d9ff);
  padding: 0.55rem 1.1rem;
  border-radius: 5px;
  color: #000;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.25);
}

/* --- HERO SECTION --- */
.hero {
  background: radial-gradient(circle at center, #011a55 0%, #0a0a0c 100%);
  padding: 6rem 0 4rem;
  text-align: center;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(to right, #9f2bff, #00d9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- BUTTONS --- */
.view-button,
.catalog-button,
.discord-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.65rem 1.6rem;
  font-weight: 600;
  border-radius: 6px;
  background: linear-gradient(to right, #9f2bff, #00d9ff);
  color: #000;
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.25);
  transition: all 0.3s ease;
}

.view-button:hover,
.catalog-button:hover,
.discord-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.catalog-button {
  margin: 1.5rem auto;
  display: block;
}

/* --- PROJECT SECTION --- */
.projects h3,
.join-us h3 {
  text-align: center;
  background: linear-gradient(to right, #9f2bff, #00d9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(159, 43, 255, 0.6),
               0 0 18px rgba(0, 217, 255, 0.4);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-card {
  background: #15151a;
  border: 1px solid #2a2a2f;
  padding: 1.6rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 24px rgb(0, 98, 255);
}

.project-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
  object-fit: cover;
  filter: brightness(0.92);
}

.project-card h4 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  color: #fff;
}

.project-card p {
  color: #aaa;
  font-size: 0.96rem;
  margin-bottom: 1rem;
}

.no-projects {
  text-align: center;
  font-size: 1rem;
  color: #666;
  padding-bottom: 2rem;
}

/* --- JOIN US SECTION --- */
.join-us {
  background: #111;
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.join-us p {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.join-us::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
  z-index: 1;
}

/* --- Discord Button Special --- */
.discord-button {
  background: linear-gradient(90deg, #5865F2, #3ba55d);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 14px rgba(88,101,242,0.6);
}
.discord-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 24px rgba(88,101,242,0.9);
}

/* --- FOOTER --- */
footer {
  background: #0d0d0f;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #1a1a1a;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.back-glow-button {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  border-radius: 6px;
  background: linear-gradient(to right, #ff2b2b, #00d9ff);
  color: #000;
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.25);
  transition: all 0.3s ease;
}

.back-glow-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

/* --- COMPANY / PROJECT CARDS --- */
.company-card {
  margin-bottom: 48px;
  padding: 24px;
  border: 1px solid #333;
  border-radius: 10px;
  background: #111;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
}

.company-card h4 {
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: #66ccff;
}

.company-card p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #bbb;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.project-card {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #222;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(0, 208, 255, 0.4);
}

.project-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 10px;
}

.project-card h4 {
  font-size: 1.2rem;
  margin: 6px 0;
  color: #fff;
}

.project-card p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 12px;
}

.project-card .view-button,
.project-card .back-glow-button {
  display: block;
  width: 100%;
  margin-top: 8px;
  text-align: center;
}

/* --- VIEW PAGE CUSTOM STYLING --- */
.carousel-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto 2rem auto;
  overflow: hidden;
  touch-action: pan-y;
}

.carousel-image {
  display: none;
  width: 100%;
  border-radius: 8px;
}
.carousel-image.active {
  display: block;
}

.carousel-dots {
  text-align: center;
  margin-top: 1rem;
}
.dot {
  height: 14px;
  width: 14px;
  margin: 0 6px;
  background-color: #444;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}
.dot.active {
  background-color: var(--glow-orange, #ff9900);
  box-shadow: 0 0 8px var(--glow-orange, #ff9900);
}

.project-banner {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.project-description {
  font-size: 1.5rem;
  color: #ccc;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.view-button {
  display: inline-block;
  font-size: 1.4rem;
  padding: 0.7rem 1.6rem;
  background-color: var(--glow-orange, #ff9900);
  color: black;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: 2rem;
}

.extra-links h4 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.extra-links ul {
  list-style: none;
  padding-left: 0;
}
.extra-links li {
  margin-bottom: 0.5rem;
}
.extra-links a {
  font-size: 1.3rem;
  color: var(--glow-orange, #ff9900);
  text-decoration: underline;
}
