/* ==========================================================================
   Goodman Holdings - Unified Corporate Stylesheet
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-primary: #1B1B1B;
  --bg-secondary: #121212;
  --bg-card: #222222;
  --bg-card-hover: #2B2B2B;
  
  --border-color: #333333;
  --border-color-hover: #444444;
  
  --accent-gold: #B08D57;
  --accent-gold-hover: #C5A87B;
  --accent-gold-light: rgba(176, 141, 87, 0.08);
  --accent-gold-border: rgba(176, 141, 87, 0.25);
  
  --text-primary: #F5F4EF;
  --text-secondary: #9A9A9A;
  --text-muted: #7A7A7A;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.15), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 20px rgba(176, 141, 87, 0.1);
  
  /* Fonts */
  --font-sans: 'Outfit', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 100px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border: 2px solid var(--bg-primary);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-color-hover);
}

/* Typography & Links */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gold {
  color: var(--accent-gold);
}

.glow-hover {
  transition: var(--transition-normal);
}

.glow-hover:hover {
  box-shadow: var(--shadow-glow);
  border-color: var(--accent-gold);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-active {
  background-color: rgba(176, 141, 87, 0.08);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold-border);
}

.badge-candidate {
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-incubated {
  background-color: rgba(255, 255, 255, 0.01);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Grid & Layout System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Header & Navigation */
header {
  height: var(--header-height);
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(27, 27, 27, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.btn-contact {
  background-color: var(--accent-gold-light);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold-border);
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-contact:hover {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  border-color: var(--accent-gold);
}

/* Hero Section */
.hero {
  padding: 7rem 0 5rem 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(176, 141, 87, 0.06) 0%, rgba(27, 27, 27, 0) 60%);
}

.hero-crest {
  height: 180px;
  width: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 25px rgba(176, 141, 87, 0.35));
  animation: float-logo 6s ease-in-out infinite;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@keyframes float-logo {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-subtitle {
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 0.2em;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Section Common Styles */
section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3.5rem;
  text-align: center;
}

.section-subtitle {
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Mission & Operating Charter Section */
.mission-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.charter-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  transition: var(--transition-normal);
  position: relative;
}

.charter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--accent-gold);
  border-top-left-radius: var(--border-radius-lg);
  border-bottom-left-radius: var(--border-radius-lg);
  opacity: 0.7;
}

.charter-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.charter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.charter-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-secondary);
}

.charter-list li strong {
  color: var(--text-primary);
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.charter-list li::before {
  content: '→';
  color: var(--accent-gold);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* Ventures Showcase Section */
.ventures-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.venture-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.venture-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-hover);
  background-color: var(--bg-card-hover);
}

.venture-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.venture-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.venture-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.venture-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.meta-item {
  display: flex;
  justify-content: space-between;
}

.meta-label {
  color: var(--text-muted);
}

.meta-val {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Policy Content Pages Structure */
.policy-page {
  padding: 5rem 0;
}

.policy-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 3.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.policy-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.policy-title h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.policy-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.policy-body h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.policy-body h3 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.policy-body p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.policy-body ul, .policy-body ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: var(--text-secondary);
}

.policy-body li {
  margin-bottom: 0.5rem;
}

.policy-body .alert-info {
  background-color: rgba(219, 234, 254, 0.03);
  border-left: 4px solid var(--accent-gold);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.policy-body .alert-info p {
  margin-bottom: 0;
}

/* Contact Page Form & Styles */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-top: 2rem;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  border-radius: var(--border-radius);
  transition: var(--transition-normal);
}

.contact-method:hover {
  border-color: var(--accent-gold-border);
}

.contact-method h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--accent-gold);
}

.contact-method p {
  color: var(--text-secondary);
}

.contact-form {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.btn-submit {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  border: 1px solid var(--accent-gold);
  padding: 0.75rem;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.btn-submit:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
}

/* Footer styling */
footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  padding: 4rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-brand h4 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.footer-col h5 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-left: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

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

.footer-legal-links a:hover {
  color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  header {
    --header-height: 80px;
  }
  
  .logo-img {
    height: 52px;
  }
  
  .hero-crest {
    height: 120px;
    margin-bottom: 1.5rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal-links {
    justify-content: center;
  }
}
