/* ========================================
   Canberra Pool Landscaping - Main Stylesheet
   Luxury Minimalist Design Philosophy
   ======================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Montserrat:wght@400;500;600;700&family=Lato:wght@400;500;700&display=swap');

/* ========================================
   CSS Variables - Design Tokens
   ======================================== */
:root {
  /* Colors */
  --color-cream: #F8F7F5;
  --color-charcoal: #1A1A1A;
  --color-gold: #D4AF37;
  --color-sage: #A8B8A8;
  --color-light-gray: #E8E8E8;
  --color-muted: #888888;
  --color-border: #D0D0D0;
  
  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-accent: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 5rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* ========================================
   Global Styles
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-cream);
  color: var(--color-charcoal);
  line-height: 1.6;
  font-size: 16px;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.875rem;
  line-height: 1.3;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

a {
  color: var(--color-charcoal);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-gold);
}

/* ========================================
   Buttons & CTAs
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 0.875rem 1.5rem;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: #C9A02E;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-charcoal);
  border: 2px solid var(--color-charcoal);
}

.btn-outline:hover {
  background-color: var(--color-charcoal);
  color: var(--color-cream);
}

.btn-secondary {
  background-color: var(--color-charcoal);
  color: var(--color-cream);
}

.btn-secondary:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* ========================================
   Navigation
   ======================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(248, 247, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: bold;
}

.nav-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--color-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.nav-logo-text h2 {
  font-size: 1.125rem;
  margin-bottom: 0.125rem;
}

.nav-logo-text p {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin: 0;
  font-family: var(--font-accent);
}

.nav-menu {
  display: none;
  list-style: none;
  gap: 2rem;
}

.nav-menu.active {
  display: flex;
}

.nav-menu a {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-charcoal);
}

.nav-menu a:hover {
  color: var(--color-gold);
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
}

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--color-charcoal);
  stroke-width: 2;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex !important;
  }
  
  .nav-toggle {
    display: none;
  }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  margin-top: 5rem;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.05) 0%, rgba(168, 184, 168, 0.1) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  pointer-events: none;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  padding: 2rem 0;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin-bottom: var(--spacing-md);
}

.hero-title {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
}

.hero-title .accent {
  color: var(--color-gold);
  display: block;
  margin-top: var(--spacing-sm);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-muted);
  margin-bottom: var(--spacing-lg);
  max-width: 500px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--color-border);
}

.stat {
  flex: 1;
  min-width: 150px;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  color: var(--color-muted);
}

.hero-image {
  position: relative;
  height: 300px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent, var(--color-cream));
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero {
    padding: 4rem 1.5rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-image {
    height: 400px;
  }
  
  .hero-ctas {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 5rem 1.5rem;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-image {
    height: 500px;
  }
}

/* ========================================
   Services Section
   ======================================== */
.services {
  padding: 4rem 1.5rem;
  background-color: rgba(168, 184, 168, 0.05);
}

.services-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3rem;
}

.section-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin-bottom: var(--spacing-md);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 600px;
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.service-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-gold);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services {
    padding: 5rem 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Residential Section
   ======================================== */
.residential {
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.residential::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.05) 0%, transparent 100%);
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 85%);
  pointer-events: none;
}

.residential-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.residential-image {
  position: relative;
  height: 300px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.residential-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.residential-content h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.residential-content p {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
}

.benefits-list {
  list-style: none;
  margin-bottom: var(--spacing-lg);
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
  color: var(--color-muted);
}

.benefits-list li::before {
  content: '›';
  color: var(--color-gold);
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: -0.25rem;
}

@media (min-width: 768px) {
  .residential {
    padding: 5rem 1.5rem;
  }
  
  .residential-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .residential-image {
    height: 400px;
    order: -1;
  }
}

/* ========================================
   Commercial Section
   ======================================== */
.commercial {
  padding: 4rem 1.5rem;
  background-color: rgba(168, 184, 168, 0.05);
}

.commercial-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.commercial-image {
  position: relative;
  height: 300px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.commercial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commercial-content h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
  .commercial {
    padding: 5rem 1.5rem;
  }
  
  .commercial-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .commercial-image {
    height: 400px;
  }
}

/* ========================================
   Trust Section
   ======================================== */
.trust {
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.trust::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(168, 184, 168, 0.05) 100%);
  clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
  pointer-events: none;
}

.trust-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.trust-header {
  margin-bottom: 3rem;
}

.trust-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.trust-description {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.trust-item {
  padding: 1.5rem;
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.trust-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-gold);
  margin-bottom: var(--spacing-xs);
}

.trust-label {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  color: var(--color-muted);
}

@media (min-width: 768px) {
  .trust {
    padding: 5rem 1.5rem;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
  padding: 4rem 1.5rem;
  background-color: var(--color-charcoal);
  color: var(--color-cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
  clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 80%);
  pointer-events: none;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 2.5rem;
  color: var(--color-cream);
  margin-bottom: var(--spacing-md);
}

.cta p {
  font-size: 1.05rem;
  color: rgba(248, 247, 245, 0.9);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
}

.cta .btn-primary {
  margin-top: var(--spacing-md);
}

@media (min-width: 768px) {
  .cta {
    padding: 5rem 1.5rem;
  }
  
  .cta h2 {
    font-size: 3rem;
  }
}

/* ========================================
   Footer
   ======================================== */
footer {
  background-color: var(--color-cream);
  border-top: 1px solid var(--color-border);
  padding: 3rem 1.5rem 2rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
  font-family: var(--font-display);
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.footer-col ul li a:hover {
  color: var(--color-gold);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.footer-logo-icon {
  width: 2rem;
  height: 2rem;
  background-color: var(--color-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--color-gold);
}

@media (min-width: 768px) {
  footer {
    padding: 4rem 1.5rem 2rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   Utilities
   ======================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.hidden {
  display: none;
}

@media (min-width: 768px) {
  .hidden-mobile {
    display: none;
  }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}
