/* Bernie's Equipment - Main Styles */
/* Light theme only - professional material handling equipment design */

:root {
    --primary-color: #1a4d8f;
    --primary-dark: #0f3666;
    --accent-color: #f59e0b;
    --accent-hover: #d97706;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

/* Header Styles */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-color);
    color: white;
    padding: 10px 0;
}

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

.service-area {
    font-size: 0.9em;
}

.header-contact {
    display: flex;
    gap: 20px;
    font-size: 0.9em;
}

.header-contact a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.header-contact a:hover {
    opacity: 0.8;
}

.header-main {
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
}

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

/* Navigation */
.main-nav {
    display: flex;
    gap: 2px;
    align-items: center;
    flex-wrap: nowrap;
    flex: 1;
    justify-content: center;
}

.main-nav > li {
    list-style: none;
    position: relative;
}

.main-nav > li > a,
.main-nav > li > button {
    display: block;
    padding: 12px 14px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1em;
    font-family: inherit;
    white-space: nowrap;
}

.main-nav > li > a:hover,
.main-nav > li > button:hover {
    color: var(--primary-color);
}

.main-nav .cta-button {
    background: var(--accent-color);
    color: white;
    border-radius: 6px;
    padding: 12px 20px;
    margin-left: 10px;
}

.main-nav .cta-button:hover {
    background: var(--accent-hover);
    color: white;
}

/* Secondary Navigation Items */
.nav-secondary {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
}

.portal-link,
.shop-link {
    padding: 8px 12px;
    font-size: 0.9em;
    font-weight: 500;
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.3s;
    border-radius: 4px;
}

.portal-link {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

.shop-link {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.portal-link:hover {
    color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.shop-link:hover {
    background: var(--primary-dark);
    color: white;
}

/* Dropdown Menus */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 6px;
    padding: 10px 0;
    z-index: 1000;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s;
}

.dropdown-menu a::before {
    margin-right: 8px;
    font-size: 1.1em;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Mega Menu for Products */
.mega-menu {
    min-width: 600px;
    padding: 20px;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--primary-color);
    padding: 10px;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1em;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Sections */
section {
    padding: 60px 0;
}

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

.section-title h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.2em;
    color: var(--text-medium);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Cards */
.card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    margin-bottom: 20px;
}

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

.card p {
    color: var(--text-medium);
    margin-bottom: 20px;
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-link:hover {
    color: var(--accent-color);
}

/* Product Cards */
.product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Features Section */
.features {
    background: var(--bg-light);
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-list .icon {
    width: 30px;
    height: 30px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Testimonials */
.testimonial {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 20px;
    font-size: 1.1em;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

.testimonial-company {
    color: var(--text-light);
    font-size: 0.9em;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.form-required {
    color: #ef4444;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-gray);
    padding: 15px 0;
    font-size: 0.9em;
}

.breadcrumbs ul {
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: center;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    color: var(--text-light);
}

/* Page Header */
.page-header {
    background: var(--bg-light);
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2em;
    color: var(--text-medium);
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.content-sidebar {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3em;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        box-shadow: var(--shadow-lg);
        padding: 20px;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav > li {
        width: 100%;
    }
    
    .dropdown-menu,
    .mega-menu {
        position: static;
        box-shadow: none;
        border-left: 2px solid var(--primary-color);
        margin-left: 20px;
    }
    
    .nav-item:hover .dropdown-menu {
        display: none;
    }

    .nav-secondary {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }

    .nav-secondary a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .nav-item.active .dropdown-menu {
        display: block;
    }
    
    .content-two-col,
    .content-sidebar {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2em;
    }
}

@media (max-width: 640px) {
    .header-top .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-contact {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 1.8em;
    }
    
    .hero p {
        font-size: 1.1em;
    }
    
    .section-title h2 {
        font-size: 2em;
    }
    
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

