/* CSS for About Page */

/* Breadcrumb */
.breadcrumb-container {
    padding: 100px 0 20px;
    /* Top space for fixed header */
    background-color: var(--bg-light);
}

.breadcrumb-container p {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

/* About Hero / Logo */
#about-hero {
    padding: 60px 0 100px;
    background-color: var(--bg-light);
    text-align: center;
}

.big-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Placeholder styling for the logo graphic */
}

.logo-graphic {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text-large {
    font-size: 80px;
    font-weight: bold;
    font-family: sans-serif;
    letter-spacing: 0.05em;
}

/* Shape approximation for the logo icon */
.shape-left {
    display: block;
    width: 60px;
    height: 60px;
    background: linear-gradient(to bottom, #003366 50%, #0077cc 50%);
    border-radius: 0 40px 40px 40px;
    /* Rough approximation */
    /* This is hard to CSS-draw perfectly without SVG, assuming image will replace */
}

/* Philosophy Section */
#about-philosophy {
    padding: 80px 0;
    text-align: center;
}

.philosophy-heading {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 50px;
    color: var(--text-color);
}

/* Carousel Container */
/* Carousel Container */
.carousel-container {
    width: 100%;
    /* --- ADJUST CAROUSEL WIDTH HERE --- */
    /* Change max-width to find your sweet spot */
    /* 1400px = Very Wide */
    /* 1000px = Standard */
    /* 800px = Compact */
    max-width: 1000px;
    margin: 0 auto 50px;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    width: 500%;
    /* 5 images (Clone + 3 Real + Clone) * 100% width each */
    /* JS will handle transition */
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    width: 20%;
    /* 1/5 of the track */
    flex-shrink: 0;
}

.philosophy-img-carousel {
    width: 100%;
    height: 100%;
    /* --- ADJUST IMAGE HEIGHT (ASPECT RATIO) HERE --- */
    /* 16 / 9 = Widescreen (Landscape) */
    /* 4 / 3 = Taller */
    /* 1 / 1 = Square */
    /* 21 / 9 = Ultra Wide (Short height) */
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    font-size: 24px;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
    user-select: none;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.philosophy-desc {
    max-width: 800px;
    margin: 0 auto;
    font-size: 22px;
    line-height: 1.5;
    text-align: center;
    color: #111;
}

/* Values Section */
#about-values {
    padding: 20px 0;
    background-color: var(--white);
    text-align: center;
}

#about-values .section-subtitle {
    margin-bottom: 40px;
    font-size: 16px;
    color: #111;
}

.values-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* --- ADJUST LEFT/RIGHT SPACING HERE --- */
    /* Increase to push bars further from the edge, decrease to bring them closer */
    padding: 0;
}

.value-item {
    display: flex;
    background-color: #004177;
    /* Dark Blue per Figma */
    color: white;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
    /* Ensure spacing if not handled by list gap */
}

.value-key {
    background-color: transparent;
    /* Transparent to show item bg */
    /* --- ADJUST INNER LEFT SPACE HERE --- */
    /* Increase left value for more empty blue space before the letter */
    /* Increase right value (2nd number) for more space before the separator | */
    padding: 15px 175px 15px 80px;
    width: 200px;
    font-weight: bold;
    display: flex;
    align-items: center;
    font-size: 18px;
    position: relative;
}

/* Floating vertical line separator - doesn't touch top/bottom edges */
.value-key::after {
    content: '';
    position: absolute;
    right: 0;
    /* --- ADJUST LINE GAP HERE --- */
    /* Increase top/bottom % to make line shorter, decrease to make it taller */
    top: 20%;
    bottom: 20%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.4);
}

.key-letter {
    color: #ffd700;
    font-size: 20px;
    /* --- ADJUST SPACE BETWEEN LETTER AND KEYWORD HERE --- */
    /* e.g. space between "G" and "Goodness" */
    margin-right: 25px;
}

.value-desc {
    /* --- ADJUST GAP BETWEEN | AND JAPANESE TEXT HERE --- */
    /* Increase left value for more space after the separator | */
    padding: 15px 20px 15px 40px;
    display: flex;
    align-items: center;
    flex-grow: 1;
    background-color: transparent;
    /* Transparent */
    /* --- ADJUST VALUE TEXT SIZE HERE --- */
    /* Increase for bigger text, decrease for smaller */
    font-size: 22px;
}

/* Contact CTA - specific spacing if different, otherwise global styles in global.css handle buttons/layout */
#contact-cta {
    padding: 80px 0 100px;
}

.contact-box {
    background-color: #4b7bc0;
    background: linear-gradient(135deg, #4b7bc0 0%, #3a6ab0 100%);
    border-radius: 20px;
    padding: 80px 20px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 20px rgba(75, 123, 192, 0.3);
}

.contact-box .section-title.text-white {
    color: white;
    margin-bottom: 10px;
}

.contact-text {
    margin-bottom: 40px;
    font-size: 16px;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 900px) {

    /* Breadcrumb */
    .breadcrumb-container {
        padding-top: 80px;
        /* Adjust for fixed mobile header */
        padding-bottom: 10px;
    }

    .breadcrumb-container .container {
        padding: 0 20px;
    }

    /* Hero */
    #about-hero {
        padding: 40px 0 60px;
        min-height: auto;
    }

    .logo-text-large {
        font-size: 40px;
    }

    .logo-graphic {
        gap: 10px;
    }

    .shape-left {
        width: 40px;
        height: 40px;
    }

    /* Philosophy */
    #about-philosophy {
        padding: 50px 0 20px;
        /* Reduced bottom padding to lessen gap */
    }

    .philosophy-heading {
        font-size: 18px;
        line-height: 1.8;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    /* Carousel Mobile Adjustments */
    .carousel-container {
        /* --- ADJUST MOBILE WIDTH/PADDING HERE --- */
        /* Increase padding to make the image narrower */
        padding: 0 0px;

        /* Optional: Change max-width if you want it smaller than screen */
        /* width: 90%; */
        max-width: 85%;
        margin-bottom: 30px;
    }

    .philosophy-img-carousel {
        /* --- ADJUST MOBILE IMAGE HEIGHT HERE --- */
        /* 4 / 3 = Standard Mobile Rectangle */
        /* 1 / 1 = Square (Taller) */
        /* 16 / 9 = Wide (Shorter) */
        aspect-ratio: 4 / 3;
    }

    /* Mobile Navigation Arrows */
    .carousel-btn {
        /* --- ADJUST ARROW SIZE HERE --- */
        width: 35px;
        /* Smaller than desktop (50px) */
        height: 35px;
        font-size: 18px;
        /* Smaller icon */
    }

    .prev {
        /* --- ADJUST ARROW SPACING FROM EDGE HERE --- */
        left: 10px;
        /* Closer to edge */
    }

    .next {
        right: 10px;
    }

    .philosophy-desc {
        padding: 0 10px;
        font-size: 16px;
        line-height: 1.8;
        text-align: center;
        /* Screenshot shows left aligned text on mobile */
    }

    /* Values */
    #about-values {
        padding: 20px 0 50px;
        /* Reduced top padding */
    }

    #about-values .section-title {
        font-size: 28px;
    }

    #about-values .section-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    /* Values */
    .values-list {
        /* --- MOBILE: ADJUST GAP BETWEEN BLUE BARS HERE --- */
        /* Decrease for less gap, increase for more gap */
        gap: 12px;
    }

    .value-item {
        /* --- MOBILE: EXTRA BOTTOM MARGIN FOR EACH BAR --- */
        /* Set to 0 if gap above is enough */
        margin-bottom: 0px;
    }

    .value-key {
        /* --- MOBILE: Fixed width so separator | is always aligned --- */
        width: 140px;
        min-width: 140px;
        /* --- MOBILE: ADJUST INNER SPACING HERE --- */
        padding: 10px 15px 10px 20px;
        /* --- MOBILE: ADJUST KEY FONT SIZE HERE --- */
        font-size: 12px;
    }

    .value-desc {
        /* --- MOBILE: ADJUST GAP AFTER | HERE --- */
        padding: 10px 10px 10px 15px;
        /* --- MOBILE: ADJUST VALUE TEXT SIZE HERE --- */
        font-size: 13px;
    }

    /* Contact CTA */
    #contact-cta {
        padding: 50px 0 80px;
    }

    .contact-box {
        padding: 40px 20px;
    }

    .contact-box .section-title {
        font-size: 24px;
    }

    .contact-text {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .btn-white {
        width: 100%;
        /* Full width button on mobile */
        padding: 15px 0;
        text-align: center;
        display: block;
    }
}