/* css/style.css */

:root {
    --primary-blue: #007BFF; /* Electric Blue */
    --accent-orange: #E67E22; /* Burnt Orange */
    --dark-gray: #111827;    /* Tailwind's bg-gray-900 */
    --medium-gray: #1F2937;  /* Tailwind's bg-gray-800 */
}

body {
    font-family: 'Poppins', sans-serif;
}

/* --- Navigation --- */
#main-header.scrolled {
    background-color: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-blue);
    transition: width 0.3s ease-in-out;
}
.nav-link:hover::after {
    width: 100%;
}
.mobile-nav-link {
    color: #ffffff;
    font-size: 1.875rem; /* 30px */
    line-height: 2.25rem; /* 36px */
    font-weight: 700;
}


/* --- Hero Section --- */
#hero {
    background: url('../images/1.jpg') no-repeat center center/cover;
}

.metallic-gradient-overlay {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(17, 24, 39, 0.9) 70%);
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-blue), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- General & Section Styling --- */
.section-title {
    font-size: 1.875rem; /* 30px */
    line-height: 2.25rem; /* 36px */
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
}
/* Responsive font size for medium screens and up */
@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem; /* 36px */
        line-height: 2.5rem; /* 40px */
    }
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-blue);
    margin: 1rem auto 0;
}

/* Angled sections for an unconventional look */
.angled-section {
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem; /* 12px 32px */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: var(--primary-blue);
    color: #ffffff;
    border-radius: 0.125rem; /* 2px */
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.btn-primary:hover {
    background-color: #3b82f6; /* A slightly lighter blue */
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -3px rgba(59, 130, 246, 0.4);
}
.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 0.125rem; /* 2px */
}
.btn-secondary:hover {
    background-color: #ffffff;
    color: var(--dark-gray);
    transform: translateY(-4px);
}
.btn-light {
    background-color: #ffffff;
    color: var(--dark-gray);
    border-radius: 0.125rem; /* 2px */
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.btn-light:hover {
    background-color: #f3f4f6; /* light gray */
    transform: translateY(-4px);
}
.btn-dark {
    background-color: var(--dark-gray);
    color: #ffffff;
    border-radius: 0.125rem; /* 2px */
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.btn-dark:hover {
    background-color: #000000;
    transform: translateY(-4px);
}
.btn-details {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform 0.3s ease;
}
.btn-details:hover {
    transform: translateX(8px);
}


/* --- Cards & Tiles --- */
.inventory-card {
    background-color: var(--medium-gray);
    border-radius: 0.5rem; /* 8px */
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.inventory-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.feature-tile {
    background-color: var(--dark-gray);
    padding: 2rem; /* 32px */
    border-bottom: 4px solid #374151; /* gray-700 */
    transition: all 0.3s ease;
}
.feature-tile:hover {
    background-color: var(--medium-gray);
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.service-item {
    background-color: var(--medium-gray);
    padding: 1.5rem; /* 24px */
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Replaces space-x-6 */
    border-left: 4px solid #374151; /* gray-700 */
    transition: all 0.3s ease;
}
.service-item:hover {
    border-color: var(--primary-blue);
    background-color: var(--dark-gray);
    transform: translateX(10px);
}
.service-item i {
    font-size: 1.875rem; /* 30px */
    color: var(--primary-blue);
}

.testimonial-card {
    background-color: var(--dark-gray);
    padding: 2rem; /* 32px */
    border-top: 4px solid #374151; /* gray-700 */
}

/* --- About Page Specific Styles --- */

#about-hero {
    /* Use a different background image for this page's hero */
    background: url('../images/5.jpg') no-repeat center center/cover;
}

/* Override the section title alignment for the story section */
.section-title.\!text-left {
    text-align: left;
}
.section-title.\!text-left::after {
    margin: 1rem 0 0; /* Adjust margin for left alignment */
}

/* Styling for Team Member Cards */
.team-card {
    background-color: var(--dark-gray);
    border-radius: 0.5rem; /* 8px */
    overflow: hidden;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* --- Inventory Page Specific Styles --- */

#inventory-hero {
    /* Use a schematic/blueprint-style background image */
    background: url('../images/10.jpg') no-repeat center center/cover;
}

/* Filter Buttons */
.filter-btn {
    background-color: transparent;
    border: 2px solid var(--medium-gray);
    color: var(--primary-blue);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 999px; /* Pill shape */
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.filter-btn.active {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}

/* Icon-based Spec Card */
.spec-card {
    background-color: var(--medium-gray);
    border: 1px solid #374151; /* gray-700 */
    border-radius: 0.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.spec-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.spec-card-icon {
    font-size: 3rem; /* 48px */
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.spec-card-title {
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    color: white;
}

.spec-card-desc {
    color: #9ca3af; /* gray-400 */
    min-height: 40px; /* Ensures consistent card height */
    flex-grow: 1;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* 12px */
    flex-grow: 1;
}

.spec-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* 12px */
    color: #d1d5db; /* gray-300 */
}

.spec-list li i {
    color: var(--primary-blue);
    width: 20px; /* Aligns icons neatly */
    text-align: center;
}

/* --- Contact Page Specific Styles --- */

#contact-hero {
    /* Use a new background image for this page's hero */
    background: url('../images/11.jpg') no-repeat center center/cover;
}

/* Style for the active navigation link */
.nav-link.active::after {
    width: 100%;
}

/* Custom Form Styles */
.form-input {
    width: 100%;
    background-color: var(--dark-gray);
    border: 2px solid #374151; /* gray-700 */
    color: #d1d5db; /* gray-300 */
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

.form-input::placeholder {
    color: #6b7280; /* gray-500 */
}

/* Fix for Select element arrow in dark mode */
select.form-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}