/* ===============================
   GLOBAL VARIABLES
================================ */
:root {
  --bg-main: #0f0f0f;
  --bg-card: #1a1a1a;
  --text-main: #eaeaea;
  --text-muted: #b0b0b0;
  --accent: #00f703;
  --radius: 14px;
  --transition: 0.25s ease;
  --grid-gap: 1.5rem;
}

/* ===============================
   RESET / BASE
================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  background: var(--bg-main);
  color: var(--text-main);
  position: relative;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}
@media (max-width: 480px) {
  .logo img {
    height: 35px;
  }
  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-buttons a {
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    font-size: 0.9rem;
  }
}


/* ===============================
   HEADER
================================ */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(15,15,15,0.95);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 50px;
  width: auto;
  vertical-align: middle;
}

.logo .site-name {
  margin-left: 0.5rem;
  font-weight: bold;
  color: var(--accent);
  font-size: 1.2rem;
}

.nav-links a {
  margin-left: 1.5rem;
  color: var(--text-main);
}

.nav-links a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* ===============================
   HERO
================================ */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0f0f0f 0%, #1a1a1a 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0,247,3,0.1) 0%, transparent 70%);
  animation: spin 30s linear infinite;
  z-index: 0;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1 1 400px;
  max-width: 600px;
}

.hero-title {
  font-family: 'NexaRustSlab-Black', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  animation: fadeSlideIn 1s ease forwards;
}

.hero-subtitle {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  animation: fadeSlideIn 1.2s ease forwards;
}

@keyframes fadeSlideIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-buttons a {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: #000;
  font-weight: bold;
  transition: var(--transition);
}

.hero-buttons a.secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--accent);
}

.hero-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0,247,3,0.5);
}

.hero-image {
  flex: 1 1 300px;
  max-width: 500px;
  z-index: 1;
}
/* ===============================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 768px) {

  /* Hero stacks vertically */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1rem;
  }

  .hero-image {
    margin-top: 2rem;
    max-width: 90%;
  }

  /* Header tweaks */
  header {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  /* Logo scales down */
  .logo img {
    height: 40px;
  }

  .logo .site-name {
    font-size: 1rem;
    margin-left: 0.25rem;
  }

  /* Hide nav links by default, show on hamburger click */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--bg-main);
    padding: 1rem 2rem;
    gap: 1rem;
  }

  .nav-links a {
    margin-left: 0;
    font-size: 1.1rem;
  }

  .nav-links.active {
    display: flex;
  }

  /* Show hamburger */
  .hamburger {
    display: block;
  }
}

/* ===============================
   FEATURED PRINTS (Cards)
================================ */
.section-title {
  font-size: 2rem;
  margin: 2rem 0 1rem 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--grid-gap);
  padding: 0 2rem 2rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  perspective: 1000px;
}

/* Flip card */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  backface-visibility: hidden;
  padding: 1rem;
}

.flip-card-back {
  background: var(--bg-card);
  color: var(--text-main);
  transform: rotateY(180deg);
}

/* ===============================
   CREDIBILITY SECTION
================================ */
.credibility .card {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cred-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 0.5rem;
}

/* ===============================
   404 PAGE
================================ */
body.error404 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  color: var(--text-main);
}

.error404 h1 {
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: bold;
  color: var(--accent);
}

.error404 h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin: 1rem 0 2rem;
}

.error404 p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.error404 .hero-buttons a {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: var(--transition);
}

.error404 .hero-buttons a.secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--accent);
}

.error404 .hero-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0,247,3,0.5);
}

/* Decorative floating circles */
.error404 .circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(0,247,3,0.1);
  animation: float 6s ease-in-out infinite;
}

.error404 .circle:nth-child(1) { width: 80px; height: 80px; top: 10%; left: 15%; animation-delay: 0s; }
.error404 .circle:nth-child(2) { width: 50px; height: 50px; top: 70%; left: 70%; animation-delay: 2s; }
.error404 .circle:nth-child(3) { width: 100px; height: 100px; top: 40%; left: 50%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* ===============================
   FOOTER
================================ */
footer {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
  }

  .hamburger {
    display: block;
  }
}
