/* --- Global Styles --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Helvetica Neue', Arial, sans-serif; color: #333; background: #fff; scroll-behavior: smooth; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
h2 { text-align: center; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 2rem; padding-top: 4rem; font-weight: 300; }

/* --- Navigation & Logo Fix --- */
nav { display: flex; justify-content: space-between; align-items: center; padding: 10px 5%; background: #fff; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid #eee; }

.logo img { 
    height: 70px; 
    width: auto; 
    display: block; 
    background-color: #fff; /* This masks the checkered pattern */
    padding: 2px;
}

nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 1.5rem; }
nav ul li a { text-decoration: none; color: #333; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

/* --- Hero --- */
.hero { height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('hero.jpg') no-repeat center/cover; color: #fff; }
.hero h1 { font-size: 3rem; font-weight: 300; text-transform: uppercase; letter-spacing: 2px; }

/* --- Transformations --- */
.transformation-container { display: flex; flex-direction: column; gap: 30px; margin-bottom: 4rem; }
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.image-box { height: 450px; background: #eee; position: relative; background-size: cover; background-position: center; border: 1px solid #eee; }
.image-box span { position: absolute; top: 15px; left: 15px; background: rgba(0,0,0,0.6); color: #fff; padding: 5px 10px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }

.project-tall .image-box { height: 550px; background-position: top center; } /* Fixes the door view */

.transformation-card:nth-child(1) .before { background-image: url('before1.jpg'); }
.transformation-card:nth-child(1) .after { background-image: url('after1.jpg'); }
.transformation-card:nth-child(2) .before { background-image: url('before2.jpg'); }
.transformation-card:nth-child(2) .after { background-image: url('after2.jpg'); }

/* --- Inquiry Form --- */
.contact-section { padding: 5rem 0; background: #fdfdfd; }
.contact-form { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.section-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; font-weight: bold; margin-top: 15px; border-bottom: 1px solid #eee; padding-bottom: 5px; }
.form-group { display: flex; gap: 10px; }
input, select, textarea { width: 100%; padding: 1rem; border: 1px solid #ddd; font-family: inherit; font-size: 0.9rem; }
.btn { background: #000; color: #fff; padding: 1.2rem; text-transform: uppercase; letter-spacing: 2px; border: none; cursor: pointer; text-decoration: none; display: inline-block; }

footer { background: #000; color: #fff; text-align: center; padding: 2rem; font-size: 0.8rem; }

/* --- Mobile Fixes --- */
@media (max-width: 700px) {
    .image-pair, .form-group { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .image-box, .project-tall .image-box { height: 350px; }
    nav ul { display: none; } /* Keeps it clean on small screens */
}
