/* Header */
header {
    text-align: center;
    padding: 20px 40px;
    background-color: var(--color-secondary);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.header-logo {
    height: 80px;
    width: auto;
}

.header-text {
    text-align: left;
    flex-grow: 1;
}

.header-text h1 {
    font-size: 32px;
    margin: 0;
    color: white;
    font-weight: 700;
}

.header-text h2 {
    font-size: 24px;
    margin: 5px 0 0;
    color: var(--color-accent1);
    font-weight: 500;
}

.header-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.header-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-text {
        text-align: center;
    }
    
    .header-logo {
        height: 60px;
    }
    
    .header-text h1 {
        font-size: 28px;
    }
    
    .header-text h2 {
        font-size: 20px;
    }

    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

section {
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}

.branding-elements, .brand-colors, .brand-fonts, .brand-logos, .brand-themes, .typography-color-selection {
    margin: 40px 0;
}

.branding-element {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.branding-element h3 {
    margin-top: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--color-secondary);
}

.branding-element p {
    margin: 10px 0;
}

.branding-element a {
    color: var(--color-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--color-secondary);
    padding-bottom: 2px;
    transition: all 0.3s;
}

.branding-element a:hover {
    color: var(--color-accent1);
    border-bottom-color: var(--color-accent1);
}

/* Brand Colors */
.color-palette {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.brand-color-box {
    flex-grow: 1;
    margin: 5px;
    color: white;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-top: 50px;
    padding-bottom: 70px;
    display: flex;
    flex-direction: column;
}

.color-primary {
    background-color: var(--color-primary);
    flex: 2.5;
    min-width: 300px;
}

.color-secondary {
    background-color: var(--color-secondary);
    flex: 2.5;
    min-width: 300px;
}

.color-accent1 {
    background-color: var(--color-accent1);
    flex: 1;
    min-width: 150px;
}

.color-accent2 {
    background-color: var(--color-accent2);
    flex: 1.5;
    min-width: 200px;
}

.color-accent3 {
    background-color: var(--color-accent3);
}

.color-code {
    width: 80%;
    margin: 0 auto;
    flex-grow: 1;
}

.color-code div, .color-selection-box div {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 3px;
    margin: 10px 0;
    transition: transform 0.3s;
}

.color-code button {
    display: inline-block;
    margin-top: 5px;
    padding: 3px 5px;
    font-size: 0.8em;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.3s;
}

.color-code button:hover {
    transform: scale(1.1);
}

.color-instructions {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 0.9em;
    padding: 0 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instructions {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #555;
}

/* Typography Section */
.typography-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.typography-block {
    width: 45%;
    background-color: #fff;
    padding: 20px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.typography-block.dark {
    background-color: var(--color-secondary);
    color: var(--text-color-light);
}

.typography-block p {
    margin: 5px 0;
}

.typography-examples {
    margin-top: 20px;
    text-align: center;
}

.typography-examples button {
    margin: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.typography-examples button:hover {
    transform: scale(1.1);
}

.typography-examples .light {
    background-color: var(--color-primary);
    color: white;
}

.typography-examples .dark {
    background-color: var(--color-secondary);
    color: white;
}

.typography-examples .highlight {
    background-color: var(--color-accent1);
    color: var(--text-color-dark);
}

/* Light Background Typography */
.typography-block p {
    font-size: 14pt;
    color: var(--text-color-dark);
}

.typography-block h1 {
    font-size: 36pt;
    color: var(--color-primary);
    font-weight: bold;
}

.typography-block h2 {
    font-size: 26pt;
    color: var(--color-primary);
    font-weight: 600;
}

.typography-block h3 {
    font-size: 22pt;
    color: var(--color-primary);
    font-weight: 500;
}

/* Dark Background Typography */
.typography-block.dark p {
    font-size: 14pt;
    color: var(--text-color-light);
}

.typography-block.dark h1 {
    font-size: 36pt;
    color: var(--text-color-light);
    font-weight: bold;
}

.typography-block.dark h2 {
    font-size: 26pt;
    color: var(--text-color-light);
    font-weight: 600;
}

.typography-block.dark h3 {
    font-size: 22pt;
    color: var(--text-color-light);
    font-weight: 500;
}

/* Typography Color Selection */
.typography-color-selection {
    text-align: center;
}

.color-grid {
    display: grid;
    grid-template-columns: 120px repeat(6, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.color-header {
    text-align: center;
    padding: 10px;
    font-weight: bold;
    color: white;
    font-size: 1.1em;
    min-width: 120px;
}

.color-header.black { 
    background-color: black; 
    color: white;
}

.color-header.white { 
    background-color: white; 
    color: black;
    border: 1px solid #ddd;
}

.color-row {
    text-align: right;
    padding: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 1.1em;
}

.color-box {
    padding: 20px 10px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    font-size: 1.2em;
    min-width: 120px;
}

.color-box.light-text {
    color: white;
}

.color-box.dark-text {
    color: var(--text-color-dark);
}

.color-box .badge {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.75em;
}

.badge.correct {
    background-color: #4CAF50;
    color: white;
}

.badge.incorrect {
    background-color: #f44336;
    color: white;
}

.color-box.black { 
    background-color: black; 
}

.color-box.white { 
    background-color: white;
    border: 1px solid #ddd;
}

@media (max-width: 1200px) {
    .color-grid {
        grid-template-columns: 100px repeat(6, 1fr);
    }
    
    .color-header, .color-box {
        min-width: 100px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    section {
        padding: 20px;
    }
    
    .color-grid {
        grid-template-columns: 80px repeat(3, 1fr);
    }
    
    .color-box {
        padding: 15px 8px;
        min-width: 80px;
        font-size: 1em;
    }
    
    .color-header, .color-row {
        font-size: 0.9em;
        min-width: 80px;
    }
    
    .brand-color-box {
        flex: 1 1 100%;
        min-width: 100%;
    }
}

/* Brand Logos */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--color-primary);
    color: white;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

button {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: var(--color-secondary);
}

.bulk-download {
    text-align: center;
    margin: 40px 0;
}

.bulk-download button {
    padding: 12px 24px;
    font-size: 1.1em;
}

.color-code button {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.color-code button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Brand Messages */
.brand-messages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.message-box {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.message-box:hover {
    transform: translateY(-5px);
}

.message-box blockquote {
    font-size: 1.4em;
    color: var(--color-primary);
    margin: 0 0 20px 0;
    padding: 0;
    font-weight: 600;
    line-height: 1.4;
    position: relative;
}

.message-box blockquote::before {
    content: '"';
    font-size: 3em;
    color: var(--color-accent1);
    position: absolute;
    left: -20px;
    top: -20px;
    opacity: 0.3;
}

.message-box p {
    color: #666;
    margin: 0;
    font-size: 1.1em;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .brand-messages {
        grid-template-columns: 1fr;
    }
    
    .message-box {
        padding: 20px;
    }
    
    .message-box blockquote {
        font-size: 1.2em;
    }
    
    .message-box p {
        font-size: 1em;
    }
}


