/* Global Reset & Variables */
:root {
    /* Industrial Theme Colors */
    --primary: #F97316;
    /* Safety Orange - Highlight/Action */
    --primary-dark: #ea580c;
    --primary-light: #fdba74;
    --secondary: #1A1A1A;
    /* Dark Slate - Footer/Headings */
    --secondary-light: #333333;
    --text-main: #1F2937;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --off-white: #F9FAFB;
    --border: #E5E7EB;
    --price-green: #166534;

    /* Spacing & Layout */
    --container-width: 1400px;
    --header-height: 80px;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.active-link {
    color: var(--primary);
}

/* --- Header --- */
header {
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
    transition: color 0.3s;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-icon-wrapper {
    position: relative;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Hero Section --- */
.hero {
    height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.btn-cta {
    background: var(--primary);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    transition: transform 0.2s, background 0.3s;
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- Categories Strip --- */
.categories-strip {
    padding: 40px 0;
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
}

.cat-list {
    display: flex;
    gap: 40px;
    justify-content: center;
    min-width: max-content;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.cat-item:hover {
    opacity: 1;
}

.cat-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.cat-name {
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

/* --- Product Cards --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    border: 1px solid var(--border);
    background: white;
    transition: box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.p-img-container {
    height: 250px;
    width: 100%;
    background: var(--off-white);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.p-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.p-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary);
}

.p-price {
    color: var(--price-green);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.p-buttons {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-enquiry {
    background: black;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.btn-cart {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    border: none;
    width: 100%;
}

.btn-cart:hover {
    background: var(--primary-dark);
}

/* --- Company Layout --- */
.company-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 15px;
}

.info-icon {
    color: var(--primary);
    font-size: 2rem;
}

/* --- Cart Sidebar --- */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 200;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.cart-open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid var(--border);
}

.cart-footer {
    padding: 20px;
    background: var(--off-white);
    border-top: 1px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.close-cart {
    cursor: pointer;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .company-info {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    /* Mobile menu simplified */
    .cart-sidebar {
        width: 100%;
    }
}
/* --- new Footer Styles --- */
.main-footer {
  background-color: black;
  color: white;
  padding-top: 60px;
  margin-top: 60px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 60px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.footer-links li, .contact-list li {
  margin-bottom: 15px;
}

.footer-links a {
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary);
}

.contact-list li {
  display: flex;
  gap: 15px;
  opacity: 0.9;
  align-items: flex-start;
}

.contact-list i {
  margin-top: 4px; /* Align icon with first line of text */
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 30px 0;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

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

.social-icons a:hover {
  background: var(--primary);
}

.bottom-links {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
}

.bottom-links a:hover {
  color: white;
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: white;
  color: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 90;
  transition: transform 0.3s;
}

.scroll-top:hover {
  transform: translateY(-5px);
}

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

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