@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
  /* South African Inspired Colors */
  --color-primary: #007749; /* Green */
  --color-secondary: #FFB81C; /* Gold */
  --color-dark: #121212;
  --color-darker: #0a0a0a;
  --color-light: #f4f4f9;
  --color-white: #ffffff;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  --transition: all 0.3s ease;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  background: linear-gradient(45deg, var(--color-secondary), var(--color-white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2.5rem;
  color: var(--color-secondary);
}

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  background: rgba(18, 18, 18, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo h2 {
  font-size: 1.8rem;
  margin: 0;
  color: var(--color-white);
  letter-spacing: 2px;
}

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

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

nav a {
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--color-secondary);
  transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover,
nav a.active {
  color: var(--color-secondary);
}

/* Main Content & Hero */
main {
  margin-top: 80px; /* Space for fixed header */
  min-height: calc(100vh - 80px - 200px);
}

.hero {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.9)), url('https://images.unsplash.com/photo-1595590424283-b8f1784cb2c8?auto=format&fit=crop&q=80') center/cover;
  padding: 0 20px;
}

.hero-content {
  max-width: 800px;
  animation: fadeIn 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #ccc;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 119, 73, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 119, 73, 0.6);
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
  box-shadow: none;
  margin-left: 1rem;
}

.btn-secondary:hover {
  background: var(--color-secondary);
  color: var(--color-dark);
  box-shadow: 0 6px 20px rgba(255, 184, 28, 0.4);
}

/* Sections */
.section {
  padding: 5rem 5%;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
}

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

/* Footer */
footer {
  background: var(--color-darker);
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

footer p {
  color: #888;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1rem;
  }
  
  nav ul {
    margin-top: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  h1 { font-size: 2.5rem; }
  
  .btn-secondary {
    margin-left: 0;
    margin-top: 1rem;
  }
}
