
/*
Theme Name: Pro-Tech Child Theme
Theme URI: https://pro-tech.in/
Description: Custom child theme for Pro-Tech Rubber Machinery & Engineering LLP
Author: Pro-Tech
Template: hello-elementor
Version: 1.0.0
Text Domain: protech-child
*/

/* Pro-Tech global styles */

:root {
    --protech-primary: #142d4e;
    --protech-secondary: #526477;
    --protech-accent: #c52f5d;
    --protech-light: #f5f7fa;
    --protech-dark: #172331;
}

body {
    font-family: Arial, sans-serif;
    color: var(--protech-dark);
}

/* Products Catalogue */

.protech-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.products-banner {
    background: #142d4e;
    color: #ffffff;
    padding: 65px 0;
}

.products-banner h1 {
    color: #ffffff;
    font-size: 38px;
    margin-bottom: 12px;
}

.products-banner p {
    color: #ffffff;
    font-size: 17px;
}

.products-section {
    padding: 60px 0;
    background: #f5f7fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card a {
    text-decoration: none;
    color: #172331;
}

.product-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.product-content {
    padding: 24px;
}

.product-content h2 {
    font-size: 21px;
    color: #142d4e;
}

.product-content p {
    color: #526477;
}

.product-link {
    display: inline-block;
    margin-top: 12px;
    color: #c52f5d;
    font-weight: 600;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Single Product Page */

.product-hero {
    padding: 65px 0;
    background: #ffffff;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.product-main-image img {
    width: 100%;
    height: 440px;
    object-fit: contain;
    background: #f5f7fa;
    border-radius: 8px;
}

.product-intro h1 {
    color: #142d4e;
    font-size: 36px;
    margin-bottom: 15px;
}

.product-subtitle {
    color: #526477;
    font-size: 19px;
}

.product-description {
    line-height: 1.8;
    margin: 25px 0;
}

.protech-button {
    display: inline-block;
    background: #c52f5d;
    color: #ffffff !important;
    padding: 14px 26px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
}

.protech-button:hover {
    background: #142d4e;
}

.product-details {
    padding: 65px 0;
    background: #f5f7fa;
}

.product-details h2 {
    color: #142d4e;
    font-size: 30px;
    margin-bottom: 30px;
}

.product-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.product-info-item,
.product-applications,
.product-specifications {
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.product-info-item h3,
.product-applications h3,
.product-specifications h3 {
    color: #142d4e;
}

.product-enquiry {
    padding: 65px 0;
    text-align: center;
    background: #142d4e;
    color: #ffffff;
}

.product-enquiry h2 {
    color: #ffffff;
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-main-image img {
        height: 300px;
    }

    .product-intro h1 {
        font-size: 28px;
    }

    .product-info-grid {
        grid-template-columns: 1fr;
    }
}

/* PRO-TECH HEADER */

.protech-header {
    background: #ffffff;
    border-bottom: 1px solid #e8edf2;
    position: relative;
    z-index: 999;
}

.protech-header-inner {
    max-width: 1250px;
    width: 92%;
    min-height: 95px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.protech-logo img {
    max-width: 180px;
    max-height: 75px;
    width: auto;
    height: auto;
}

.protech-logo a {
    text-decoration: none;
    color: #142d4e;
}

.protech-logo strong {
    display: block;
    font-size: 25px;
}

.protech-logo span {
    display: block;
    font-size: 11px;
}

.protech-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.protech-menu li {
    margin: 0;
}

.protech-menu a {
    color: #142d4e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color .2s ease;
}

.protech-menu a:hover {
    color: #c52f5d;
}

#protech-menu-toggle {
    display: none;
}

.protech-menu-icon {
    display: none;
}


/* PRO-TECH FOOTER */

.protech-footer {
    background: #142d4e;
    color: #ffffff;
    margin-top: 0;
}

.protech-footer-container {
    max-width: 1200px;
    width: 90%;
    margin: auto;
    padding: 65px 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr;
    gap: 55px;
}

.protech-footer-column h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 22px;
}

.protech-footer-column p,
.protech-footer-column li {
    color: #dce4ef;
    font-size: 14px;
    line-height: 1.9;
}

.protech-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.protech-footer-column a {
    color: #dce4ef;
    text-decoration: none;
}

.protech-footer-column a:hover {
    color: #ffffff;
}

.protech-footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.15);
    padding: 18px;
}

.protech-footer-bottom p {
    margin: 0;
    color: #dce4ef;
    font-size: 13px;
}


/* MOBILE NAVIGATION */

@media (max-width: 1000px) {

    .protech-header-inner {
        min-height: 80px;
    }

    .protech-menu-icon {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .protech-menu-icon span {
        width: 26px;
        height: 3px;
        background: #142d4e;
    }

    .protech-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 20px 5%;
        box-shadow: 0 8px 15px rgba(0,0,0,.08);
    }

    #protech-menu-toggle:checked ~ .protech-navigation {
        display: block;
    }

    .protech-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .protech-footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

