/* Global Styles */
:root {
    --red: #D72126;
    --grey: #575757;
    --black: #000000;
    --white: #FFFFFF;
    --yellow: #FFCC00;
    --light-grey: #F5F5F5;
    --medium-grey: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    color: var(--grey);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--red);
    border-bottom: 2px solid var(--red);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
    margin-top: 2rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1.5rem;
}

ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

a {
    color: var(--red);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

section {
    padding: 3rem 0;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--grey);
    text-transform: uppercase;
}

nav ul li a:hover {
    color: var(--red);
    text-decoration: none;
}

/* Hero Section */
#hero {
    background-color: var(--red);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

#hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Logo Section */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

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

.logo-display {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.logo-display img {
    max-width: 90%;
    max-height: 90%;
}

.white-bg {
    background-color: var(--white);
    border: 1px solid var(--medium-grey);
}

.black-bg {
    background-color: var(--black);
}

.grey-bg {
    background-color: var(--light-grey);
    border: 1px solid var(--medium-grey);
}

.download-btn {
    display: inline-block;
    background-color: var(--red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.download-btn:hover {
    background-color: #b51b1f;
    text-decoration: none;
}

/* Color Section */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.color-item {
    background-color: var(--light-grey);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.color-swatch {
    height: 150px;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.color-specs {
    list-style: none;
    padding: 0;
    text-align: left;
}

.color-specs li {
    margin-bottom: 0.5rem;
    font-family: 'Open Sans', sans-serif;
}

/* Typography Section */
.typography-section {
    margin-bottom: 3rem;
}

.font-display {
    font-size: 3rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: var(--light-grey);
    border-radius: 8px;
}

.bebas {
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
}

.merriweather {
    font-family: 'Merriweather', serif;
}

.open-sans {
    font-family: 'Open Sans', sans-serif;
}

.typography-hierarchy {
    background-color: var(--light-grey);
    padding: 2rem;
    border-radius: 8px;
}

.hierarchy-item {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--medium-grey);
}

.hierarchy-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.merriweather-bold {
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

.merriweather-regular {
    font-family: 'Merriweather', serif;
    font-weight: 400;
    font-size: 1.1rem;
}

.merriweather-light-italic {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-style: italic;
    font-size: 0.9rem;
}

.open-sans-regular {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
}

/* Applications Section */
.application-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--medium-grey);
}

.application-section:last-child {
    border-bottom: none;
}

.application-example {
    background-color: var(--light-grey);
    height: 300px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Downloads Section */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.download-item {
    background-color: var(--light-grey);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.download-section {
    margin-bottom: 3rem;
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
}

footer p {
    max-width: 600px;
    margin: 0 auto 1rem;
}

footer a {
    color: var(--red);
}

/* Responsive Styles */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    #hero h1 {
        font-size: 3rem;
    }
    
    #hero p {
        font-size: 1.2rem;
    }
    
    .logo-grid, .color-grid, .download-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero p {
        font-size: 1rem;
    }
    
    .font-display {
        font-size: 2rem;
    }
}
