/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f5f5f5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.navbar {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.logo h1 {
    color: #2ecc71;
    font-size: 24px;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
}

/* Services Button */
.services-button-container {
    margin: 20px 0;
    text-align: center;
}

.services-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2ecc71;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(46, 204, 113, 0.2);
    width: 100%;
    max-width: 300px;
    justify-content: center;
}

.services-button:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.services-button i {
    font-size: 18px;
}

/* Top Filters */
.top-filters {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.filter-section {
    margin-bottom: 0;
}

.filter-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2ecc71;
}

/* Catalog Layout */
.catalog-container {
    margin: 30px 0;
}

/* Equipment Grid */
.equipment-grid {
    width: 100%;
}

.category-section {
    margin-bottom: 40px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.category-header h2 {
    font-size: 24px;
    color: #333;
}

.view-all {
    color: #2ecc71;
    text-decoration: none;
    font-weight: 500;
}

.equipment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.equipment-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.equipment-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2ecc71;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

.equipment-details {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.equipment-name {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.equipment-specs {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.equipment-specs li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.equipment-specs i {
    color: #2ecc71;
    font-size: 12px;
}

.equipment-price {
    font-size: 20px;
    color: #2ecc71;
    font-weight: 600;
    margin-bottom: 15px;
}

.equipment-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn {
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
}

.primary-btn {
    background: #2ecc71;
    color: white;
}

.primary-btn:hover {
    background: #27ae60;
}

.secondary-btn {
    background: white;
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.secondary-btn:hover {
    background: rgba(46, 204, 113, 0.1);
}

/* Related Equipment */
.related-equipment {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.related-equipment h4 {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.related-items {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.related-item {
    min-width: 100px;
    text-align: center;
    flex-shrink: 0;
}

.related-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 5px;
}

.related-item span {
    font-size: 12px;
    color: #666;
}

/* Search Bar */
.search-bar {
    margin-bottom: 30px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #2ecc71;
    outline: none;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

/* Footer Styles */
.footer {
    background: #8B4513;
    padding: 50px 0 20px;
    margin-top: auto;
    color: white;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-section h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form button {
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .top-filters {
        grid-template-columns: repeat(2, 1fr);
    }

    .equipment-cards {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .top-filters {
        grid-template-columns: 1fr;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .equipment-card {
        margin-bottom: 20px;
    }

    .equipment-image {
        height: 180px;
    }

    .equipment-details {
        padding: 15px;
    }

    .equipment-name {
        font-size: 16px;
    }

    .equipment-specs {
        font-size: 13px;
    }

    .equipment-price {
        font-size: 18px;
    }

    .equipment-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .services-button,
    .equipment-button {
        font-size: 14px;
        padding: 10px 20px;
    }

    .search-input {
        font-size: 14px;
        padding: 12px 15px;
    }

    .equipment-cards {
        grid-template-columns: 1fr;
    }

    .related-items {
        gap: 8px;
    }

    .related-item {
        min-width: 80px;
    }

    .related-item img {
        width: 50px;
        height: 50px;
    }
} 