/* =========================
   COLOR SYSTEM
========================= */

:root {
    --accent: #0dcaf0;
    --accent-hover: #0bb5d6;
    --accent-dark: #099db5;
    --text-muted: #bbb;
}

/* =========================
   BASE
========================= */

html {
    font-size: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #eee;
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    background: url('../../images/hero.jpg') center/cover no-repeat;
    padding: 140px 20px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(20,20,20,0.85) 30%,
        rgba(30,30,30,0.6) 60%,
        rgba(50,50,50,0.3) 100%
    );
}

.hero .container {
    position: relative;
    max-width: 700px;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
}

.hero-sub {
    color: #b0b8c0 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* =========================
   SECTIONS
========================= */

.section {
    padding: 70px 20px;
    border-bottom: 1px solid #333;
}

/* =========================
   TABLES
========================= */

.table {
    width: 100%;
}

.table td:first-child {
    width: 70%;
}

.table td:last-child {
    width: 30%;
    text-align: right;
    white-space: nowrap;
    font-weight: 600;
    color: var(--accent);
}

.table td {
    vertical-align: middle;
    padding: 12px 16px;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    padding: 12px 0;
}

.navbar-nav .nav-link {
    padding: 10px 15px;
}

/* Navbar icons */
.navbar-nav .nav-link i {
    color: var(--accent);
    margin-right: 6px;
    transition: 0.2s;
}

.navbar-nav .nav-link:hover i {
    color: #ffffff;
}

/* =========================
   DROPDOWN
========================= */

.dropdown-menu {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 12px;
    padding: 15px 0;
    min-width: 260px;
}

.dropdown-item {
    padding: 12px 22px;
    color: #ddd;
}

.dropdown-item i {
    color: var(--accent);
    margin-right: 8px;
    transition: 0.2s;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.dropdown-item:hover i {
    color: #ffffff;
}

/* Desktop hover dropdown */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* =========================
   CARDS
========================= */

.service-box,
.why-box {
    background: #2a2a2a;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

/* =========================
   BUTTONS
========================= */

.btn-warning {
    background: var(--accent);
    border: none;
    color: #000;
    font-weight: bold;
}

.btn-warning:hover {
    background: var(--accent-hover);
}

/* =========================
   LINKS
========================= */

a {
    color: var(--accent);
}

a:hover {
    color: #ffffff;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #000;
    color: #aaa;
    padding: 25px;
    text-align: center;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .hero {
        padding: 100px 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
    }

    .navbar-nav .nav-link {
        font-size: 1.2rem;
    }
}

/* =========================
   LOGO
========================= */

.nav-logo {
    height: 55px;
}

@media (max-width: 768px) {
    .nav-logo {
        height: 40px;
    }
}

/* =========================
   CTA SECTION
========================= */

.cta-section {
    background: linear-gradient(
        to right,
        #000 0%,
        #111 50%,
        #000 100%
    );
    padding: 70px 20px;
    border-top: 1px solid #0dcaf0;
    border-bottom: 1px solid #222;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
}

.cta-text {
    color: #bbb;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.cta-buttons .btn {
    min-width: 200px;
}



/* Full width line accent*/

.full-width-line {
    border-top: 1px solid var(--accent);
}

/* FAQ section */

.faq-section {
    padding: 60px 0;
}

.faq-title {
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
  background: #ffffff;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #000;
}

.faq-item p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

/* Pricing table */

.table-primary {
    background: rgba(0, 180, 216, 0.12) !important;
}

.table-primary td {
    color: var(--accent) !important;
    font-weight: 700;
}

/* =========================
   Internal linking
========================= */

.related-coatings {
    margin: 20px 0 30px;
    text-align: center;
}

.related-title {
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: #ffffff;
}

.related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.related-grid a {
    display: inline-block;
    padding: 10px 18px;
    background: var(--card-bg);
    color: #c0c8d0;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.related-grid a:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.related-grid a:active {
    transform: scale(0.97);
}
/* Hover (desktop) */
.related-grid a:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* Active (mobile tap feedback) */
.related-grid a:active {
  transform: scale(0.97);
}

/*  WHY section index.php */

/* Section background */
.why-section {
    background: #0e0e0e;
    color: #ddd;
    padding: 60px 20px;
}

/* Title styling */
.section-title {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Boxes */
.why-box {
    background: #1a1a1a;
    padding: 25px;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Hover = subtle performance feel */
.why-box:hover {
    border-color: #e10600;
    transform: translateY(-5px);
}

/* Icons */
.why-box i {
    font-size: 28px;
    margin-bottom: 15px;
    color: #e10600;
}

/* Headings */
.why-box h4 {
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Text */
.why-box p {
    font-size: 14px;
    color: #aaa;
}

/* Image styling */
.performance-img {
    border: 1px solid #2a2a2a;
    box-shadow: 0 0 20px rgba(225, 6, 0, 0.15);
}

/* Contact page buttons */
.btn-outline-light {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline-light:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

/* =========================
   COATING FOCUS BANNER
========================= */

.coating-focus-banner {
    background: rgba(0, 180, 216, 0.05);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 35px 30px;
    max-width: 850px;
    margin: 0 auto;
}

.coating-focus-banner i {
    font-size: 3.5rem;
    color: var(--accent);
}

.coating-focus-banner h4 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 12px;
}

.coating-focus-banner p {
    color: #b0b8c0;
    font-size: 1rem;
}

.coating-focus-banner strong {
    color: #ffffff;
}

@media (max-width: 991px) {
    .coating-focus-banner {
        text-align: center;
        padding: 25px 20px;
    }
    
    .coating-focus-banner i {
        font-size: 2.5rem;
    }
}
