/* Ventures Listing Page Styles */

body.ventures-page,
html.ventures-page {
    background: #0000ff;
}

body.ventures-page main {
    background: #0000ff;
}

.ventures-hero {
    padding: 150px 40px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ventures-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
}

.ventures-hero-title {
    font-size: 5rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 1;
}

.ventures-hero-tagline {
    font-size: 1.2rem;
    color: #fff;
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
    padding: 0;
}

.ventures-slider-section {
    padding: 30px 0 140px;
    position: relative;
    overflow: visible;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ventures-slider-container {
    width: min(1600px, 100%);
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ventures-slider-container.loaded {
    opacity: 1;
}

.ventures-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 4px;
    padding-bottom: 100px;
}

.ventures-slider-inner {
    overflow: visible;
    padding: 0;
}

.ventures-slider-track {
    display: flex;
    gap: 0;
    margin-left: 0;
    justify-content: flex-start;
    align-items: center;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.ventures-slider-item {
    flex: 0 0 auto;
    width: 20%;
    border-radius: 4px;
    position: relative;
    transform-origin: center;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), filter 0.55s cubic-bezier(0.4, 0, 0.2, 1), margin 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
}

.ventures-slider-item-photo {
    width: 100%;
    aspect-ratio: 1/1.8;
    border-radius: 6px;
    background: #111f4c;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
}

.ventures-slider-item-logo-overlay {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.ventures-slider-item.is-center .ventures-slider-item-logo-overlay {
    opacity: 1;
}

.is-center:hover {
    cursor: pointer;
}

.is-center:hover .ventures-slider-item-photo {
    box-shadow: 0 0 0 4px var(--color-yellow-500);
}

.ventures-slider-item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ventures-slider-item-logo-overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ventures-slider-item-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 1rem;
    padding: 0;
    text-align: left;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.ventures-slider-item.is-center .ventures-slider-item-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ventures-slider-item-name {
    font-weight: 800;
    margin: 0;
    color: #fff;
}

.ventures-slider-item-description {
    font-size: 0.95rem;
    margin: 0;
    color: #cfd8ff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ventures-slider-item.is-center {
    transform: scale(1);
    opacity: 1;
    filter: saturate(1) brightness(1);
    z-index: 3;
}

.ventures-slider-item.is-center .ventures-slider-item-photo img {
    filter: brightness(1) saturate(1);
}

.ventures-slider-item.is-neighbor {
    transform: scale(0.8);
    opacity: 0.5;
    filter: brightness(0.8) saturate(0.65);
    z-index: 2;
}

.ventures-slider-item.is-far {
    transform: scale(0.7);
    opacity: 0.3;
    filter: brightness(0.7) saturate(0.55);
    z-index: 1;
}

.ventures-slider-item.is-distant {
    transform: scale(0.78);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.ventures-slider-controls {
    position: absolute;
    inset: 0;
    pointer-events: none;
    height: calc(100% - 100px);
}

.ventures-slider-control {
    color: #fff;
    pointer-events: all;
    position: absolute;
    width: calc(50% - 10%);
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 8.5%;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    z-index: 10;
}

.ventures-slider-control-prev {
    left: 0;
    justify-content: flex-start;
}

.ventures-slider-control-next {
    right: 0;
    justify-content: flex-end;
}

.ventures-slider-control svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.ventures-slider-control:hover svg {
    opacity: 1;
}

.ventures-loading,
.ventures-empty {
    text-align: center;
    padding: 4rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.ventures-empty p {
    margin: 0;
}

/* Call to Action Section */

.ventures-cta-section {
    background: #fff;
    padding: 100px 40px;
    text-align: center;
}

.ventures-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.ventures-cta-title {
    font-size: 3rem;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

.ventures-cta-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 2.5rem 0;
}

.ventures-cta-button {
    display: inline-block;
    background: var(--color-blue-500, #0000ff);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 255, 0.2);
}

.ventures-cta-button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 255, 0.3);
}

/* Venture Detail Page Styles */

.venture-detail {
    max-width: 1400px;
    margin: 0 auto;
}

.venture-hero {
    padding: 150px 40px 40px;
    text-align: center;
}

.venture-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.venture-back-link {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-gray, #666);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: opacity 0.2s ease;
}

.venture-back-link:hover {
    opacity: 0.7;
}

.venture-hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
}

.venture-hero-divider {
    width: 30px;
    height: 2px;
    background: #1a1a1a;
    margin: 1.5rem auto;
}

.venture-hero-type {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.venture-hero-description {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 2rem 0;
}

.venture-hero-button {
    display: inline-block;
    background: var(--color-blue-500, #0000ff);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 255, 0.2);
}

.venture-hero-button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 255, 0.3);
}

.venture-carousel-section {
    padding: 0 40px 60px;
}

.venture-carousel-container {
    max-width: 1200px;
    margin: 0 auto;
}

.venture-carousel {
    position: relative;
    background: #f9f9f9;
    overflow: hidden;
    border-radius: 12px;
}

.venture-carousel-track {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.venture-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.venture-carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.venture-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.venture-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s ease;
}

.venture-carousel-btn:hover {
    background: #fff;
}

.venture-carousel-btn-prev {
    left: 20px;
}

.venture-carousel-btn-next {
    right: 20px;
}

.venture-services {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
    color: #888;
}

.venture-services-label {
    font-weight: 600;
    color: #666;
    margin-right: 0.5rem;
}

.venture-service-link {
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.venture-service-link:hover {
    color: var(--color-blue-500, #0000ff);
}

.venture-logo-single {
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.venture-logo-single img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.venture-description-section {
    padding: 0px 40px;
}

.venture-description-content {
    max-width: 900px;
    margin: 0 auto;
}

.venture-description-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
}

.venture-description-text p {
    margin-bottom: 1.5rem;
}

.venture-description-text h2,
.venture-description-text h3,
.venture-description-text h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.venture-description-text h2 {
    font-size: 1.75rem;
}

.venture-description-text h3 {
    font-size: 1.5rem;
}

.venture-description-text h4 {
    font-size: 1.25rem;
}

.venture-description-text ul,
.venture-description-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.venture-description-text li {
    margin-bottom: 0.5rem;
}

.venture-description-text a {
    color: #0066FF;
    text-decoration: none;
}

.venture-description-text a:hover {
    text-decoration: underline;
}

.venture-description-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.venture-description-text blockquote {
    border-left: 4px solid #0066FF;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}

.venture-description-text code {
    background: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.venture-description-text pre {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

.venture-description-text pre code {
    background: none;
    padding: 0;
}

.venture-loading,
.venture-error {
    text-align: center;
    padding: 4rem;
    color: #666;
}

.venture-error {
    color: #d32f2f;
}

/* Mobile Responsive */

@media (max-width: 768px) {
    .ventures-hero {
        padding: 80px 20px 60px;
    }

    .ventures-hero-title {
        font-size: 3rem;
    }

    .venture-hero {
        padding: 100px 20px 20px;
    }

    .venture-hero-title {
        font-size: 2.5rem;
    }

    .venture-hero-description {
        font-size: 1.125rem;
    }

    .venture-hero-button {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }

    .ventures-cta-section {
        padding: 60px 20px;
    }

    .ventures-cta-title {
        font-size: 2rem;
    }

    .ventures-cta-text {
        font-size: 1rem;
    }

    .ventures-cta-button {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }

    .ventures-hero-tagline {
        font-size: 1rem;
    }

    .ventures-slider-section {
        padding: 30px 0;
    }
    .venture-description-section {
        padding: 30px 30px 100px;
    }

    .ventures-slider-inner {
        padding: 0;
    }

    .ventures-slider-item {
        width: clamp(180px, 46vw, 220px);
    }
    
    .ventures-slider-control {
        padding: 0 1rem;
    }

    .venture-carousel-section {
        padding: 40px 20px;
    }

    .venture-carousel-track {
        height: 300px;
    }

    .venture-logo-single {
        padding: 40px 20px;
        min-height: 300px;
    }

    .venture-description-title {
        font-size: 1.5rem;
    }

    .venture-description-text {
        font-size: 1rem;
    }
}

