/*
Theme Name:   Bootsname Theme
Theme URI:    https://bootsname.shop
Description:  Child Theme für Bootsname.shop – Maritimes WooCommerce-Theme basierend auf Storefront
Author:       Bootsname.shop
Template:     storefront
Version:      1.0.0
Text Domain:  bootsname-theme
*/

/* ==========================================================================
   CSS Custom Properties – Farbpalette aus Logo
   ========================================================================== */
:root {
  --bn-navy:        #1B3D7B;
  --bn-navy-dark:   #122a57;
  --bn-orange:      #F5A623;
  --bn-orange-dark: #d68f0f;
  --bn-mid-blue:    #2E9ED6;
  --bn-light-blue:  #B8DCF0;
  --bn-bg:          #F7FAFD;
  --bn-white:       #FFFFFF;
  --bn-gray-light:  #edf2f7;
  --bn-text:        #1B3D7B;
  --bn-text-muted:  #4a5568;

  --bn-font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --bn-font-display: 'Playfair Display', Georgia, serif;

  --bn-radius:     8px;
  --bn-radius-lg:  16px;
  --bn-shadow:     0 2px 16px rgba(27, 61, 123, 0.10);
  --bn-shadow-hover: 0 8px 32px rgba(27, 61, 123, 0.18);
  --bn-transition: 0.22s ease;

  --bn-header-height: 80px;
}

/* ==========================================================================
   Base / Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--bn-font-body);
  color: var(--bn-text);
  background-color: var(--bn-bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--bn-mid-blue);
  text-decoration: none;
  transition: color var(--bn-transition);
}
a:hover {
  color: var(--bn-navy);
}

h1, h2, h3, h4 {
  font-family: var(--bn-font-display);
  color: var(--bn-navy);
  line-height: 1.25;
  margin-top: 0;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Header – Logo zentriert, keine Navigation
   ========================================================================== */
.site-header {
  position: relative !important;  /* Storefront sticky/fixed überschreiben */
  background-color: var(--bn-white) !important;
  border-bottom: 1px solid var(--bn-light-blue);
  padding: 24px 24px 20px;
  text-align: center;
  z-index: auto !important;
}

.bn-header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.bn-logo-wrap {
  display: inline-block;
  line-height: 0;
}

/* GIF-Logo: fixe Höhe, Breite passt sich proportional an */
.bn-logo-wrap img,
.bn-logo-wrap .custom-logo img {
  height: 68px;
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .site-header {
    padding: 18px 16px 16px;
  }
  .bn-logo-wrap img,
  .bn-logo-wrap .custom-logo img {
    height: 48px;
  }
}

/* ==========================================================================
   Hero Section (Startseite)
   ========================================================================== */
.bn-hero {
  background: linear-gradient(135deg, var(--bn-navy) 0%, var(--bn-mid-blue) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 24px 100px;
  text-align: center;
}

.bn-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bn-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.bn-hero-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Wave decoration (SVG-Hintergrund) */
.bn-hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.15;
  pointer-events: none;
}

.bn-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--bn-white);
  margin-bottom: 16px;
  font-family: var(--bn-font-display);
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.bn-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ==========================================================================
   Produkt-Kacheln (Startseite)
   ========================================================================== */
.bn-products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.bn-section-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 48px;
  color: var(--bn-navy);
}

.bn-product-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.bn-product-tile {
  background: var(--bn-white);
  border-radius: var(--bn-radius-lg);
  box-shadow: var(--bn-shadow);
  padding: 40px 32px;
  text-align: center;
  border-top: 4px solid var(--bn-navy);
  transition: transform var(--bn-transition), box-shadow var(--bn-transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bn-product-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--bn-shadow-hover);
}

.bn-tile-icon {
  width: 72px;
  height: 72px;
  background: var(--bn-light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bn-tile-icon svg {
  width: 36px;
  height: 36px;
  color: var(--bn-navy);
}

.bn-product-tile h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--bn-navy);
}

.bn-product-tile p {
  font-size: 0.95rem;
  color: var(--bn-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  flex-grow: 1;
}

@media (max-width: 900px) {
  .bn-product-tiles {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   Button Styles
   ========================================================================== */
.bn-btn,
.bn-btn-primary {
  display: inline-block;
  background: var(--bn-orange);
  color: var(--bn-white) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--bn-radius);
  border: none;
  cursor: pointer;
  transition: background var(--bn-transition), transform var(--bn-transition), box-shadow var(--bn-transition);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.bn-btn:hover,
.bn-btn-primary:hover {
  background: var(--bn-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.35);
}

.bn-btn-secondary {
  background: transparent;
  color: var(--bn-navy) !important;
  border: 2px solid var(--bn-navy);
  padding: 11px 26px;
}

.bn-btn-secondary:hover {
  background: var(--bn-navy);
  color: var(--bn-white) !important;
  box-shadow: 0 4px 16px rgba(27, 61, 123, 0.25);
}

/* WooCommerce Button Override */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order {
  background: var(--bn-orange) !important;
  color: var(--bn-white) !important;
  border-radius: var(--bn-radius) !important;
  font-weight: 700 !important;
  padding: 13px 28px !important;
  transition: background var(--bn-transition) !important;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover {
  background: var(--bn-orange-dark) !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bn-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 24px 32px;
}

.bn-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.bn-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.bn-footer-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.bn-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.bn-footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: color var(--bn-transition);
}

.bn-footer-nav a:hover {
  color: var(--bn-orange);
}

.bn-footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 640px) {
  .bn-footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   WooCommerce – Allgemeine Overrides
   ========================================================================== */

/* Breadcrumbs */
.woocommerce-breadcrumb {
  color: var(--bn-text-muted);
  font-size: 0.88rem;
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 0 24px;
}

/* Produktseite */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--bn-navy);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--bn-orange);
}

/* Warenkorb Highlight */
.woocommerce-cart table.cart td.actions .coupon .input-text {
  border-color: var(--bn-light-blue);
}

/* ==========================================================================
   Seiten-Content (AGB, Impressum etc.)
   ========================================================================== */
.bn-page-content {
  max-width: 860px;
  margin: 48px auto;
  padding: 0 24px;
}

.bn-page-content h1 {
  font-size: 2rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--bn-light-blue);
}

.bn-page-content h2 {
  font-size: 1.3rem;
  margin-top: 36px;
  color: var(--bn-mid-blue);
}

.bn-page-content p,
.bn-page-content li {
  line-height: 1.8;
  color: var(--bn-text-muted);
}

/* ==========================================================================
   Utility
   ========================================================================== */
.bn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bn-text-center { text-align: center; }
.bn-mt-0 { margin-top: 0; }
.bn-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
