

/* General Styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-container {
  display: flex;
  align-items: center;   /* vertically centers logo and text */
  gap: 5px;              /* small horizontal space */
}

.logo {
  height: 50px;          /* set logo height */
  width: auto;
  display: block;        /* keep block; flex handles alignment */
}

.logo-container h1 {
  margin: 0;
  padding: 0;
  font-size: 1.6rem;
  line-height: 1;        /* ensures text height matches font size */
}


header h1 {
  font-size: 1.8rem;
  color: #222;
}

header nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #555;
  font-weight: bold;
}

header nav a.active,
header nav a:hover {
  color: #ff6600;
}

/* Hero Section */
.hero {
  width: 100%;
  height: 80vh;
  background-image: url('images/img.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  text-align: center;
  color: #fff;
  background: rgba(0,0,0,0.5);
  padding: 40px;
  border-radius: 8px;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn-quote {
  background: #ff6600;
  color: #fff;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-quote:hover {
  background: #e65c00;
}

@media (max-width: 768px) {
  .logo-container {
    flex-direction: column;
    text-align: center;
  }

  nav a {
    display: inline-block;
    margin: 5px;
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .hero-overlay h1 {
    font-size: 1.6rem;
  }
  .hero-overlay p {
    font-size: 1rem;
    padding: 0 10px;
  }
}



/* About Section */
.about {
  display: flex;
  align-items: center;
  padding: 60px 40px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}


/* Our Services Section */
.services-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.services-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  color: #555;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 30px auto;
}

/* Individual Service Card */
.service-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-decoration: none;
  color: #222;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Service Image */
.service-card img {
  width: 100%;
  height: 220px;       /* uniform height */
  object-fit: cover;
  display: block;
}

/* Overlay Info */
.service-info {
  padding: 15px;
}

.service-info h3 {
  margin-top: 0;
  font-size: 1.3em;
}

.service-info p {
  font-size: 0.95em;
  color: #555;
  margin-top: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-card img { 
    height: 180px;
  }
}

.service-card:hover h3 {
  background: rgba(235, 230, 230, 0.75);
}


/* Call to Action Section */
.cta {
  padding: 60px 40px;
  background: #ff6600;
  color: #fff;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 768px) {
  .about {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    max-width: 100%;
  }
}
.contact {
  display: flex;
  flex-direction: column;
  align-items: left;   /* center everything horizontally */
  justify-content: center; /* optional if you want vertical centering too */
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;       /* center the container on the page */
  text-align: left;   /* center the headings and paragraph */
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
}

.contact form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,
.contact textarea {
  padding: 12px 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.contact button {
  padding: 12px 20px;
  background: #ff6600;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact button:hover {
  background: #e65c00;
}









/* ===================== */
/* Font sizes per page   */
/* ===================== */

body {
  font-family: Arial, sans-serif;
  font-size: 16px; /* default */
  line-height: 1.6;
}

body.home {
  font-size: 18px;  /* Bigger font on Home */
}

body.about {
  font-size: 15px;  /* Smaller font on About */
}

body.services {
  font-size: 16px;  /* Standard size on Services */
}

body.contact {
  font-size: 17px;  /* Slightly larger on Contact */
}



/*condo-renovation page*/


/* Service description */
.service-description {
  max-width: 900px;
  margin: 30px auto;
  text-align: center;
  padding: 0 10px;
}

.service-description h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #222;
}

.service-description p {
  font-size: 1.05em;
  color: #555;
  line-height: 1.6;
}

/* Gallery layout */
.service-gallery {
  text-align: center;
  padding: 40px 20px;
  background: #f9f9f9;
}

.service-gallery h2 {
  font-size: 1.8em;
  margin-bottom: 25px;
  color: #222;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* All images */
.gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.service-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
/* Bigger image spans 2 columns */
.service-gallery img.big {
  grid-column: span 2; /* make first image larger */
  height: 300px;
}



/* CTA section */
.cta {
  text-align: center;
  padding: 50px 20px;
  background-color: #222;
  color: #fff;
}

.cta h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.1em;
  margin-bottom: 25px;
}

.btn-quote {
  background-color: #f39c12;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-quote:hover {
  background-color: #e67e22;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-gallery img.big {
    grid-column: span 1; /* prevent layout breaks on small screens */
    height: 300px;
  }
}

/* 📱 Mobile layout */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .logo-container h1 {
    font-size: 1.4rem;
  }

  .logo {
    height: 40px;
  }
}

/* Page header section */
.page-header {
  text-align: center;
  margin: 40px auto 20px;
  max-width: 800px;
}

.page-header h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 10px;
}

.page-header p {
  color: #555;
  font-size: 1.1rem;
}

/* Image gallery layout */
.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 30px auto;
  padding: 0 20px;
}

.gallery-item {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
}

.gallery-item.large {
  flex: 1 1 600px;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.gallery-item p {
  margin-top: 10px;
  color: #333;
  font-size: 1rem;
}

/* Hover effect for gallery images */
.gallery-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.gallery-item:hover img {
  transform: scale(1.08); /* zoom in */
  opacity: 0.9;
}

/* Page backgrounds */
body.commercial,
body.specialized {
  background-color: #f9f9f9;
  color: #333;
}

/* Ensure footer looks same across all pages */
footer {
  background-color: #000 !important; /* force black background */
  color: #fff !important;            /* force white text */
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
  font-size: 0.95rem;
  position: relative;
  z-index: 10;
}

footer p {
  margin: 0;
}

/* --- Contact page footer fix --- */
body.contact footer {
  background-color: #000 !important;
  color: #fff !important;
}

body.contact footer p {
  color: #fff !important;
}

/* Optional: ensure section background doesn’t blend with footer */
body.contact .contact {
  background-color: #f9f9f9; /* light neutral background */
  color: #000; /* readable text */
}


