/*
  Fractional Kiwi Stylesheet

  This file defines the styling for the Fractional Kiwi one‑page site.
  Colors and typography are defined using CSS variables at the top of the
  document.  Sections follow a simple, responsive layout that looks good
  on both desktop and mobile devices.
*/

:root {
  --color-primary: #004e48; /* Kauri Green */
  --color-secondary: #00a99d; /* Pōhutukawa Teal */
  --color-accent: #f5a623; /* Manuka Gold */
  --color-dark: #333333; /* Pukeko Grey */
  --color-light: #f5f5f5; /* Cloud White */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--color-dark);
  background-color: var(--color-light);
  line-height: 1.6;
}

body.menu-open { overflow: hidden; }

/* Navigation bar */
header {
  background-color: rgba(245, 245, 245, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  width: 40px;
  height: auto;
  margin-right: 0.5rem;
}

.site-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--color-dark);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-secondary);
}
/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #004e48; /* Change to match site theme */
  border-radius: 2px;
}
/* Hero section */
.hero {
  height: 100vh;
  background-image: url('../images/hero_background.png');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 3rem 1rem;
  border-radius: 0.5rem;
  color: #ffffff;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-secondary);
  color: #ffffff;
  border-radius: 0.3rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: var(--color-primary);
}

/* Generic section styling */
section {
  padding: 5rem 1rem;
}

/* Section headings */
.services h2,
.about h2,
.contact h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

/* Services grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--color-light);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

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

.service-icon {
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.service-card p {
  font-size: 0.95rem;
}

/* About section */
.about {
  background-color: var(--color-light);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about p {
  font-size: 1.1rem;
}

/* Contact section */
.contact {
  background-color: #ffffff;
}

#form-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-note {
  text-align: center;
  margin-top: 1rem;
}

/* Footer */
footer {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1.2rem;
  }
    .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: white; /* match site background */
    position: absolute;
    top: 60px; /* height of your navbar */
    right: 0;
    width: 200px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  .nav-links.active {
    display: flex;
  }
}