/* Main Styles for VFROST Website */

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn {
    border-radius: 0;
    padding: 0.5rem 1.5rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

.btn-outline-primary {
    color: #0056b3;
    border-color: #0056b3;
}

.btn-outline-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Header Styles */
.navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.hero-section h1 {
    margin-bottom: 1.5rem;
    color: #0056b3;
}

/* Product Range Section */
.product-range {
    padding: 5rem 0;
}

.card {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Research & Development and Facilities Sections */
.research-dev, .facilities {
    padding: 5rem 0;
}

/* Industries Section */
.industries .card {
    text-align: center;
    padding: 2rem 1rem;
}

.industries .card i {
    color: #0056b3;
    margin-bottom: 1.5rem;
}

/* Trusted By Section */
.client-logo {
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Global Presence Section */
.global-presence {
    background-color: #f8f9fa;
}

/* Sustainability Section */
.sustainability .card {
    text-align: center;
    padding: 2rem 1rem;
}

.sustainability .card i {
    color: #0056b3;
    margin-bottom: 1.5rem;
}

/* Footer Styles */
footer {
    background-color: #0056b3;
    color: #fff;
    padding: 4rem 0 2rem;
}

footer h5 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

footer a:hover {
    color: #fff;
    text-decoration: none;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* About Page Styles */
.about-hero {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #0056b3;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-content {
    position: relative;
    padding: 1.5rem;
    background-color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* Products Page Styles */
.product-filters {
    margin-bottom: 2rem;
}

.product-card {
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.product-card img, .card-img-top {
    height: 200px;
    object-fit: contain;
    padding: 10px;
    background-color: #f8f9fa;
}

/* Product Detail Page */
.product-gallery img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 15px;
}

/* Product Tabs */
#productTabs {
    border-bottom: 2px solid #0056b3;
}

#productTabs .nav-link {
    border: none;
    color: #495057;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 0;
    margin-right: 5px;
}

#productTabs .nav-link.active {
    color: #0056b3;
    background-color: transparent;
    border-bottom: 3px solid #0056b3;
    margin-bottom: -2px;
}

#productTabsContent {
    padding: 1.5rem 0;
}

.product-description, .specifications, .features, .technical-details {
    line-height: 1.8;
}

.specifications table, .technical-details table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.specifications table td, .specifications table th,
.technical-details table td, .technical-details table th {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

.specifications table tr:nth-child(even),
.technical-details table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.features ul, ul.features-list {
    padding-left: 1.5rem;
    list-style-type: none;
}

.features li, ul.features-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

/* Product Price Styles */
.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0056b3;
}

.product-price-container {
    min-height: 30px;
}

.product-detail .product-price {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.product-detail .product-price .badge {
    margin-left: 1rem;
    font-size: 0.875rem;
}

.badge.bg-secondary {
    background-color: #6c757d;
    color: white;
    font-weight: 500;
    padding: 0.35em 0.65em;
}

.product-price-section {
    margin-top: 1rem;
}

.features li:before, ul.features-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: #0056b3;
}

.product-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    padding: 5px;
    border: 2px solid transparent;
}

.product-thumbnails img:hover,
.product-thumbnails img.active {
    opacity: 1;
    border-color: #0056b3;
}

/* Contact Page Styles */
.contact-info {
    padding: 2rem;
    background-color: #f8f9fa;
}

.contact-form {
    padding: 2rem;
    background-color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.map-container {
    height: 400px;
    margin-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section {
        padding: 3rem 0;
    }

    .timeline::before {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .card-img-top {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }

    .product-range, .research-dev, .facilities {
        padding: 3rem 0;
    }
}
