/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Variables for easy color changes */
:root {
    --primary-color: #ffc107; /* Industrial Yellow */
    --dark-bg: #222;
    --light-bg: #f4f4f4;
    --text-white: #fff;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--dark-bg);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Split Hero Section */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    align-items: center;
    gap: 2rem;
    padding: 4rem 10%; /* 10% spacing on sides */
    background: var(--dark-bg);
    min-height: 80vh;
    overflow: hidden;
}

/* Left Side: Text */
.hero-text {
    color: var(--text-white);
    z-index: 2; /* Ensures text sits on top if screen gets small */
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ccc;
}

/* Right Side: Image Collage Grid */
.hero-collage {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    height: 500px;
    position: relative;
}

.hero-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border: 3px solid var(--primary-color);
}

/* Positioning the 3 images creatively */
.pic-1 {
    grid-column: 1 / 9;
    grid-row: 1 / 9;
    z-index: 1;
}

.pic-2 {
    grid-column: 5 / 13;
    grid-row: 4 / 12;
    z-index: 2; /* Sits on top */
}

.pic-3 {
    grid-column: 9 / 13;
    grid-row: 1 / 5;
    z-index: 3; /* Small accent image corner */
    display: none; /* Hidden by default, shown if you want a 3rd image */
}

/* Mobile: Stack them */
@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 6rem 2rem;
    }
    
    .hero-collage {
        display: none; /* Hide collage on small mobile screens to save space */
    }
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    margin-top: 1rem;
}

.btn:hover {
    background: #e0a800;
}

/* Sections */
.container {
    padding: 4rem 2rem;
    text-align: center;
}

.bg-light {
    background: var(--light-bg);
}

h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    text-transform: uppercase;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

/* Services Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 5px solid var(--primary-color);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--text-white);
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .navbar { flex-direction: column; }
    .nav-links { margin-top: 1rem; }
}

form {
    max-width: 500px;
    margin: 40px auto;
    background: #262626;
    padding: 30px;
    border-top: 4px solid #ffcc00;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    background: #1a1a1a;
    border: 1px solid #444;
    color: #fff;
    font-family: inherit;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}

input:focus, textarea:focus {
    outline: none;
    border-color: #ffcc00;
}

button {
    width: 100%;
    padding: 15px;
    background: #ffcc00;
    color: #1a1a1a;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #e6b800;
}

/* Zoom effect on hover */
.gallery-item:hover img {
    transform: scale(1.05);
    cursor: pointer;
}

/* Optional: Add a subtle overlay or border color change */
.gallery-item:hover {
    border-color: #ffcc00 !important; /* Your signature industrial yellow */
}