/* === Kerry Cleaning & Property Management - Main Styles === */

/* Brand Colors */
::root {
  --brand: #25D366;      /* WhatsApp green */
  --brand-dark: #111111; /* dark accent */
  --text: #111;
  --muted: #555;
  --bg: #ffffff;
  --bg-alt: #f7f9fb;
  --border: #eee;
}

/* Global Page Setup */
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
}

/* Header Section */
header {
  background: linear-gradient(to right, var(--blue), var(--green));
  color: white;
  text-align: center;
  padding: 50px 20px;
}

header h1 {
  font-size: 28px;
  margin: 0;
}

header p {
  font-size: 16px;
  font-style: italic;
  margin: 5px 0 0;
}

/* About Section */
#about {
  padding: 40px 20px;
  background: white;
  text-align: left;
}

#about h2 {
  text-align: center;
  color: var(--blue);
  margin-bottom: 15px;
}

#about p {
  line-height: 1.7;
  font-size: 16px;
}

/* Services Section */
#services {
  padding: 40px 20px;
  background-color: #f4f8fb;
  border-top: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  text-align: left;
}

#services h2 {
  text-align: center;
  color: var(--blue);
  margin-bottom: 15px;
  font-size: 24px;
}

#services ul {
  list-style: none;
  padding: 0;
}

#services li {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.6;
}

#services li strong {
  color: var(--green);
}

/* Contact Section */
#contact {
  padding: 40px 20px;
  text-align: center;
  background: white;
}

#contact h2 {
  color: var(--blue);
}

#contact a {
  color: var(--green);
  text-decoration: none;
  font-weight: bold;
}

/* WhatsApp Button */
.whatsapp-button {
  display: inline-block;
  background-color: var(--green);
  color: white;
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
}

.whatsapp-button:hover {
  background-color: #249c5b;
}

/* Footer */
footer {
  background: var(--blue);
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}
/* === Sticky Navigation Bar === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #ffffffcc; /* slightly transparent white */
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--border);
}

.top-nav .brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.top-nav .nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 14px;
  align-items: center;
}

.top-nav .nav-links a {
  text-decoration: none;
  color: #222;
  padding: 8px 10px;
  border-radius: 8px;
}

.top-nav .nav-links a:hover {
  background: #f4f6f8;
}

/* WhatsApp button in nav */
.btn-whats {
  background: var(--brand);
  color: #fff !important;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
}

/* Mobile view */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 22px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 12px;
    left: 12px;
    flex-direction: column;
    background: #fff;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }/* === QR Button Styling === */
.qr-button {
  text-align: center;
  margin-top: 10px;
}

.btn-scan {
  background: linear-gradient(90deg, #00A884, #007BFF);
  color: white;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0, 128, 255, 0.3);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-scan:hover {
  background: linear-gradient(90deg, #007BFF, #00A884);
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 128, 255, 0.4);
} /* === QR Button Animation (Mobile Friendly) === */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 168, 132, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(0, 168, 132, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 168, 132, 0);
  }
}

/* Apply animation */
.btn-scan {
  animation: pulseGlow 2s infinite;
}/* === Mobile Responsive: Replace button text with WhatsApp icon === */
@media (max-width: 600px) {
  .btn-scan {
    font-size: 0; /* hides text */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(90deg, #00A884, #007BFF);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn-scan::before {
    content: "💬"; /* WhatsApp-style chat bubble emoji */
    font-size: 28px;
  }
/* ===== Sticky Header & Top Nav ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.top-nav{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
}

.brand{
  font-weight: 700;
  text-decoration: none;
  color: var(--dark);
}

/* nav links */
.nav-links{
  list-style: none;
  display: flex;
  gap: 14px;
  margin-left: auto;
  padding-left: 0;
}

.nav-links a{
  text-decoration: none;
  color: var(--dark);
  padding: 8px 10px;
  border-radius: 8px;
}

.nav-links a:hover{
  background: var(--light);
}

/* WhatsApp button in the nav */
.btn-whats{
  background: #25D366;   /* WhatsApp green */
  color: #fff;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
}

/* mobile: show hamburger and collapsible menu */
.nav-toggle{
  display: none;
  margin-left: auto;
  font-size: 24px;
  background: transparent;
  border: 0;
}

@media (max-width: 768px){
  .nav-toggle{ display: block; }
  .nav-links{
    display: none;
    flex-direction: column;
    width: 100%;
    margin: 8px 0 0;
  }
  .nav-links.show{ display: flex; }
}

