/*
Theme Name: Encore Express Delivery
Theme URI: https://encoreexpressdelivery.com
Description: Professional WordPress theme for Encore Express Delivery Service LLC - Dallas-based lumber and building materials transportation
Version: 1.0
Author: Encore Express
Author URI: https://encoreexpressdelivery.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: encore-express
Tags: business, logistics, delivery, responsive, custom-menu

This theme is designed for transportation and logistics companies.
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f0;
}

/* Wood Grain Pattern */
.wood-grain {
    background-color: #8b6f47;
    background-image: 
        repeating-linear-gradient(90deg, 
            transparent, 
            transparent 2px, 
            rgba(139, 111, 71, 0.3) 2px, 
            rgba(139, 111, 71, 0.3) 4px),
        repeating-linear-gradient(0deg,
            rgba(92, 64, 51, 0.15) 0px,
            rgba(92, 64, 51, 0.15) 3px,
            transparent 3px,
            transparent 9px),
        linear-gradient(90deg,
            #7a5c3a 0%,
            #8b6f47 20%,
            #9d7f52 40%,
            #8b6f47 60%,
            #7a5c3a 80%,
            #8b6f47 100%);
}

.wood-grain-dark {
    background-color: #4a3728;
    background-image:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(74, 55, 40, 0.4) 2px,
            rgba(74, 55, 40, 0.4) 4px),
        repeating-linear-gradient(0deg,
            rgba(58, 40, 28, 0.2) 0px,
            rgba(58, 40, 28, 0.2) 4px,
            transparent 4px,
            transparent 10px),
        linear-gradient(90deg,
            #3a281c 0%,
            #4a3728 25%,
            #5c4633 50%,
            #4a3728 75%,
            #3a281c 100%);
}

.wood-grain-light {
    background-color: #d4a574;
    background-image:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 3px,
            rgba(180, 140, 100, 0.15) 3px,
            rgba(180, 140, 100, 0.15) 6px),
        repeating-linear-gradient(0deg,
            rgba(160, 120, 80, 0.1) 0px,
            rgba(160, 120, 80, 0.1) 5px,
            transparent 5px,
            transparent 12px),
        linear-gradient(90deg,
            #c89860 0%,
            #d4a574 30%,
            #e0b888 50%,
            #d4a574 70%,
            #c89860 100%);
}

.header {
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4a3728;
    background-image:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(74, 55, 40, 0.4) 2px,
            rgba(74, 55, 40, 0.4) 4px),
        repeating-linear-gradient(0deg,
            rgba(58, 40, 28, 0.2) 0px,
            rgba(58, 40, 28, 0.2) 4px,
            transparent 4px,
            transparent 10px),
        linear-gradient(90deg,
            #3a281c 0%,
            #4a3728 25%,
            #5c4633 50%,
            #4a3728 75%,
            #3a281c 100%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.logo a {
    color: white;
    text-decoration: none;
}

.custom-logo-link img {
    max-height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.hero {
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #8b6f47;
    background-image: 
        repeating-linear-gradient(90deg, 
            transparent, 
            transparent 2px, 
            rgba(139, 111, 71, 0.3) 2px, 
            rgba(139, 111, 71, 0.3) 4px),
        repeating-linear-gradient(0deg,
            rgba(92, 64, 51, 0.15) 0px,
            rgba(92, 64, 51, 0.15) 3px,
            transparent 3px,
            transparent 9px),
        linear-gradient(90deg,
            #7a5c3a 0%,
            #8b6f47 20%,
            #9d7f52 40%,
            #8b6f47 60%,
            #7a5c3a 80%,
            #8b6f47 100%);
    z-index: 0;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    background-color: #d4a574;
    background-image:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 3px,
            rgba(180, 140, 100, 0.15) 3px,
            rgba(180, 140, 100, 0.15) 6px),
        repeating-linear-gradient(0deg,
            rgba(160, 120, 80, 0.1) 0px,
            rgba(160, 120, 80, 0.1) 5px,
            transparent 5px,
            transparent 12px),
        linear-gradient(90deg,
            #c89860 0%,
            #d4a574 30%,
            #e0b888 50%,
            #d4a574 70%,
            #c89860 100%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    filter: brightness(1.1);
}

.btn-secondary {
    background-color: #8b6f47;
    background-image: 
        repeating-linear-gradient(90deg, 
            transparent, 
            transparent 2px, 
            rgba(139, 111, 71, 0.3) 2px, 
            rgba(139, 111, 71, 0.3) 4px),
        repeating-linear-gradient(0deg,
            rgba(92, 64, 51, 0.15) 0px,
            rgba(92, 64, 51, 0.15) 3px,
            transparent 3px,
            transparent 9px),
        linear-gradient(90deg,
            #7a5c3a 0%,
            #8b6f47 20%,
            #9d7f52 40%,
            #8b6f47 60%,
            #7a5c3a 80%,
            #8b6f47 100%);
}

.btn-secondary:hover {
    filter: brightness(1.15);
}

.services {
    padding: 4rem 0;
    background: #f5f5f0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #4a3728;
    font-weight: 600;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: none;
    border: 4px solid transparent;
    border-image: 
        repeating-linear-gradient(0deg,
            #8b6f47 0%,
            #9d7f52 25%,
            #8b6f47 50%,
            #7a5c3a 75%,
            #8b6f47 100%) 1;
    border-image-slice: 1;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background-color: #8b6f47;
    background-image: 
        repeating-linear-gradient(0deg,
            rgba(92, 64, 51, 0.2) 0px,
            rgba(92, 64, 51, 0.2) 3px,
            transparent 3px,
            transparent 9px),
        linear-gradient(0deg,
            #7a5c3a 0%,
            #8b6f47 20%,
            #9d7f52 40%,
            #8b6f47 60%,
            #7a5c3a 100%);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.service-card h3 {
    color: #4a3728;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    line-height: 1.6;
}

.service-link {
    color: #8b6f47;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #8b6f47;
    transition: color 0.3s, border-color 0.3s;
}

.service-link:hover {
    color: #6d5637;
    border-color: #6d5637;
}

.scheduling-section {
    padding: 4rem 0;
    background: white;
}

.cta-section {
    padding: 5rem 0;
    background: #f5f5f0;
}

.cta-section .section-title {
    margin-bottom: 1.5rem;
}

.schedule-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 3px solid transparent;
    position: relative;
}

.schedule-form::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 5px;
    background-color: #8b6f47;
    background-image: 
        repeating-linear-gradient(90deg, 
            transparent, 
            transparent 2px, 
            rgba(139, 111, 71, 0.3) 2px, 
            rgba(139, 111, 71, 0.3) 4px),
        repeating-linear-gradient(0deg,
            rgba(92, 64, 51, 0.15) 0px,
            rgba(92, 64, 51, 0.15) 3px,
            transparent 3px,
            transparent 9px),
        linear-gradient(90deg,
            #7a5c3a 0%,
            #8b6f47 20%,
            #9d7f52 40%,
            #8b6f47 60%,
            #7a5c3a 80%,
            #8b6f47 100%);
    z-index: -1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.form-group .checkbox-label {
    display: flex;
    align-items: flex-start;
    font-weight: normal;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 3px;
    transition: background 0.2s;
}

.form-group .checkbox-label:hover {
    background: #fff;
}

.form-group .checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.75rem;
    margin-top: 6px;
    cursor: pointer;
    transform: scale(1.2);
    flex-shrink: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.success-message, .error-message {
    display: none;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.footer {
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4a3728;
    background-image:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(74, 55, 40, 0.4) 2px,
            rgba(74, 55, 40, 0.4) 4px),
        repeating-linear-gradient(0deg,
            rgba(58, 40, 28, 0.2) 0px,
            rgba(58, 40, 28, 0.2) 4px,
            transparent 4px,
            transparent 10px),
        linear-gradient(90deg,
            #3a281c 0%,
            #4a3728 25%,
            #5c4633 50%,
            #4a3728 75%,
            #3a281c 100%);
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer h4 {
    margin-bottom: 1rem;
}

.footer p, .footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .nav-links {
        width: 100%;
        justify-content: center;
    }
}

/* Forklift Template Styles */
.forklifts-section {
    padding: 4rem 2rem;
    min-height: 70vh;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.forklift-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 2rem;
    border: 2px solid #8b6f47;
    background: white;
    color: #8b6f47;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #8b6f47;
    color: white;
}

.forklifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.forklift-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.forklift-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.forklift-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.forklift-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.availability-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.availability-badge {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.availability-badge.sale {
    background: #2ecc71;
    color: white;
}

.availability-badge.rent {
    background: #3498db;
    color: white;
}

.forklift-content {
    padding: 1.5rem;
}

.forklift-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.forklift-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 5px;
}

.spec-item {
    font-size: 0.9rem;
    color: #555;
}

.spec-item strong {
    color: #333;
}

.forklift-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-pricing-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

.no-forklifts {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    padding: 3rem;
    grid-column: 1 / -1;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid #888;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
}

.modal-forklift-title {
    color: #8b6f47;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Responsive adjustments for forklifts */
@media (max-width: 768px) {
    .forklifts-grid {
        grid-template-columns: 1fr;
    }

    .forklift-specs {
        grid-template-columns: 1fr;
    }

    .filter-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Career Page Styles */
.careers-section {
    padding: 4rem 2rem;
    min-height: 70vh;
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.job-description {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.job-description h2 {
    color: #8b6f47;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.job-description h3 {
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.job-description p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.job-description ul {
    list-style: none;
    padding-left: 0;
}

.job-description ul li {
    color: #555;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.job-description ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8b6f47;
    font-weight: bold;
}

.application-form-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.application-form-container h2 {
    color: #8b6f47;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.application-form-container h3 {
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #8b6f47;
    padding-bottom: 0.5rem;
}

.career-form .form-group {
    margin-bottom: 1.5rem;
}

.career-form input[type="file"] {
    padding: 0.75rem;
    border: 2px dashed #8b6f47;
    border-radius: 5px;
    background: #f9f9f9;
    cursor: pointer;
    width: 100%;
}

.career-form input[type="file"]:hover {
    background: #f0f0f0;
    border-color: #6d5637;
}

.file-info {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

/* Responsive adjustments for careers */
@media (max-width: 968px) {
    .careers-content {
        grid-template-columns: 1fr;
    }

    .job-description {
        order: 1;
    }

    .application-form-container {
        order: 2;
    }
}