/* Variable Definitions */
:root {
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-text-light: #666666;
  --color-primary: #111111;
  /* Deep Charcoal / Black */
  --color-accent: #C5A059;
  /* Subtle Gold/Bronze */
  --color-accent-hover: #a88645;
  --color-surface: #f9f9f9;
  --color-surface-dark: #111111;
  --color-text-on-dark: #f5f5f5;

  --font-main: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  /* Adding a serif for headings for a premium feel */

  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  --container-width: 1200px;
  --header-height: 80px;

  --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-on-dark);
}

.btn-primary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-text-on-dark);
}

/* Header */
.header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--color-primary);
}

/* Mobile Navigation & Hamburger */
.hamburger-menu {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-primary);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hamburger Open State */
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
}

.nav-links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  font-family: var(--font-main);
  color: var(--color-text);
}

.nav-links a:hover {
  color: var(--color-accent);
}

/* SVG Icons */
.icon-box {
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.icon-box svg {
  width: 40px;
  height: 40px;
}


/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--color-surface-dark);
  /* Fallback */
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Parallax feel */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Darken image for text readability */
  z-index: 1;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

/* Sections General */
.section {
  padding: var(--spacing-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  font-size: 1.1rem;
}

/* Acquisition Section & Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.rounded-image {
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.investment-profile {
  background-color: var(--color-bg);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: var(--spacing-lg);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.profile-header {
  margin-bottom: var(--spacing-md);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.profile-item {
  padding: var(--spacing-sm);
}

.profile-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--color-primary);
}

.profile-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* FAQ Section (Accordion) */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: var(--spacing-sm);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

details {
  padding: var(--spacing-sm) var(--spacing-md);
  cursor: pointer;
}

summary {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  list-style: none;
  /* Hide default triangle */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
  /* Turns + into x */
}

details p {
  margin-top: var(--spacing-sm);
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: var(--spacing-sm);
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section (Dark) */
.dark-bg {
  background-color: var(--color-surface-dark);
  color: var(--color-text-on-dark);
}

.dark-bg .section-title,
.dark-bg h3,
.dark-bg p {
  color: var(--color-text-on-dark);
}

.large-text {
  font-size: 1.5rem;
  font-weight: 300;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  padding-left: var(--spacing-md);
  border-left: 3px solid var(--color-accent);
  /* Golden accent line */
  text-align: left;
  /* Align left with the border */
}

/* Contact Section */
.contact-section {
  text-align: center;
  position: relative;
  background-image: url('contact-bg.png');
  background-size: cover;
  background-position: center;
  padding: var(--spacing-xl) 0;
  color: #fff;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.85);
  /* Dark overlay for text readability */
  z-index: 1;
}

.contact-wrapper {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.contact-wrapper h2 {
  color: #fff;
}

.contact-wrapper p {
  color: #e0e0e0;
}

.contact-form {
  background: #fff;
  padding: var(--spacing-md);
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  margin-top: var(--spacing-md);
  text-align: left;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--color-text);
}

.form-group textarea {
  resize: vertical;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Footer */
.footer {
  padding: var(--spacing-md) 0;
  text-align: center;
  background-color: var(--color-surface-dark);
  color: #666;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  /* Mobile Menu Logic */
  .hamburger-menu {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-md) 0;
    gap: var(--spacing-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Hidden by default on mobile */
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .nav {
    justify-content: space-between;
    /* Keep logo and burger apart */
  }
}