/* Modern styling for Ogee Arches */

/* Global improvements */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Better typography */
h2, h3 {
    font-weight: 400;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    transition: color 0.3s, background-color 0.3s;
}

/* Main content improvements */
.app-info-block {
    padding: 80px 8% 100px;
    position: relative;
}

.app-info-block-header {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #13ce67;
    margin-bottom: 0.5rem;
}

.app-info-block-title {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #0F2E4F;
}

.app-info-block-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

.app-info-block:nth-child(even) {
    background: #f5f7fa;
}

/* Card styling */
.sub-block-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    padding: 40px;
    margin: 15px 10px;
}

.sub-block-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.sub-block-image {
    border-radius: 5px;
    margin-top: 20px;
    border: none;
    max-width: 85%;
}

.sub-block-description {
    font-size: 0.9rem;
    color: #555;
    padding: 30px 0;
}

/* Images */
.splash-img img {
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    margin: 20px auto;
    transition: transform 0.3s ease;
}

.splash-img img:hover {
    transform: scale(1.01);
}

/* Footer improvements */
footer .footer-links {
    background: #0F2E4F;
    padding: 60px 8%;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

footer .splash-img {
    width: 25%;
    text-align: right;
    padding: 20px;
    order: 2; /* Move to the right */
}

footer .col-lg-8 {
    width: 75%;
    order: 1; /* Move to the left */
}

.app-footer-heading {
    font-size: 1.3rem;
    font-weight: 300;
    color: #fff;
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 15px;
}

.app-footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #13ce67;
}

.splash-link-container {
    padding-left: 0;
}

.splash-link-container h3 {
    font-size: 1.1rem;
    color: #13ce67;
    margin-top: 20px;
    margin-bottom: 15px;
}

.splash-link-container li {
    list-style: none;
    margin-bottom: 12px;
}

.splash-link-address {
    font-size: 0.9rem;
    color: #fff;
    position: relative;
    padding-left: 0;
    transition: color 0.3s;
}

.splash-link-address:hover {
    color: #13ce67;
    text-decoration: none;
    padding-left: 5px;
}

.copyright-container {
    background: #041B33;
    padding: 25px 8%;
    font-size: 0.9rem;
}

.link-spacing {
    margin-right: 25px;
    color: #91A5CF;
    transition: color 0.3s;
}

.link-spacing:hover {
    color: #fff;
    text-decoration: none;
}

.app-footer-arches-link {
    color: #91A5CF;
    transition: color 0.3s;
}

.app-footer-arches-link:hover {
    color: #13ce67;
    text-decoration: none;
}

/* Vertical navigation improvements */
.vertical-nav-container {
    background: #0F2E4F;
    border-radius: 25px;
    padding: 10px 5px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.vertical-nav-list-link {
    height: 12px;
    width: 12px;
    transition: background 0.3s, transform 0.3s;
}

.vertical-nav-list-link.is-selected {
    background: #13ce67;
    transform: scale(1.2);
}

.vertical-nav-list-link:hover {
    background: #fff;
}

.vertical-nav-list-ref {
    background: #0F2E4F;
    color: #fff !important;
    border-radius: 4px;
    padding: 5px 10px !important;
    font-weight: 400;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Down button */
.down-button {
    background: #0F2E4F;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
}

.down-button:hover {
    opacity: 1;
    transform: translateY(5px);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .app-info-block {
        padding: 60px 20px;
    }
    
    .app-info-block-title {
        font-size: 1.8rem;
    }
    
    .splash-img img {
        max-width: 100%;
    }
    
    .copyright-container {
        text-align: center;
    }
    
    .app-footer-arches-link {
        text-align: center;
        margin-top: 15px;
    }
}

/* Fix for Getty/Takin image in footer */
.splash-img img[src*="getty_takin"] {
    box-shadow: none;
    background: transparent;
    max-width: 200px;
    margin: 30px 0;
    float: left;
    margin-right: 30px;
}

/* Jumbotron fix - ensure it fills screen properly */
.fullscreenbanner-container {
    height: 100vh;
    width: 100%;
}

.fullscreenbanner-container img,
.fullscreenbanner {
    object-fit: cover;
    height: 100vh;
    width: 100%;
}

.fullscreenbanner ul,
.fullscreenbanner li {
    height: 100%;
}

/* Fix for the Getty and Takin logo boxes */
.app-info-sub-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 40px;
}

.app-info-sub-block .col-lg-6 {
    flex: 0 0 48%;
    max-width: 48%;
}

/* Align the Getty and Takin boxes */
.app-info-sub-block .sub-block-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 450px; /* Set fixed height for alignment */
}

.app-info-sub-block .sub-block-container h3 {
    margin-top: 0;
}

.app-info-sub-block .sub-block-container a {
    margin-top: auto;
}

.app-info-sub-block .sub-block-image {
    max-height: 180px;
    width: auto;
    object-fit: contain;
}

/* Style for the Ogee Mexico section (Info Block 5) */
#info-block-5 {
    background: #f5f7fa;
}

#info-block-5 .splash-img {
    margin-top: 30px;
    text-align: center;
}

#info-block-5 .splash-img img {
    max-width: 85%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Consistent styling for all info blocks */
.app-info-block .app-info-block-intro {
    max-width: 100%;
}

.app-info-block:nth-child(even) .app-info-block-title,
.app-info-block:nth-child(odd) .app-info-block-title {
    color: #0F2E4F;
}

.app-info-block:nth-child(even) .app-info-block-header,
.app-info-block:nth-child(odd) .app-info-block-header {
    color: #13ce67;
}

/* Make all splash images consistent */
.splash-img {
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.splash-img img {
    max-width: 85%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
