/* ------------------------------
   GLOBAL STYLES
--------------------------------*/
:root {
  --qc-red: #b71c1c;
  --qc-dark: #333;
  --qc-light: #f4f4f4;
  --qc-blue: #003366;
  --qc-grey: #666;
  --qc-max-width: 1100px;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--qc-dark);
  background: white;
}

.container {
  width: 90%;
  max-width: var(--qc-max-width);
  margin: 0 auto;
}

/* ------------------------------
   HEADER + NAVIGATION
--------------------------------*/
header {
  background: var(--qc-blue);
  color: white;
  padding: 1rem 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-left img {
  max-width: 60px;   /* adjust smaller if needed */
  height: auto;
}

.nav-title {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: var(--qc-red);
}

nav a.active {
  color: var(--qc-red);
  font-weight: 700;
}

/* ------------------------------
   HAMBURGER MENU (MOBILE)
--------------------------------*/
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  color: white;
}

/* Mobile menu behaviour */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: var(--qc-blue);
    padding: 1rem;
    border-top: 1px solid #fff;
    margin-top: 1rem;
  }

  nav ul.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

/* ------------------------------
   PAGE SECTIONS
--------------------------------*/
section {
  padding: 3rem 0;
}

h1, h2, h3 {
  color: var(--qc-blue);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--qc-grey);
}

/* ------------------------------
   IMAGES
--------------------------------*/
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------
   FOOTER
--------------------------------*/
footer {
  background: var(--qc-dark);
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
  text-align: center;
}

footer a {
  color: var(--qc-red);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
.footer-watermark {
  background: none !important;
}
.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  margin: 1.5rem 0;
  width: 100%;
}
.footer-abn {
  font-size: 0.95rem;
  opacity: 0.9;
  color: white; /* adjust if your footer uses dark text */
}
/* ============================
   CUSTOM IMAGE SECTIONS
   ============================ */

.hero-banner {
  width: 100%;
  height: 420px;
  background-image: url("../images/hero-photo.jpg");
  background-size: cover;
  background-position: center 70%; /* shows more foreground, less sky */
  background-repeat: no-repeat;
}

/* PAGE WATERMARK */
.page-watermark {
  background: none !important;
}

/* ============================
   SERVICES SECTION
   ============================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-left: 6px solid var(--qc-blue);
}

.service-card h3 {
  margin-top: 0;
  color: var(--qc-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
/* SERVICE CARD HOVER EFFECT */
.service-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
/* FADE-IN ANIMATION */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-left: 6px solid var(--qc-blue);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 1; /* was 0 */
}

/* Staggered animation timing */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
/* SERVICES SECTION BACKGROUND */
#services {
  background-image: url("../images/gapatsunset.jpg");
  background-size: cover;
  background-position: center 60%; /* adjust crop if needed */
  background-repeat: no-repeat;
  position: relative;
  padding: 4rem 0;
}

#services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(2px);
  z-index: 1;
}

#services > .container {
  position: relative;
  z-index: 2;
}
/* SECTION DIVIDER */
.section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--qc-blue), transparent);
  margin: 3rem 0;
}
.service-icon {
  width: 28px;
  height: 28px;
  fill: var(--qc-blue);
  flex-shrink: 0;
}
.page-hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center 35%; /* more sky, less foreground */
  border-radius: 6px;
  margin: 2rem 0;
}
.page-hero-image {
  opacity: 1 !important;
  filter: none !important;
}
#about,
#country {
  background-image: url("../images/westmacsatsunset.jpg");
  background-size: cover;
  background-position: center 60%; /* adjust to show more mountain */
  background-repeat: no-repeat;
  position: relative;
  padding: 4rem 0;
}
#about,
#about h1,
#about h2,
#about h3,
#about p,
#about li {
  color: white !important;
}

#about * {
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
#services,
#services h1,
#services h2,
#services h3,
#services p,
#services li,
#services a {
  color: black !important;
  text-shadow: none !important;
}
#contact {
  background-image: url("../images/gapatsunset.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

#contact > .container {
  position: relative;
  z-index: 2;
}

#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}

#contact,
#contact h2,
#contact p,
#contact a,
#contact li,
#contact input,
#contact textarea {
  color: white !important;
}
footer,
footer * {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6) !important;
}

footer a {
  color: #ffffff !important;
  text-decoration: underline;
}
/* Restore gapatsunset as the Contact section background and keep text on top */
#contact {
  background-image: url("../images/gapatsunset.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

/* Ensure the content sits above any pseudo overlays */
#contact > .container {
  position: relative;
  z-index: 2;
}

/* If you previously added a ::before overlay that hides content, neutralise it */
#contact::before {
  content: none !important;
}

/* Make contact text readable (adjust color if needed) */
#contact,
#contact h1,
#contact h2,
#contact h3,
#contact p,
#contact a,
#contact li {
  color: white !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6) !important;
}
/* Override white text inside form fields */
#contact input,
#contact textarea {
  color: black !important;
  background-color: #ffffff;
}

/* Optional: placeholder text colour */
#contact input::placeholder,
#contact textarea::placeholder {
  color: #555 !important;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  background-color: #c95f2e;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
}

.contact-form button:hover {
  background-color: #a94f26;
}

.form-success {
  margin-top: 1rem;
  padding: 12px;
  background: #e6ffe6;
  border: 1px solid #8bc48b;
  color: #2f6b2f;
  border-radius: 6px;
  font-weight: bold;
}
