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

:root {
    --navy: #133960;
    --dark-navy: #1C3D5A;
    --green: #2d7755;
    --red: #c10706;
    --cream: #efefe6;
    --light-cream: #efefe6;
    --text-dark: #313131;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

.italic {
    font-style: italic;
}

.navy {
    color: var(--navy);
}

.green {
    color: var(--green);
}

.red {
    color: var(--red);
}

/* Hero Section */
.hero {
    background-color: var(--light-cream);
    height: 950px;
    max-height: 950px;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.hero-content {
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    width: 100%;
    height: 950px;
    max-height: 950px;
}

.hero-text {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo-slogan {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.hero-image {
    position: relative;
    overflow: hidden;
    height: 950px;
    max-height: 950px;
}

.hero-image::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.85) 0%, rgba(10, 37, 64, 0.5) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-image img,
.hero-image video {
    width: 100%;
    height: 950px;
    max-height: 950px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Stats Section */
.stats {
    background-color: var(--light-cream);
    padding: 4rem 2rem;
    overflow: visible;
}

.stats-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
    overflow: visible;
}

.stats-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 4rem;
}

.stat-item.large {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.stat-number {
    font-size: 8rem;
    font-weight: bold;
    font-style: italic;
    line-height: 0.9;
    white-space: nowrap;
    transform: scaleX(0.75);
    transform-origin: left center;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #313131;
    line-height: 1.1;
    white-space: nowrap;
}

.stat-subtitle {
    font-size: 1.5rem;
    color: #313131;
    line-height: 1.2;
    white-space: nowrap;
}

.stat-subtitle a,
.bottom-stat-subtitle a {
    color: inherit;
    text-decoration: none;
}

.stats-right {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    padding-left: 0;
    overflow: visible;
}

.building-images {
    position: relative;
    width: 100%;
    overflow: visible;
}

.building-1 {
    width: 110%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.building-2 {
    width: 120%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: absolute;
    bottom: -6rem;
    right: -75%;
    z-index: 2;
}

.stats-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 0 4rem;
    margin-bottom: 2rem;
    margin-top: 8rem;
}

.bottom-stat {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.bottom-stat-title {
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.bottom-stat-subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.stats-prosperous {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 4rem 2rem;
    text-align: center;
}

.prosperous-title {
    font-size: 5.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.prosperous-link {
    font-size: 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
}

.prosperous-link:hover,
.prosperous-link:focus {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.stats-center {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.center-stat {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.center-stat-title {
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.center-stat-subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
}

/* Stats Bar (repeated at top of content section) */
.stats-bar {
    background-color: var(--light-cream);
    padding: 3rem 2rem 2rem;
}

.stats-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 0 4rem;
    margin-bottom: 2rem;
}

.bar-stat {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.bar-stat-title {
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.bar-stat-subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.stats-bar-center {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding-bottom: 2rem;
}

.bar-center-stat {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.bar-center-title {
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.bar-center-subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
}

/* Content Section */
.content-section {
    background-color: var(--light-cream);
    padding: 2rem 2rem 4rem;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
        "title images"
        "text images";
    gap: 0 4rem;
    align-items: center;
}

.content-title {
    grid-area: title;
    font-size: 4.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    line-height: 1.1;
    padding: 2rem 2rem 0 4rem;
}

.content-image-wrapper {
    grid-area: images;
}

.content-text {
    grid-area: text;
    padding: 0 2rem 2rem 4rem;
}

.content-body {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.content-image-wrapper {
    position: relative;
}

.content-image {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.valsin-photo {
    position: absolute;
    bottom: -40px;
    left: -40px;
    z-index: 10;
}

.valsin-overlay {
    width: 220px;
    height: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    display: block;
}

.valsin-caption {
    margin-top: 8px;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--navy);
    text-align: center;
}

/* Discover More Section */
.discover-section {
    background-color: var(--light-cream);
    padding: 4rem 4rem;
}

.discover-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.discover-title {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.logo-link:hover .logo-image img {
    opacity: 0.8;
}

.logo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 220px;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}

.logo-image img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    text-align: center;
    line-height: 1.3;
}

.logo-description {
    font-size: 1.3rem;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.8;
    margin: 0;
}

.gallery-section {
    background-color: var(--light-cream);
    padding: 4rem 2rem;
}

.gallery-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

#gallery-grid {
    width: 100%;
    column-count: 4;
    column-gap: 0.5rem;
    background-color: var(--light-cream);
    padding: 0;
    margin: 0;
}

#gallery-grid a {
    display: inline-block;
    width: 100%;
    margin-bottom: 0.5rem;
    break-inside: avoid;
}

#gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.pswp-gallery a:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 2px;
}

/* PhotoSwipe - Force aspect ratio preservation */
.pswp__img {
    object-fit: contain !important;
}

.pswp__zoom-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Hide PhotoSwipe placeholder to prevent duplicate image */
.pswp__img--placeholder {
    display: none !important;
}

/* Video Sections */
.video-section {
    background-color: var(--cream);
    padding: 4rem 2rem;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.video-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.site-footer {
    background-color: var(--navy);
    color: var(--cream);
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
    width: 100%;
}

.footer-logo {
    width: 260px;
    max-width: 100%;
    height: auto;
}

.footer-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--cream);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    align-items: center;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.2s ease-in-out;
}

.footer-links a:hover,
.footer-links a:focus {
    opacity: 0.75;
}

.stat-subtitle a:hover,
.stat-subtitle a:focus,
.bottom-stat-subtitle a:hover,
.bottom-stat-subtitle a:focus {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: currentColor;
}

.footer-links li {
    margin: 0;
}

/* Responsive Design */
@media (min-width: 1025px) and (max-width: 1300px) {
    .building-1 {
        width: 110%;
    }

    .building-2 {
        width: 120%;
        right: -75%;
    }
}

@media (max-width: 1160px) {
    body {
        margin: 0 !important;
        padding: 0 !important;
    }

    .hero {
        height: 600px;
        min-height: 600px;
        overflow: hidden;
        padding: 0 !important;
        margin: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        position: relative;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 0;
        height: 100%;
        max-height: none;
        position: relative;
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .hero-text {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 2rem 1rem;
        height: 100%;
        width: 100vw;
        max-width: 100vw;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        box-sizing: border-box;
    }

    .logo-slogan {
        width: 90%;
        max-width: 600px;
        height: auto;
    }

    .hero-image {
        height: 100%;
        max-height: none;
        display: block;
        width: 100vw;
        max-width: 100vw;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    /* Beige overlay */
    .hero-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(239, 239, 230, 0.8);
        z-index: 1;
        pointer-events: none;
    }

    /* Navy gradient - on top of beige overlay */
    .hero-image::after {
        z-index: 2;
    }

    .hero-image img,
    .hero-image video {
        height: 100%;
        max-height: none;
        width: 100vw;
        max-width: 100vw;
        display: block;
        object-fit: cover;
        object-position: center;
        margin: 0;
        padding: 0;
    }

    .stats-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .content-title {
        font-size: 3rem;
        text-align: center;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .content-image-wrapper {
        order: 0;
        margin-bottom: 6rem;
    }

    .content-image {
        height: 300px;
    }

    .valsin-photo {
        bottom: -50px;
        left: -30px;
    }

    .valsin-overlay {
        width: 180px;
    }

    .content-text {
        padding: 0 1rem 1rem;
        text-align: center;
    }

    .content-body {
        text-align: center;
    }

    .stats-left {
        padding-left: 1rem;
        align-items: center;
    }

    .stat-item.large {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 1rem;
        justify-content: center;
    }

    .stat-number {
        font-size: 5rem;
        margin-bottom: 0;
    }

    .stat-text {
        align-items: flex-start;
    }

    .stat-title {
        font-size: 2rem;
        white-space: normal;
        text-align: left;
    }

    .stat-subtitle {
        font-size: 1.2rem;
        white-space: normal;
        text-align: left;
    }

    .stats-right {
        padding: 1rem;
    }

    .building-images {
        max-width: 400px;
    }

    .building-1 {
        width: 55%;
    }

    .building-2 {
        width: 60%;
        bottom: -4rem;
        right: 0;
    }
    
    .stats-right {
        padding: 1rem;
        justify-content: center;
    }

    .stats-bottom {
        margin-top: 6rem;
    }

    .stats-bottom,
    .stats-bar-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .stats-prosperous {
        padding: 2rem 1rem;
    }

    .prosperous-title {
        font-size: 3rem;
        font-weight: bold;
    }

    .prosperous-link {
        font-size: 1.2rem;
    }

    .bottom-stat {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 1rem;
        justify-content: center;
    }

    .bottom-stat-title,
    .bar-stat-title,
    .center-stat-title,
    .bar-center-title {
        font-size: 2.5rem;
    }

    .bottom-stat-subtitle {
        text-align: left;
        align-items: flex-start;
    }

    .discover-section {
        padding: 3rem 2rem;
    }

    .discover-wrapper {
        padding: 0 1rem;
    }

    .discover-title {
        font-size: 2.5rem;
    }

    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 3rem;
        max-width: 900px;
    }

    .logo-image {
        height: 180px;
        padding: 0.75rem 0;
        margin-bottom: 1.25rem;
    }

    .logo-title {
        font-size: 1.75rem;
        margin-bottom: 0.6rem;
    }

    .logo-description {
        font-size: 1.2rem;
    }

    .gallery-section {
        padding: 3rem 1.5rem;
    }

    .gallery-title {
        font-size: 2.5rem;
    }

    #gallery-grid {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 500px;
        min-height: 500px;
    }

    .hero-text {
        padding: 1.5rem 1rem;
    }

    .logo-slogan {
        width: 85%;
        max-width: 500px;
    }

    .content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .content-title {
        font-size: 2.5rem;
        text-align: center;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .content-image-wrapper {
        margin-bottom: 6rem;
    }

    .content-image {
        height: 300px;
    }

    .valsin-photo {
        bottom: -50px;
        left: -30px;
    }

    .valsin-overlay {
        width: 170px;
    }

    .content-text {
        padding: 0 1rem 1rem;
    }

    .content-body {
        font-size: 1.1rem;
        text-align: center;
    }

    .discover-section {
        padding: 3.5rem 1.5rem;
    }

    .discover-wrapper {
        padding: 0 0.5rem;
    }

    .discover-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .logo-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .logo-image {
        height: 120px;
        padding: 0.75rem 0;
        margin-bottom: 1rem;
    }

    .logo-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .logo-description {
        font-size: 1.1rem;
    }

    .gallery-section,
    .video-section {
        padding: 2.5rem 1rem;
    }

    .gallery-title,
    .video-title {
        font-size: 2rem;
    }

    #gallery-grid {
        column-count: 2;
    }

    .stat-item.large {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 4rem;
    }

    .stat-title {
        font-size: 1.5rem;
        white-space: normal;
    }

    .stat-subtitle {
        font-size: 1.1rem;
        white-space: normal;
    }

    .building-images {
        max-width: 300px;
    }

    .building-1 {
        width: 55%;
    }

    .building-2 {
        width: 60%;
        bottom: -3rem;
        right: 0;
    }

    .stats-bottom {
        margin-top: 5rem;
    }

    .bottom-stat-subtitle {
        font-size: 1.1rem;
    }

    .prosperous-title {
        font-size: 2.25rem;
        font-weight: bold;
    }

    .prosperous-link {
        font-size: 1.1rem;
    }

    .hero,
    .stats,
    .stats-bar,
    .content-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 400px;
        min-height: 400px;
    }

    .hero-text {
        padding: 1rem;
    }

    .logo-slogan {
        width: 95%;
        max-width: 400px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-title {
        font-size: 1.3rem;
    }

    .stat-subtitle {
        font-size: 1rem;
    }

    .stats-left {
        padding-left: 0.5rem;
        gap: 1.5rem;
    }

    .building-images {
        max-width: 250px;
    }

    .building-1 {
        width: 55%;
    }

    .building-2 {
        width: 60%;
        bottom: -2rem;
        right: 0;
    }

    .stats-bottom {
        margin-top: 4rem;
    }

    .bottom-stat-title,
    .center-stat-title {
        font-size: 2rem;
    }

    .bottom-stat-subtitle {
        font-size: 1rem;
    }

    .prosperous-title {
        font-size: 2rem;
        font-weight: bold;
    }

    .prosperous-link {
        font-size: 1rem;
    }

    .discover-section {
        padding: 3rem 1rem;
    }

    .discover-wrapper {
        padding: 0;
    }

    .logo-grid {
        gap: 3.5rem;
    }

    .logo-image {
        height: 100px;
        padding: 0.5rem 0;
        margin-bottom: 0.875rem;
    }

    .logo-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .logo-description {
        font-size: 1rem;
    }

    #gallery-grid {
        column-count: 1;
    }

    .valsin-photo {
        bottom: -40px;
        left: -20px;
    }

    .valsin-overlay {
        width: 150px;
    }

    .valsin-caption {
        font-size: 0.8rem;
    }
}

