/* Vintage Aviation Logbook Style */

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: #f4e8d0;
    background-image: 
        linear-gradient(rgba(139, 119, 101, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 119, 101, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    color: #3a2f2a;
    line-height: 1.8;
}

.container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 40px;
    background-color: #faf6ed;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    border: 2px solid #8b7765;
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAGUlEQVQYV2NkYGD4z8DAwMgABXAGjgQyDwCIgQYDEj6BkQAAAABJRU5ErkJggg==');
    opacity: 0.03;
    pointer-events: none;
}

header {
    text-align: center;
    border-bottom: 3px double #8b7765;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: sepia(20%);
}

h1 {
    font-size: 3em;
    color: #2c1810;
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.tagline {
    font-style: italic;
    color: #5a4636;
    font-size: 1.2em;
}

nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

nav a {
    color: #3a2f2a;
    text-decoration: none;
    font-size: 1.1em;
    padding: 8px 20px;
    border: 1px solid #8b7765;
    background-color: #ebe1d0;
    transition: all 0.3s;
}

nav a:hover,
nav a.active {
    background-color: #d4c4a8;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

main {
    padding: 20px 0;
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 2em;
    color: #2c1810;
    margin-bottom: 20px;
    border-bottom: 2px solid #8b7765;
    padding-bottom: 10px;
    font-weight: normal;
}

h3 {
    font-size: 1.4em;
    color: #3a2f2a;
    margin-bottom: 10px;
    font-weight: normal;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

.service-grid,
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item,
.project-item {
    padding: 20px;
    background-color: #f0e6d6;
    border: 1px solid #8b7765;
    border-radius: 3px;
}

.project-item img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border: 1px solid #8b7765;
}

.contact-info {
    background-color: #f0e6d6;
    padding: 30px;
    border: 1px solid #8b7765;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 3px double #8b7765;
    color: #5a4636;
    font-style: italic;
}

@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 20px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    nav a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}