@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Box sizing to include padding/border in width/height */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Body and base styles */
body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #f4f6f8; /* light gray */
  color: #1f2d3d;             /* main text color */
  margin: 0;
}

header {
  text-align: center;
  margin-bottom: 0rem;
}

/* Compare panels container */
.compare-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  margin-top: 0rem;
}

/* Individual compare panels */
.compare-panel {
  background: #ffffff;
  padding: 1.5rem;
  flex: 1 1 45%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  border-radius: 16px;
  transition: transform 0.2s ease;
  line-height: 1.6;
  border: 1px solid #d9e2ec;
}

.compare-panel:hover {
  transform: translateY(-4px);
}


/* Dropdown */
select {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* Stats text */
.stats div {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: #5a6675;
}

/* Empty state style */
.empty-state {
  background: #f0f4f8;
  border: 1px dashed #d9e2ec;
  color: #7a8ca3;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 1rem;
  border-radius: 10px;
  line-height: 1.6;
}

/* Tabs container */
.tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: center; /* center tabs horizontally */
}
  
/* Tab buttons */
.tab-button {
  padding: 0.75rem 1.25rem;
  font-size: 1rem; /* increase from default */
  font-weight: 600;
  border: none;
  background-color: #f1f1f1;
  margin: 0 0.25rem;
  border: 1px solid #cad5e2;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.tab-button:hover {
  background-color: #e0e0e0;
  transform: scale(1.03);
}

.tab-button.active {
  background-color: #d1eaff;
  color: #004080;
}


/* Tab content */
.tab-content {
  display: none;
  background: #fff;
  padding: 2rem;
  border: 1px solid #d9e2ec;
  border-radius: 16px 16px 16px 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  max-width: 800px;
  margin: 0 auto;
  color: #1f2d3d;
  line-height: 1.6;
}

.tab-content.active {
  display: block;
}

/* Individual pick card styling */
.pick {
  border-left: 4px solid #0077cc;
  padding-left: 1rem;
  margin-bottom: 2rem;
  text-align: left;
  background: #f7fbfd;
  border-radius: 8px;
  padding: 1rem;
  transition: background 0.2s ease;
}

.pick:hover {
  background: #e6f6fc;
}

.pick h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.pick a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #0077cc;
  font-weight: 600;
  text-decoration: underline;
}

/* Buy Button */
.buy-button {
  display: inline-block;
  background-color: #0077cc;
  color: white !important;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.2s ease, transform 0.15s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  font-size: 1rem;
  line-height: 1.4;
}
.buy-button:hover {
  background-color: #005fa3;
  transform: translateY(-2px);
  color: white !important;
}

/* Links */
a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  color: #005fa3;
  text-decoration: underline;
}

/* Choices.js styles */
.choices__inner {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 0.5rem;
  font-size: 1rem;
  background-color: #fff;
}

.choices__list--dropdown .choices__item--selectable {
  padding: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .compare-container {
    padding: 0rem 1rem 0rem 1rem;
  }
  .compare-panel {
    flex: 1 1 100%;
    flex: 1 1 100%;
    margin-bottom: 1rem;
  
  }
  
  /* Tabs container responsive */
  .tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .tab-button {
    flex: 1 1 48%;
    font-size: 0.92rem;
    padding: 0.5rem 0.25rem;
    margin-bottom: 0.5rem;
    margin-left: 0;
    margin-right: 0;
    min-width: 0;
    box-sizing: border-box;
  }

  .tab-content {
    max-width: 100%;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: none;
  }
}

#picks-guide {
  max-width: 800px;  /* or whatever width you want */
  margin-left: auto;
  margin-right: auto;
  /* optionally add some padding */
  padding: 0 1rem;
}
.suit-image {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
  object-fit: contain;
  max-width: 250px;
  max-height: 200px;
  display: block;
  margin: 0 auto 1rem auto;
}


/* Site-wide header styling */
/* Make header flush with top and sides */
.site-header {
  background-color: #0077cc;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  margin: 0;
}

.site-logo {
  height: 36px;
  display: none; /* hide logo by default on desktop */
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 0rem; /* Adds space on left and right */
  max-width: 1200px;       /* Optional: keeps it from stretching too wide on huge screens */
  margin: 0 auto;          /* Centers content inside header */
  box-sizing: border-box;
  width: 100%;
}

.main-nav {
  display: flex;
  gap: 1.25rem;
}

.main-nav a {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: #000000;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #004f88;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    line-height: 1rem;
  }
  .site-logo {
  height: 40px;      /* or your preferred size */
  max-height: 80px;  /* prevents it from overflowing the header */
  width: auto;       /* keeps aspect ratio */
  display: block;
}
  .site-title {
    display: none;
  }
  .site-header {
    margin-bottom: 2rem;
  }
}

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111;
}


html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.compare-wrapper {
  display: flex;
  flex-wrap: wrap;
}

/* Add padding/margin only on desktop */
@media screen and (min-width: 768px) {
  .compare-container {
    padding: 2rem;
  }

  .compare-panel {
    margin: 1rem;
    flex: 1 1 45%;
  }
}
