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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Color Variables */
:root {
  --primary-red: #dc2626;
  --primary-blue: #1e40af;
  --graphite: #374151;
  --light-gray: #f8fafc;
  --white: #ffffff;
  --text-dark: #1f2937;
  --text-light: #6b7280;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo h1 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #fbbf24;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fbbf24;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--graphite) 100%);
  color: var(--white);
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-quote {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-left: 4px solid var(--primary-red);
  margin: 2rem 0;
  border-radius: 8px;
}

.hero-footer {
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
}

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

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-blue);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hero-yacht-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.hero-yacht-image:hover {
  transform: scale(1.02);
}

/* Section Styles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.intro-text {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* What's New Section */
.whats-new {
  padding: 80px 0;
  background: var(--light-gray);
}

.new-features {
  max-width: 900px;
  margin: 0 auto;
}

.feature-highlight {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-red);
  margin: 2rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Latest Products Section */
.latest-products {
  padding: 80px 0;
  background: var(--white);
}

.products-showcase {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.products-showcase h4 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

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

.product-item {
  background: var(--light-gray);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--primary-red);
  text-align: left;
}

/* Content with Image Layouts */
.content-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

.content-with-image.left-content {
  grid-template-areas: "text image";
}

.content-with-image.right-content {
  grid-template-areas: "image text";
}

.content-with-image.left-content .content-text {
  grid-area: text;
}

.content-with-image.left-content .content-image {
  grid-area: image;
}

.content-with-image.right-content .content-text {
  grid-area: text;
}

.content-with-image.right-content .content-image {
  grid-area: image;
}

.content-text {
  padding: 1rem;
}

.content-text h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.content-text h4 {
  color: var(--primary-red);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.content-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.boat-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.boat-image:hover {
  transform: scale(1.05);
}

/* Updated list styles for better integration */
.products-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.engine-list,
.requirements-list,
.price-list,
.parts-list {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-red);
  margin-top: 1rem;
}

.engine-list li,
.requirements-list li,
.price-list li,
.parts-list li {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  padding: 0.25rem 0;
}

/* Model Range Section */
.model-range {
  padding: 80px 0;
  background: var(--graphite);
  color: var(--white);
}

.model-range .section-title {
  color: var(--white);
}

.table-container {
  overflow-x: auto;
  margin-top: 2rem;
}

.specs-table,
.delivery-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.specs-table th,
.delivery-table th {
  background: var(--primary-blue);
  color: var(--white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.specs-table td,
.delivery-table td {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  color: var(--text-dark);
}

.specs-table tr:last-child td,
.delivery-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:nth-child(even),
.delivery-table tr:nth-child(even) {
  background: var(--light-gray);
}

/* Request Catalogue Section */
.request-catalogue {
  padding: 80px 0;
  background: var(--primary-blue);
  color: var(--white);
  text-align: center;
}

.request-catalogue .section-title {
  color: var(--white);
}

.request-info {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

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

/* Navigation Guide Section */
.navigation-guide {
  padding: 80px 0;
  background: var(--light-gray);
}

.navigation-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  text-align: center;
}

/* Engine Sections */
.diesel-engines,
.electric-propulsion,
.generator-systems {
  padding: 80px 0;
  background: var(--white);
}

.diesel-engines:nth-of-type(even),
.electric-propulsion:nth-of-type(even) {
  background: var(--light-gray);
}

.engine-models,
.installation-requirements {
  max-width: 700px;
  margin: 0 auto;
}

.engine-models h4,
.installation-requirements h4 {
  color: var(--primary-blue);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.electric-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
}

/* Pricing Section */
.pricing-availability {
  padding: 80px 0;
  background: var(--light-gray);
}

.pricing-content {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.1rem;
}

.price-structure-section,
.spare-parts-section {
  margin-top: 4rem;
}

.price-structure-section h3,
.spare-parts-section h3 {
  color: var(--primary-blue);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: left;
}

/* Pre-tax Prices Section */
.pretax-prices {
  padding: 80px 0;
  background: var(--white);
}

/* Marine Systems Section */
.marine-systems {
  padding: 80px 0;
  background: var(--light-gray);
}

.boat-systems-content {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.1rem;
}

.systems-highlight {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-red);
  margin: 2rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.equipment-sections-with-images {
  margin-top: 3rem;
}

.equipment-sections-with-images .content-with-image {
  margin-bottom: 4rem;
  padding: 2rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.equipment-sections-with-images .content-with-image:last-child {
  border-bottom: none;
}

/* Catalogue Access Section */
.catalogue-access {
  padding: 80px 0;
  background: var(--white);
}

.access-content {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.1rem;
}

.access-sections-with-images {
  margin-top: 3rem;
}

.access-sections-with-images .content-with-image {
  margin-bottom: 4rem;
  padding: 2rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.access-sections-with-images .content-with-image:last-child {
  border-bottom: none;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--light-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item strong {
  color: var(--primary-blue);
  display: block;
  margin-bottom: 0.5rem;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

/* Delivery Terms Section */
.delivery-terms {
  padding: 80px 0;
  background: var(--white);
}

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

.delivery-option {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-blue);
}

.delivery-option h3 {
  color: var(--primary-red);
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: var(--graphite);
  color: var(--white);
  padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

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

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

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #4b5563;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--primary-blue);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-yacht-image {
    height: 300px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .content-with-image {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-with-image.left-content,
  .content-with-image.right-content {
    grid-template-areas:
      "image"
      "text";
  }

  .boat-image {
    height: 250px;
  }

  .request-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .table-container {
    font-size: 0.875rem;
  }

  .content-with-image {
    gap: 1.5rem;
  }

  .boat-image {
    height: 200px;
  }

  .hero-yacht-image {
    height: 250px;
  }
}

/* Additional styles for new pages */
.delivery-hero,
.contacts-hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--graphite) 100%);
}

.delivery-options-section {
  padding: 80px 0;
  background: var(--light-gray);
}

.delivery-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.delivery-features {
  list-style: none;
  margin-top: 1rem;
}

.delivery-features li {
  padding: 0.25rem 0;
  color: var(--text-dark);
}

.delivery-features li:before {
  content: "✓";
  color: var(--primary-red);
  font-weight: bold;
  margin-right: 0.5rem;
}

.pricing-table-section {
  padding: 80px 0;
  background: var(--white);
}

.shipping-zones {
  padding: 80px 0;
  background: var(--light-gray);
}

.zone-features {
  list-style: none;
  margin-top: 1rem;
}

.zone-features li {
  padding: 0.25rem 0;
  color: var(--text-dark);
}

.zone-features li:before {
  content: "→";
  color: var(--primary-blue);
  font-weight: bold;
  margin-right: 0.5rem;
}

.terms-conditions {
  padding: 80px 0;
  background: var(--white);
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.terms-section {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-red);
}

.terms-section h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.terms-section ul {
  list-style: none;
}

.terms-section li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.terms-section li:last-child {
  border-bottom: none;
}

.contact-form-section {
  padding: 80px 0;
  background: var(--primary-blue);
  color: var(--white);
}

.contact-form-section .section-title {
  color: var(--white);
}

.contact-info-section {
  padding: 80px 0;
  background: var(--light-gray);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-method {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-method h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.contact-note {
  font-style: italic;
  color: var(--text-light);
  margin-top: 1rem;
}

.business-hours {
  padding: 80px 0;
  background: var(--white);
}

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

.hours-section {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-red);
}

.hours-section h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.hours-list {
  list-style: none;
}

.hours-list li {
  padding: 0.25rem 0;
  color: var(--text-dark);
}

.departments-section {
  padding: 80px 0;
  background: var(--light-gray);
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.department-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.department-card:hover {
  transform: translateY(-5px);
}

.dept-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.department-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.dept-services {
  list-style: none;
  text-align: left;
  margin: 1rem 0;
}

.dept-services li {
  padding: 0.25rem 0;
  color: var(--text-dark);
}

.dept-services li:before {
  content: "•";
  color: var(--primary-red);
  font-weight: bold;
  margin-right: 0.5rem;
}

.dept-contact {
  font-weight: bold;
  color: var(--primary-red);
  margin-top: 1rem;
}

.catalogue-request-section {
  padding: 80px 0;
  background: var(--white);
}

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

.catalogue-option {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-blue);
}

.catalogue-option h3 {
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.catalogue-option ul {
  list-style: none;
}

.catalogue-option li {
  padding: 0.25rem 0;
  color: var(--text-dark);
}

.catalogue-option li:before {
  content: "✓";
  color: var(--primary-blue);
  font-weight: bold;
  margin-right: 0.5rem;
}

.catalogue-form-container {
  max-width: 800px;
  margin: 3rem auto 0;
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 12px;
}

.catalogue-form h3 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.catalogue-type {
  display: flex;
  gap: 2rem;
  margin: 1rem 0;
  justify-content: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 0.5rem;
}

.btn-large {
  padding: 15px 30px;
  font-size: 1.1rem;
  width: 100%;
}

.location-section {
  padding: 80px 0;
  background: var(--light-gray);
}

.location-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.location-benefits {
  list-style: none;
  margin-top: 1rem;
}

.location-benefits li {
  padding: 0.5rem 0;
  color: var(--text-dark);
}

.directions {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.direction-method {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.direction-method:last-child {
  border-bottom: none;
}

.direction-method h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.main-contact-form {
  padding: 80px 0;
  background: var(--white);
}

.emergency-contact {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-red);
}

.emergency-contact h3 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.emergency-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.emergency-item h4 {
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.emergency-item p {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.cta {
  padding: 80px 0;
  background: var(--primary-red);
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

/* Mobile responsiveness for new elements */
@media (max-width: 768px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .hours-grid {
    grid-template-columns: 1fr;
  }

  .departments-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-options {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .catalogue-type {
    flex-direction: column;
    gap: 1rem;
  }

  .location-info {
    grid-template-columns: 1fr;
  }

  .terms-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
