body {
    font-family: 'Inter', sans-serif;
    /* 1. Add the background image */
    background-image: url('AllenGoats25-38a.jpg'); 
    
    /* 2. Ensure the image covers the whole screen */
    background-size: cover;
    
    /* 3. Keep the image fixed so it doesn't scroll with content */
    background-attachment: fixed;
    
    /* 4. Center the image */
    background-position: center;
    
    /* 5. Fallback color */
    background-color: #f8f9fa; 

    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    margin: 0;
}

.container {
    padding: 40px;
    max-width: 600px;
    /* 6. Added a semi-transparent white background to keep text readable */
    background-color: rgba(255, 255, 255, 0.9); 
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ... keep the rest of your existing H1 and email styles ... */

h1 {
    font-size: 2.5rem;
    color: #8b0000; /* A deep cardinal red */
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.status-box {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
    margin-bottom: 30px;
}

footer {
    font-size: 0.9rem;
    color: #999;
}

nav {
    margin-bottom: 20px;
}

nav a {
    text-decoration: none;
    color: #8b0000;
    font-weight: 600;
    margin: 0 15px;
    transition: opacity 0.2s;
}

nav a.active {
    color: #333;
    border-bottom: 2px solid #8b0000;
    cursor: default;
}

nav a:hover:not(.active) {
    opacity: 0.7;
}

/* Styles for the Prototype Embed */
.prototype-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.prototype-section h2 {
    color: #8b0000;
    margin-bottom: 15px;
}

.prototype-iframe {
    width: 100%; /* Fills the width of its parent (.container) */
    aspect-ratio: 1 / 1; /* Changed to accommodate better view */
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f0f0f0; /* Fallback background for the iframe */
    display: block; /* Ensures it takes up full width and respects margin */
    margin: 0 auto; /* Center the iframe if its parent allows */
}

nav a:hover {
    opacity: 0.7;
}

/* Override container width for the projects page to allow wider content */
.projects-page .container {
    max-width: 90%; /* Allows the container to take up more width */
    width: 100%; /* Ensure it uses the available width up to max-width */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.intro-section {
    max-width: 700px;         /* Keeps line lengths comfortable to read */
    margin: 40px auto;        /* Centers the text section on the page */
    padding: 0 20px;          /* Adds breathing room on small screens */
    text-align: left;         /* Keeps body text clean and left-aligned */
}

.brand-statement {
    font-size: 1.1rem;        /* Makes your core values stand out a bit more */
    line-height: 1.75;        /* Adds comfortable vertical line spacing */
    color: #333333;           /* Clean dark charcoal text */
    margin-bottom: 24px;      /* Spacing between the paragraphs */
}

/* Analytics page */
.analytics-grid {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.analytics-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #ddd;
    border-left: 4px solid #8b0000;
    border-radius: 8px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.analytics-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.analytics-card-inner {
    padding: 20px 24px;
    text-align: left;
}

.analytics-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8b0000;
    margin-bottom: 8px;
}

.analytics-card h2 {
    font-size: 1.25rem;
    color: #222;
    margin: 0 0 10px;
}

.analytics-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 14px;
}

.analytics-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #8b0000;
}

/* Project cards */
.project-card {
    display: block;
    background: #fff;
    border: 1px solid #ddd;
    border-left: 4px solid #8b0000;
    border-radius: 8px;
    margin-top: 24px;
}

.project-card-inner {
    padding: 24px;
    text-align: left;
}

.project-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8b0000;
    margin-bottom: 8px;
}

.project-card h2 {
    font-size: 1.5rem;
    color: #222;
    margin: 0 0 12px;
}

.project-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 18px;
}

.project-cta {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: #8b0000;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.project-cta:hover {
    opacity: 0.85;
}
