/* CSS Variables for an "Industrial" color palette */
:root {
    --primary-color: #d9d4d4; 
    --secondary-color: #18479c; 
    --bg-color: #f4f4f4;
    --text-color: #333;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
	display: flex;
	flex-direction:column;
	min-height:100vh;
	margin:0px;
}

/* Header & Navigation */
header {
    background-color: var(--primary-color);
    color: black;
    padding: 1rem 0;
    border-bottom: 4px solid var(--secondary-color);
}

.header-container {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0px;
	
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.2px;
	color:var(--secondary-color);
	font-family: 'Roboto', Ariel; /* Or whichever you choose */
    font-style: italic;
}

.logo span {
    color: var(--secondary-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--black);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav a:hover, nav a.active-link {
    color: var(--secondary-color);
}

.responsive-menu{
	display:none;
}

summary{
	list-style:none;
}

/* Main Content Area */
main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
	flex:1;
	width:100%;
}

.button-banner{
	display:flex;
	flex-direction:row;
	justify-content:center;
	margin-top: 20px;
}

.button-banner a {
	margin: 0px 10px;
}

/* Typography & Utilities */
h1, h2, h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #1f5ac7;
}

/* Grid Layouts for Products/Services */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.grid-container-rows {
    display: flex;
    flex-direction:column;
    gap: 30px;
    margin-top: 20px;
	
	
}

.card {
    background: var(--white);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary-color);
}

.about-card {
    background: var(--white);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary-color);
	text-align:center
}

.card-row{
	display:Grid;
	grid-template-areas:
	"header img"
	"content img";
	grid-template-columns:3fr 1fr;
	grid-template-rows:1fr 2fr;
	gap: 5px;	
}
.card-row img{
  height: auto;
  object-fit: contain;
  max-width:400px;
  max-height:300px;
  grid-area:img;
}

.card-grid{
	display:flex;
	justify-content:space-between;
	align-items:center;
}

.card-grid img{
	height:auto;
	width:25px;
	
}

.service-row{
	display:Grid;
	grid-template-areas:
	"content img";
	grid-template-columns:3fr 1fr;
	grid-template-rows:1fr;
	gap: 5px;	
}

.service-row div.image{
	display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;
}

.service-row img{
  height: auto;
  object-fit: contain;
  max-width:300px;
  max-height:200px;
  grid-area:img;
}

summary{
	color: var(--secondary-color);
	font-size:larger;
	font-weight:bolder;
	margin-bottom:10px;
}

.list{
	margin: 10px 20px;
}

/* Forms */
form {
    background: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 600px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.responsive-image{
	max-width:500px;
	height: auto;
}

/* Footer */
footer {
    background-color: #222;
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 1300px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

}
@media (max-width:800px){
	

	
	.button-banner{
	display:flex;
	align-items: center;
	flex-direction:column;
	width: 50%;
	margin-left:auto;
	margin-right:auto;
}

.button-banner a {
	margin: 10px 0px;
}

	.card-row{
		display:flex;
		flex-direction:column;
	}
	
	.service-row{
		display:flex;
		flex-direction:column;
	}
}

@media(max-width:600px){
		nav ul {
		display:none;
	}
	.responsive-menu nav ul {
		display: flex;
		flex-direction: column;
	}
	.responsive-image{
		max-width:300px;
	height: auto;
	}
	.responsive-menu{
	display:block;
	margin-top:15px;
}
}