/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F5F5DC;
    background-color: #2F2F2F;
}

a {
    color: #F5F5DC;
}

a:visited {
    color: #F5F5DC;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background-color: #8B4513;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.site-title {
    font-size: 1.5rem;
}

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

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

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

.nav-menu a:visited {
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000000 0%, #2F2F2F 100%);
    color: #FFD700;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #000000;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #B8860B;
}

/* Sections */
section {
    padding: 80px 0;
}

.project-detail {
    padding-top: 140px;
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .project-detail {
        padding-top: 180px;
    }
}

.about, .projects, .contact {
    background-color: #1C1C1C;
}

.about {
    background-color: #1C1C1C;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #FFD700;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: #3A3A3A;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    margin-bottom: 15px;
    color: #FFD700;
}

.project-card a {
    color: #FFD700;
    text-decoration: none;
}

.project-card a:visited {
    color: #FFD700;
}

/* Contact Form */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #696969;
    border-radius: 4px;
    font-size: 1rem;
}

textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: #FFD700;
    color: #000000;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #B8860B;
}

/* Footer */
footer {
    background-color: #8B4513;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .nav-menu {
        margin-top: 20px;
    }

    .nav-menu li {
        margin-left: 0;
        margin-right: 20px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}