@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --primary-color: #1a3a5c;
  --secondary-color: #2d5a87;
  --accent-color: #c9a227;
  --text-color: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --success-color: #28a745;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.15);
  
  /* Heritage Fonts */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Lora', 'Times New Roman', serif;
  --font-ui: 'Segoe UI', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.3;
  font-family: var(--font-heading);
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.2px;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

ul {
  list-style-position: inside;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  background-color: var(--secondary-color);
  color: white;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background-color: var(--accent-color);
  border-color: rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background-color: #b89220;
  border-color: rgba(0, 0, 0, 0.2);
}

.card {
  background-color: var(--bg-white);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 58, 92, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(26, 58, 92, 0.15);
}

.hero {
  background:
    linear-gradient(135deg, rgba(0, 0, 139, 0.4) 0%, rgba(0, 0, 139, 0.4) 100%),
    url('../images/australian-flag.svg') center/contain no-repeat,
    #00008b;
  color: white;
  padding: 5rem 0;
  text-align: center;
  border-bottom: 4px solid var(--accent-color);
}

.hero .container {
  background: rgba(0, 0, 50, 0.75);
  padding: 3rem 2rem;
  border-radius: 8px;
  border: 2px solid rgba(201, 162, 39, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin: 0 auto 2rem;
  font-family: var(--font-body);
  font-style: italic;
}

.section {
  padding: 4.5rem 0;
}

.section-light {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 2rem;
  display: inline-block;
  position: relative;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-color);
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 1.5rem auto 0;
  font-style: italic;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 0;
  }
}