/* CSS Reset and Variables */
:root {
    --primary: #7B1113; /* Maroon */
    --primary-dark: #5a0c0e;
    --accent: #FFB800; /* Golden Yellow */
    --accent-hover: #e6a600;
    --bg-light: #f8f9fa;
    --text-dark: #333333;
    --text-light: #f5f5f5;
    --text-muted: #666666;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent);
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}
.logo-text span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-contact i {
    font-size: 1.5rem;
    color: var(--primary);
}

.phone-info {
    display: flex;
    flex-direction: column;
}

.phone-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.phone-info strong {
    font-size: 1rem;
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(123, 17, 19, 0.9), rgba(123, 17, 19, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-features {
    margin-top: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.about-features i {
    color: var(--accent);
    font-size: 1.2rem;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.image-placeholder i {
    font-size: 5rem;
    color: var(--white);
    opacity: 0.5;
}

/* Services Section */
.section-desc {
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--accent);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(123, 17, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-list {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.service-list li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary);
    padding: 60px 0;
    color: var(--white);
}

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

.cta-text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-form-container {
    width: 100%;
    max-width: 450px;
}

.cta-inline-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

.cta-inline-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

.cta-inline-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.5); 
}

.cta-inline-form .btn {
    border-radius: 4px;
    padding: 14px 30px; 
    white-space: nowrap;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: var(--text-light);
    padding: 80px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a:hover {
    color: var(--accent);
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-list i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Fabrication Section & Slider */
.fabrication {
    background-color: var(--white);
    overflow: hidden;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.slider-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    /* Adjust '60s' below to make the slider faster or slower */
    animation: scroll 80s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused; /* Pauses the slider when the user hovers over it */
}

.slide {
    flex-shrink: 0;
    width: 400px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% / 2 - 1rem)); } /* -50% of the total track width minus half the gap */
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .about-container { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-contact { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .cta-container { flex-direction: column; text-align: center; gap: 30px; }
    .footer-top { grid-template-columns: 1fr; }
    
    .slide {
        width: 300px;
        height: 200px;
    }
}
