/*
Theme Name: Atlas LLP
Theme URI: http://example.com/atlas-llp
Author: Atlas LLP
Author URI: http://example.com
Description: Corporate website for Atlas LLP
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atlas-llp
*/

:root {
  /* Colors - Light Corporate */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --text-primary: #2C3E50;
  --text-secondary: #596a7d;
  --accent: #003366;
  /* Navy Blue */
  --accent-gold: #C7A36B;
  /* Subtle Gold */
  --border-light: #E2E8F0;
  --white: #FFFFFF;
  --card-bg: #FFFFFF;

  /* Spacing */
  --section-padding: 80px 0;

  /* Typography */
  --font-heading: "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-body: "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

html {
  overflow-y: scroll;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

section {
  padding: var(--section-padding);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo span,
.logo-text {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  margin-left: 10px;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

.nav-link span {
  font-size: 0.75em;
  margin-left: 4px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 600px;
  background-color: var(--accent);
  /* Use main accent (Navy Blue) */
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('atlas_bg.png');
  background-repeat: no-repeat;
  background-position: 70% center;
  /* Shifted right, centered vertically */
  background-size: auto 85%;
  /* Restrict height to 85% to ensure top/bottom margins */
  opacity: 0.3;
  /* Slightly increased for visibility with blend mode */
  mix-blend-mode: lighten;
  /* Blends the dark background of the image with the section background */
  pointer-events: none;
}

.container.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  color: var(--white);
  max-width: 600px;
}

.hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image-container img {
  max-width: 100%;
  height: auto;
  max-height: 550px;
  /* Radial mask for soft blending on all sides */
  mask-image: radial-gradient(closest-side, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(closest-side, black 60%, transparent 100%);
  filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.8));
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.8));
  object-fit: contain;
}

/* Base styles for typography adjustments */
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 100%;
}

@media (max-width: 900px) {
  .hero {
    padding: 60px 0;
    text-align: center;
  }

  .container.hero-inner {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .hero-image-container img {
    max-height: 300px;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: #002244;
  border-color: #002244;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--accent);
}

.btn-text {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 700;
  border-bottom: 1px solid transparent;
}

/* Cards (Clean Corporate) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.card {
  background: var(--bg-primary);
  padding: 32px;
  border: 1px solid var(--border-light);
  border-radius: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--accent);
}

.card h3,
.card h4 {
  margin-bottom: 16px;
  color: var(--accent);
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.text-accent {
  color: var(--accent);
}

/* Section Titles */
/* Section Titles - Vertical Bar Style */
.section-title {
  font-size: 1.5rem;
  margin-bottom: 40px;
  position: relative;
  padding-left: 16px;
  color: var(--text-primary);
  border-left: 5px solid var(--accent);
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.section-title span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.section-title::after {
  content: none;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
}

td,
th {
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

/* Footer */
.site-footer {
  background: #0F1720;
  padding: 60px 0 30px;
  color: #94A3B8;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-content h4 {
  color: white;
}

.footer-content a:hover {
  color: white;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header {
    padding: 15px 0;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .section-title {
    font-size: 1.75rem;
  }
}