/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Roboto:wght@400;500&display=swap');

/* CSS Variables */
:root {
    --primary-color: #1a2c42; /* Dark Blue */
    --secondary-color: #f4f4f4; /* Light Grey */
    --accent-color: #d4af37; /* Gold/Yellow from logo */
    --text-color: #333;
    --light-text-color: #ffffff;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --border-color: #e0e0e0;
}

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

/* --- Header --- */
header {
    background: #fff;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 80px;
}

.nav-links ul {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* --- Hero Section (Home Page) --- */
.hero {
    background-image: linear-gradient(rgba(26, 44, 66, 0.7), rgba(26, 44, 66, 0.7)), url('images/washers-bg.webp');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-text-color);
}

.hero-content h1 {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.2rem;
}

/* --- General Content Sections --- */
.content-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.content-section.alternate-bg {
    background-color: var(--secondary-color);
}

.text-content {
    flex: 1;
}

.image-content {
    flex: 1;
    text-align: center;
}

.image-content img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.justified-text {
    text-align: justify;
}

/* --- Products Page Enhancements --- */
.page-title {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 2rem 5%;
}

.page-title h1 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
}

.page-title .tagline {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    color: var(--secondary-color);
    opacity: 0.9;
}

.product-image-container {
    text-align: center;
    padding: 2rem 0;
    background: var(--secondary-color);
}

.product-image-container img {
    max-width: 500px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}


.product-category {
    padding: 3rem 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.product-category > h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
}

.product-category > .tagline {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tech-specs {
    background: var(--secondary-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.tech-specs h3 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.tech-specs p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.thickness-options-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}


.product-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.product-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-item h4 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.product-item .description {
    margin-bottom: 1rem;
    color: #444;
}
.product-item .description strong {
    color: var(--text-color);
}

.order-heading {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-call, .btn-email {
    text-decoration: none;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 0.95rem;
}
.btn-call:hover, .btn-email:hover {
    transform: translateY(-2px);
}

.btn-call {
    background-color: var(--primary-color);
}

.btn-call:hover {
    background-color: #2c4a6e;
}

.btn-email {
    background-color: var(--accent-color);
}

.btn-email:hover {
    background-color: #c5a030;
}

/* --- Contact Page Enhancements --- */
.contact-container {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Vertical Layout */
    gap: 3rem;
}

.contact-details {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    text-align: center;
    flex-wrap: wrap;
}

.detail-item {
    flex: 1;
    min-width: 250px;
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
}
.detail-item h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}
.detail-item p, .detail-item a {
    color: var(--text-color);
    text-decoration: none;
    line-height: 1.7;
}

.contact-form-section {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-intro {
    flex: 1;
}

.contact-intro h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-form {
    flex: 1.5;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-secondary);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.btn-submit {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #c5a030;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding-top: 3rem;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    padding: 0 5% 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 1rem 5%;
    background-color: rgba(0,0,0,0.2);
    font-size: 0.9rem;
}


/* --- Media Queries for Responsiveness --- */
@media (max-width: 768px) {
    .logo img {
        height: 65px; /* Adjust logo for mobile */
    }

    .nav-links {
        position: fixed;
        top: 98px; /* Approx height of mobile header */
        left: -100%;
        width: 100%;
        height: calc(100vh - 98px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease-in-out;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }
    
    .hamburger.toggle .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .hamburger.toggle .line:nth-child(2) {
        opacity: 0;
    }
    .hamburger.toggle .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .content-section, .contact-form-section {
        flex-direction: column;
    }

    .content-section:nth-child(odd) .image-content {
        order: -1;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-column h4 {
        display: block;
    }
}