@import url('https://fonts.googleapis.com/css2?family=Saira:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    line-height: 1.8;
    color: #e0e0e0;
    background-color: #000000;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-color: #000000;
    background-image: radial-gradient(#574811 0.9px, #000000 0.9px);
    background-size: 18px 18px;
    transform: rotate(45deg);
    transform-origin: center;
    z-index: -1;
}

a {
    color: #ffd600;
    text-decoration: none;
    border-bottom: 1px solid #ffd600;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.5;
}

nav {
    margin-bottom: 4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(224, 224, 224, 0.4);  /* More transparent */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    border: none;
    font-weight: bold;
}

h1 {
    font-family: 'Saira', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -1px;
    color: #ffd600;
}

h2 {
    font-family: 'Saira', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 3rem 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffd600;
}

h3 {
    font-family: 'Saira', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin: 2rem 0 0.5rem 0;
    color: #ffd600;
}

p {
    margin-bottom: 1rem;
}

section {
    margin-bottom: 4rem;
}

.product-list,
.project-list {
    margin-top: 2rem;
}

.product-item,
.project-item {
    margin-bottom: 2.5rem;
}

.image-gallery {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.image-gallery img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 1px solid #ffd600;
    flex-shrink: 0;
}

.image-placeholder {
  width: 150px;
  height: 150px;
  background: #222;
  border: 2px solid #444;
  flex-shrink: 0;
  position: relative; /* Add this */
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    transparent calc(50% - 1px),
    #444 calc(50% - 1px),
    #444 calc(50% + 1px),
    transparent calc(50% + 1px)
  );
}

.contact-info {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 1rem;
}

.last-updated {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.intro {
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.back-link {
    margin-bottom: 2rem;
    display: inline-block;
}

footer {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(224, 224, 224, 0.4);  /* More transparent */
    font-size: 0.9rem;
    opacity: 0.6;
}

footer a {
    font-family: 'Saira', sans-serif;
}

@media (max-width: 600px) {
    body {
        padding: 1.5rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .image-gallery {
        flex-wrap: wrap;
    }
}
