
/*
  File: public_html/style.css
  Description: A more professional and modern stylesheet.
*/

/* --- Core Palette & Fonts --- */
:root {
  --primary-color: #0056b3; /* A deeper, more professional blue */
  --secondary-color: #6c757d;
  --accent-color: #ffc107; /* A vibrant accent color for calls to action */
  --light-color: #f8f9fa;
  --dark-color: #212529; /* A darker shade for better contrast */
  --font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif; /* A more modern font */
  --heading-font: 'Montserrat', sans-serif;
}

/* --- Global Styles --- */
body {
  font-family: var(--font-family);
  background-color: var(--light-color);
  color: #333;
  line-height: 1.6;
}

/* Prevent flash of untranslated content (FOUC) */
body.loading-translations [data-translate] {
  opacity: 0;
}

body [data-translate] {
  opacity: 1;
  transition: opacity 0.2s ease-in;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--dark-color);
}

/* --- Navigation Bar --- */
.navbar {
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.5rem;
  color: #b72528 !important;
}

.navbar .nav-link {
    color: #555;
    transition: color 0.2s;
    font-weight: 500;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--primary-color);
}

.navbar-toggler {
    border: none;
}


/* --- Hero Section --- */
.hero-section {
  background-image: linear-gradient(45deg, rgba(0, 86, 179, 0.8), rgba(0, 123, 255, 0.8)), url('images/business_eyecatcher.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  padding: 120px 0;
  color: white;
  text-align: center;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}


/* --- Products Section --- */
.products-section {
    padding: 60px 0;
}

.products-section .card {
  border: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  overflow: hidden; /* Ensures the image corners are rounded */
}

.products-section .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-title {
  color: var(--primary-color);
  font-weight: 600;
}

.card-text {
    color: #666;
}

/* --- Buttons --- */
.btn {
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background-color: #004494;
  border-color: #004494;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

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

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-color);
}

.btn-accent:hover {
    background-color: #ffb300;
    border-color: #ffb300;
}


/* --- Footer --- */
footer {
  background-color: var(--dark-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 0;
  margin-top: 40px;
}

footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--accent-color);
}

footer h5 {
    color: #fff;
    margin-bottom: 1rem;
}

/* === Enhanced Navigation Styles === */
.dropdown-header {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
}

.dropdown-item {
  padding: 0.5rem 1.5rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
  padding-left: 1.75rem;
}

.dropdown-divider {
  margin: 0.5rem 0;
  border-color: #e9ecef;
}

/* === Performance & Accessibility === */
img {
  max-width: 100%;
  height: auto;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Skip to main content link for accessibility */
.skip-to-main {
  position: absolute;
  left: -9999px;
  z-index: 999;
}

.skip-to-main:focus {
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
}

/* === Print Styles === */
@media print {
  .navbar, .footer, .btn { display: none; }
  body { font-size: 12pt; color: black; }
  a { text-decoration: underline; }
}

/* === Reduced Motion for Accessibility === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
