:root {
    --primary-color: #b71c1c; /* Logo Deep Red */
    --secondary-color: #212121; /* Logo Black/Dark Grey */
    --accent-color: #ffffff;
    --text-dark: #212529;
    --text-light: #f8f9fa;
    --font-primary: 'Roboto', sans-serif;
    --silver-gradient: linear-gradient(135deg, #e0e0e0 0%, #9e9e9e 100%);
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    overflow-x: hidden;
    padding-top: 110px; /* Account for fixed navbar height */
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    padding: 1rem 0; /* Added padding for better spacing */
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary-color) !important;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 80px; /* Slightly reduced from 90px to balance with navbar */
    width: auto;
    margin-right: 15px;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem; /* Increased font size */
    padding: 0.5rem 1.2rem !important; /* Increased padding */
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.btn-call {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-weight: 700;
    border-radius: 5px;
    padding: 0.7rem 1.8rem; /* Increased padding */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
    font-size: 1rem; /* Matched with nav links */
}

.btn-call:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../images/hero.jpg') no-repeat center center/cover; /* Slightly darker overlay */
    height: 90vh; /* Increased height */
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-align: center;
    position: relative;
    padding-top: 20px; /* Reduced since body has padding */
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
}

.hero-title {
    font-size: 3rem; /* Reduced from 3.5rem */
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    line-height: 1.2; /* Better line height */
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem; /* Increased margin */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400; /* Slightly bolder */
}

.btn-hero {
    padding: 0.8rem 2.5rem;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0.5rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-hero-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-hero-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    background-color: rgba(0,0,0,0.5);
    border-color: var(--primary-color);
}

.btn-hero-outline {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-hero-outline:hover {
    background-color: var(--text-light);
    color: var(--secondary-color);
}

/* Section Headings */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-weight: 800;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

.section-title p {
    color: #666;
    margin-top: 10px;
}

/* Services Grid */
.service-card {
    border: none;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: #f8f9fa;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: #fff;
}

.service-card .card-body {
    padding: 2.5rem 2rem;
    text-align: center;
}

.card-title {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Why Choose Us */
.feature-box {
    text-align: center;
    padding: 2rem;
    border: 1px solid #eee;
    background: #fff;
    transition: all 0.3s;
}

.feature-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.feature-box:hover .feature-icon {
    color: var(--primary-color);
}

/* Products Showcase */
.product-card {
    border: 1px solid #eee;
    transition: all 0.3s;
    background: #fff;
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: #111; /* Very dark grey, almost black */
    color: #ccc;
    padding: 5rem 0 2rem;
    border-top: 5px solid var(--primary-color);
}

.footer h5 {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
}

.footer a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: rotate(360deg);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #920c0c; /* Darker red */
    border-color: #920c0c;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    
    .navbar-brand img {
        height: 40px;
    }
}

/* Logo Slider */
.logo-slider {
    background: white;
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-slider::before,
.logo-slider::after {
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.logo-slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.logo-slider::before {
    left: 0;
    top: 0;
}

.logo-slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(250px * 10); /* 250px slide width * number of slides (original + copy) */
}

.slide {
    height: 100px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.slide img:hover {
    filter: grayscale(0%);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 5)); } /* move by width of original set */
}
