/**
 * One Piece Theme Styles
 * Logo, Tab-Header, Item-Icons und Piraten-Theme
 */

/* ===== LOGO STYLES ===== */

/* Header Logo (klein, in der Header-Bar) */
.header-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-brand h1 {
  margin: 0;
  font-size: var(--text-xl);
}

/* Landing Page Logo (groß, zentriert) */
.landing-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* ===== TAB HEADER IMAGES ===== */

.tab-header-image {
  position: relative;
  height: 120px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  margin: -1.5rem -1.5rem 1rem -1.5rem;
}

.tab-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tab-header-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(26, 54, 93, 0.85));
}

.tab-header-overlay h3 {
  color: white;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  font-size: var(--text-xl);
}

/* ===== SHOP ITEM ICONS ===== */

.shop-item-icon {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 0.5rem;
}

.shop-item-icon-small {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

/* ===== PIRATE THEMED CARDS ===== */

.card-pirate {
  background: var(--bg-cream);
  border: 2px solid var(--wood-brown);
  box-shadow:
    0 4px 8px rgba(92, 64, 51, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.card-pirate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--wood-brown), var(--wood-light), var(--wood-brown));
}

/* ===== SECTION BANNERS ===== */

.section-banner {
  position: relative;
  height: 150px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
}

.section-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(26, 54, 93, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.section-banner-title {
  color: white;
  font-size: var(--text-2xl);
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===== WOOD-THEMED BUTTONS ===== */

.btn-wood {
  background: linear-gradient(180deg, var(--wood-light) 0%, var(--wood-brown) 100%);
  color: white;
  border: 2px solid var(--wood-brown);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.btn-wood:hover:not(:disabled) {
  background: linear-gradient(180deg, var(--wood-brown) 0%, var(--wood-light) 100%);
}

/* ===== OCEAN ACCENTS ===== */

.ocean-accent {
  background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--ocean-dark) 100%);
  color: white;
}

.ocean-border {
  border: 2px solid var(--ocean-blue);
}

/* ===== RESPONSIVE ===== */

@media (min-width: 768px) {
  .header-logo {
    height: 50px;
  }

  .landing-logo {
    max-width: 350px;
  }

  .tab-header-image {
    height: 150px;
  }

  .shop-item-icon {
    width: 100px;
    height: 100px;
  }
}

@media (min-width: 1024px) {
  .landing-logo {
    max-width: 400px;
  }

  .tab-header-image {
    height: 180px;
  }
}
