/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

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

/* Typography */
h1, h2, h3 {
    font-weight: 900;
}

/* Colors */
:root {
    --primary-red: #D4141E;
    --dark-bg: #1a1a1a;
    --text-light: #fff;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

/* Header */
header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo img {
    height:40px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--primary-red);
    border-bottom: 3px solid var(--primary-red);
    padding-bottom: 5px;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: #fff;
    min-height: 50vh;
}

.contact-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #000;
}

.contact-card {
    background-color: var(--primary-red);
    color: var(--text-light);
    padding: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 1.2rem;
}

.btn-primary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--text-light);
    color: var(--primary-red);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 30px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-copy {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
}

/* NEW HOMEPAGE STYLES */

/* Hero Section */
.hero {
    background: url('resources/landing_background_2.jpg') no-repeat center center/cover;
    padding: 100px 0;
    color: #1a1a1a;
    text-align: right;
}
.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: right;
    color: var(--text-light);
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 500;
    text-align: right;
    color: var(--text-light);
}
.text-red {
    color: var(--primary-red);
}
.hero-btn {
    background-color: var(--primary-red);
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-size: 1rem;
}
.hero-btn:hover {
    background-color: #a81017;
    color: #fff;
    border-color: #a81017;
}

/* Products Section */
.products-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}
.text-center {
    text-align: center;
}
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}
.section-title .line {
    height: 2px;
    width: 30vw;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--primary-red);
}
.section-title h2 {
    font-size: 2rem;
    text-transform: uppercase;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.product-card {
    background: transparent;
}
.product-card img {
    max-width: 50%;
    margin-bottom: 20px;
}
.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.2;
}
.product-card p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1rem;
}
.btn-product {
    background-color: var(--primary-red);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
}
.btn-product:hover {
    background-color: #a81017;
    color: #fff;
    border-color: #a81017;
}

/* Features Section */
.features-section {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}
.feature-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-red);
}
.feature-card a {
    max-width: 100%;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.feature-card p {
    font-size: 0.9rem;
    color: #ccc;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-red);
    color: #fff;
    padding: 40px 0;
}
.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.cta-content {
    display: flex;
    align-items: center;
    gap: 20px;
}
.cta-icon {
    font-size: 4rem;
    line-height: 1;
}
.cta-text h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}
.cta-text p {
    font-size: 1.1rem;
}
.btn-cta {
    border: 1px solid #fff;
    padding: 12px 24px;
    font-size: 1rem;
}
.btn-cta:hover {
    background-color: #fff;
    color: var(--primary-red);
}
