:root {
  --primary-font: 'Montserrat', sans-serif;
  --secondary-font: 'Montserrat', serif;
  --text-dark: #0D2F3F;
  --text-light: #f0f8ff;
  --text-muted: #5A8A9E;
  --brand-color: #0097A7;
  --brand-color-darker: #00796B;
  --bg-dark: #00425A;
  --bg-light: #FFFFFF;
  --bg-alt: #E0F7FA;
  --bg-hero-overlay: rgba(0, 30, 40, 0.6);
  --border-color: #B2EBF2;
  --call-color: #ff6600;
  --call-color-darker: #dc5b05;
}

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

body {
  font-family: var(--primary-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

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

h1 { font-size: 3.2em; line-height: 1.2; margin-bottom: 0.5em; }
h2 { font-size: 2.3em; line-height: 1.3; margin-bottom: 0.75em; text-align: center;}
h3 { font-size: 1.4em; line-height: 1.4; margin-bottom: 0.5em; }
/* Product Detail Page Specific H1 */
.product-detail-main .product-info h1 {
  font-size: 2.5em; /* Slightly smaller H1 for product name */
  text-align: left;
  margin-bottom: 0.6em;
}


p {
  margin-bottom: 1em;
}

a {
  text-decoration: none;
  color: var(--brand-color);
  transition: color 0.3s ease;
}
a:hover {
  color: var(--brand-color-darker);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: var(--primary-font);
  font-weight: 500;
  font-size: 1em;
  text-align: center;
  border-radius: 25px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-transform: uppercase;
}
.btn-cta { /* Larger CTA button */
  padding: 15px 40px;
  font-size: 1.1em;
}

.btn-primary {
  background-color: var(--call-color);
  color: var(--text-light);
  border-color: var(--call-color);
}
.btn-primary:hover {
  background-color: var(--call-color-darker);
  border-color: var(--call-color-darker);
  color: var(--text-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}
.btn-outline:hover {
  background-color: var(--text-light);
  color: var(--bg-dark);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--brand-color);
  border: 2px solid var(--brand-color);
}
.btn-outline-dark:hover {
  background-color: var(--brand-color);
  color: var(--text-light);
}

.main-header {
  padding: 20px 0;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}
.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: inline-block;
  text-decoration: none;
}
.logo img {
  display: block;
  max-height: 100px;
  width: auto;
  border-radius: 0;
}
.main-nav ul {
  list-style: none;
  display: flex;
}
.main-nav li {
  margin-left: 25px;
}
.main-nav a {
  font-family: var(--primary-font);
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95em;
}
.main-nav a.active, /* Added active class style for nav */
.main-nav a:hover {
  color: var(--brand-color);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 20px 0;
  background-color: var(--bg-alt);
  font-size: 0.9em;
}
.breadcrumbs .container ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumbs .container ol li {
  display: inline;
  color: var(--text-muted);
}
.breadcrumbs .container ol li a {
  color: var(--brand-color);
  text-decoration: none;
}
.breadcrumbs .container ol li a:hover {
  text-decoration: underline;
}
.breadcrumbs .container ol li + li::before {
  content: ">"; /* Slash with a space */
  padding: 0 8px;
  color: var(--text-muted);
}

/* Product Detail Section */
.product-detail-section {
  padding: 50px 0 70px;
}
.product-detail-main {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  gap: 40px;
}
.product-gallery {
  flex: 1 1 45%; /* Adjust basis for image size */
  min-width: 300px;
}
.product-gallery img.main-product-image {
  width: 100%;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0,90,120,0.1);
}
/* Add styles for thumbnails if you implement them */

.product-info {
  flex: 1 1 50%; /* Adjust basis for info size */
  min-width: 300px;
}
.product-info .product-price {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--brand-color);
  margin-bottom: 20px;
}
.product-info .short-description {
  font-size: 1.05em;
  margin-bottom: 25px;
  color: var(--text-muted);
}
.product-features {
  margin-bottom: 25px;
}
.product-features h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.product-features ul {
  list-style: none;
  padding-left: 0;
}
.product-features ul li {
  margin-bottom: 8px;
  color: var(--text-muted);
}
.product-features ul li strong {
  color: var(--text-dark);
  margin-right: 5px;
}
.product-info .cta-button-container {
  margin-top: 30px;
}

.full-description {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}
.full-description h2 {
  text-align: left;
  font-size: 1.8em;
  margin-bottom: 20px;
}
.full-description p {
  font-size: 1em;
  line-height: 1.8;
}

/* Related Products (uses .product-card styles) */
.related-products-section {
  padding: 50px 0;
  background-color: var(--bg-alt);
}
.related-products-section h2 {
  margin-bottom: 40px; /* More space for section title */
}
/* Re-use .product-grid and .product-card styles from product list page */
.product-display-section { /* Copied for related products */
  padding: 0; /* Remove padding if used within another section */
  background-color: transparent;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.product-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 90, 120, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 90, 120, 0.12);
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.product-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.product-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  font-family: var(--secondary-font);
  color: var(--text-dark);
}
.product-card p {
  font-size: 0.9em;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.6;
  flex-grow: 1;
}
.product-card .more-link {
  font-weight: 700;
  font-size: 0.9em;
  text-transform: uppercase;
  color: var(--brand-color);
  align-self: flex-start;
}


.main-footer {
  background-color: var(--bg-dark);
  color: #b3cde0;
  padding: 50px 0 30px;
  text-align: center;
  font-size: 0.95em;
}
.main-footer p {
  margin-bottom: 0.7em;
  line-height: 1.8;
}
.main-footer .contact-info strong {
  color: var(--text-light);
}
.main-footer .logo-footer {
  font-family: var(--secondary-font);
  font-size: 1.5em;
  color: var(--text-light);
  margin-bottom: 15px;
  display: block;
}

@media (max-width: 992px) {
  .product-detail-main {
      gap: 30px;
  }
  .product-gallery { flex-basis: 100%; } /* Image full width then info below */
  .product-info { flex-basis: 100%; }
  .logo { font-size: 1.4em;}
}

@media (max-width: 768px) {
   .product-detail-main .product-info h1 { font-size: 2em; }
  .product-info .product-price { font-size: 1.5em; }

  .main-header .container {position: relative;}

  .container { width: 95%; }
  .breadcrumbs .container ol li + li::before { padding: 0 5px; }
}