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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;    
    margin-left: 40px;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 0;
    border-bottom: 1px solid #e5e5e5;
    backdrop-filter: blur(10px);
    
}



.nav-menu a {
    color: #1a1a1a;                 /* Black text */
    background-color: #f0f0f0;      /* Light gray background */
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 400;
    white-space: nowrap;
}

.nav-menu a:hover {
    background-color: #e0e0e0;      /* Slightly darker gray on hover */
    color: #1a1a1a;
}

.nav-menu a.active {
    background-color: #d0d0d0;      /* Even darker gray for active page */
    color: #1a1a1a;
    font-weight: 500;
}




/* Image styles */
img {
    max-width: 90vw;  /* 80% of viewport width */
    height: auto;
}


/* Specific sizing for diagram images */
img[src*="/images/coil_finished.jpg"],
img[src*="/images/coil_finished_2.jpg"]
{
    width: 600px;     /* Adjust this to whatever looks good */
    max-width: 100%;  /* Still responsive on mobile */
}




.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    color: #1a1a1a;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}


/* Add this new rule */
.logo img {
    width: 200px;
    height: 67px;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    color: #666;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 400;
}

.nav-menu a:hover {
    color: #1a1a1a;
}

.nav-menu a.active {
    color: #1a1a1a;
    font-weight: 500;
}

/* Main Content Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    min-height: calc(100vh - 200px);
}

h1 {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.2;
}

h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

p {
    margin-bottom: 1.25rem;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;    
}

/* Footer Styles */
footer {
    background-color: #fafafa;
    color: #666;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid #e5e5e5;
    font-size: 0.9rem;
}
