/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #156f98;
    --secondary-color: #578a9a;
    --text-color: #333;
    --light-gray: #f7f7f7;
    --white: #ffffff;
    --border-color: #e2e2e2;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: auto;
    max-width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 20px;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../images/hero.jpg') center/cover no-repeat;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-content h1 {
    font-size: 4em;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Cash Bids Summary */
.cashbids-summary {
    background: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

.cashbids-summary h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.cashbids-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.cashbids-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cashbids-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cashbids-card img {
    height: 48px;
    margin-bottom: 12px;
}

.cashbids-card h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cashbids-price {
    display: block;
    font-size: 1.6em;
    font-weight: 700;
    color: var(--text-color);
}

.cashbids-unit {
    display: block;
    font-size: 0.85em;
    color: #888;
    margin-top: 4px;
}

.cashbids-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1em;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.cashbids-link:hover {
    border-bottom-color: var(--primary-color);
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.1em;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Info Section */
.info-section {
    background: var(--light-gray);
    padding: 100px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.info-box {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-box .icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.info-box h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-box p {
    font-size: 1.1em;
    line-height: 1.6;
}

/* Weather Section */
.weather-section {
    padding: 80px 0;
    text-align: center;
}

.weather-section h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--primary-color);
}

#weather-widget {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.weather-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.weather-main {
    font-size: 3em;
    font-weight: 300;
}

.weather-details {
    display: flex;
    gap: 30px;
    font-size: 1.2em;
}

.weather-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Page Header */
.page-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3em;
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.filter-option {
    margin-bottom: 30px;
}

.filter-option label {
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Table Styles */
.table-section {
    margin-bottom: 60px;
}

.table-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.commodity-icon {
    height: 1.2em;
    width: auto;
    vertical-align: middle;
    margin-right: 6px;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

thead {
    background: var(--primary-color);
    color: var(--white);
}

th, td {
    padding: 15px;
    text-align: left;
}

th {
    font-weight: 600;
    font-size: 1em;
}

tbody tr {
    border-bottom: 1px solid var(--border-color);
}

tbody tr:hover {
    background: var(--light-gray);
}

tbody tr.nobasis {
    opacity: 0.6;
}

tbody tr.nobasis.hidden {
    display: none;
}

.positive {
    color: #28a745;
    font-weight: 600;
}

.negative {
    color: #dc3545;
    font-weight: 600;
}

.note {
    margin-top: 30px;
    padding: 20px;
    background: var(--light-gray);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.contact-box {
    text-align: center;
    padding: 40px 20px;
    background: var(--light-gray);
    border-radius: 10px;
}

.contact-box .icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.contact-box h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-box p {
    font-size: 1.1em;
}

.contact-box a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-box a:hover {
    color: var(--primary-color);
}

/* Map Section */
.map-section {
    padding: 0 0 60px 0;
}

.map-wrapper {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-box h4 {
    font-size: 1.3em;
    margin-bottom: 15px;
}

.footer-box p {
    line-height: 1.8;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-menu a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 959px) {
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 3em;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cashbids-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5em;
    }

    .nav-menu a {
        font-size: 18px;
    }

    .page-header h1 {
        font-size: 2em;
    }

    table {
        font-size: 0.85em;
    }

    th, td {
        padding: 10px 8px;
    }
}
