:root {
  --bg-primary: #0a0c10;
  --bg-secondary: #12161f;
  --bg-card: #181d28;
  --text-main: #f0f3f8;
  --text-muted: #9aa4b2;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-gold: #f59e0b;
  --border: #232b3b;
  --radius: 8px;
  --container: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font);
  line-height: 1.6;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background: rgba(18, 22, 31, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

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

.btn-outline {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: var(--bg-card);
}

/* Sections */
section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Interactive Slider */
.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 50px 40px;
  gap: 40px;
}

.slide.active {
  display: grid;
}

.slide-content h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #fff;
}

.slide-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.slide-visual img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
}

.dot.active {
  background: var(--accent);
}

/* Grid & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

/* Package Calculator Cards */
.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pkg-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

.price-display {
  margin: 20px 0;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
}

.price-display .amount {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.price-display .gst-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

/* Quote Section */
.quote-banner {
  background: var(--bg-secondary);
  border-left: 4px solid var(--accent);
  padding: 30px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 40px 0;
}

.quote-banner blockquote {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 10px;
}

/* Lightbox Masonry Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  height: 220px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-modal img {
  max-width: 85%;
  max-height: 80vh;
  border-radius: var(--radius);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  font-size: 2rem;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 4px;
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Comparison Table */
.table-responsive {
  overflow-x: auto;
}

table.comp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: var(--bg-card);
}

table.comp-table th, table.comp-table td {
  padding: 14px 18px;
  border: 1px solid var(--border);
  text-align: left;
}

table.comp-table th {
  background: var(--bg-secondary);
}

/* Footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 50px 0 20px;
}

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

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.footer-socials a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-socials a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    padding: 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .slide {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }

  .slide-visual {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}