/* ===================================
   TITAN LUBES - Professional B2B Website
   Color Scheme: Deep Blue (#1a365d) & Orange (#f97316)
   =================================== */

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

:root {
    --primary-blue: #1a365d;
    --primary-orange: #f97316;
    --light-blue: #2563eb;
    --dark-blue: #0f172a;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Navigation */
.navbar {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: 1px;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: -5px;
}

.logo-image {
    height: 80px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    border-bottom-color: var(--primary-orange);
}

.btn-nav {
    background: var(--primary-orange);
    padding: 0.6rem 1.2rem !important;
    border-radius: 5px;
    border: none !important;
}

.btn-nav:hover {
    background: #ea580c;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-service-area {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-cta {
    background: var(--primary-orange);
    color: var(--white);
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-600);
}

/* Product Categories */
.product-categories {
    background: var(--gray-50);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-image {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.link-arrow {
    color: var(--primary-orange);
    font-weight: 600;
}

.link-arrow:hover {
    color: var(--primary-blue);
}

/* Service Area */
.service-area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.map-placeholder {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    padding: 3rem;
    border-radius: 10px;
    color: var(--white);
    text-align: center;
}

.map-placeholder p {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.map-placeholder h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.map-placeholder ul {
    list-style: none;
    font-size: 1.1rem;
}

.map-placeholder li {
    margin: 0.5rem 0;
}

.checkmark-list {
    list-style: none;
    margin: 1.5rem 0;
}

.checkmark-list li {
    padding-left: 1.5rem;
    position: relative;
    margin: 0.75rem 0;
}

.checkmark-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Products Page */
.product-section {
    padding: 4rem 0;
}

.product-section.alt-bg {
    background: var(--gray-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image-placeholder {
    font-size: 5rem;
    text-align: center;
    margin-bottom: 1rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 10px;
}

.product-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.product-specs {
    list-style: none;
    margin: 1.5rem 0;
    color: var(--gray-600);
}

.product-specs li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.product-specs li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

/* About Page */
.about-content {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--gray-600);
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    padding: 3rem;
    border-radius: 10px;
    color: var(--white);
    text-align: center;
}

.image-placeholder p {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.image-placeholder h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.why-choose-detail {
    background: var(--gray-50);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.advantage-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.advantage-item p {
    color: var(--gray-600);
    line-height: 1.8;
}

.service-territory {
    padding: 4rem 0;
}

.territory-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.territory-region {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.territory-region h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.territory-region ul {
    list-style: none;
    color: var(--gray-600);
}

.territory-region li {
    padding: 0.3rem 0;
}

.who-we-serve {
    background: var(--gray-50);
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.customer-type {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.customer-type h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.customer-type p {
    color: var(--gray-600);
}

.company-info {
    padding: 4rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.info-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-orange);
    font-size: 1.1rem;
}

.info-card p {
    color: var(--gray-600);
}

/* Contact Page */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    background: var(--white);
}

.form-intro {
    margin-bottom: 2rem;
    color: var(--gray-600);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-note {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-top: 1rem;
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 10px;
}

.contact-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-orange);
}

.contact-item p {
    margin-bottom: 0.25rem;
}

.contact-item small {
    color: var(--gray-600);
    font-size: 0.85rem;
}

.contact-item a {
    color: var(--primary-blue);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--primary-orange);
}

.service-list {
    list-style: none;
    margin: 1rem 0;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--gray-600);
}

.service-note {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-style: italic;
    margin-top: 1rem;
}

.steps-list {
    list-style: none;
    counter-reset: steps;
    margin: 1rem 0;
}

.steps-list li {
    counter-increment: steps;
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--gray-600);
}

.steps-list li:before {
    content: counter(steps);
    position: absolute;
    left: 0;
    background: var(--primary-orange);
    color: var(--white);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
}

/* Map Section */
.map-section {
    background: var(--gray-50);
    padding: 4rem 0;
}

.map-container {
    margin: 2rem 0;
}

.map-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.map-info-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-orange);
}

.map-info-item p {
    color: var(--gray-600);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--gray-600);
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h3, .footer h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer p {
    opacity: 0.9;
    line-height: 1.8;
}

.footer-company {
    color: var(--primary-orange);
    font-size: 0.9rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin: 0.5rem 0;
}

.footer a {
    color: var(--white);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 1;
    color: var(--primary-orange);
}

.contact-info li {
    margin: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .service-area-content,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
