/* Basic Reset & Typography */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: #BF1E4B;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #8a1535;
}

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

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Header */
#header-wrapper {
    background: #261300 url(images/overlay.png) repeat;
    padding: 2rem 0;
    color: #fff;
}

#header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    #header {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

#logo h1 {
    font-size: 2rem;
    margin: 0;
}

#logo h1 a {
    color: #fff;
}

#logo span {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Navigation */
#menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    #menu ul {
        margin-top: 0;
    }
}

#menu li a {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

#menu li.current_page_item a,
#menu li a:hover {
    background: #BF1E4B;
    color: #fff;
}

/* Sections */
#wrapper2 {
    background: #DC572E;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

#welcome .title h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

#welcome .byline {
    display: block;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#welcome p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Three Column Section */
#wrapper3 {
    background: #fff;
    padding: 4rem 0;
}

#three-column {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.card {
    flex: 1 1 300px;
    padding: 2rem;
    background: #f4f4f4;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.icon {
    display: inline-block;
    font-size: 3rem;
    color: #632F00;
    margin-bottom: 1rem;
}

.card .title h2 {
    font-size: 1.5rem;
    color: #261300;
    text-transform: uppercase;
}

/* Portfolio / Products */
#portfolio {
    text-align: center;
}

#portfolio .title {
    margin-bottom: 3rem;
}

#portfolio .title h2 {
    font-size: 2.2rem;
    color: #333;
}

#portfolio .byline {
    color: #666;
    font-size: 1rem;
    text-transform: uppercase;
}

.column-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.column {
    flex: 1 1 250px;
    background: #fff;
    border: 1px solid #eee;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.column h3 {
    color: #BF1E4B;
    margin-bottom: 1rem;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #BF1E4B;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.button:hover {
    background: #9e183d;
    color: #fff;
}

.button-small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* Footer */
#wrapper4 {
    background: #261300;
    color: #fff;
    padding: 4rem 0 2rem 0;
    text-align: center;
}

#footer .title h2 {
    color: #fff;
    font-size: 2rem;
}

#footer .byline {
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 2rem;
}

.contact-info {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-info a {
    color: #fff;
    text-decoration: underline;
}

ul.contact {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

ul.contact li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: background 0.3s ease;
    text-decoration: none;
}

ul.contact li a span {
    display: none;
}

ul.contact li a:hover {
    background: #BF1E4B;
}

#copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

#copyright a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

/* Utility */
.arrow-down {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #DC572E;
    margin: 0 auto 2rem auto;
    display: block;
}

/* Contact Form Styles */
.contact-form-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #BF1E4B;
    outline: none;
    box-shadow: 0 0 0 3px rgba(191, 30, 75, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}