/* Custom CSS for Bulldog Junk Co website */

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #011E3D;       /* Dark navy used for backgrounds */
    --secondary-color: #FFC20E;     /* Golden yellow used for highlights and buttons */
    --accent-color: #E2453A;        /* Warm red for accents */
    --light-color: #F7F9FC;         /* Light off‑white for backgrounds */
    --text-dark: #2E3143;           /* Dark grey for primary text */
    --text-light: #FFFFFF;          /* White for text on dark backgrounds */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-color);
    scroll-behavior: smooth;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Navbar */
nav.navbar {
    background-color: var(--primary-color);
    padding: 0.75rem 1rem;
    transition: background-color 0.3s ease;
}

/* Navbar scrolled state */
.navbar-scrolled {
    background-color: rgba(1, 30, 61, 0.95);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
nav.navbar .navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--secondary-color);
}
nav.navbar .navbar-brand img {
    height: 40px;
    margin-right: 0.5rem;
}
nav.navbar .nav-link {
    color: var(--text-light);
    font-weight: 500;
    margin-left: 1rem;
}
nav.navbar .nav-link:hover,
nav.navbar .nav-link:focus {
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    background: linear-gradient(rgba(1,30,61,0.8), rgba(1,30,61,0.8)), url('images/hero.png') center/cover no-repeat;
}
.hero-section .logo-image {
    max-width: 220px;
    margin-bottom: 1rem;
}
.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    text-transform: uppercase;
}
.hero-section p {
    color: var(--light-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.hero-section .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
}
.hero-section .btn-primary:hover {
    /* Slightly darker shade for hover state */
    background-color: #e6b800;
}
.hero-section .btn-outline-light {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    font-weight: 600;
}
.hero-section .btn-outline-light:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Section titles */
.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-subtitle {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

/* Service cards */
.service-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.service-card .icon {
    color: var(--secondary-color);
}
.service-card h3 {
    color: var(--primary-color);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.service-card p {
    color: #555;
    font-size: 0.95rem;
}

/* Feature cards */
.feature-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.feature-card .feature-icon {
    color: var(--secondary-color);
}
.feature-card h3 {
    color: var(--primary-color);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.feature-card p {
    color: #555;
    font-size: 0.95rem;
}

/* Testimonial */
.testimonial {
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.testimonial p {
    font-style: italic;
    color: #555;
}
.testimonial h5 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact form */
.contact-form {
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 2rem;
}
.contact-form label {
    font-weight: 500;
    color: var(--primary-color);
}
.contact-form .form-control {
    border-radius: 4px;
    border-color: #ddd;
}
.contact-form .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
}
.contact-form .btn-primary:hover {
    background-color: #e6b800;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
}
.cta-section h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}
.cta-section .btn {
    margin-top: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}
footer a {
    color: var(--secondary-color);
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}/* === Fix Logo Cutoff on Mobile === */
header img, .logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Optional: add spacing so logo isn’t pressed against edges */
header .logo {
    text-align: center;
    padding: 10px;
}
header, .logo {
  width: 100%;
  max-width: 100%;
  text-align: center;
}
@media (max-width: 768px) {
  header img, .logo img {
    max-width: 90%;   /* keeps space around edges */
    height: auto;
    display: block;
    margin: 0 auto;   /* ensures centering */
  }
}
/* ===== Global mobile defaults ===== */
img { max-width: 100%; height: auto; }

/* Navbar brand image sizing */
.navbar-brand img { height: 36px; width: auto; }
@media (max-width: 575.98px) {
  .navbar-brand img { height: 28px; }
  .navbar-brand span { font-size: 1rem; }
}

/* Hero section spacing & logo */
.hero-section { padding: 6rem 0 3rem; }       /* room below the fixed navbar */
.hero-section .container { overflow: visible; }
.logo-image {
  display: block;
  width: min(320px, 70vw);  /* scales with viewport, capped for desktop */
  height: auto;
  margin: 0 auto 1rem;
}
@media (max-width: 575.98px) {
  .hero-section { padding: 5.25rem 1rem 2rem; }
  .hero-section h1 { font-size: 1.9rem; line-height: 1.2; }
  .hero-section .lead { font-size: 1rem; }
  .btn { display: block; width: 100%; max-width: 320px; margin: .5rem auto; }
}

/* Sections: make headings/text comfortable on phones */
.section-title { font-size: 2rem; }
.section-subtitle { font-size: 1.05rem; }
@media (max-width: 575.98px) {
  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: .98rem; }
}

/* Cards & features spacing on mobile */
.service-card, .feature-card, .testimonial {
  border-radius: 12px;
}
@media (max-width: 575.98px) {
  #services .row > [class*="col-"],
  .row.g-4 > [class*="col-"] { margin-bottom: .75rem; }
}

/* Contact form tweaks on small screens */
@media (max-width: 575.98px) {
  .contact-form .form-control { font-size: 1rem; padding: .65rem .8rem; }
}
