/* =====================
   ProCoats - Global Styles
   ===================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Inter:wght@400;500&display=swap');

/* =====================
   CSS Variables
   ===================== */
:root {
  /* Primary Colors */
  --carbon-black: #000000;
  --midnight-slate: #131417;
  
  /* Accent Colors */
  --electric-orange: #FF6A00;
  --metallic-silver: #C0C0C0;
  
  /* Neutrals */
  --smoke-grey: #E4E4E4;
  --soft-white: #F7F7F7;
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style-position: inside;
}

/* =====================
   Typography
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 900;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* =====================
   Header & Navigation
   ===================== */
header {
  background-color: var(--carbon-black);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 106, 0, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}

.logo-badge {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--metallic-silver), #999);
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--carbon-black);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--smoke-grey);
  letter-spacing: 0.5px;
}

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

nav a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--electric-orange);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--electric-orange);
}

.header-cta {
  background-color: var(--electric-orange);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  transition: background-color 0.3s, transform 0.2s;
}

.header-cta:hover {
  background-color: #e05f00;
  transform: translateY(-2px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    text-align: center;
  }
}

/* =====================
   Buttons
   ===================== */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background-color: var(--electric-orange);
  color: #fff;
}

.btn-primary:hover {
  background-color: #e05f00;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: var(--carbon-black);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--carbon-black);
  border: 2px solid var(--carbon-black);
}

.btn-outline-dark:hover {
  background-color: var(--carbon-black);
  color: #fff;
}

/* =====================
   Hero Section
   ===================== */
.hero {
  background: linear-gradient(135deg, var(--carbon-black) 0%, var(--midnight-slate) 100%);
  color: #fff;
  padding: 4rem 0;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.hero-content {
  padding-top: 2rem;
}

.pill-label {
  display: inline-block;
  background-color: rgba(255, 106, 0, 0.2);
  color: var(--electric-orange);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid var(--electric-orange);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.1rem;
  color: var(--smoke-grey);
  margin-bottom: 2rem;
}

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

.quick-quote-card {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
}

.quick-quote-card h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  color: var(--smoke-grey);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--smoke-grey);
  margin-top: 0.75rem;
  font-style: italic;
}

@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
}

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

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

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

.section-dark {
  background-color: var(--midnight-slate);
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: var(--smoke-grey);
}

/* =====================
   How It Works
   ===================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--electric-orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0 auto 1.5rem;
}

.step-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.step-card p {
  color: #666;
  margin-bottom: 0;
}

/* =====================
   Service Cards
   ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 3px solid var(--electric-orange);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
  color: var(--carbon-black);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-card p {
  color: #666;
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-card li {
  padding: 0.4rem 0;
  color: #555;
  position: relative;
  padding-left: 1.5rem;
}

.service-card li::before {
  content: '✓';
  color: var(--electric-orange);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.service-card a {
  color: var(--electric-orange);
  font-weight: 500;
  transition: color 0.3s;
}

.service-card a:hover {
  color: #e05f00;
  text-decoration: underline;
}

/* =====================
   Trust / Why Choose
   ===================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.trust-item {
  text-align: center;
  padding: 1.5rem;
}

.trust-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(255, 106, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
}

.trust-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.trust-item p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* =====================
   Partner Portal Section
   ===================== */
.partner-portal-section {
  background: linear-gradient(135deg, var(--midnight-slate) 0%, var(--carbon-black) 100%);
  color: #fff;
  padding: 4rem 0;
}

.partner-portal-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.partner-portal-content h2 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.partner-portal-content p {
  color: var(--smoke-grey);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.partner-portal-content ul {
  list-style: none;
  text-align: left;
  max-width: 600px;
  margin: 2rem auto;
}

.partner-portal-content li {
  padding: 0.6rem 0;
  color: var(--smoke-grey);
  position: relative;
  padding-left: 2rem;
}

.partner-portal-content li::before {
  content: '→';
  color: var(--electric-orange);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.partner-portal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.portal-note {
  font-size: 0.85rem;
  color: var(--metallic-silver);
  margin-top: 0.5rem;
  font-style: italic;
}

/* =====================
   Services Page Styles
   ===================== */
.page-hero {
  background-color: var(--soft-white);
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--carbon-black);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.service-detail {
  padding: 3rem 0;
  border-bottom: 1px solid var(--smoke-grey);
}

.service-detail:last-of-type {
  border-bottom: none;
}

.service-detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.service-detail h2 {
  color: var(--carbon-black);
  margin-bottom: 1.5rem;
}

.service-detail p {
  color: #666;
  margin-bottom: 1rem;
}

.service-detail ul {
  list-style: none;
  margin: 1.5rem 0;
}

.service-detail li {
  padding: 0.5rem 0;
  color: #555;
  position: relative;
  padding-left: 1.8rem;
}

.service-detail li::before {
  content: '•';
  color: var(--electric-orange);
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: 0.2rem;
}

.price-card {
  background-color: var(--soft-white);
  border: 2px solid var(--electric-orange);
  border-radius: 12px;
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}

.price-card h4 {
  color: var(--carbon-black);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.price-card p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.price-card .price-range {
  color: var(--electric-orange);
  font-weight: 500;
  font-size: 1rem;
}

@media (max-width: 968px) {
  .service-detail-content {
    grid-template-columns: 1fr;
  }
  
  .price-card {
    position: static;
  }
}

/* =====================
   Partner Block
   ===================== */
.partner-block {
  background-color: var(--midnight-slate);
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 3rem 0;
}

.partner-block h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.partner-block p {
  color: var(--smoke-grey);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* =====================
   Contact / Quote Page
   ===================== */
.quote-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.quote-form {
  max-width: 700px;
  margin: 0 auto 3rem;
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.quote-form h3 {
  margin-bottom: 2rem;
  color: var(--carbon-black);
}

.quote-form .form-group {
  margin-bottom: 1.5rem;
}

.quote-form label {
  color: var(--carbon-black);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  border: 1px solid var(--smoke-grey);
  background-color: #fff;
  color: var(--carbon-black);
}

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

.partner-enquiry-note {
  max-width: 700px;
  margin: 0 auto 3rem;
  background-color: rgba(255, 106, 0, 0.1);
  border: 2px solid var(--electric-orange);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.partner-enquiry-note p {
  color: var(--carbon-black);
  margin-bottom: 0;
  font-weight: 500;
}

/* =====================
   FAQ Section
   ===================== */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--smoke-grey);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  color: var(--carbon-black);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.faq-item p {
  color: #666;
  margin-bottom: 0;
}

/* =====================
   Footer
   ===================== */
footer {
  background-color: var(--carbon-black);
  color: #fff;
  padding: 3rem 0 1.5rem;
}

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

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

.footer-about h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-about p {
  color: var(--smoke-grey);
  font-size: 0.95rem;
}

.footer-links h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: var(--smoke-grey);
  transition: color 0.3s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--electric-orange);
}

.footer-contact h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-contact p {
  color: var(--smoke-grey);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--electric-orange);
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #e05f00;
}

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

.footer-bottom p {
  color: var(--smoke-grey);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* =====================
   Utility Classes
   ===================== */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
