/* AGENT-INFO
=========================================================
LTRJ LABS STYLESHEET
- Architecture: This file contains the primary theme colors, typography (Montserrat, Roboto Slab), and layout overrides.
- Subpages: Components like .testimonial-card, .service-card, and .team-member are styled here.
- GPU Acceleration: Watch for transform: translateZ(0) on animations to prevent pixelation.
=========================================================
*/
/* 
   Modern Layout Stylesheet - LTRJ Labs
   Native CSS Flexbox & Grid replacement for legacy Bootstrap 3 layout features
*/

/* Basic Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Global Link Reset */
a {
    text-decoration: none;
}
a:hover, a:focus {
    text-decoration: none;
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.container-fluid {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Flex Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

/* Column base styles */
[class*="col-"] {
    position: relative;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Mobile defaults (under 768px) */
.col-xs-12, .col-sm-6, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-10, .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Small tablets / landscape phones (768px and up) */
@media (min-width: 768px) {
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Medium screens (992px and up) */
@media (min-width: 992px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .col-md-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    .col-md-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }
    .col-md-offset-1 {
        margin-left: 8.333333%;
    }
    .col-md-offset-2 {
        margin-left: 16.666667%;
    }
}

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Image Utilities */
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}
.img-circle {
    border-radius: 50%;
}

/* Text alignment & styling */
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-muted {
    color: #888888;
}
body.light-mode .text-muted {
    color: #666666;
}

/* Button UI */
.btn {
    display: inline-block;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-primary, .btn-xl {
    background-color: #FF6600;
    color: #ffffff;
    border-color: #FF6600;
}
.btn-primary:hover, .btn-xl:hover, .btn-primary:focus, .btn-xl:focus {
    background-color: #e65c00;
    border-color: #e65c00;
    color: #ffffff;
    outline: none;
}
.btn-link {
    background: none;
    border: none;
    color: #FF6600;
    padding: 0;
    font-size: 18px;
    box-shadow: none;
}
.btn-link:hover, .btn-link:focus {
    color: #e65c00;
    text-decoration: none;
}

/* List Utilities */
.list-inline {
    padding-left: 0;
    list-style: none;
    margin-left: -5px;
}
.list-inline > li {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
}

/* Navigation Structure Replacement */
.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}
.navbar-fixed-top {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
    top: 0;
}
.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 50px;
}
@media (min-width: 768px) {
    .navbar-header {
        width: auto;
    }
}
.navbar-toggle {
    background-color: transparent;
    background-image: none;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 9px 10px;
    margin-right: 15px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
body.light-mode .navbar-toggle {
    border-color: #ccc;
}
@media (min-width: 768px) {
    .navbar-toggle {
        display: none;
    }
}
.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: #fff;
}
body.light-mode .navbar-toggle .icon-bar {
    background-color: #333;
}
.navbar-brand {
    float: left;
    height: 50px;
    padding: 15px 15px;
    display: flex;
    align-items: center;
}
.navbar-brand img {
    max-height: 40px;
    width: auto;
}
.navbar-collapse {
    width: 100%;
    display: none; /* Controlled via JS for mobile */
}
.navbar-collapse.in {
    display: block;
}
@media (min-width: 768px) {
    .navbar-collapse {
        display: flex !important;
        width: auto;
    }
}
.navbar-nav {
    margin: 7.5px -15px;
    list-style: none;
    padding-left: 0;
}
@media (min-width: 768px) {
    .navbar-nav {
        margin: 0;
        display: flex;
        align-items: center;
    }
}
.navbar-nav > li {
    position: relative;
    display: block;
}
.navbar-nav > li > a {
    position: relative;
    display: block;
    padding: 10px 18px;
}
@media (min-width: 768px) {
    .navbar-nav > li > a {
        padding-top: 14px;
        padding-bottom: 14px;
    }
}
.navbar-right {
    float: none !important;
}
@media (min-width: 768px) {
    .navbar-right {
        margin-left: auto;
    }
}

/* Form inputs replacement */
.form-group {
    margin-bottom: 15px;
}
.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #fff;
    background-color: #1a1a1a;
    background-image: none;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
body.light-mode .form-control {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
.form-control:focus {
    border-color: #FF6600;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(255,102,0,.6);
}
.help-block {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #737373;
}
.text-danger {
    color: #a94442;
}

/* Visibility classes */
.hidden {
    display: none !important;
}
