/* Pham Advisory - Common Styles */
/* This file contains all shared styles across the website */

/* Font Imports */
@font-face {
    font-family: 'brandon-grot-w01-light';
    font-style: normal;
    font-weight: 400;
    src: url('//static.parastorage.com/fonts/v2/fe0edf38-314c-46d5-b570-a37546d197e4/v1/brandon-grot-w01-light.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'avenir-lt-w01_35-light1475496';
    font-style: normal;
    font-weight: 400;
    src: url('//static.parastorage.com/fonts/v2/af36905f-3c92-4ef9-b0c1-f91432f16ac1/v1/avenir-lt-w01_35-light1475496.woff2') format('woff2');
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Variables */
    --color_0: 255, 255, 255;
    --color_1: 33, 38, 53;
    --color_2: 19, 117, 187;
    --color_3: 4, 81, 165;
    --color_4: 244, 247, 248;
    --color_5: 48, 177, 183;
    --color_6: 255, 255, 255;
    --color_7: 190, 196, 214;
    --color_8: 124, 137, 174;
    --color_9: 74, 85, 118;
    --color_10: 33, 38, 53;
    --color_11: 255, 255, 255; /* White - Background */
    --color_12: 190, 196, 214;
    --color_13: 124, 137, 174;
    --color_14: 74, 85, 118;
    --color_15: 33, 38, 53;    /* Dark - Text Primary */
    --color_16: 163, 211, 246;
    --color_17: 71, 167, 236;
    --color_18: 19, 117, 187;
    --color_19: 13, 78, 125;
    --color_20: 6, 39, 62;
    --color_21: 188, 219, 253;
    --color_22: 122, 184, 252;
    --color_23: 55, 148, 250;
    --color_24: 6, 114, 232;
    --color_25: 4, 81, 165;
    --color_26: 250, 251, 252;
    --color_27: 244, 247, 248;
    --color_28: 169, 192, 200;
    --color_29: 96, 137, 150;
    --color_30: 48, 68, 75;
    --color_31: 144, 222, 226;
    --color_32: 48, 177, 183;
    --color_33: 36, 133, 137;
    --color_34: 24, 88, 91;
    --color_35: 12, 44, 46;
    --color_36: 255, 255, 255; /* White */
    --color_37: 33, 38, 53;
    --color_38: 190, 196, 214;
    --color_39: 124, 137, 174;
    --color_40: 74, 85, 118;
    --color_41: 19, 117, 187;  /* Blue - Primary */
    --color_42: 244, 247, 248; /* Light Gray - Background */
    --color_43: 4, 81, 165;    /* Dark Blue */
    --color_44: 255, 255, 255;
    --color_45: 33, 38, 53;
    --color_46: 33, 38, 53;
    --color_47: 74, 85, 118;
    --color_48: 19, 117, 187;
    --color_49: 19, 117, 187;
    --color_50: 255, 255, 255;
    --color_51: 255, 255, 255;
    --color_52: 19, 117, 187;
    --color_53: 19, 117, 187;
    --color_54: 124, 137, 174;
    --color_55: 124, 137, 174;
    --color_56: 255, 255, 255;
    --color_57: 255, 255, 255;
    --color_58: 19, 117, 187;
    --color_59: 19, 117, 187;
    --color_60: 19, 117, 187;
    --color_61: 19, 117, 187;
    --color_62: 255, 255, 255;
    --color_63: 255, 255, 255;
    --color_64: 124, 137, 174;
    --color_65: 124, 137, 174;

    /* Font Variables */
    --font_0: normal normal normal 22px/1.41em brandon-grot-w01-light, sans-serif;
    --font_1: normal normal normal 14px/1.79em avenir-lt-w01_35-light1475496, sans-serif;
    --font_2: normal normal normal 28px/1.375em brandon-grot-w01-light, sans-serif;
    --font_3: normal normal normal 88px/1.2em brandon-grot-w01-light, sans-serif;
    --font_4: normal normal normal 72px/1.25em brandon-grot-w01-light, sans-serif;
    --font_5: normal normal normal 50px/1.34em brandon-grot-w01-light, sans-serif;
    --font_6: normal normal normal 40px/1.35em brandon-grot-w01-light, sans-serif;
    --font_7: normal normal normal 20px/1.67em brandon-grot-w01-light, sans-serif;
    --font_8: normal normal normal 18px/1.75em brandon-grot-w01-light, sans-serif;
    --font_9: normal normal normal 15px/1.875em avenir-lt-w01_35-light1475496, sans-serif;
    --font_10: normal normal normal 14px/1.79em avenir-lt-w01_35-light1475496, sans-serif;

    --max-width: 980px;
}

body {
    font-family: avenir-lt-w01_35-light1475496, Arial, sans-serif;
    line-height: 1.6;
    color: rgb(var(--color_15));
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Classes */
.font_0 {
    font: var(--font_0);
    color: rgb(var(--color_41));
    letter-spacing: 0em;
}

.font_4 {
    font: var(--font_4);
    color: rgb(var(--color_15));
    letter-spacing: 0em;
}

.font_6 {
    font: var(--font_6);
    color: rgb(var(--color_36));
    letter-spacing: 0em;
}

.font_7 {
    font: var(--font_7);
    color: rgb(var(--color_15));
    letter-spacing: 0em;
}

.font_9 {
    font: var(--font_9);
    color: rgb(var(--color_15));
    letter-spacing: 0em;
}

.font_10 {
    font: var(--font_10);
    color: rgb(var(--color_15));
    letter-spacing: 0em;
}

/* Color Classes */
.color_15 {
    color: rgb(var(--color_15));
}

.color_36 {
    color: rgb(var(--color_36));
}

.color_41 {
    color: rgb(var(--color_41));
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
header {
    background: rgb(var(--color_11));
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 129px;
    height: 71px;
}

.tagline {
    font: var(--font_9);
    color: rgb(var(--color_15));
    display: none;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: rgb(var(--color_15));
    font: var(--font_10);
    transition: color 0.4s ease 0s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: rgb(var(--color_43));
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.social-links img {
    width: 100%;
    height: 100%;
}

.social-links a:hover {
    opacity: 0.7;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: rgb(var(--color_15));
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    display: none;
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: rgb(var(--color_15));
    font-size: 2rem;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
}

/* Footer */
footer {
    background: rgb(var(--color_11));
    border-top: 1px solid rgba(var(--color_36), 0.15);
    text-align: center;
    padding: 8px 0 6px 0;
}

footer p {
    font: var(--font_10);
    color: rgb(var(--color_15));
    line-height: 1.79em;
}

/* Page Sections */
.page-section {
    padding: 4rem 0;
}

.section-title {
    font: var(--font_6);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: rgb(var(--color_41));
    color: rgb(var(--color_36));
    text-decoration: none;
    font: var(--font_9);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: rgb(var(--color_43));
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgb(var(--color_41));
    color: rgb(var(--color_41));
}

.btn-secondary:hover {
    background: rgb(var(--color_41));
    color: rgb(var(--color_36));
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Responsive Styles */
@media (max-width: 1024px) {
    :root {
        --font_4: normal normal normal 60px/1.25em brandon-grot-w01-light, sans-serif;
        --font_6: normal normal normal 35px/1.35em brandon-grot-w01-light, sans-serif;
    }
}

@media (max-width: 768px) {
    .header-content {
        position: relative;
        justify-content: space-between;
        align-items: center;
        min-height: 81px; /* Ensure header is tall enough for logo */
    }

    .logo-section {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

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

    .logo {
        height: auto;
        max-height: 71px; /* Prevent logo from being too large */
    }

    .tagline {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgb(var(--color_11));
        flex-direction: column;
        padding: 5rem 2rem;
        opacity: 0;
        transform: scale(0.95);
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: 1001;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
    }

    .nav-menu.active {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
    }

    .nav-menu a {
        font-size: 1.25rem;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: block;
        position: static;
        order: 1;
    }

    .mobile-menu-close {
        display: flex;
    }

    .social-links {
        display: flex;
        order: 3;
    }

    .page-section {
        padding: 3rem 0;
    }

    :root {
        --font_4: normal normal normal 40px/1.25em brandon-grot-w01-light, sans-serif;
        --font_6: normal normal normal 30px/1.35em brandon-grot-w01-light, sans-serif;
        --font_7: normal normal normal 18px/1.67em brandon-grot-w01-light, sans-serif;
    }
}

@media (min-width: 1025px) {
    .tagline {
        display: block;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Accessibility */
:focus {
    outline: 2px solid rgb(var(--color_43));
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Skip to Content Link */
.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1em;
    background: rgb(var(--color_41));
    color: rgb(var(--color_36));
    text-decoration: none;
}

.skip-to-content:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 1rem;
}