/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #233241; background: #f7fafd; min-height: 100vh; overflow-x: hidden; }
a { color: #1d77c5; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Make footer stick to bottom on short pages */
html, body { height: 100%; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main flex area */
main { flex: 1 0 auto; }
footer { margin-top: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.brand { display: flex; align-items: center; text-decoration: none; }
.site-logo { width: 260px; height: auto; object-fit: contain; display: block; }

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 90px;
  padding: 6px 0;
}

nav a { margin-left: 25px; font-weight: 500; opacity: 0.9; transition: color 0.2s; }
nav a.active, nav a:hover { color: #176798; opacity: 1; }

/* Hero Section */
.hero {
  width: 100%;
  min-height: calc(100vh - 70px);
  background:
    linear-gradient(rgba(255,255,255,0.25), rgba(255,255,255,0.25)),
    url('livingroom.jpg') no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 40px;
  text-align: center;
  color: #0b2a40;
}
.hero h2 { font-size: 2rem; font-weight: 700; color: #102a4a; }
.hero p { max-width: 700px; margin: 0 auto; font-size: 1.05rem; color: #2c3d55; }

.hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: #176798;
  color: #fff;
  border-radius: 25px;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  margin-top: 18px;
}
.btn-primary:hover { background: #0c4574; }

/* Promo section */
.section-promo { background: #fff; padding: 40px 0; }
.promo-flex { display: flex; gap: 40px; flex-wrap: wrap; }
.promo-flex div { flex: 1; min-width: 240px; }
.promo-flex ul { list-style: disc; margin-left: 17px; margin-bottom: 8px; }
.promo-flex li { margin-bottom: 6px; }

/* Page Headings */
.page-heading { padding: 45px 0 15px 0; }
.page-heading h2 { font-size: 2em; color: #176798; font-weight: 600; letter-spacing: 0.5px; }

/* About */
.about-flex { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.about-flex > div { flex: 1; }
.about-img { max-width: 520px; width: 100%; border-radius: 12px; box-shadow: 0 10px 28px rgba(16, 42, 74, 0.08); }
.about-text-section { padding: 25px 0 0 0; }
.about-features { padding: 30px 0; }
.features-list { list-style: disc inside; line-height: 2.1; color: #176798; font-weight: 500; }

/* Footer */
footer {
  background-color: #2e7dbe;
  color: white;
  padding: 20px 0;
  text-align: center;
  font-size: 0.95rem;
}
footer a { color: white; text-decoration: none; font-weight: 500; }
footer a:hover { text-decoration: underline; }
.footer-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }

/* Services Cards */
.service-cards {
  display: flex; flex-wrap: wrap; gap: 30px; margin-top: 35px; justify-content: space-between;
}
.service-card {
  background: #fff; border-radius: 8px; box-shadow: 0 1px 8px rgba(35,50,65,.08);
  flex: 1 1 270px; min-width: 250px; padding: 26px 20px 18px; margin-bottom: 16px;
}
.service-card h3 { color: #176798; margin-bottom: 9px; font-size: 1.16em; }
.service-card ul { margin-left: 17px; }

/* Contact */
.contact-section { padding: 35px 0 50px; }
.contact-flex { display: flex; gap: 48px; align-items: flex-start; flex-wrap: wrap; }
.contact-flex > div, .contact-form { flex: 1 1 320px; min-width: 260px; }
.contact-details { list-style: none; margin: 12px 0 18px; }
.contact-details li { margin-bottom: 7px; }
.contact-form { background: #fff; border-radius: 8px; box-shadow: 0 1px 12px rgba(35,50,65,.09); padding: 18px 20px 23px; }
.contact-form label { font-weight: 500; display: block; margin-top: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 5px; margin-bottom: 10px; padding: 10px 9px;
  border: 1px solid #c6d2db; border-radius: 5px; font-size: 1em; background: #f6fbfd;
}
.contact-form button { width: 100%; margin-top: 10px; }

/* Responsive */
@media (max-width: 800px){
  .hero { min-height: 60vh; }
  .hero-content, .promo-flex, .about-flex, .footer-flex { flex-direction: column; gap: 28px; }
  .hero-img, .about-img { margin: 0 auto; }
  header .logo { font-size: 1.25em; }
}
@media (max-width: 540px) {
  .footer-flex { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* Gallery */
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
@media (max-width: 900px){ .gallery-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width: 560px){ .gallery-grid{ grid-template-columns:1fr; } }
.gallery-item{ position:relative; display:block; overflow:hidden; border-radius:14px; background:#fff;
  box-shadow:0 1px 10px rgba(35,50,65,.08); transition: opacity .25s ease, transform .25s ease; }
.gallery-item img{ width:100%; height:260px; object-fit:cover; display:block; }
.gallery-item:hover{ box-shadow:0 8px 24px rgba(35,50,65,.12); }
.badge{ position:absolute; left:10px; top:10px; font-size:.8rem; padding:6px 10px; border-radius:999px;
  background:#ffffffde; color:#176798; border:1px solid #cfd9e3; font-weight:700; }

/* === Page Backgrounds === */
body.about-page { background: url("logo/wallpaper1.jpg") no-repeat center center/cover; }
body.gallery-page { background: url("logo/wallpaper3.jpg") center center / cover no-repeat fixed; }
body.services-page { background: url("logo/wallpaper4.jpg") no-repeat center center/cover; }
body.contact-page { background: url("logo/wallpaper5.jpg") no-repeat center center/cover; }

/* Light panel overlay for readability */
.about-page .about-text-section,
.about-page .about-features,
.services-page .services-list,
.gallery-page .container,
.contact-page .contact-section {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(2px);
  border-radius: 14px;
  margin-bottom: 30px;
  padding: 30px 20px;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  padding: 12px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 999;
  transition: 0.3s ease;
}
.whatsapp-button:hover { background-color: #1ebd5a; }
