/* =============================
   GLOBAL BASE STYLES
   ============================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Utility Classes */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

h1, h2, h3 {
  margin-bottom: 10px;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

/* =============================
   NAVBAR
   ============================= */
.site-header {
  background: #333;
  color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  height: auto;            /* Allows natural proportions */
  width: 160px;            /* Set explicit width (increase/decrease as needed) */
  max-height: 80px;        /* Prevents it from expanding header height */
  object-fit: contain;     /* Keeps it clean */
  display: block;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar a {
  color: #fff;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
}

.navbar a:hover,
.navbar a.active {
  background: #e96b00;
  color: #fff;
}

/* =============================
   HERO SECTION
   ============================= */
.hero {
  background: url('../img/Kitchen.webp') center/cover no-repeat;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.55);
  padding: 40px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary {
  background: #e96b00;
  color: #fff;
}

.btn-primary:hover {
  background: #c85900;
}

.btn-secondary {
  background: #333;
  color: #fff;
}

.btn-secondary:hover {
  background: #555;
}

/* =============================
   ABOUT PREVIEW
   ============================= */
.about-preview {
  text-align: center;
  background: #fff;
}

.about-preview p {
  margin: 15px 0;
}

/* =============================
   SERVICES SECTION
   ============================= */
.services {
  background: #f1f1f1;
}

.services h2 {
  text-align: center;
  margin-bottom: 30px;
}

.service-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* =============================
   TESTIMONIALS
   ============================= */
.testimonials {
  background: #fff;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.testimonial {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.testimonial span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #e96b00;
}

/* =============================
   CTA BANNER
   ============================= */
.cta-banner {
  background: #e96b00;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.cta-banner h2 {
  margin-bottom: 15px;
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: #222;
  color: #ccc;
  text-align: center;
  /*padding: 25px 10px;*/
  font-size: 0.9rem;
}

footer a {
  color: #e96b00;
}

footer a:hover {
  text-decoration: underline;
}

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .nav-container { flex-direction: column; }
  .navbar ul { flex-wrap: wrap; justify-content: center; }
  .service-card img { height: 160px; }
}

/* =============================
   TOP BAR (like Kelm Academy)
   ============================= */
.topbar {
  background: #0b2a48;  /* Deep blue tone */
  color: #fff;
  font-size: 0.95rem;
}

.topbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 0;
}

.left-info span {
  margin-right: 25px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.topbar .icon {
  width: 14px;
  height: 14px;
}

.right-buttons a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin-left: 10px;
  padding: 8px 15px;
  border-radius: 4px;
}

.btn-support {
  background: #f7b500;  /* Golden yellow (like Kelm’s “Support” button) */
  color: #000;
}

.btn-login {
  background: #00a0e0;  /* Light blue (like Kelm’s “Career Survey” button) */
}

.btn-support:hover { background: #e0a200; }
.btn-login:hover { background: #008fc4; }

/* =============================
   NAVBAR BELOW TOP BAR
   ============================= */
.site-header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 10px 0;                 /* Space around items */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  width: 300px;                    /* Visible width (try 160–200px) */
  height: auto;                    /* Preserve proportions */
  object-fit: cover;             /* Keep shape clean */
  display: block;
}

.navbar ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.navbar a {
  color: #0b2a48;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 5px;
  position: relative;
  line-height: 1;
}

.navbar a:hover,
.navbar a.active {
  color: #f7b500;
}

.navbar a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #f7b500;
}

/* =============================
   FOOTER STYLES
   ============================= */
footer {
  background: #0b2a48; /* Deep navy blue like topbar */
  color: #ddd;
  font-size: 0.95rem;
}

.footer-top {
  padding: 50px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-col h4 {
  color: #f7b500; /* Gold accent */
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-logo {
  height: 60px;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: #f7b500;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-links img {
  width: 28px;
  height: 28px;
  transition: 0.3s ease;
  filter: brightness(90%);
}

.social-links img:hover {
  transform: scale(1.1);
  filter: brightness(110%);
}

.footer-bottom {
  background: #061a31;
  text-align: center;
  padding: 15px 10px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #f7b500;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* =============================
   ABOUT PAGE STYLES
   ============================= */
.page-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/about1.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.about-intro {
  background: #fff;
  padding: 60px 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  margin-bottom: 15px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.about-values {
  background: #f9f9f9;
  text-align: center;
  /*padding: 60px 20px;*/
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.value-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 20px;
}

.certifications {
  background: #fff;
  text-align: center;
  /*padding: 60px 20px;*/
}

.cert-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cert-logos img {
  width: 100px;
  height: auto;
  filter: grayscale(30%);
}


/* =============================
   SERVICES PAGE STYLES
   ============================= */
.services-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/Contractor_Banner.png') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.services-intro {
  text-align: center;
  background: #fff;
  padding: 50px 20px;
  font-size: 1.1rem;
  color: #444;
  max-width: 900px;
  margin: 0 auto;
}

.service-list {
  background: #f9f9f9;
  padding: 60px 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  text-align: center;
  overflow: hidden;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

.service-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-item h3 {
  margin: 15px 0 10px;
  color: #0b2a48;
}

.service-item p {
  margin: 0 20px 20px;
  color: #555;
  font-size: 0.95rem;
}


/* =============================
   CONTACT PAGE STYLES
   ============================= */
.contact-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/contact.webp') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.contact-info {
  background: #fff;
  padding: 60px 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-details ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.contact-details li {
  margin-bottom: 10px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.form-row textarea {
  height: 120px;
  resize: vertical;
}

.form-success {
  background: #e6f9ec;
  color: #1b7a2a;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-weight: 600;
}

.map-section iframe {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* =============================
   GALLERY PAGE STYLES
   ============================= */
.gallery-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/open-concept.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.gallery-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* =============================
   SERVICE DETAIL PAGE
   ============================= */
.service-detail {
  background: #fff;
  padding: 60px 20px;
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.service-text ul {
  list-style: disc;
  padding-left: 20px;
  margin: 15px 0;
}

.service-text li {
  margin-bottom: 8px;
}

.service-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .service-content {
    grid-template-columns: 1fr;
  }
}


    /* =============================
   SERVICE PAGE SIDEBAR
   ============================= */
.service-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
  align-items: start;
}

.service-sidebar {
  background: #f7f9fc;
  border: 1px solid #e3e6eb;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.service-sidebar h3 {
  margin-bottom: 15px;
  color: #0b2a48;
  font-size: 1.2rem;
  border-bottom: 2px solid #f7b500;
  padding-bottom: 6px;
}

.service-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-sidebar li {
  margin-bottom: 8px;
}

.service-sidebar a {
  color: #0b2a48;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-sidebar a:hover {
  color: #f7b500;
}

@media (max-width: 900px) {
  .service-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-col {
    margin-top: 30px;
  }
}

.service-sidebar a.active {
  color: #f7b500;
  font-weight: 700;
  position: relative;
}

.service-sidebar a.active::before {
  content: "▸";
  color: #f7b500;
  position: absolute;
  left: -15px;
}

/* =============================
   SERVICE ICON STYLES
   ============================= */
.service-item i {
  font-size: 2.5rem;          /* Increase icon size */
  color: #f7b500;             /* Brand gold */
  margin-bottom: 15px;        /* Space below icon */
  display: inline-block;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  color: #e96b00;             /* Slightly darker orange on hover */
  transform: scale(1.15);     /* Gentle zoom-in effect */
}


