/* ==========================================================================
   UGI Capital - Ulatan Holdings, Inc.
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  /* Color palette from original Wix site (RGB values) */
  --color-white: #ffffff;           /* color_11: 255,255,255 */
  --color-light-gray: #e8e6e6;     /* color_12: 232,230,230 */
  --color-gray: #c7c7c7;           /* color_13: 199,199,199 */
  --color-mid-gray: #999997;       /* color_14: 153,153,151 */
  --color-dark: #272624;           /* color_15: 39,38,36 */
  --color-gold-light: #e5cdb1;     /* color_16: 229,205,177 */
  --color-gold: #e3bb8a;           /* color_17: 227,187,138 */
  --color-gold-dark: #cba16e;      /* color_18: 203,161,110 */
  --color-brown: #665537;          /* color_19: 102,81,55 */
  --color-brown-dark: #33281c;     /* color_20: 51,40,28 */
  --color-navy: #022942;           /* color_30: 2,41,66 */
  --color-blue: #045184;           /* color_29: 4,81,132 */

  --site-width: 980px;
  --content-width: 940px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'din-next-w01-light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px;
  color: var(--color-dark);
  background: var(--color-white);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  background-color: var(--color-brown);
  position: relative;
  z-index: 100;
  border-bottom: 4px solid rgba(255,255,255,0.71);
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.56);
}

.header-inner {
  max-width: var(--site-width);
  margin: 0 auto;
  position: relative;
  min-height: 200px;
  padding-top: 50px;
}

/* Logo area - positioned via absolute within header grid */
.header-logo {
  position: relative;
  width: 283px;
  height: 120px;
  margin-top: 0;
  margin-left: 12px;
}

.logo-layers {
  position: relative;
  width: 283px;
  height: 120px;
}

/* Layer 1: Red geometric SVG (background, opacity 0.69) */
.logo-svg-red {
  position: absolute;
  top: 0;
  left: 0;
  width: 283px;
  height: 120px;
  opacity: 0.69;
}

.logo-svg-red svg {
  width: 100%;
  height: 100%;
}

/* Layer 2: Navy rectangle with gold border */
.logo-svg-navy {
  position: absolute;
  top: 13px;
  left: 7px;
  width: 222px;
  height: 93px;
}

.logo-svg-navy svg {
  width: 100%;
  height: 100%;
}

/* Layer 3: Ornamental crest SVG */
.logo-svg-crest {
  position: absolute;
  top: 17px;
  left: 14px;
  width: 56px;
  height: 84px;
}

.logo-svg-crest svg {
  width: 100%;
  height: 100%;
}

/* UGI text overlaid on the logo */
.logo-ugi {
  position: absolute;
  top: 7px;
  left: 71px;
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  font-size: 60px;
  font-weight: 400;
  color: var(--color-gold);
  line-height: 1.4em;
  text-align: center;
  width: 140px;
  min-height: 62px;
}

/* Subtitle below UGI */
.logo-subtitle {
  position: absolute;
  top: 84px;
  left: 70px;
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-white);
  white-space: nowrap;
  width: 154px;
}

/* Navigation - positioned in header */
.main-nav {
  position: absolute;
  top: 111px;
  left: 261px;
  width: 708px;
  height: 40px;
  display: flex;
  align-items: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0;
}

.main-nav li {
  position: relative;
}

.main-nav li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 1px;
  background: rgba(39,38,36, 1);
}

.main-nav a {
  display: block;
  padding: 5px 20px;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--color-white);
  transition: color 0.4s ease;
  white-space: nowrap;
  line-height: 1.4em;
}

.main-nav a:hover {
  color: var(--color-gold-light);
}

/* Tagline below logo/nav row */
.header-tagline {
  position: relative;
  margin-left: -17px;
  padding-top: 8px;
  padding-bottom: 54px;
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--color-gold-light);
  text-align: center;
  width: 340px;
  line-height: 1.4em;
}

/* ==========================================================================
   Hero Section (City Skyline)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 339px;
  overflow: hidden;
}

.hero-section .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.62;
  z-index: 1;
}

.hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-dark);
  z-index: 0;
}

/* ==========================================================================
   Section Anchors / Spacers
   ========================================================================== */
.section-spacer {
  height: 21px;
  width: 100%;
}

.section-spacer-bottom {
  height: 50px;
  width: 100%;
  background-color: var(--color-white);
}

/* ==========================================================================
   Our Philosophy Section
   ========================================================================== */
.philosophy-section {
  background-color: var(--color-gold-light);
  padding: 0;
}

.philosophy-inner {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 21px 18px 21px;
}

.philosophy-container {
  width: var(--content-width);
  margin: 0 auto;
  border: 2px solid var(--color-gold);
  padding: 0;
  position: relative;
  background: transparent;
}

.philosophy-heading {
  font-family: 'Proxima Nova', 'proxima-n-w01-reg', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1.6em;
  color: var(--color-dark);
  letter-spacing: 0.25em;
  margin: 101px 0 53px 78px;
  width: 513px;
}

.philosophy-text {
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  font-size: 22px;
  line-height: 1.4em;
  color: var(--color-dark);
  margin: 0 0 1em 78px;
  width: 790px;
}

.philosophy-text:last-child {
  margin-bottom: 10px;
}

/* ==========================================================================
   Image Parallax Divider (Building Photo)
   ========================================================================== */
.image-divider {
  position: relative;
  width: 100%;
  min-height: 427px;
  overflow: hidden;
}

.image-divider .divider-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/about-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 1;
}

.image-divider .divider-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-dark);
  opacity: 0;
}

/* ==========================================================================
   Our Capital Fund Markets Section
   ========================================================================== */
.markets-section {
  background-color: var(--color-white);
  padding: 0;
}

.markets-inner {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0;
}

.markets-heading {
  font-family: 'Proxima Nova', 'proxima-n-w01-reg', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.6em;
  letter-spacing: 0.25em;
  color: var(--color-dark);
  margin: 0 0 25px 21px;
}

.markets-divider {
  width: var(--content-width);
  height: 5px;
  margin: 0 0 58px 21px;
  position: relative;
}

.markets-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-gray);
}

/* Market category blocks - side by side layout */
.market-item {
  display: flex;
  gap: 0;
  margin-bottom: 57px;
  align-items: flex-start;
  padding: 0 0 0 0;
}

.market-item:last-of-type {
  margin-bottom: 55px;
}

.market-label {
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8em;
  letter-spacing: 0.2em;
  color: var(--color-dark);
  width: 228px;
  flex-shrink: 0;
  padding-left: 23px;
  min-height: 89px;
}

.market-description {
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  font-size: 16px;
  line-height: 1.6em;
  color: var(--color-dark);
  width: 549px;
  flex-shrink: 0;
  margin-left: calc(300px - 228px - 23px);
}

/* Between market items - thin separator lines */
.market-separator {
  width: var(--content-width);
  height: 5px;
  margin: 0 0 57px 21px;
  position: relative;
}

.market-separator::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-gray);
}

/* ==========================================================================
   Footer (includes Contacts Section)
   ========================================================================== */
.site-footer {
  background-color: var(--color-white);
  padding: 0;
}

.footer-inner {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0;
}

/* Point of Contacts heading */
.contacts-heading {
  font-family: 'Proxima Nova', 'proxima-n-w01-reg', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6em;
  letter-spacing: 0.25em;
  color: var(--color-dark);
  margin: 57px 0 36px 21px;
  width: 514px;
}

.contacts-heading a {
  color: inherit;
  text-decoration: none;
}

.contacts-heading a:hover {
  text-decoration: underline;
}

/* Contact container with border */
.contact-container {
  width: var(--content-width);
  margin: 0 0 10px 20px;
  border: 1px solid var(--color-dark);
  position: relative;
  overflow: hidden;
}

/* Contact grid - absolute positioning like original */
.contact-grid {
  position: relative;
  min-height: 300px;
  padding: 0;
}

/* Column headers (row 1) */
.contact-column-header {
  position: absolute;
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8em;
  letter-spacing: 0.2em;
  color: var(--color-dark);
  width: 214px;
}

.contact-column-header:nth-of-type(1) {
  top: 29px;
  left: 38px;
}

.contact-column-header:nth-of-type(2) {
  top: 19px;
  left: 356px;
}

.contact-column-header:nth-of-type(3) {
  top: 29px;
  left: 660px;
}

/* Column content (row 2) */
.contact-column-content {
  position: absolute;
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  font-size: 22px;
  line-height: 1.6em;
  color: var(--color-dark);
  width: 243px;
  min-height: 80px;
}

.contact-column-content:nth-of-type(4) {
  top: 105px;
  left: 23px;
}

.contact-column-content:nth-of-type(5) {
  top: 105px;
  left: 348px;
}

.contact-column-content:nth-of-type(6) {
  top: 105px;
  left: 673px;
}

.contact-column-content a {
  color: var(--color-gold-dark);
  font-weight: 700;
}

.contact-column-content a:hover {
  text-decoration: underline;
}

.contact-column-content .or-text {
  color: #000000;
  font-weight: 400;
}

.contact-column-content p {
  margin: 0;
}

.contact-column-content .contact-link {
  font-weight: 700;
  color: var(--color-gold-dark);
}

.contact-column-content .contact-address {
  font-weight: 700;
  color: var(--color-gold-dark);
}

/* Vertical divider lines in contact grid */
.contact-vline {
  position: absolute;
  width: 1px;
  background: var(--color-dark);
}

.contact-vline-1 {
  left: 313px;
  top: 0;
  height: 100%;
}

.contact-vline-2 {
  left: 627px;
  top: 0;
  height: 100%;
}

/* Footer bottom row: Back to Top + Copyright */
.footer-bottom {
  display: flex;
  align-items: center;
  padding: 0 0 22px 0;
  position: relative;
  min-height: 56px;
}

.back-to-top {
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  font-size: 16px;
  line-height: 1.4em;
  color: var(--color-dark);
  text-decoration: none;
  margin-left: 21px;
  width: 90px;
  height: 40px;
  display: flex;
  align-items: center;
  transition: color 0.4s ease;
}

.back-to-top:hover {
  color: var(--color-gold);
}

.footer-copyright {
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  font-size: 16px;
  line-height: 1.4em;
  color: var(--color-gold-light);
  position: absolute;
  left: 522px;
  width: 440px;
  margin-top: 10px;
}

/* ==========================================================================
   Responsive / Mobile
   ========================================================================== */
@media (max-width: 1024px) {
  .header-inner {
    min-height: auto;
    padding: 10px 20px;
  }

  .header-logo {
    margin-left: 0;
    margin-top: 20px;
  }

  .main-nav {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    margin-top: 10px;
  }

  .header-tagline {
    width: auto;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 20px;
  }

  .main-nav a {
    font-size: 16px;
    padding: 6px 14px;
  }

  .philosophy-heading {
    margin-left: 40px;
    width: auto;
  }

  .philosophy-text {
    margin-left: 40px;
    width: auto;
    padding-right: 40px;
    font-size: 18px;
  }

  .philosophy-container {
    width: auto;
  }

  .markets-heading {
    margin-left: 15px;
  }

  .markets-divider {
    width: auto;
    margin-left: 15px;
    margin-right: 15px;
  }

  .market-item {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .market-label {
    width: 100%;
    padding-left: 0;
    min-height: auto;
  }

  .market-description {
    width: 100%;
    margin-left: 0;
  }

  .market-separator {
    width: auto;
    margin-left: 15px;
    margin-right: 15px;
  }

  .contact-container {
    width: auto;
    margin: 0 20px 10px;
  }

  .contacts-heading {
    width: auto;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: auto;
    padding: 30px 20px;
  }

  .contact-column-header,
  .contact-column-content {
    position: static;
    width: 100%;
  }

  /* Reorder contact grid so headers pair with their content */
  .contact-column-header:nth-of-type(1) { order: 1; }
  .contact-column-content:nth-of-type(4) { order: 2; margin-bottom: 25px; }
  .contact-column-header:nth-of-type(2) { order: 3; }
  .contact-column-content:nth-of-type(5) { order: 4; margin-bottom: 25px; }
  .contact-column-header:nth-of-type(3) { order: 5; }
  .contact-column-content:nth-of-type(6) { order: 6; }

  .contact-vline {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }

  .footer-copyright {
    position: static;
    width: auto;
    margin-top: 5px;
  }
}

@media (max-width: 640px) {
  /* Scale logo for small screens */
  .header-logo,
  .logo-layers {
    width: 220px;
    height: 95px;
  }

  .logo-svg-red {
    width: 220px;
    height: 95px;
  }

  .logo-svg-navy {
    width: 172px;
    height: 72px;
  }

  .logo-svg-crest {
    width: 44px;
    height: 66px;
  }

  .logo-ugi {
    font-size: 46px;
    left: 55px;
    top: 5px;
    width: 110px;
  }

  .logo-subtitle {
    top: 65px;
    left: 55px;
    font-size: 10px;
    width: 120px;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }

  .main-nav li + li::before {
    display: none;
  }

  .main-nav a {
    font-size: 16px;
    padding: 6px 12px;
  }

  .hero-section {
    min-height: 200px;
  }

  .philosophy-container {
    padding: 0;
    border-width: 1px;
    margin: 0 10px;
  }

  .philosophy-heading {
    font-size: 24px;
    letter-spacing: 0.1em;
    margin: 40px 0 30px 20px;
  }

  .philosophy-text {
    font-size: 16px;
    letter-spacing: 0.02em;
    margin-left: 20px;
    padding-right: 20px;
  }

  .markets-heading {
    font-size: 22px;
    letter-spacing: 0.1em;
  }

  .markets-inner {
    padding: 0 15px;
  }

  .market-item {
    margin-bottom: 35px;
  }

  .market-label {
    font-size: 15px;
    letter-spacing: 0.1em;
  }

  .market-description {
    font-size: 14px;
  }

  .market-separator {
    margin-bottom: 35px;
  }

  .image-divider {
    min-height: 200px;
  }

  .image-divider .divider-bg {
    background-attachment: scroll;
  }

  .contact-container {
    margin: 0 15px;
  }

  .contacts-heading {
    font-size: 20px;
    letter-spacing: 0.1em;
    margin-left: 15px;
  }

  .contact-column-header {
    font-size: 16px;
    letter-spacing: 0.1em;
  }

  .contact-column-content {
    font-size: 18px;
  }

  .footer-copyright {
    font-size: 13px;
  }

  .section-spacer-bottom {
    height: 30px;
  }
}
