/* MinChem International - Website Styles */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Header */
header {
    background-color: #1a3c5e;
    color: #fff;
    padding: 20px;
    text-align: center;
}

header h1 {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Navigation */
.top-nav, .bottom-nav {
    background-color: #2c5a8c;
    padding: 0;
}

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

.top-nav li, .bottom-nav li {
    margin: 0;
}

.top-nav a, .bottom-nav a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    transition: background-color 0.3s;
}

.top-nav a:hover, .bottom-nav a:hover {
    background-color: #3a7bc8;
}

.top-nav a.active, .bottom-nav a.active {
    background-color: #4a9be8;
}

/* Main Content */
.content {
    padding: 30px;
    min-height: 400px;
}

.content h2 {
    color: #1a3c5e;
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid #2c5a8c;
    padding-bottom: 10px;
}

.section {
    margin-bottom: 30px;
}

.section h3 {
    color: #2c5a8c;
    font-size: 18px;
    margin-bottom: 15px;
}

.section h4 {
    color: #1a3c5e;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.section h5 {
    color: #333;
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 8px;
}

.section p {
    margin-bottom: 12px;
}

.section a {
    color: #2c5a8c;
    text-decoration: underline;
}

.section a:hover {
    color: #4a9be8;
}

/* Port List */
.port-list {
    list-style-type: disc;
    padding-left: 30px;
    margin-bottom: 20px;
}

.port-list li {
    margin-bottom: 5px;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.link-column p {
    margin-bottom: 8px;
}

/* Contact Info */
.contact-info {
    font-size: 16px;
}

.contact-info p {
    margin-bottom: 15px;
}

/* Footer */
.site-footer {
    background-color: #f0f0f0;
    padding: 20px 30px;
    border-top: 1px solid #ddd;
}

.footer-info {
    font-size: 13px;
    color: #555;
}

.footer-info strong {
    color: #1a3c5e;
}

.footer-info a {
    color: #2c5a8c;
}

/* Hero Image */
.hero-image-container {
    text-align: center;
    margin-bottom: 30px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
}

/* Page Images */
.page-image {
    float: right;
    margin-left: 20px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
}

/* About Section with Image */
.about-section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.about-image {
    border: 1px solid #ccc;
}

.about-text {
    flex: 1;
}

/* Map Container */
.map-container {
    margin-top: 20px;
    border: 1px solid #ddd;
}

/* Responsive */
@media (max-width: 768px) {
    .top-nav ul, .bottom-nav ul {
        flex-direction: column;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    header h1 {
        font-size: 18px;
    }
}