
/* Color Palette from Logo */
:root {
    --primary: #2c3e50;    /* Dark blue-gray from text */
    --secondary: #e74c3c;  /* Red accent from potential logo elements */
    --accent: #f39c12;     /* Orange/yellow for highlights */
    --dark: #1a252f;       /* Darker version of primary */
    --light: #ecf0f1;     /* Light gray background */
    --text: #2c3e50;       /* Main text color */
    --text-light: #7f8c8d; /* Secondary text */
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text);
    background-color: white;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

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

.content .container {
    margin: 2rem auto;
}

.container h1 {
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

.btn-secondary:hover {
    background: #c0392b;
}

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

.btn-accent:hover {
    background: #d35400;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--secondary);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* position: fixed; */
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.logo-text span {
    color: var(--secondary);
    margin-left: 5pt;
}

/* Content section */
.content {
    position: relative;
    min-height: 100px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('/static/images/bg-1.jpeg') no-repeat center center/cover;
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Services Section */
.services {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-img {
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

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

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-img:hover img {
    transform: scale(1.03);
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 25px 15px;
    background: var(--light);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--secondary);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Fleet Section */
.fleet {
    background-color: var(--light);
}

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

.truck-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.truck-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.truck-img {
    height: 220px;
    overflow: hidden;
}

.truck-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.truck-card:hover .truck-img img {
    transform: scale(1.1);
}

.truck-info {
    padding: 20px;
}

.truck-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.truck-specs {
    margin: 15px 0;
}

.truck-specs li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}

.truck-specs li:last-child {
    border-bottom: none;
}

.truck-specs li span:first-child {
    font-weight: 600;
    color: var(--dark);
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(231, 76, 60, 0.9), rgba(231, 76, 60, 0.9)), url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    margin-right: 15px;
    color: var(--secondary);
    font-size: 1.5rem;
    min-width: 30px;
    text-align: center;
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-light);
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

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

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 12px;
    list-style: none;
}

.footer-col ul li a {
    color: #bdc3c7;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-about p {
    color: #bdc3c7;
    margin-bottom: 20px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a, .social-links img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .section {
        padding: 70px 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px;
    }
    
    .hero {
        padding-top: 100px;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        order: -1;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-btns .btn {
        width: 100%;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col {
        margin-bottom: 20px;
    }
}


/* Catalog */

.breadcrumb h4 {
    margin: 1rem auto;
    display: inline-block;
}

.breadcrumb .active {
    color: var(--secondary);
}

.equipment-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.catalog-section-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cataglog-section {
    font-size: 1.3rem;
}

.cataglog-section .subcatalog {
    margin-left: 3rem;
}


/* Catalog-specific styles */
.catalog-header {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('https://images.unsplash.com/photo-1519501025264-65ba15a82390?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
}

.catalog-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.catalog-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.catalog-filters {
    background: var(--light);
    padding: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: var(--primary);
}

.filter-group select, 
.filter-group input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 200px;
}

.filter-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: #c0392b;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

    /* section card */

.category-text {
    padding: 1.5rem 0;
}

.catalog-grid.catalog-sections {
    background-color: var(--light);
    padding: 1rem;
    border-radius: 1rem;
}

.catalog-section-card {
    background: var(--dca-gray-darker);;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.catalog-section-card:hover {
    filter: brightness(0.8);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.catalog-section-card .equipment-img {
    height: 220px;
    overflow: hidden;
}

.catalog-section-card .equipment-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.catalog-section-card:hover .equipment-img img {
    transform: scale(1.1);
}

.catalog-section-card .equipment-info {
    padding: 20px;
}

.catalog-section-card .equipment-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

    /* product card*/
.equipment-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.equipment-img {
    height: 220px;
    overflow: hidden;
}

.equipment-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.equipment-card:hover .equipment-img img {
    transform: scale(1.1);
}

.equipment-info {
    padding: 20px;
}

.equipment-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.equipment-specs {
    margin: 15px 0;
}

.equipment-specs li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #ddd;
    font-size: 0.95rem;
}

.equipment-specs li:last-child {
    border-bottom: none;
}

.equipment-specs li span:first-child {
    font-weight: 600;
    color: var(--dark);
}

.equipment-specs-table tr {
    /* margin-bottom: 8px; */
    /* display: inline-block; */
    border-bottom: 1px dashed #ddd;
    font-size: 0.95rem;
    width: 100%;
}
.equipment-specs-table tr td:first-child {
    font-weight: 600;
    color: var(--dark);
}
.equipment-specs-table tr:last-child {
    border-bottom: none;
}
.equipment-specs-table tr td:last-child {
    padding-left: 1rem;
    text-align: right;
}
.equipment-specs-table tr:nth-child(odd) {
    background-color: var(--light);
}

.equipment-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 15px 0;
}

.equipment-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.catalog-pagination {
    display: flex;
    justify-content: center;
    padding: 30px 0 60px;
}

.pagination-list {
    display: flex;
    list-style: none;
    gap: 10px;
}

.pagination-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light);
    color: var(--primary);
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination-item a:hover,
.pagination-item.active a {
    background: var(--secondary);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select,
    .filter-group input {
        width: 100%;
    }
    
    .catalog-header {
        padding: 100px 0 60px;
    }
    
    .catalog-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .catalog-header h1 {
        font-size: 2rem;
    }
    
    .catalog-header p {
        font-size: 1rem;
    }
    
    .equipment-cta {
        flex-direction: column;
        gap: 10px;
    }
    
    .equipment-cta .btn {
        width: 100%;
    }
}


/* Product detail */
    main.product-content > h1 {
        margin-bottom: 2rem;
    }

    /* Notification popup */
    .form-alert {
        padding: 12px 20px;
        border-radius: 4px;
        margin-bottom: 20px;
        font-weight: 500;
    }

    .form-alert-success {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .form-alert-error {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

    /* Main content layout */
    .product-page {
        display: grid;
        grid-template-columns: 250px 1fr;
        gap: 40px;
        padding-top: 100px;
    }
    
    /* Catalog sidebar */
    .catalog-sidebar {
        position: sticky;
        top: 100px;
        height: calc(100vh - 120px);
        overflow-y: auto;
        padding-right: 20px;
    }
    
    .catalog-tree {
        list-style: none;
    }
    
    .catalog-tree > li {
        margin-bottom: 15px;
    }
    
    .catalog-tree a {
        display: block;
        padding: 8px 12px;
        color: var(--text);
        border-left: 3px solid transparent;
        transition: all 0.3s;
    }
    
    .catalog-tree a:hover {
        color: var(--secondary);
        border-left-color: var(--secondary);
        background-color: rgba(231, 76, 60, 0.1);
    }
    
    .catalog-tree a.active {
        color: var(--secondary);
        border-left-color: var(--secondary);
        font-weight: 600;
    }
    
    .catalog-tree ul {
        list-style: none;
        margin-left: 15px;
        margin-top: 8px;
        border-left: 1px dashed #ddd;
        padding-left: 10px;
    }
    
    .catalog-tree ul a {
        padding: 6px 10px;
        font-size: 0.95rem;
    }
    
    /* Product gallery */
    .product-gallery {
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: 20px;
        margin-bottom: 40px;
        grid-auto-flow: column;
    }
    
    .thumbnail-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        height: 350px;
        width: 95px;
        overflow-y: scroll;
        scroll-behavior: smooth;
        /* use this property to hide the scrollbar on firefox */
        scrollbar-height: none;
        scroll-snap-type: y mandatory;
        margin-top: 75px;

        &::scroll-button(*) {
            /* Anchor them to the carousel */
            position-anchor: --thumbnail-list;
            /* Align them vertically */
            position: absolute;
        }
    }
    /*  use this pseudo class to hide the scrollbar on chrome */
    .thumbnail-list::-webkit-scrollbar {
        display: none;
    }
    .thumbnail-list::scroll-button(*) {
        cursor: pointer;
        width: 70px;
        height: 70px;
        background-color: var(--secondary);
        border-radius: 50%;
    }
    .thumbnail-list::scroll-button(up) {
        content: '\2191';
        align-self: flex-start;
        /* margin-top: -90px; */
    }
    .thumbnail-list::scroll-button(down) {
        content: '\2193';
        align-self: flex-end;
        /* margin-bottom: -90px; */
    }
    
    
    .thumbnail {
        width: 80px;
        height: 80px;
        border: 1px solid #ddd;
        border-radius: 4px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s;
        flex-shrink: 0;
    }
    
    .thumbnail:hover {
        border-color: var(--secondary);
    }
    
    .thumbnail.active {
        border-color: var(--secondary);
        box-shadow: 0 0 0 2px var(--secondary);
    }
    
    .thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .main-image {
        position: relative;
        border: 1px solid #ddd;
        border-radius: 4px;
        overflow: hidden;
        height: 500px;
    }
    
    .main-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        cursor: zoom-in;
        transition: transform 0.3s;
    }
    
    .main-image.zoomed img {
        transform: scale(2.5);
        cursor: zoom-out;
    }
    
    /* Product info */
    .product-header {
        margin-bottom: 30px;
    }
    
    .product-title {
        font-size: 2.2rem;
        color: var(--primary);
        margin-bottom: 10px;
    }
    
    .product-sku {
        color: var(--text-light);
        margin-bottom: 15px;
        font-size: 0.9rem;
    }
    
    .product-price {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--secondary);
        margin: 20px 0;
    }
    
    .product-actions {
        display: flex;
        gap: 15px;
        margin: 30px 0;
        flex-wrap: wrap;
    }
    
    /* Product tabs */
    .product-tabs {
        margin: 40px 0;
    }
    
    .tab-nav {
        display: flex;
        border-bottom: 1px solid #ddd;
        margin-bottom: 20px;
    }
    
    .tab-nav button {
        padding: 12px 20px;
        background: none;
        border: none;
        border-bottom: 3px solid transparent;
        font-weight: 600;
        cursor: pointer;
        color: var(--text-light);
        transition: all 0.3s;
    }
    
    .tab-nav button.active {
        color: var(--primary);
        border-bottom-color: var(--secondary);
    }
    
    .tab-content {
        display: none;
    }
    
    .tab-content.active {
        display: block;
    }
    
    /* Specifications table */
    #specifications table {
        width: 100%;
        border-collapse: collapse;
    }
    
    #specifications table tr:nth-child(even) {
        background-color: var(--light);
    }
    
    #specifications table th, #specifications table td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }
    
    #specifications table th {
        font-weight: 600;
        color: var(--primary);
        width: 30%;
    }
    
    /* Documents */
    .document-list {
        list-style: none;
        margin-bottom: 2rem;
    }
    
    .document-item {
        display: flex;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px dashed #ddd;
    }
    
    .document-item:last-child {
        border-bottom: none;
    }
    
    .document-icon {
        color: var(--secondary);
        margin-right: 10px;
        font-size: 1.2rem;
    }
    
    /* Related products */
    .related-products {
        margin-top: 60px;
        padding-top: 40px;
        border-top: 1px solid #ddd;
    }
    
    .related-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
        color: var(--primary);
    }
    
    .related-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .related-card {
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.3s;
    }
    
    .related-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .related-img {
        height: 180px;
        overflow: hidden;
    }
    
    .related-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }
    
    .related-card:hover .related-img img {
        transform: scale(1.05);
    }
    
    .related-info {
        padding: 15px;
    }
    
    .related-info h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .related-price {
        color: var(--secondary);
        font-weight: 600;
        margin: 10px 0;
    }
    
    /* Modal styles */
    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.7);
        z-index: 1000;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .modal.show {
        display: flex;
        opacity: 1;
    }
    
    .modal-content {
        background: white;
        padding: 30px;
        border-radius: 8px;
        width: 100%;
        max-width: 500px;
        box-shadow: 0 5px 30px rgba(0,0,0,0.3);
        transform: translateY(-20px);
        transition: transform 0.3s ease;
    }
    
    .modal.show .modal-content {
        transform: translateY(0);
    }
    
    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
        color: var(--primary);
        margin: 0;
    }
    
    .close-modal {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-light);
        transition: color 0.3s;
    }
    
    .close-modal:hover {
        color: var(--secondary);
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--primary);
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 1rem;
        transition: all 0.3s;
    }
    
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        border-color: var(--secondary);
        outline: none;
        box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
    }
    
    .form-group textarea {
        height: 100px;
        resize: vertical;
    }
    
    .form-required {
        color: var(--secondary);
        margin-left: 5px;
    }
    
    .submit-btn {
        background: var(--secondary);
        color: white;
        border: none;
        padding: 12px 25px;
        border-radius: 4px;
        cursor: pointer;
        font-weight: 600;
        font-size: 1rem;
        width: 100%;
        transition: all 0.3s;
    }
    
    .submit-btn:hover {
        background: #c0392b;
    }
    
    /* Back button */
    .back-button {
        display: inline-flex;
        align-items: center;
        margin-bottom: 30px;
        color: var(--primary);
        font-weight: 600;
    }
    
    .back-button i {
        margin-right: 8px;
    }
    
    /* Comparison button */
    .compare-btn {
        display: inline-flex;
        align-items: center;
        background: var(--light);
        color: var(--primary);
        border: 1px solid #ddd;
        padding: 10px 15px;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .compare-btn:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }
    
    .compare-btn i {
        margin-right: 8px;
    }
    
    /* Responsive styles */
    @media (max-width: 992px) {
        .product-page {
            grid-template-columns: 1fr;
        }
        
        .catalog-sidebar {
            position: static;
            height: auto;
            margin-bottom: 40px;
        }
        
        .product-gallery {
            grid-template-columns: 1fr;
        }
        
        .thumbnail-list {
            flex-direction: column;
            order: 2;
            margin-top: 15px;
        }

        .thumbnail-list::scroll-button(*) {
            cursor: pointer;
            width: 80px;
            height: 40px;
            background-color: var(--secondary);
            border-radius: 10px;
        }
        
        .main-image {
            height: 400px;
        }
    }
    
    @media (max-width: 768px) {
        .product-actions {
            flex-direction: column;
        }
        
        .main-image {
            height: 300px;
            top: 38px;
        }
        
        .product-title {
            font-size: 1.8rem;
        }
        
        .tab-nav {
            overflow-x: auto;
            white-space: nowrap;
            padding-bottom: 5px;
        }
    }
