/* GMLS Industries - Modern Static Site Styles */

:root {
    --primary-color: #2c5f2d;
    --secondary-color: #97c93d;
    --accent-color: #f7b32b;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

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

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

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

.logo-section {
    background-color: #ffffff;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: visible;
    border-radius: 0 0 50% 50% / 0 0 20px 20px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/topgradient.gif');
    background-repeat: repeat-x;
    background-position: top;
    z-index: 1;
    opacity: 0;
}

.logo-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 150px;
    background-image:
        url('../images/largebin.jpg'),
        url('../images/bulktank-e1623340223505.jpg'),
        url('../images/goldenfox.png'),
        url('../images/opensidewithdoor.jpg'),
        url('../images/tiger.jpg');
    background-size: 200px 150px, 200px 150px, 200px 150px, 200px 150px, 200px 150px;
    background-position: 0px center, 200px center, 400px center, 600px center, 800px center;
    background-repeat: no-repeat;
    opacity: 0.85;
    z-index: 1;
}

.logo-section .container {
    position: relative;
    z-index: 3;
}

.main-logo {
    max-width: 250px;
    max-height: 150px;
    width: auto;
    height: auto;
    display: inline-block;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

.site-title {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    color: var(--white);
    font-size: 1.1rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.logo {
    max-width: 300px;
    height: auto;
}

/* Navigation */
nav {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    padding: 15px 20px;
    cursor: pointer;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Dropdown Menu */
nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow);
    flex-direction: column;
}

nav ul li:hover > ul {
    display: flex;
}

nav ul li ul li {
    width: 100%;
}

nav ul li ul li a {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.05) 0%, rgba(26, 58, 26, 0.08) 100%);
    color: var(--primary-color);
    padding: 60px 0;
    border-bottom: 3px solid var(--primary-color);
}

.hero .container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 0 0 250px;
    text-align: center;
    align-self: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* Main Content */
main {
    padding: 40px 0;
    min-height: 60vh;
}

section {
    margin-bottom: 60px;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

.product-card img {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.product-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.product-card p {
    font-size: 0.95rem;
}

.product-card a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.product-card a:hover {
    background-color: #1a3a1a;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

table thead {
    background-color: var(--primary-color);
    color: var(--white);
}

table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

table tbody tr:hover {
    background-color: var(--bg-light);
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-item {
    background-color: var(--bg-light);
    padding: 25px;
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

.feature-item h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.location-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

.location-card p {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.location-card strong {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

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

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

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

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #1a3a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

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

.btn-secondary:hover {
    background-color: #e5a01f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li ul {
        position: static;
        box-shadow: none;
    }

    .hero {
        padding: 40px 0;
    }

    .hero .container {
        flex-direction: column;
        gap: 20px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-image {
        flex: 0 0 auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    table {
        font-size: 0.9rem;
    }

    table th, table td {
        padding: 10px;
    }
}

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

    .product-grid {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.8rem;
    }

    table th, table td {
        padding: 8px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
