/* RDRIVE - Black & White Theme */

:root {
    --primary-black: #000000;
    --secondary-black: #111111;
    --accent-black: #1a1a1a;
    --primary-white: #ffffff;
    --off-white: #f5f5f5;
    --grey-light: #e0e0e0;
    --grey-medium: #888888;
    --grey-dark: #333333;
    color-scheme: light only !important;
}

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

html {
    color-scheme: light only !important;
    background-color: #ffffff !important;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff !important;
    color: #000000 !important;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: var(--primary-black);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-brand .brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-white);
}

.nav-link {
    color: var(--primary-white) !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--grey-light) !important;
}

.nav-link.active {
    border: 1px solid var(--primary-white);
    border-radius: 4px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23222"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-white);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero .lead {
    font-size: 1.3rem;
    color: var(--grey-light);
    font-weight: 300;
    margin-bottom: 2rem;
}

.hero-sub {
    min-height: 60vh;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--grey-light);
    color: var(--primary-black);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--grey-medium);
    color: var(--primary-black);
    transform: translateY(-2px);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--primary-white);
    border: 2px solid var(--primary-white);
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

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

/* Sections */
.section {
    padding: 6rem 0;
}

.section-dark {
    background-color: var(--primary-black);
    color: var(--primary-white);
}

.section-grey {
    background-color: #2a2a2a;
    color: var(--primary-white);
}

.section-light {
    background-color: var(--off-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--grey-medium);
    margin-bottom: 3rem;
}

.section-dark .section-subtitle {
    color: var(--grey-light);
}

/* Service Cards */
.service-card {
    background-color: var(--primary-white);
    border: 1px solid var(--grey-light);
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-black);
}

.service-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    color: var(--grey-dark);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--grey-light);
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:first-child {
    padding-top: 0;
}

.feature-list li:first-child::before {
    top: calc(0.4em + 3px);
    transform: none;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--primary-black);
}

/* Feature List with Icons - no bullets */
.feature-list.icon-list li {
    padding-left: 0;
}

.feature-list.icon-list li::before {
    display: none;
}

/* Testimonials */
.testimonial-card {
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.testimonial-header {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-body {
    background-color: var(--primary-white);
    padding: 2rem 1.5rem;
    position: relative;
}

.testimonial-body .quote-icon {
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--grey-light);
    line-height: 1;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    opacity: 0.4;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--grey-dark);
    line-height: 1.8;
}

.testimonial-stars {
    color: #d4af37;
    font-size: 1.1rem;
    letter-spacing: 3px;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-link {
    color: var(--primary-black);
    font-weight: 600;
    text-decoration: underline;
}

.read-more-link:hover {
    color: var(--grey-dark);
}

/* Brand Logos */
.brand-section {
    padding: 4rem 0;
    background-color: var(--off-white);
}

.brand-item {
    text-align: center;
    padding: 2rem;
}

.brand-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--grey-dark);
}

/* Contact Form */
.contact-form .form-control {
    border: 1px solid var(--grey-light);
    border-radius: 0;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background-color: var(--primary-white);
}

.contact-form .form-control:focus {
    border-color: var(--primary-black);
    box-shadow: none;
}

.contact-info-box {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 3rem;
    height: 100%;
}

.contact-info-box h4 {
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.contact-info-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--grey-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--grey-medium);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--grey-light);
    font-size: 0.9rem;
}

.footer h6 {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--grey-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-white);
}

.footer-divider {
    border-color: var(--grey-dark);
    margin: 2rem 0;
}

.copyright {
    color: var(--grey-medium);
    font-size: 0.85rem;
    margin: 0;
}

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

.about-content h3 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--grey-dark);
    margin-bottom: 1rem;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    color: var(--primary-white);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--grey-light);
    font-size: 1.2rem;
}

/* Why Choose Us */
.why-choose-item {
    text-align: center;
    padding: 2rem;
}

.why-choose-item h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-choose-item p {
    color: var(--grey-dark);
}

/* Force light mode - Override Samsung Internet and other browser dark modes */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light only !important;
    }

    html {
        background-color: #ffffff !important;
        color-scheme: light only !important;
    }

    body {
        background-color: #ffffff !important;
        color: #000000 !important;
    }

    * {
        color-scheme: light only !important;
    }
}

/* Castrol Logo */
.castrol-logo {
    max-width: 200px;
}

@media (min-width: 992px) {
    .castrol-logo {
        max-width: 330px;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .lead {
        font-size: 1.1rem;
    }

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

@media (max-width: 576px) {
    .section-title {
        font-size: 1.65rem;
    }
}
