/* SolidOcean Website Styles - Based on koo-ben.com */

* {
    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: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: #00334e;
    color: #fff;
    padding: 8px 0;
    font-size: 12px;
}

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

.header-top a {
    color: #fff;
}

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

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

.logo img {
    height: 50px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    transition: color 0.3s;
}

.nav a:hover {
    color: #e60012;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 100;
}

.dropdown-content a {
    display: block;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.header-actions {
    font-size: 14px;
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.7);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.dot.active {
    background: #fff;
}

/* Section */
.section {
    padding: 60px 0;
}

.bg-gray {
    background: #f5f5f5;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color: #333;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #00334e;
    margin: 15px auto 0;
}

/* Featured Products */
.featured-products {
    margin-bottom: 60px;
}

.featured-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.featured-item.reverse {
    flex-direction: row-reverse;
}

.featured-image {
    width: 50%;
}

.featured-image img {
    width: 100%;
    height: 300px;
    object-fit: contain;
}

.featured-content {
    width: 50%;
}

.featured-content h3 {
    font-size: 24px;
    font-weight: bold;
    color: #00334e;
    margin-bottom: 10px;
}

.featured-subtitle {
    color: #e60012;
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.link-arrow {
    color: #00334e;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.link-arrow:hover {
    color: #e60012;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    border: 1px solid #eee;
    padding: 20px;
    text-align: center;
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card h4 {
    font-size: 16px;
    font-weight: bold;
    color: #00334e;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.product-card p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: #00334e;
    color: #fff;
    width: 100%;
}

.btn-primary:hover {
    background: #e60012;
}

.btn-secondary {
    background: #e60012;
    color: #fff;
}

.btn-secondary:hover {
    background: #00334e;
}

/* About Preview */
.about-preview {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-preview p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Resource Grid */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.resource-card {
    border: 1px solid #eee;
    overflow: hidden;
}

.resource-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.resource-content {
    padding: 20px;
}

.resource-content h4 {
    font-size: 16px;
    font-weight: bold;
    color: #00334e;
    margin-bottom: 5px;
}

.resource-subtitle {
    font-size: 13px;
    color: #e60012;
    margin-bottom: 10px;
}

.resource-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #00334e;
    color: #fff;
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.6;
}

.footer-contact a {
    color: #fff;
    text-decoration: underline;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

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

.footer-col ul li a {
    color: #ccc;
    font-size: 13px;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-col p {
    font-size: 13px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-bottom {
    background: #002233;
    padding: 15px 0;
    text-align: center;
    font-size: 12px;
    color: #999;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a {
    color: #00334e;
    font-weight: 600;
    text-transform: uppercase;
}

.breadcrumb a:hover {
    color: #e60012;
}

.breadcrumb span {
    color: #999;
}

/* Page Layout */
.page-content {
    display: flex;
    gap: 30px;
    padding: 40px 0;
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
}

.sidebar-title {
    background: #00334e;
    color: #fff;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.sidebar-menu {
    border: 1px solid #eee;
    border-top: none;
}

.sidebar-menu li {
    border-bottom: 1px solid #eee;
}

.sidebar-menu a {
    display: block;
    padding: 12px 15px;
    color: #333;
    font-size: 13px;
    transition: all 0.3s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #f5f5f5;
    color: #e60012;
}

.main-content {
    flex: 1;
}

.page-title {
    font-size: 24px;
    font-weight: bold;
    color: #00334e;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #00334e;
    text-transform: uppercase;
}

/* Product Detail */
.product-detail {
    display: flex;
    gap: 40px;
}

.product-images {
    width: 400px;
    flex-shrink: 0;
}

.product-main-image {
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 15px;
}

.product-main-image img {
    width: 100%;
    height: 300px;
    object-fit: contain;
}

.product-thumbnail {
    display: flex;
    justify-content: center;
}

.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 2px solid #e60012;
    padding: 5px;
}

.product-info h1 {
    font-size: 20px;
    font-weight: bold;
    color: #00334e;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.short-desc-label {
    color: #00334e;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-info p {
    color: #666;
    line-height: 1.8;
    white-space: pre-line;
}

.product-tabs {
    margin-top: 30px;
}

.tab-buttons {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 25px;
    background: #eee;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.tab-btn.active {
    background: #00334e;
    color: #fff;
}

.tab-content {
    border: 1px solid #eee;
    padding: 20px;
    min-height: 200px;
}

/* Contact Form */
.contact-form {
    background: #f5f5f5;
    padding: 30px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00334e;
}

.form-group textarea {
    resize: vertical;
}

/* Table */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background: #00334e;
    color: #fff;
    font-weight: 600;
}

.table tr:hover {
    background: #f9f9f9;
}

/* Team Section */
.team-section {
    margin-bottom: 40px;
}

.team-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #00334e;
    display: inline-block;
    width: 100%;
}

.team-content {
    display: flex;
    gap: 40px;
}

.team-text {
    flex: 1;
}

.team-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.team-image {
    width: 400px;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

/* Application Coverage */
.app-coverage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.app-item {
    text-align: center;
}

.app-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.app-item h4 {
    font-size: 16px;
    font-weight: bold;
    color: #555;
}

/* CAT Service */
.cat-hero {
    background: #00334e;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cat-hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cat-hero p {
    font-size: 16px;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.service-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #eee;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #00334e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.service-card h3 {
    font-size: 16px;
    font-weight: bold;
    color: #00334e;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 13px;
    color: #666;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.model-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 15px;
    border-radius: 5px;
}

.model-item span {
    color: green;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-item,
    .featured-item.reverse {
        flex-direction: column;
    }
    
    .featured-image,
    .featured-content {
        width: 100%;
    }
    
    .page-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .product-detail {
        flex-direction: column;
    }
    
    .product-images {
        width: 100%;
    }
    
    .team-content {
        flex-direction: column;
    }
    
    .team-image {
        width: 100%;
    }
    
    .services-grid,
    .models-grid,
    .app-coverage {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-grid,
    .resource-grid,
    .footer-grid,
    .services-grid,
    .models-grid,
    .app-coverage {
        grid-template-columns: 1fr;
    }
    
    .nav {
        display: none;
    }
    
    .hero-slider {
        height: 300px;
    }
}

/* Language Dropdown Styles */
.lang-dropdown { position: relative; display: inline-block; }
.lang-btn { background: #f8f9fa; border: 1px solid #ddd; padding: 5px 15px; border-radius: 4px; cursor: pointer; font-size: 14px; }
.lang-dropdown-content { 
    display: none; 
    position: absolute; 
    right: 0; 
    background-color: #fff; 
    min-width: 160px; 
    max-height: 300px; 
    overflow-y: auto; 
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
    z-index: 1000; 
    border-radius: 4px;
}
.lang-dropdown-content a { 
    color: #333; 
    padding: 10px 16px; 
    text-decoration: none; 
    display: block; 
    font-size: 13px; 
    border-bottom: 1px solid #eee;
}
.lang-dropdown-content a:hover { background-color: #f1f1f1; color: #0056b3; }
.lang-dropdown:hover .lang-dropdown-content { display: block; }
