/* --- 1. RESET & CORE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; line-height: 1.4; color: #333; background: #fff; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
img { width: 100%; display: block; }

/* --- 2. HEADER --- */
.header { background-color: #222; padding: 15px 0; }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { width: 160px; }
.nav ul { display: flex; list-style: none; gap: 20px; }
.nav a { color: #999; text-decoration: none; font-size: 14px; font-weight: bold; }
.nav li:first-child a { color: #c19434; }

.search-form { display: flex; background: #fff; padding: 2px; }
.search-form input { border: none; padding: 5px; outline: none; width: 100px; }
.search-form button { background: #000; border: none; color: #c19434; padding: 0 10px; cursor: pointer; }

/* --- 3. HERO (Centered & Bigger) --- */
.hero { 
    background: url('../images/main-banner.jpg') no-repeat center center/cover; 
    height: 650px; /* Increased height for a bigger feel */
    display: flex; 
    align-items: center; 
    justify-content: center; /* Centers the box horizontally */
}
.hero .container { 
    background-color: rgba(0, 0, 0, 0.7); 
    padding: 80px 40px; /* More padding makes the box look bigger */
    max-width: 850px; 
    margin: 0 auto; 
    text-align: center; /* Centers the text inside the box */
}
.hero h1 { color: #fff; font-size: 4rem; margin-bottom: 15px; }
.hero p { color: #fff; font-size: 1.3rem; margin-bottom: 30px; }
.btn { display: inline-block; background-color: #c19434; color: #000; padding: 15px 40px; text-decoration: none; font-weight: bold; font-size: 1.1rem; }

/* --- 4. ABOUT SECTION --- */
.about { background: #fceabb; padding: 100px 0; }
.about .container { display: flex; gap: 40px; align-items: center; }
.about img { width: 45%; }

/* --- 5. SERVICES --- */
.services { padding: 80px 0; }
.services-top, .services-bottom { display: grid; gap: 25px; margin-top: 20px; }
@media (min-width: 768px) {
    .services-top { grid-template-columns: 1fr 1fr; }
    .services-bottom { grid-template-columns: 1fr 1fr 1fr; }
}
article { background: #fceabb; }
article img { height: 220px; object-fit: cover; }
article h3, article p { padding: 15px 20px; }
article a { display: inline-block; background: #222; color: #fff; padding: 10px 20px; margin: 0 20px 20px; text-decoration: none; }

/* --- 6. VISION BACKGROUND --- */
.vision { 
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/vision.jpg') no-repeat center center/cover; 
    padding: 120px 0; 
    color: #fff; 
    text-align: center; 
}
.vision h2 { font-size: 3rem; margin-bottom: 15px; }

/* --- 7. TEAM (John and Bob - Alternating Layout) --- */
.team { padding: 80px 0; }
.team .container { display: flex; flex-direction: column; gap: 50px; }
.team article { display: flex; background-color: #fceabb; width: 100%; }

/* Standard layout (John) */
.team article img { width: 45%; height: 400px; object-fit: cover; }
.team article div { width: 55%; padding: 40px; display: flex; flex-direction: column; justify-content: center; }

/* FLIPPED LAYOUT FOR BOB (Second Article) */
.team article:nth-of-type(2) {
    flex-direction: row-reverse; /* Puts image on right, text on left */
}

.team h3 { font-size: 2.2rem; margin-bottom: 10px; }

/* --- 8. CONTACT US --- */
.contact { padding: 80px 0; }
.contact-content { display: grid; gap: 50px; }
@media (min-width: 768px) {
    .contact-content { grid-template-columns: 1fr 1fr; }
}
.contact input, .contact textarea { padding: 12px; margin-bottom: 20px; border: 1px solid #ccc; width: 100%; }
.contact button { background: #222; color: #fff; padding: 15px 40px; border: none; font-weight: bold; cursor: pointer; }
iframe { width: 100%; height: 100%; min-height: 400px; border: none; }

/* --- 9. HOURS OF OPERATION TABLE --- */
.hours { padding: 40px 0; }
.hours h3 { margin-bottom: 20px; font-size: 1.8rem; }
.hours table { width: 100%; border-collapse: collapse; }
.hours th { background-color: #c19434; text-align: left; padding: 15px; border: 1px solid #ddd; }
.hours td { padding: 12px 15px; border: 1px solid #ddd; }
.hours tr:nth-child(even) { background-color: #fceabb; }

/* --- 10. FOOTER --- */
.footer { background: #222; color: #fff; text-align: center; padding: 40px 0; }

/* --- 11. MOBILE FIXES --- */
@media (max-width: 768px) {
    .header .container { flex-direction: column; gap: 15px; }
    .about .container { flex-direction: column; }
    .about img { width: 100%; }
    .team article, .team article:nth-of-type(2) { flex-direction: column; } /* Stack normally on mobile */
    .team article img, .team article div { width: 100%; }
    .hero h1 { font-size: 2.8rem; }
    .hero .container { padding: 40px 20px; }
}
