/* Siddhgiri Tubes - 4130 CHROMOLY TUBING Styles */

/* Hero Section */
.chromoly-hero {
    background-color: #2a3990;
    color: white;
    padding: 80px 0;
    text-align: center;
    width: 100%;
}

.chromoly-hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.chromoly-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.hero-navigation {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.hero-navigation a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.hero-navigation a:hover {
    color: #f5f5f5;
    transform: translateY(-2px);
}

.hero-navigation i {
    margin-right: 5px;
}

/* Main Content with Sidebar Layout */
.main-content-with-sidebar {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.main-content-with-sidebar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.content-wrapper {
    display: flex;
    gap: 30px;
}

/* Sidebar Categories */
.sidebar-categories {
    width:300px;
    flex-shrink: 0;
    margin-right: 30px;
}

.sidebar-categories h3 {
    background-color: #2a3990;
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 20px;
    text-align: center;
    border-radius: 5px 5px 0 0;
}

.category-list {
    display: flex;
    flex-direction: column;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    
    background-color: white;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.category-item:last-child {
    border-radius: 0 0 5px 5px;
}

.category-item:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon img {
    max-width: 100%;
    max-height: 100%;
}

.category-item span {
    font-size: 14px;
    font-weight: 500;
}

/* Main Content */
.main-content {
    flex: 1;
}

/* Introduction Section (modified) */
.chromoly-intro {
    padding: 30px 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.chromoly-intro .container {
    padding: 0;
}

.intro-content {
    max-width: 100%;
    padding: 0 20px;
    font-size: 20px;
    color: #444444;
}

/* Features Section (modified) */
.chromoly-features {
    padding: 0;
    background-color: white;
    margin-bottom: 30px;
}

.chromoly-features h2 {
    text-align: left;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    background-color: #2a3990;
    padding: 15px 20px;
    border-radius: 0;
}

.features-content {
    display: flex;
    padding: 20px;
    gap: 30px;
    align-items: flex-start;
}

.features-image {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    border: 1px solid #e0e0e0;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.features-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.features-list {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-item i {
    color: #2a3990;
    font-size: 18px;
}

.feature-item span {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    padding: 5px;
}

/* Add a caption under the image */
.features-image::after {
    content: "4130 CHROMOLY TUBING";
    display: block;
    text-align: center;
    padding: 10px 0;
    font-weight: 500;
    color: #333;
}

@media (max-width: 768px) {
    .features-content {
        flex-direction: column;
    }
    
    .features-image {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .chromoly-features h2 {
        font-size: 20px;
        padding: 12px 15px;
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar-categories {
        width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .chromoly-hero h1 {
        font-size: 36px;
    }
    
    .hero-navigation {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .hero-navigation a {
        font-size: 14px;
    }
    
    .features-content {
        flex-direction: column;
    }
    
    .chromoly-features h2 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .chromoly-hero {
        padding: 60px 0;
    }
    
    .chromoly-hero h1 {
        font-size: 26px;
    }
    
    .intro-content p {
        font-size: 14px;
    }
    
    .feature-item span {
        font-size: 14px;
    }
}

/* Sizes Section */
.chromoly-sizes {
    padding: 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.chromoly-sizes h2 {
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
    background-color: #f5f5f5;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.sizes-content {
    padding: 0;
}

.sizes-table {
    width: 100%;
    border-collapse: collapse;
}

.sizes-table thead th {
    background-color: #f5f5f5;
    color: #333;
    font-weight: 600;
    text-align: left;
    padding: 12px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.sizes-table tbody td {
    padding: 12px 20px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
    font-size: 14px;
}

.sizes-table tbody tr:hover {
    background-color: #f9f9f9;
}

.sizes-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .chromoly-sizes h2 {
        font-size: 18px;
        padding: 12px 15px;
    }
    
    .sizes-table thead th,
    .sizes-table tbody td {
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .chromoly-sizes h2 {
        font-size: 16px;
        padding: 10px 12px;
    }
    
    .sizes-table thead th,
    .sizes-table tbody td {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Pressure Ratings Section */
.chromoly-pressure-ratings {
    padding: 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.chromoly-pressure-ratings h2 {
    text-align: left;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    background-color: #2a3990;
    padding: 15px 20px;
    border-radius: 0;
}

.pressure-content {
    padding: 20px;
}

.table-responsive {
    overflow-x: auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
}

.pressure-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.pressure-table thead th {
    background-color: #f5f5f5;
    color: #333;
    font-weight: 600;
    text-align: center;
    padding: 12px 10px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
}

.pressure-table tbody td {
    padding: 10px;
    border: 1px solid #e0e0e0;
    color: #333;
    font-size: 14px;
    text-align: center;
}

.pressure-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.pressure-table tbody tr:hover {
    background-color: #f0f0f0;
}

.pressure-notes {
    margin-top: 15px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.pressure-notes p {
    margin: 5px 0;
}

@media (max-width: 768px) {
    .chromoly-pressure-ratings h2 {
        font-size: 20px;
        padding: 12px 15px;
    }
    
    .pressure-table thead th,
    .pressure-table tbody td {
        padding: 8px 6px;
        font-size: 12px;
    }
    
    .pressure-notes {
        font-size: 12px;
    }
}

/* Properties, Tolerances, Chemical, Physical, and Dimensions Sections */
.chromoly-properties,
.chromoly-tolerances,
.chromoly-chemical,
.chromoly-physical,
.chromoly-dimensions {
    padding: 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.chromoly-properties h2,
.chromoly-tolerances h2,
.chromoly-chemical h2,
.chromoly-physical h2,
.chromoly-dimensions h2 {
    text-align: left;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    background-color: #2a3990;
    padding: 15px 20px;
    border-radius: 0;
}

.properties-content,
.tolerances-content,
.chemical-content,
.physical-content,
.dimensions-content {
    padding: 20px;
}

.properties-table,
.tolerances-table,
.chemical-table,
.physical-table,
.dimensions-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.properties-table thead th,
.tolerances-table thead th,
.chemical-table thead th,
.physical-table thead th,
.dimensions-table thead th {
    background-color: #f5f5f5;
    color: #333;
    font-weight: 600;
    text-align: center;
    padding: 12px 10px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
}

.properties-table tbody td,
.tolerances-table tbody td,
.chemical-table tbody td,
.physical-table tbody td,
.dimensions-table tbody td {
    padding: 10px;
    border: 1px solid #e0e0e0;
    color: #333;
    font-size: 14px;
    text-align: center;
}

.properties-table tbody tr:nth-child(even),
.tolerances-table tbody tr:nth-child(even),
.chemical-table tbody tr:nth-child(even),
.physical-table tbody tr:nth-child(even),
.dimensions-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.properties-table tbody tr:hover,
.tolerances-table tbody tr:hover,
.chemical-table tbody tr:hover,
.physical-table tbody tr:hover,
.dimensions-table tbody tr:hover {
    background-color: #f0f0f0;
}

@media (max-width: 768px) {
    .chromoly-properties h2,
    .chromoly-tolerances h2,
    .chromoly-chemical h2,
    .chromoly-physical h2,
    .chromoly-dimensions h2 {
        font-size: 20px;
        padding: 12px 15px;
    }
    
    .properties-table thead th,
    .properties-table tbody td,
    .tolerances-table thead th,
    .tolerances-table tbody td,
    .chemical-table thead th,
    .chemical-table tbody td,
    .physical-table thead th,
    .physical-table tbody td,
    .dimensions-table thead th,
    .dimensions-table tbody td {
        padding: 8px 6px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .chromoly-properties h2,
    .chromoly-tolerances h2,
    .chromoly-chemical h2,
    .chromoly-physical h2,
    .chromoly-dimensions h2 {
        font-size: 18px;
        padding: 10px 12px;
    }
}

.size-schedule-section {
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-title {
    background: #1a237e;
    color: white;
    padding: 1rem;
    text-align: center;
    margin: -2rem -2rem 2rem;
    border-radius: 8px 8px 0 0;
}

.available-stock {
    margin-top: 2rem;
}

.available-stock h3 {
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
}

.stock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.stock-item {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.stock-item:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.stock-item h4 {
    color: #424242;
    margin: 2.5rem 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .stock-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}