:root {
    --primary-yellow: #FFC107;
    --dark-charcoal: #212121;
    --light-gray: #f8f9fa;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 1. Define the custom font */
@font-face {
    font-family: 'HorseshoesFont'; 
    src: url('horseshoes.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

hr {
    border: none;
    border-top: 2px solid #FFC107;
    margin: 2rem 0; /* Adds spacing above and below the line */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-charcoal);
    background-color: var(--white);
}

header {
    display: flex;
    justify-content: center;  /* Centers the content horizontally */
    align-items: center;      /* Centers the content vertically */
    width: 100%;             /* Vital: tells the header to use the whole screen width */
    gap: 30px;                /* Space between bee and text */
    padding: 20px 0;          /* Space above and below the header */
    background-color: var(--dark-charcoal);
    color: var(--primary-yellow);
}

.logo {
    height: 120px;
    width: auto;
}

.header-text {
    /* Optional: centers the lines of text relative to each other */
    text-align: center; 
}

.header-text h1, .header-text p {
    margin: 0;             /* Removes default spacing for a tighter look */
    padding: 2px 0;
}

/* 2. Apply it to your header h1 */
header h1 {
    font-family: 'HorseshoesFont', Arial, sans-serif;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

/* Custom class for a specific heading style */
.h1a {
    font-family: 'HorseshoesFont', Arial, sans-serif;
    font-size: 2.0rem;         /* Larger than your standard h1 */
    letter-spacing: 1px;
    line-height: 1.2;
    display: block;            /* Makes it behave like a heading tag */
}



nav {
    background: #333;
    padding: 0.5rem;
    text-align: center;
}

nav a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 0.9rem;
}

nav a:hover {
    color: var(--primary-yellow);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hero {
    text-align: center;
    padding: 3rem 0;
    border-bottom: 2px solid var(--primary-yellow);
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 2rem;
}

.card {
    background: var(--light-gray);
    border-left: 5px solid var(--primary-yellow);
    padding: 1.5rem;
    flex: 1 1 calc(25% - 20px);
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.btn {
    display: inline-block;
    width: fit-content; /* Shrinks the button to the text size */
	align-self: flex-start; /* Forces the button to the left (start) of the card */
    background: var(--primary-yellow);
    color: var(--dark-charcoal);
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    border-radius: 4px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #e5ac00;
}

footer {
    background: var(--dark-charcoal);
    color: #888;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 100%;
    }
}