/* EcoMarket - External CSS Stylesheet */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Navigation */
.navbar {
    background-color: #4a6741;
    color: white;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
}

.nav-links a.active {
    background-color: rgba(255,255,255,0.2);
}

.currency-selector select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Hero Section */
.hero {
    background: #6b8e5a;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
}

/* Image Slider Section */
.slider-section {
    padding: 20px 0;
    background-color: #f8faf8;
}

.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: none;
}

.slide.active {
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(74, 103, 65, 0.8);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(74, 103, 65, 1);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 40px 0;
    background: #e8f5e9;
    margin-bottom: 30px;
}

.page-header h1 {
    color: #4a6741;
    font-size: 32px;
    margin-bottom: 10px;
}

.page-header p {
    color: #666;
    font-size: 16px;
}

/* Mission Section */
.mission-section {
    padding: 40px 0;
}

.mission-section h2 {
    color: #4a6741;
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.mission-section > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

.mission-points {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.mission-card {
    flex: 1 1 280px;
    background: white;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

.mission-card h3 {
    color: #4a6741;
    font-size: 20px;
    margin-bottom: 15px;
}

.mission-card p {
    color: #555;
}

/* Featured Section */
.featured-section {
    padding: 40px 0;
}

.featured-section h2 {
    color: #4a6741;
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
}

/* Product Grid */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.product-card {
    flex: 1 1 280px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.product-card h3 {
    color: #4a6741;
    font-size: 18px;
    margin-bottom: 10px;
}

.product-card p {
    color: #555;
    font-size: 14px;
    margin-bottom: 10px;
}

.product-card .price {
    color: #4a6741;
    font-size: 20px;
    font-weight: bold;
    margin: 15px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #6b8e5a;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn:hover {
    background: #4a6741;
}

.btn-primary {
    background: #4a6741;
}

.btn-primary:hover {
    background: #3a5a31;
}

/* Filter Section */
.filter-section {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.filter-section h3 {
    color: #4a6741;
    margin-bottom: 15px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    color: #4a6741;
    border: 1px solid #ccc;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.filter-btn.active {
    background: #6b8e5a;
    color: white;
}

/* Tables */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.comparison-table th, .comparison-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.comparison-table thead th {
    background-color: #4a6741;
    color: white;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

/* Research Content */
.research-content {
    padding: 20px 0;
}

.research-content h2 {
    color: #4a6741;
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.research-content h3, .research-content h4 {
    color: #4a6741;
    margin-top: 20px;
    margin-bottom: 10px;
}

.research-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.research-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
    color: #555;
}

/* About Content */
.about-content {
    padding: 20px 0;
}

.about-content h2 {
    color: #4a6741;
    margin-bottom: 15px;
}

.about-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Team Section */
.team-section {
    padding: 40px 0;
}

.team-section h2 {
    color: #4a6741;
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
}

.team-members-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.team-member {
    flex: 1 1 250px;
    text-align: center;
    padding: 25px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.team-member-link {
    text-decoration: none;
    color: inherit;
}

.member-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.member-info h3 {
    color: #4a6741;
    font-size: 18px;
    margin-bottom: 5px;
}

.member-role {
    color: #6b8e5a;
    font-weight: bold;
    margin-bottom: 10px;
}

.member-info p {
    color: #555;
    font-size: 14px;
}

/* Feedback Section */
.feedback-section {
    background: #e8f5e9;
    padding: 30px;
    border-radius: 5px;
    margin-top: 30px;
}

.feedback-section h2 {
    color: #4a6741;
    margin-bottom: 10px;
}

.feedback-section > p {
    color: #555;
    margin-bottom: 20px;
}

/* Forms */
.feedback-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #4a6741;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Conclusion Content */
.conclusion-content {
    padding: 20px 0;
}

.conclusion-content h2 {
    color: #4a6741;
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.conclusion-content h3 {
    color: #4a6741;
    margin-top: 20px;
    margin-bottom: 10px;
}

.conclusion-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.conclusion-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
    color: #555;
}

.conclusion-cta {
    background: #e8f5e9;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
    margin-top: 30px;
}

.conclusion-cta h3 {
    color: #4a6741;
    margin-bottom: 10px;
}

.conclusion-cta p {
    color: #555;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: #4a6741;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1 1 250px;
}

.footer-section h3 {
    margin-bottom: 15px;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #6b8e5a;
}

.footer-bottom p {
    color: #aaa;
    font-size: 14px;
}

/* Portfolio Pages */
.portfolio-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 20px;
}

.portfolio-profile {
    text-align: center;
    margin-bottom: 30px;
}

.portfolio-profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #6b8e5a;
    margin-bottom: 15px;
}

.portfolio-profile h2 {
    color: #4a6741;
    margin-bottom: 5px;
}

.portfolio-profile .role {
    color: #6b8e5a;
    font-weight: bold;
}

.portfolio-about {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 3px solid #6b8e5a;
}

.portfolio-about h3 {
    color: #4a6741;
    margin-bottom: 10px;
}

.portfolio-about p {
    color: #555;
}

.portfolio-contributions {
    background: white;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.portfolio-contributions h3 {
    color: #4a6741;
    margin-bottom: 15px;
}

.portfolio-contributions ul {
    list-style: none;
    padding: 0;
}

.portfolio-contributions li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.portfolio-contributions li:last-child {
    border-bottom: none;
}

.portfolio-contributions strong {
    color: #4a6741;
}

.portfolio-skills {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.portfolio-skills h3 {
    color: #4a6741;
    margin-bottom: 15px;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: white;
    padding: 5px 12px;
    border-radius: 15px;
    color: #4a6741;
    border: 1px solid #ccc;
    font-size: 14px;
}

.portfolio-back {
    text-align: center;
    margin-top: 30px;
}

.portfolio-back a {
    display: inline-block;
    background: #6b8e5a;
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
    }
}
