:root {
    --primary: #FF6600;
    --primary-dark: #CC5200;
    --secondary: #333333;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #28a745;
    --white: #ffffff;
    --gray: #6c757d;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    order: 1;
}

.logo span {
    color: var(--secondary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--secondary);
    order: 3;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    order: 2;
}

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

.nav-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.search-container {
    position: relative;
    order: 4;
    flex: 1;
    margin-left: 20px;
    max-width: 300px;
}

.search-box {
    width: 100%;
    padding: 8px 40px 8px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s;
}

.search-box:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: var(--primary-dark);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 5px;
}

.search-results.active {
    display: block;
}

.search-results a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--dark);
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.search-results a:hover {
    background-color: #f7f7f7;
    color: var(--primary);
}

.search-results a:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/Vista-backhoe.png') center/cover no-repeat;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-dark);
}

/* Services Section */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    margin: 15px auto 0;
}

.section-header p {
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.service-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-img img {
    transform: scale(1.1);
}

.category-content {
    padding: 20px;
    text-align: center;
}

.category-content h3 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 20px;
}

.category-content p {
    color: #666;
    margin-bottom: 15px;
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.equipment-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.equipment-img {
    height: 200px;
    overflow: hidden;
}

.equipment-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.equipment-card:hover .equipment-img img {
    transform: scale(1.05);
}

.equipment-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.equipment-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary);
}

.equipment-btn {
    display: block;
    background-color: var(
#!/bin/bash

# Continue creating the CSS file
sudo tee -a /var/www/html/vista-equipment/css/styles.css > /dev/null << 'EOF'
    --primary);
    color: var(--white);
    padding: 10px 0;
    width: 100%;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.equipment-btn:hover {
    background-color: var(--primary-dark);
}

/* About Section */
.about {
    background-color: #f1f1f1;
}

/* Haulage services section styles */
.haulage {
    background-color: #f9f9f9;
    position: relative;
}

.haulage-content {
    margin-top: 30px;
}

.haulage-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.haulage-image {
    flex: 0 0 300px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    object-fit: cover;
}

.haulage-text {
    flex: 1;
    min-width: 300px;
}

.haulage-text h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 24px;
}

.haulage-text h4 {
    color: var(--primary);
    margin: 20px 0 10px;
    font-size: 18px;
}

.haulage-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.haulage-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.haulage-list li:last-child {
    border-bottom: none;
}

.haulage-text .btn {
    margin-top: 15px;
    display: inline-block;
}

/* Locations Section */
.locations {
    background-color: var(--white);
}

.location-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.location-card {
    background-color: var(--light);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    transition: transform 0.3s;
}

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

.location-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 22px;
}

.location-card p {
    margin-bottom: 10px;
    color: #555;
}
 /* Phone link */
.phone-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin: 10px 5px;
    transition: background-color 0.3s, transform 0.2s;
}

.phone-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.whatsapp-link {
    background-color: #25D366;
}

.whatsapp-link:hover {
    background-color: #1da851;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
}

/* Contact Section */
.contact {
    background-color: #f1f1f1;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--secondary);
}

.form-group input, 
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.1);
}

.form-group textarea {
    min-height: 120px;
}

/* Service list in dropdown */
.service-select {
    max-height: 200px;
    overflow-y: auto;
}

/* Loading indicator */
.loading-indicator {
    display: none;
    text-align: center;
    padding: 10px;
}

.loading-indicator.active {
    display: block;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success message */
.success-message {
    display: none;
    background-color: var(--success);
    color: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.success-message.active {
    display: block;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 50px 0 20px;
    text-align: center;
}

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

.footer-column {
    flex: 1;
    min-width: 280px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-column p, 
.footer-column a {
    color: #bbb;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--primary);
}

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

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-links a {
    color: var(--white);
    background-color: #444;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #bbb;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
}

/* Image enhancement styles */
.category-img img,
.equipment-img img {
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.5s ease;
    filter: contrast(1.05) brightness(1.05) saturate(1.1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.category-img, 
.equipment-img {
    overflow: hidden;
    background-color: #f5f5f5;
    position: relative;
}

.category-card:hover .category-img img,
.equipment-card:hover .equipment-img img {
    transform: scale(1.08);
}

/* Add subtle box shadow to images */
.category-img::after,
.equipment-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
    pointer-events: none;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .search-container {
        max-width: 250px;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .logo {
        order: 1;
        margin-right: auto;
    }
    
    .mobile-menu-btn {
        display: block;
        order: 3;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        overflow-y: auto;
        order: 4;
        flex-basis: 100%;
        padding: 20px 0;
        margin-top: 15px;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        font-size: 18px;
    }
    
    .search-container {
        order: 2;
        max-width: none;
        margin-left: 0;
        flex-basis: 60%;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .category-card {
        max-width: 100%;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    
    .services-list {
        columns: 1;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-column {
        width: 100%;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .equipment-item-img {
        flex: 0 0 120px;
        height: 120px;
    }
    
    .haulage-info {
        flex-direction: column;
    }
    
    .haulage-image {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 0;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo-icon {
        width: 30px;
        height: 30px;
    }
    
    .search-container {
        flex-basis: 50%;
    }
    
    .search-box {
        font-size: 14px;
        padding: 6px 35px 6px 12px;
    }
    
    .search-button {
        width: 28px;
        height: 28px;
    }
    
    ul[style*="columns: 2"] {
        columns: 1 !important;
    }
}

/* Social Media Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.social-link:hover {
    color: #ff9900;
}

.social-icon {
    width: 24px;
    height: 24px;
}

/* Social Media Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.social-link:hover {
    color: #ff9900;
}

.social-icon {
    width: 24px;
    height: 24px;
}
