/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2d4a3e;
    background-color: #fafbfa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: #a8d5ba;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #2d4a3e;
    font-size: 1.5rem;
}

.nav-logo img {
    height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2d4a3e;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: #8cc99b;
    color: #1a2f23;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #8cc99b;
    color: #1a2f23;
}

.btn-primary:hover {
    background-color: #7bb589;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #2d4a3e;
    border: 2px solid #8cc99b;
}

.btn-secondary:hover {
    background-color: #8cc99b;
    color: #1a2f23;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4f4dd 100%);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1a2f23;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

/* Features section */
.features {
    padding: 80px 0;
    background-color: #fafbfa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #f0f7f0;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e0ede0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #a8d5ba;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #1a2f23;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #4a6741;
}

/* Projects page styles */
.page-header {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4f4dd 100%);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #1a2f23;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: #4a6741;
}

.projects-controls {
    padding: 2rem 0;
    background-color: #f8fdf8;
    border-bottom: 1px solid #e0ede0;
}

.controls-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-group label {
    font-weight: 600;
    color: #2d4a3e;
    font-size: 0.9rem;
}

.control-group select {
    padding: 8px 12px;
    border: 2px solid #d0e6d0;
    border-radius: 6px;
    background-color: white;
    color: #2d4a3e;
    font-size: 0.9rem;
}

.control-group select:focus {
    outline: none;
    border-color: #8cc99b;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid #f0f7f0;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: #a8d5ba;
}

.project-thumbnail {
    height: 200px;
    background: linear-gradient(135deg, #e8f5e8 0%, #d4f4dd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #8cc99b;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    color: #1a2f23;
    margin-bottom: 0.5rem;
}

.project-description {
    color: #4a6741;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-status,
.project-date {
    font-size: 0.9rem;
    color: #6b7c6b;
}

.project-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.keyword-tag {
    background-color: #e8f5e8;
    color: #2d4a3e;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Project page styles */
.project-header {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4f4dd 100%);
    padding: 40px 0;
}

.project-nav {
    margin-bottom: 1rem;
}

.project-nav a {
    color: #4a6741;
    text-decoration: none;
    font-size: 0.9rem;
}

.project-nav a:hover {
    color: #2d4a3e;
}

.project-title-large {
    font-size: 2.5rem;
    color: #1a2f23;
    margin-bottom: 1rem;
}

.project-meta-large {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.project-content-section {
    padding: 3rem 0;
}

.project-content-section h2 {
    color: #1a2f23;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.project-content-section h3 {
    color: #2d4a3e;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.3rem;
}

.project-content-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.project-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e0ede0;
}

/* .project-video {
    margin: 2rem 0;
    text-align: center;
} */

.project-video {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.project-video iframe {
    flex: 1;
    min-width: 300px;
    height: auto;
    aspect-ratio: 16/9;
}

/* .project-video video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #e0ede0;
} */

.project-links {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

/* Contact form styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d4a3e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #d0e6d0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8cc99b;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #2d4a3e;
    color: #a8d5ba;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 35px;
    width: 35px;
    object-fit: contain;
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .controls-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-meta-large {
        flex-direction: column;
        gap: 0.5rem;
    }
}