@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Noto+Serif+JP:wght@300;400;500;700&display=swap');

:root {
    /* Color Palette */
    --color-primary: #448db3;
    /* Deep Blue */
    --color-accent: #CFAF6F;
    /* Gold */
    --color-white: #FFFFFF;
    --color-text-main: #333333;
    --color-text-sub: #666666;
    --color-bg-light: #ecf2f5;
    --color-bg-items: #FFFFFF;

    /* Decoration */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 30px rgba(68, 141, 179, 0.15);
    --border-radius: 4px;

    /* Layout */
    --header-height: 80px;
    --container-width: 1200px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', 'Noto Serif JP', sans-serif;
    color: var(--color-text-main);
    line-height: 1.8;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    line-height: 1.4;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
    position: relative;
    display: block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 1rem auto 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    margin-bottom: 4rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em;
    border: 1px solid var(--color-primary);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.btn:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.site-header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    /* Adjust height to make logo smaller */
    width: auto;
}

.logo span {
    color: var(--color-accent);
    font-size: 0.8em;
    margin-left: 5px;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
    /* Reduced gap to fit icons */
    align-items: center;
}

.main-nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--color-primary);
    /* Changed to Deep Blue */
    position: relative;
    padding: 5px 0;
    font-weight: 500;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-accent);
    /* Acccent on hover */
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-social a {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

/* Hamburger Menu (Mobile) */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-primary);
}

/* Footer */
.site-footer {
    background-color: #214355;
    color: #fff;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-info p {
    margin-bottom: 0.5rem;
    color: #aaa;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--color-accent);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #aaa;
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid #000000;
    padding-top: 20px;
    color: #aaa;
    font-size: 0.8rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        padding: 2rem;
        box-shadow: var(--shadow-soft);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}

/* --------------------
   Components & Pages
   -------------------- */

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    /* Changed for JS parallax handling */
    left: 0;
    width: 100%;
    height: 100%;
    /* Taller for parallax */
    background-size: cover;
    background-position: center;
    opacity: 0;
    /* ★ズーム用の初期状態 */
    transform-origin: center center;
    transform: scale(1.05);

    /* ★opacity + transform 両方をアニメーション */
    transition:
        opacity 1.2s ease-in-out,
        transform 4s ease-out;

    will-change: transform, opacity;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
    /* ★表示中にゆっくり等倍へズームイン */
    transform: scale(1);
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    /* Overlay for text readability */
}

.hero-content-wrapper {
    transform: translateY(100px);
}

.hero-content {
    z-index: 2;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Parallax controlled by JS */
    will-change: transform;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    font-family: 'Montserrat', sans-serif;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    animation: scrollLine 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollLine {
    0% {
        top: -100%;
    }

    50% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

/* Animations */
.fade-in-up,
.fade-in-left,
.fade-in-right,
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible,
.fade-in.visible {
    opacity: 1;
    transform: translate(0);
}

/* Ensure scroll-indicator maintains its horizontal centering when visible */
.scroll-indicator.visible {
    transform: translateX(-50%);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* News Section */
.news-slider-wrapper {
    position: relative;
}

.news-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* Added for JS scroll controls */
    gap: 30px;
    padding-bottom: 30px;
    margin: 0 -10px;
    /* Slight overflow correction */
    padding-left: 10px;
    padding-right: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    align-items: stretch;
}

.news-grid::-webkit-scrollbar {
    display: none;
}

.news-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.news-btn {
    background: var(--color-primary);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.news-btn:hover {
    background: var(--color-accent);
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.news-card {
    flex: 0 0 calc((100% - 60px) / 3);
    /* 3 items visible on PC */
    scroll-snap-align: start;
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content time {
    display: block;
    color: var(--color-text-sub);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.read-more {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Montserrat', sans-serif;
    margin-top: auto;
}

/* About Section */
.section-about {
    background-color: var(--color-bg-light);
    position: relative;
    /* Removed padding to let wrapper handle spacing if needed, but keeping default section padding */
}

.about-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    display: block;
    text-align: center;
}

.product-img {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
}

.product-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(68, 141, 179, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay span {
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 20px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.1em;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-card:hover .overlay {
    opacity: 1;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.product-info p {
    color: var(--color-accent);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* Banner Section */
.section-banner {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
    text-align: center;
    padding: 120px 0;
}

.banner-content h2 {
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
}

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}


/* Subpage Header */
.page-header {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Added for centering text inside h1 */
    color: var(--color-white);
    margin-top: var(--header-height);
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(90, 71, 34, 0.2);
}

.page-header h1 {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.1em;
}

.page-header h1 span {
    display: block;
    font-size: 1rem;
    margin-top: 1rem;
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
}

/* Breadcrumbs (Optional simple style) */
.breadcrumbs {
    padding: 1rem 0;
    background-color: #f4f4f4;
    font-size: 0.9rem;
    color: var(--color-text-sub);
}

/* About Page Styles */
.about-content h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--color-accent);
    padding-left: 1rem;
}

.company-profile table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.company-profile th,
.company-profile td {
    padding: 1.5rem;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.company-profile th {
    width: 25%;
    background-color: #f9f9f9;
    font-weight: 500;
}

/* Timeline (History) */
.history-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2列 */
    grid-template-rows: repeat(5, auto);
    /* ← 5行に固定 */
    grid-auto-flow: column;
    /* ← 縦方向に流す */
    gap: 3rem 4rem;
    /* 行・列の間隔（お好みで） */

}

.history-item {
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 2rem;
}

/* The vertical line for each item */
.history-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: -3rem;
    /* Reaches down to next item */
    width: 2px;
    background-color: var(--color-accent);
    z-index: 0;
}

/* Hide line on the last item of each column? Hard with CSS grid. 
   Simplest is to just let it be or hide on very last. */
.history-item:last-child::after {
    display: none;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -5px;
    /* Centered on the 2px line */
    top: 5px;
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--color-accent);
    z-index: 1;
}

.history-year {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

/* Form Styles */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(68, 141, 179, 0.1);
}

/* Exhibition List */
.exhibition-item {
    display: flex;
    flex-wrap: wrap;
    /* Prevent overlapping by allowing elements to wrap */
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
    background: #fff;
    padding: 2rem;
    /* Reduced from 5rem which was excessive */
    box-shadow: var(--shadow-soft);
    border-radius: var(--border-radius);
}

.exhibition-date {
    flex-shrink: 0;
    width: 120px;
    text-align: center;
    background: var(--color-primary);
    color: #fff;
    padding: 1rem;
    border-radius: var(--border-radius);
}

.exhibition-date .month {
    display: block;
    font-size: 0.9rem;
}

.exhibition-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}

.exhibition-info {
    flex: 2;
}

.exhibition-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    /* Keep image size fixed in flex row */
}

.exhibition-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure full logo/image is visible without cropping */
    border-radius: var(--border-radius);
}



/* Philosophy Gallery (About Page) */
.philosophy-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
    justify-content: center;
    overflow: hidden;
    /* Hide off-screen sliding images */
    width: 100%;
}

.philosophy-gallery {
    display: flex;
    gap: 24px;
    width: max-content;
    margin: 0 auto;
}

.gallery-item {
    flex: 0 0 280px;
    /* 横幅（調整可） */
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Digital Catalog Section Base (PC) */
.section-catalog {
    background-color: var(--color-bg-light);
    padding: 6rem 0;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.catalog-item {
    text-align: center;
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

/* History 2 Columns */
.history-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 60px;
    margin-top: 2rem;
}

/* Mobile responsive for Philosophy */
@media (max-width: 768px) {
    .philosophy-wrapper {
        flex-direction: column;
    }

    .philosophy-gallery {
        gap: 15px;
    }

    .gallery-item {
        flex: 0 0 200px;
    }

    .history-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .carousel-slide {
        flex: 0 0 100%;
        /* 1 item on mobile */
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .catalog-item {
        padding: 1.5rem;
    }

    .catalog-thumb {
        width: 80%;
    }

    .company-profile th,
    .company-profile td {
        display: block;
        width: 100%;
    }


    .exhibition-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .exhibition-date {
        width: auto;
        min-width: 120px;
    }

    .exhibition-image {
        width: 80%;
        /* Box size relative to container */
        max-width: 300px;
        height: auto;
    }

    .exhibition-image img {
        height: auto;
        /* Allow height to adjust to aspect ratio */
    }

    .history-list {
        grid-template-columns: 1fr;
        /* 1列 */
        grid-template-rows: none;
        /* 自動 */
        grid-auto-flow: row;
        /* 上から順番 */
    }

    section {
        padding: 60px 0;
    }

    .section-news {
        padding: 100px 0;
        /* Make it even larger as requested */
    }

    .section-subtitle {
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .about-wrapper {
        text-align: center;
    }

    /* News Grid Slider - 2 columns visible on mobile */
    .news-grid {
        gap: 20px;
        padding-bottom: 40px;
        overflow-y: hidden;
    }

    .news-card {
        flex: 0 0 calc((100% - 20px) / 2);
        /* 2 items visible */
        display: flex;
        flex-direction: column;
        min-height: 250px;
        will-change: transform;
    }

    .fade-in-up {
        transform: translateY(15px);
    }

    .news-card:hover {
        transform: none;
    }

    .news-image {
        aspect-ratio: 3 / 2;
    }

    .news-content {
        padding: 1rem;
    }

    .news-content h3 {
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-info h3 {
        font-size: 1rem;
    }

    .product-info p {
        font-size: 0.8rem;
    }
}


/* Product Detail Carousel */
.product-carousel {
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
}

.carousel-track-container {
    overflow: hidden;
    padding: 0;
    /* Handled by JS offset */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 15pt;
}

.carousel-slide {
    flex: 0 0 calc(40% - 10px);
    /* Adjust for 20px gap to keep 80% total center width */
    text-align: center;
}

.carousel-slide img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 1rem;
}

.carousel-slide h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.carousel-btn {
    background: var(--color-primary);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: var(--color-accent);
}

/* Digital Catalog Section Base Settings moved above */

.catalog-thumb {
    width: 60%;
    /* Smaller size */
    margin: 0 auto 2rem;
    /* Centering */
    aspect-ratio: 1/1.4;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #999;
}

.catalog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slide-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.philosophy-gallery {
    animation: slide-left 20s linear infinite;
}