/* Krytex Autoparts - Custom Styles */
:root {
    --primary-color: #007BFF;
    --secondary-color: #FF6600;
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --text-light: #FFFFFF;
    --text-muted: #CCCCCC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero h1 span {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.5rem;
    max-width: 900px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.btn {
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    color: var(--secondary-color);
}

/* Sections */
section {
    padding: 6rem 5%;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    text-transform: uppercase;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.card {
    background-color: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 5rem 5% 2rem;
    border-top: 2px solid var(--primary-color);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col {
    flex: 1;
    min-width: 280px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    border-left: 4px solid var(--secondary-color);
    padding-left: 15px;
}

.footer-col p, .footer-col ul {
    color: var(--text-muted);
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--primary-color);
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 1.5rem;
}

.email-line {
    white-space: nowrap !important;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid #222;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-container {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    nav ul {
        display: none;
    }
}
