/* Brand & Style Guide CSS */
@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Roboto+Condensed:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    /* GREEN COLORS */
    --deep-green: #0d5630; /* For text only, especially titles. Never for fills or backgrounds */
    --sage-green: #426653; /* For all background colors and fills. Never for text elements */

    /* GOLD COLORS */
    --royal-gold: #d4af37; /* Primary gold for highlights, lines, text and small fills */
    --bronze-gold: #b8860b; /* Secondary gold for highlights, borders, lines and secondary elements */
    --pure-gold: #f3cd29; /* Used sparingly for special emphasis and decorative elements */

    /* SECONDARY COLORS */
    --warm-beige: #c5b9ab; /* Secondary neutral for backgrounds and containers */
    --deep-brown: #57473a; /* Secondary dark for text and strong accents */
    --medium-taupe: #a59788; /* Secondary mid-tone for backgrounds and borders */
    --light-cream: #e6dfd4; /* Secondary light for subtle backgrounds and containers */
    --sage-brown: #83735f; /* Secondary dark for text and accent elements */

    /* GREY COLORS */
    --black: #000000; /* Main text color for H2 and paragraphs */
    --medium-grey: #595959; /* For H3 headings and secondary paragraph text */
    --dark-grey: #181818; /* For H4 headings and paragraph text */
    --white: #ffffff; /* For text on dark backgrounds and contrast elements */
    
    /* Legacy color variables - maintained for backward compatibility */
    --primary-color: var(--deep-green);
    --secondary-color: var(--bronze-gold);
    --gold-color: var(--royal-gold);
    --light-text: var(--medium-grey);
    --dark-text: var(--black);
    --very-light-text: var(--white);
    --accent-color: var(--royal-gold);
    
    /* Background colors */
    --light-bg: #f4f4ec;
    --light-bg2: #d8d8d0;
    --light-bg3: #b8b8b0;
    --light-accent: rgba(212, 175, 55, 0.15);
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    background-color: #fefefe;
    color: var(--black);
    margin: 0;
    line-height: 1.6;
    padding: 0;
}

/* Standard class for all brand guide pages */
body.brand-guide {
    margin: 0;
    padding: 0;
    background-color: #fefefe;
    color: var(--black);
}

/* Add space for header on standard pages */
body.brand-guide .site-header {
    margin-bottom: 40px;
}

h1, h2, h3, h4 {
    font-family: 'Fjalla One', sans-serif;
    text-shadow: none;
}

h1 {
    color: var(--deep-green);
    font-size: 2.5em;
    border-bottom: 3px solid var(--royal-gold);
    padding-bottom: 10px;
    margin-bottom: 30px;
    margin-left: 40px;
    margin-right: 40px;
}

@media (max-width: 768px) {
    h1 {
        margin-left: 20px;
        margin-right: 20px;
    }
}

h2 {
    color: var(--black);
    font-size: 2em;
    border-bottom: 2px solid var(--royal-gold);
    padding-bottom: 8px;
    margin-top: 30px;
    margin-bottom: 20px;
}

h3 {
    color: var(--medium-grey);
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 15px;
}

h4 {
    color: var(--dark-grey);
    font-size: 1.25em;
    margin-top: 20px;
    margin-bottom: 10px;
}

a {
    color: var(--bronze-gold);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: var(--deep-green);
}

ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    margin: 8px 0;
}

section {
    margin-bottom: 2em;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--royal-gold);
    margin-left: 40px;
    margin-right: 40px;
}

@media (max-width: 768px) {
    section {
        margin-left: 20px;
        margin-right: 20px;
    }
}

.primary-container {
    background-color: var(--sage-green);
    color: var(--white);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.secondary-container {
    background-color: var(--white);
    color: var(--black);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid var(--bronze-gold);
}

code {
    background-color: #f4f4f4;
    padding: 4px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #333;
}

/* Top Navigation Bar */
.top-nav {
    display: flex;
    justify-content: flex-end;
    background-color: var(--sage-green);
    padding: 8px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.top-nav a {
    color: var(--white);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9em;
    transition: color 0.2s;
}

.top-nav a:hover {
    color: var(--royal-gold);
    text-decoration: none;
}

.top-nav .nav-separator {
    color: var(--bronze-gold);
    margin-left: 20px;
}

.top-nav .home-link {
    margin-right: auto;
    margin-left: 0;
    font-weight: bold;
}

/* Table of Contents Styles */
.toc-container {
    background-color: var(--sage-green);
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    color: var(--white);
}

.toc-container h2 {
    color: var(--royal-gold);
    margin-top: 0;
    border-bottom: 1px solid var(--royal-gold);
}

.toc-section {
    margin-bottom: 25px;
}

.toc-section h3 {
    border-bottom: 1px solid var(--royal-gold);
    padding-bottom: 8px;
    margin-bottom: 15px;
    color: var(--royal-gold);
}

.toc-list {
    padding-left: 15px;
    line-height: 2.2;
}

.toc-list li {
    margin: 12px 0;
    transition: transform 0.2s;
    padding: 8px 0;
}

.toc-list li:hover {
    transform: translateX(5px);
}

.section-toc {
    margin: 30px 0;
}

.section-toc .toc-list li {
    margin: 18px 0;
    padding: 10px 0;
    font-size: 1.1em;
}

/* Index page styling and spacing */
.index-toc {
    line-height: 2.2;
    margin: 30px 0;
}

.index-toc .main-item {
    display: block;
    margin: 25px 0 15px 0;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--deep-green);
}

.index-toc .sub-item {
    display: block;
    margin: 12px 0 12px 40px;
    font-size: 1.1em;
    line-height: 1.8;
}

.index-toc a {
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.index-toc a:hover {
    color: var(--royal-gold);
    transform: translateX(5px);
}

.index-toc a.wip {
    color: #999;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

.index-toc a.wip::after {
    content: " (Coming Soon)";
    font-size: 0.8em;
    font-style: italic;
}

.toc-list a {
    color: var(--white);
    transition: color 0.2s;
}

.toc-list a:hover {
    color: var(--royal-gold);
    text-decoration: none;
}

.chapter-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gold-color);
    font-style: italic;
    color: var(--light-text);
}

/* Chapter Intro Sections */
.brand-foundations-intro,
.design-system-intro,
.digital-guidelines-intro,
.copy-content-intro,
.internal-assets-intro,
.legal-accessibility-intro {
    background-color: var(--sage-green);
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    color: var(--white);
}

.brand-foundations-intro h2,
.design-system-intro h2,
.digital-guidelines-intro h2,
.copy-content-intro h2,
.internal-assets-intro h2,
.legal-accessibility-intro h2 {
    color: var(--royal-gold);
    margin-top: 0;
    border-bottom: 1px solid var(--royal-gold);
}

.key-points {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid var(--royal-gold);
}

.key-points h3 {
    color: var(--medium-grey);
    margin-top: 0;
}

.key-points ul {
    padding-left: 20px;
    list-style-type: disc;
}

.key-points li {
    color: var(--black);
    margin: 10px 0;
}

/* Logo Section Styles */
.logo-section {
    margin-bottom: 40px;
}

.logo-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.logo-showcase {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.logo-showcase img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.logo-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.variant {
    flex: 0 0 calc(33.33% - 20px);
    min-width: 200px;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.variant img {
    max-width: 100%;
    height: auto;
}

.variant h3 {
    margin-top: 10px;
    font-size: 1.2em;
}

.variant-description {
    font-size: 0.9em;
    margin-top: 5px;
}

/* Primary Logo Page Styles */
.logo-gallery {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
}

.logo-item {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.logo-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    max-height: 200px;
}

.logo-description {
    margin-top: 15px;
}

.color-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.color-variant {
    flex: 0 0 calc(33.33% - 20px);
    min-width: 160px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.color-variant img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
}

.color-variant h4 {
    margin-top: 10px;
    font-size: 1em;
    color: var(--primary-color);
}

.bg-white {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bg-dark {
    background-color: #333333;
    padding: 20px;
    border-radius: 8px;
}

.dark-bg-preview {
    background-color: #333333;
    padding: 20px;
    border-radius: 8px;
}

.usage-guidelines {
    margin-top: 40px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--gold-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.usage-guidelines h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.usage-guidelines ul {
    padding-left: 20px;
    list-style-type: disc;
}

.usage-guidelines li {
    margin: 10px 0;
}

/* Secondary Logo Page Styles */
.secondary-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.logo-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.logo-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    max-height: 150px;
}

.logo-card h3 {
    margin-top: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.logo-card p {
    font-size: 0.9em;
    flex-grow: 1;
}

.logo-card .usage-note {
    font-style: italic;
    margin-top: 10px;
    font-size: 0.85em;
    color: var(--secondary-color);
}

.logo-usage-examples {
    margin-top: 40px;
}

.usage-example {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.usage-example h3, .usage-example h4 {
    margin-top: 0;
    color: var(--primary-color);
}

.example-preview {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 15px;
}

.example-preview img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
}

/* Logo Grid Display */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.grid-item {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.grid-item img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
}

.grid-item p {
    margin-top: 10px;
    font-size: 0.9em;
}

.download-button {
    display: inline-block;
    background-color: var(--deep-green);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    margin-top: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.download-button:hover {
    background-color: var(--royal-gold);
    transform: translateY(-2px);
}

.logo-wrapper {
    position: relative;
}

.logo-wrapper .download-button {
    position: absolute;
    bottom: 5px;
    right: 5px;
    opacity: 0.8;
}

.logo-wrapper:hover .download-button {
    opacity: 1;
}

/* Specific usage examples */
.watermark-example {
    opacity: 0.3;
    max-height: 100px;
}

/* Subsidiary Logos Section */
.subsidiary-section {
    margin-top: 40px;
    border-top: 2px solid var(--gold-color);
    padding-top: 20px;
}

.subsidiary-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.subsidiary-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.subsidiary-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    max-height: 160px;
}

.subsidiary-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
    color: var(--primary-color);
}

.subsidiary-card p {
    text-align: center;
    font-size: 0.9em;
}

.subsidiary-card .logo-variations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.subsidiary-card .variation {
    flex: 0 0 calc(50% - 15px);
    text-align: center;
}

.subsidiary-card .variation img {
    max-height: 80px;
    margin-bottom: 8px;
}

.subsidiary-card .variation span {
    font-size: 0.8em;
    color: var(--secondary-color);
}

/* Brochure-like styles for Brand Foundations */
body.brand-guide.brand-foundations {
    /* Specific styles for brand foundations pages */
    margin: 0;
    padding: 0;
}

.brand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--gold-color);
    padding-bottom: 20px;
}

.brand-title {
    font-size: 2.8em;
    margin: 0;
    color: var(--primary-color);
}

.brand-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.brand-section {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(13, 86, 48, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.brand-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
}

.section-full {
    grid-column: 1 / -1;
}

.brand-section h2 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.brand-section p {
    margin-bottom: 20px;
    font-size: 1.05em;
    line-height: 1.7;
}

.brand-section ul, .brand-section ol {
    padding-left: 20px;
    margin-bottom: 20px;
    list-style-type: disc;
}

.brand-section li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 5px;
}

.highlight-box {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid var(--gold-color);
}

.value-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(13, 86, 48, 0.1);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.3em;
}

.value-card p {
    margin-bottom: 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(13, 86, 48, 0.1);
}

.stat-card .stat {
    font-size: 1.8em;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-card .stat-description {
    font-size: 0.9em;
}

.brochure-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 30px;
}

.brochure-home-link {
    background: var(--primary-color);
    color: #ffffff !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(13, 86, 48, 0.3);
}

.brochure-home-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 86, 48, 0.4);
}

.brochure-footer {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(13, 86, 48, 0.2);
    font-style: italic;
    color: #666;
}

/* Decorative elements */
.corner-accent {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.1;
}

.top-right {
    top: 0;
    right: 0;
    border-top: 3px solid var(--primary-color);
    border-right: 3px solid var(--primary-color);
    border-top-right-radius: 15px;
}

.bottom-left {
    bottom: 0;
    left: 0;
    border-bottom: 3px solid var(--primary-color);
    border-left: 3px solid var(--primary-color);
    border-bottom-left-radius: 15px;
}

@media (max-width: 768px) {
    .brand-container {
        grid-template-columns: 1fr;
    }
}

/* Icon Gallery Specific Styles */
.white-icon {
    background-color: var(--light-bg3) !important;
}

.icon-item {
    background-color: var(--light-bg2);
}

.white-filter {
    background-color: var(--light-bg3);
}

/* Consolidated Subsections Style - Used across multiple pages */
.consolidated-subsections {
    margin-top: 40px;
    padding: 20px;
    background-color: var(--sage-green);
    border-radius: 8px;
    color: var(--white);
}

.consolidated-subsections h2 {
    color: var(--royal-gold);
    border-bottom: 2px solid var(--royal-gold);
    padding-bottom: 10px;
    margin-top: 0;
}

.subsection {
    margin: 25px 0;
    padding: 15px;
    background-color: var(--white);
    border-radius: 6px;
    border-left: 4px solid var(--royal-gold);
    color: var(--black);
}

.subsection h3 {
    color: var(--medium-grey);
    margin-top: 0;
}

/* Button Styles */
.button.primary-button {
    display: inline-block;
    background-color: var(--royal-gold);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin: 15px 0;
    transition: all 0.3s ease;
    border: 2px solid var(--royal-gold);
}

.button.primary-button:hover {
    background-color: var(--pure-gold);
    color: var(--deep-green);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.button.secondary-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--deep-green);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin: 15px 0;
    transition: all 0.3s ease;
    border: 2px solid var(--bronze-gold);
}

.button.secondary-button:hover {
    background-color: var(--bronze-gold);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.button .icon {
    margin-right: 8px;
    font-size: 18px;
}

/* Icon Gallery Link Styles */
.icon-gallery-link {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    border: 1px solid #e0e0e0;
}

/* LinkedIn Carousel Styles */
.linkedin-carousel-container {
    margin: 30px 0;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.linkedin-carousel {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    display: block;
    height: auto;
}

.caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(13, 86, 48, 0.7);
    color: var(--gold-color);
    margin: 0;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(13, 86, 48, 0.6);
    color: var(--gold-color);
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.carousel-btn:hover {
    background-color: rgba(13, 86, 48, 0.9);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-dots {
    text-align: center;
    margin: 15px 0;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 3px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--primary-color);
}

.carousel-thumbnails {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin-top: 15px;
    padding-bottom: 10px;
}

.carousel-thumbnails img {
    width: 100px;
    height: 25px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.3s;
}

.carousel-thumbnails img.active {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.carousel-thumbnails img:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* Content Box Layouts */
.content-two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.content-box {
    flex: 1;
    min-width: 280px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--bronze-gold);
}

.content-box h3 {
    color: var(--medium-grey);
}

.content-box h4 {
    color: var(--dark-grey);
}

/* Icon Gallery Specific Styles */
.icon-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.icon-category {
    margin: 40px 0;
    border-bottom: 1px solid var(--light-border, #e0e0e0);
    padding-bottom: 20px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--light-bg2);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.icon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.icon-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 10px;
}

.icon-name {
    font-size: 12px;
    text-align: center;
    color: var(--dark-text);
    word-break: break-word;
}

.icon-path {
    font-size: 9px;
    color: #666;
    display: none;
}

.icon-item:hover .icon-path {
    display: block;
}

.download-info {
    background-color: var(--light-bg2);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.search-box {
    width: 100%;
    padding: 12px;
    margin: 20px 0;
    border: 1px solid var(--light-border, #e0e0e0);
    border-radius: 4px;
    font-size: 16px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.filter-button {
    padding: 8px 16px;
    background-color: var(--light-bg2);
    border: 1px solid var(--light-border, #e0e0e0);
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.filter-button:hover, .filter-button.active {
    background-color: var(--primary-color);
    color: white;
}

.color-options {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.color-option {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
}

.color-option:hover {
    border-color: var(--primary-color);
}

/* Copy notification */
#copy-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    display: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Image Examples and Visual Demos */
.image-examples {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.image-card {
    position: relative;
    width: 320px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.image-preview {
    height: 180px; 
    background-color: var(--light-bg2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.image-preview.gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #116b3e 100%);
}

.image-preview img {
    height: auto;
    max-height: 120px;
    width: auto;
}

.image-card .caption {
    position: relative;
    margin: 0;
    padding: 10px;
    text-align: center;
    background-color: rgba(13, 86, 48, 0.9);
    color: var(--gold-color);
}

/* Typography Page Styles */
.typography-intro {
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 8px;
    margin-bottom: 30px;
}

.font-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 25px;
}

.font-downloads {
    margin-top: 25px;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 8px;
    border: 1px solid var(--gold-color);
}

.font-downloads h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.font-downloads ul {
    padding-left: 20px;
}

.font-downloads a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    background-color: var(--gold-color);
    padding: 6px 12px;
    border-radius: 4px;
    margin: 4px 0;
    color: var(--primary-color);
}

.font-downloads a:hover {
    background-color: var(--primary-color);
    color: var(--gold-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.download-icon {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.font-downloads h4 {
    margin-top: 20px;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-family: 'Fjalla One', sans-serif;
}

.font-downloads ul {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.roboto-weights-section {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--primary-color);
    border-radius: 8px;
    border: 1px solid var(--gold-color);
}

.roboto-weights-section h4 {
    color: var(--gold-color);
    margin-top: 0;
}

.font-card {
    flex: 1 1 300px;
    padding: 25px;
    background-color: var(--primary-color);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.primary-font-card::after {
    content: "PRIMARY";
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.7em;
    background-color: var(--gold-color);
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.secondary-font-card::after {
    content: "SECONDARY";
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.7em;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.font-card h3 {
    margin-top: 0;
    color: var(--gold-color);
}

.font-card .sample {
    margin: 15px 0;
}

.font-card .fjalla-sample {
    font-family: 'Fjalla One', sans-serif;
    font-size: 2em;
    color: var(--very-light-text);
}

.font-card .roboto-sample {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.6em;
    color: var(--very-light-text);
}

.font-card p {
    margin-bottom: 0;
    color: var(--very-light-text);
}

.typography-sections {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.section-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.section-card h3 {
    margin-top: 0;
    color: var(--gold-color);
    font-family: 'Fjalla One', sans-serif;
}

.section-card p {
    font-family: 'Roboto Condensed', sans-serif;
    flex-grow: 1;
}

.section-card .link {
    display: inline-block;
    margin-top: 15px;
    background-color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 4px;
    color: var(--gold-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s;
}

.section-card .link:hover {
    background-color: var(--gold-color);
    color: var(--primary-color);
}

.principles {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.principles h2 {
    margin-top: 0;
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.principle {
    background-color: var(--primary-color);
    border-radius: 8px;
    padding: 20px;
}

.principle h3 {
    color: var(--gold-color);
    margin-top: 0;
    font-family: 'Fjalla One', sans-serif;
}

.principle p {
    margin-bottom: 0;
    font-family: 'Roboto Condensed', sans-serif;
    color: var(--very-light-text);
}
/* Back to Index button for gallery pages */
.back-to-index {
    text-align: center;
    margin: 20px 0;
}

.home-button {
    display: inline-block;
    background-color: var(--deep-green);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

.home-button:hover {
    background-color: var(--bronze-gold);
    color: white;
    text-decoration: none;
}


