/* Precursor Website - Custom Styles */

:root {
    --primary-color:  rgb(16 48 80);
    --secondary-color: #6c757d;
    --accent-color: #003483;
    --light-bg: #f8f9fa;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #212529;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.precursor-logo-tag {
    font-size: 0.875rem;
    font-weight: normal;
    color: rgba(0, 0, 0, .5) !important;
    margin-left: -34px;
    margin-top: -32px;
}

.precursor-logo-tag-lower {
    margin-top: -32px;
    margin-left: 4px;

}

.precursor-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-lower {
    margin-top: -30px;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* Navigation */
.navbar {
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    /* font-size: 1.25rem; */
    /* font-weight: 700; */
    letter-spacing: 4.5px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

/* Logo Placeholder */
#logo {
    /* Placeholder for logo - will be replaced when PNG is provided */
    display: inline-block;
    margin-left:-30px;
}

/* Cards */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}

.card-body {
    background-color: #f8f8f8;
}

.card-body-transparent {
    background-color: transparent !important;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.btn-lg {
    padding: 0.75rem 2rem;
}

.btn-dark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-dark:hover {
    background-color: #000;
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline-dark:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.bg-dark {
    --bs-bg-opacity: 1;
    background-color: var(--primary-color) !important;
}

.bg-dark-50 {
    --bs-bg-opacity: 0.5;
    background-color: var(--primary-color) !important;
}




/* Hero Section */

.white-logo-container {
    -webkit-mask-image: url("/assets/images/PrecursorLogo.svg");
    mask-image: url("/assets/images/PrecursorLogo.svg");
    background-color: white;
    background-repeat: no-repeat;
    height: 100px;
    width: 300px;
    margin-left: -30px;
    margin-top: -30px;
}

.map-header {
    background-image: url('../images/hdr-map.jpg');
    color: #fff;
    display: flex;
    background-size: cover;
  flex-direction: column; /* Stack items vertically */
  justify-content: flex-end; /* Pushes content to the bottom */
  height: 300px;
    /* text-align: center; */
}

.pw-header {
    background-image: url('../images/hdr-pointwise-meshing.jpg');
    color: #fff;
    background-size:cover;
    /* text-align: center; */
}

.home-header {
    background-image: url('../images/hdr-system-analysis.jpg');
    background-size:cover;
    /* color: #fff;
     text-align: center; */
}

.anchor-to-bottom {
        background-color: #f8f8f8;
}

.support-header {
    background-image: url('../images/hdr-support.jpg');
    color: #fff;
    /* text-align: center; */
}

.pattern-header {
    background-image: url('../images/hdr-pattern.jpg');
    background-size:cover;
    color: #282828;
    /* text-align: center; */
}

.about-header {
    background-image: url('../images/allegro-next-steps-banner.jpg');
    /* line-height: 3.6; */
    color: #fff;
    /* text-align: center; */
}

.software-header {
    background-image: url('../images/hdr-aero-defense.jpg');
    line-height: 3.6;
    color: #fff;
    background-position-y: -113px;
    background-size:cover;
    /* text-align: center; */
}

.software-header > div.container > p.text-muted,
.about-header > div.container > p.text-muted {
    color: #e9ecef !important;
}
.hero-section {
    min-height: 500px;
}

/* Forms */
.form-control,
.form-select {
    border-radius: 0.25rem;
    border: 1px solid #dee2e6;
    padding: 0.625rem 0.75rem;
}

.img-home-channel-partner {
    margin-left: 30px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Footer */
footer a:hover {
    color: #fff !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }

    .hero-section {
        min-height: auto;
    }
}

/* Utility Classes */
.text-primary {
    /* color: var(--accent-color) !important; */
    color: #063da1 !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #063da1 100%);
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none;
    }
}
