/* ========================================
   Urban Wave Company — True Reconstruction
   Faithful to the original 2015 layout
   ======================================== */

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

body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 12px;
  color: #333;
  background-color: #3333FF;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 2px,
      transparent 2px,
      transparent 20px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 2px,
      transparent 2px,
      transparent 20px
    );
  min-height: 100vh;
}

a { color: inherit; }

/* Page wrapper — centered content area */
.page-wrapper {
  max-width: 1020px;
  margin: 0 auto;
  background: #fff;
}

/* ========================================
   TOP NAVIGATION BAR
   ======================================== */

.top-nav {
  background: #3a3a3a;
  padding: 8px 15px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.top-nav a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: normal;
  padding: 5px 16px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  transition: background 0.15s;
}

.top-nav a:hover {
  background: rgba(255,255,255,0.25);
}

/* ========================================
   HEADER / BANNER
   ======================================== */

.header-banner {
  background: #00aaff;
  display: flex;
  min-height: 200px;
  overflow: hidden;
}

.header-banner__logo-area {
  flex: 0 0 65%;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
}

.logo-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right side — ocean/harbor photograph area */
.header-banner__hero {
  flex: 1;
  /* Original had a real sailboat/harbor photo here — recreated with gradient + texture */
  background:
    linear-gradient(180deg,
      #5bb8e8 0%,
      #3a9cd5 30%,
      #2080b8 50%,
      #1a6090 70%,
      #164a6e 100%
    );
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

/* Horizon line effect */
.header-banner__hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background:
    linear-gradient(180deg,
      rgba(20, 80, 120, 0.3) 0%,
      rgba(10, 50, 80, 0.5) 100%
    );
}

/* Subtle wave texture */
.header-banner__hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25%;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 4px,
      rgba(255,255,255,0.04) 4px,
      rgba(255,255,255,0.04) 6px
    );
}

/* ========================================
   SEARCH BAR
   ======================================== */

.search-bar {
  background: #f12a1f;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid #d01a10;
  border-bottom: 1px solid #d01a10;
}

.search-bar select {
  flex: 1;
  max-width: 420px;
  padding: 4px 6px;
  font-size: 12px;
  font-family: Verdana, sans-serif;
  border: 1px solid #999;
  background: #fff;
}

.search-bar input[type="text"] {
  flex: 1;
  max-width: 200px;
  padding: 4px 6px;
  font-size: 12px;
  font-family: Verdana, sans-serif;
  border: 1px solid #999;
  background: #fffff0;
}

.search-bar button {
  padding: 4px 14px;
  font-size: 12px;
  font-weight: bold;
  font-family: Verdana, sans-serif;
  background: #e8e0c0;
  border: 1px solid #999;
  cursor: pointer;
}

.search-bar button:hover {
  background: #ddd8b8;
}

/* ========================================
   MAIN CONTENT AREA (two-column)
   ======================================== */

.main-content {
  display: flex;
  background: #fff;
  min-height: 600px;
}

/* Left sidebar */
.sidebar {
  width: 180px;
  flex-shrink: 0;
  padding: 12px 10px;
  border-right: 1px solid #D6D5C5;
  background: linear-gradient(180deg, #f5f0e4 0%, #e8e2d0 40%, #d8d0bc 100%);
}

.sidebar a {
  display: block;
  padding: 6px 4px;
  color: #333;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  border-bottom: 1px solid #e8e8e0;
  line-height: 1.35;
}

.sidebar a:hover {
  color: #ff9900;
  background: #fffff8;
}

/* Right main area */
.content-area {
  flex: 1;
  padding: 10px 15px;
}

/* ========================================
   PROMO BANNER
   ======================================== */

.promo-banner {
  background: linear-gradient(90deg, #e6c030 0%, #d4a020 100%);
  padding: 6px 12px;
  margin-bottom: 15px;
  border-left: 4px solid #f12a1f;
}

.promo-banner h2 {
  font-size: 16px;
  font-weight: bold;
  color: #4a1a00;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   PRODUCT GRID
   ======================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}

.product-cell {
  text-align: center;
  padding: 8px;
}

.product-cell a {
  text-decoration: none;
  color: #333;
  display: block;
}

.product-cell__img {
  width: 120px;
  height: 120px;
  margin: 0 auto 8px;
  background: #f5f0e8;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-cell__img img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* Placeholder for missing images */
.product-cell__img--placeholder {
  background: #f0ece0;
  position: relative;
}

.product-cell__img--placeholder::after {
  content: attr(data-label);
  position: absolute;
  font-size: 9px;
  color: #999;
  text-align: center;
  padding: 4px;
  line-height: 1.3;
}

.product-cell__name {
  font-size: 11px;
  font-weight: normal;
  color: #333;
  line-height: 1.35;
  margin-top: 4px;
}

.product-cell a:hover .product-cell__name {
  color: #cc3300;
  text-decoration: underline;
}

/* ========================================
   "REASONS TO SHOP" SECTION
   ======================================== */

.reasons-section {
  margin-top: 20px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}

.reasons-section__heading {
  background: #f12a1f;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 12px;
}

.reasons-section__body {
  padding: 15px;
}

.reasons-section__text {
  font-size: 12px;
  line-height: 1.65;
  color: #333;
}

.reasons-section__text p {
  margin-bottom: 10px;
  max-width: none;
}

.reasons-section__text .signature {
  font-weight: bold;
  margin-top: 12px;
}

/* ========================================
   PARTNERS SECTION
   (integrated naturally into the original structure)
   ======================================== */

.partners-section {
  margin-top: 20px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}

.partners-section__heading {
  background: #f12a1f;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 12px;
}

.partners-section__body {
  padding: 15px;
}

.partner-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.partner-item__logo {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
}

.partner-item__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partner-item__info {
  font-size: 12px;
  line-height: 1.65;
  color: #333;
}

.partner-item__info p {
  margin-bottom: 10px;
  max-width: none;
}

.partner-item__info p a {
  color: #ff9900;
  font-weight: bold;
  text-decoration: none;
}

.partner-item__info p a:hover {
  text-decoration: underline;
  color: #cc3300;
}

.naked-url {
  font-size: 11px;
  color: #666;
  margin-bottom: 10px;
}

.partner-contact-list {
  list-style: none;
  margin-top: 10px;
  font-size: 12px;
}

.partner-contact-list li {
  margin-bottom: 5px;
  max-width: none;
}

.partner-contact-list li strong {
  color: #555;
}





/* ========================================
   INNER PAGE STYLES
   (breadcrumb, text content, store locations)
   ======================================== */

.breadcrumb {
  font-size: 12px;
  margin-bottom: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #e8e8e0;
}

.breadcrumb a {
  color: #ff9900;
  text-decoration: underline;
}

.breadcrumb a:hover {
  color: #cc3300;
}

.availability-notice {
  font-size: 12px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.5;
}

.page-text-content {
  font-size: 12px;
  line-height: 1.65;
  color: #333;
}

.page-text-content p {
  margin-bottom: 10px;
}

.page-text-content a {
  color: #ff9900;
  text-decoration: none;
}

.page-text-content a:hover {
  color: #cc3300;
  text-decoration: underline;
}

.page-text-content .signature {
  font-weight: bold;
  margin-top: 12px;
}

/* Store Locations */
.store-locations {
  margin: 10px 0;
}

.store-location {
  margin-bottom: 5px;
}

.store-location__name {
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.store-location p {
  margin-bottom: 4px;
  line-height: 1.5;
}

.store-divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: 12px 0;
  max-width: 200px;
}

/* Returns Policy */
.returns-policy {
  margin-top: 15px;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

.returns-policy p {
  margin-bottom: 10px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: linear-gradient(180deg, #e8e4d8 0%, #c8c4b8 80%, #a8a498 100%);
  padding: 15px;
  text-align: center;
  border-top: 1px solid #bbb;
}

.footer__nav {
  margin-bottom: 10px;
}

.footer__nav a {
  color: #333;
  text-decoration: none;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0 6px;
}

.footer__nav a:hover {
  text-decoration: underline;
}

.footer__nav .separator {
  color: #999;
  font-size: 11px;
}

.footer__copyright {
  font-size: 10px;
  color: #666;
  margin-top: 8px;
}

/* ========================================
   RESPONSIVE (keep it working on mobile)
   ======================================== */

@media (max-width: 768px) {
  .header-banner {
    flex-direction: column;
  }

  .header-banner__logo-area {
    flex: none;
  }

  .header-banner__hero {
    min-height: 100px;
  }

  .main-content {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }

  .sidebar a {
    flex: 1 0 45%;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reasons-section__body,
  .partner-item {
    flex-direction: column;
  }

  .reasons-section__image,
  .partner-item__logo {
    width: 100%;
    max-width: 200px;
  }

  .top-nav {
    gap: 4px;
  }

  .top-nav a {
    font-size: 11px;
    padding: 4px 10px;
  }
}
