/*
Theme Name: Jump2Play
Theme URI: https://jump2play.com
Author: Jump2Play
Description: GeneratePress child theme for Jump2Play, matching the dummy site design.
Version: 1.1.0
Template: generatepress
Text Domain: jump2play
*/

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

body {
  font-family: 'Nunito', sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fafafa;
}

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

h1, h2, h3, .logo-name {
  font-family: 'Poppins', sans-serif;
}

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-bar .header {
  top: 32px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  gap: 16px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  font-size: 2.2rem;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-name {
  font-weight: 800;
  font-size: 1.6rem;
  color: #ff6b6b;
}

.logo-tag {
  display: block;
  font-size: 0.75rem;
  color: #666;
  font-weight: 600;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ff6b6b;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  color: #333;
}

.btn-nav, .btn {
  background: #ff6b6b;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
  border: none;
}

.btn:hover, .btn-nav:hover {
  background: #ee5a5a;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: white;
  color: #ff6b6b;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 120px 20px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features */
.features {
  padding: 60px 0;
  background: white;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.feature h3 {
  color: #ff6b6b;
  margin-bottom: 8px;
}

/* Inventory */
.inventory {
  padding: 80px 0;
  background: #f8f9ff;
}

.inventory h2, .about h2, .contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #333;
}

.section-sub {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  padding-bottom: 20px;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card h3 {
  margin: 15px 15px 5px;
  font-size: 1.2rem;
}

.price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ff6b6b;
  margin: 5px 0 10px;
}

.product-card p {
  padding: 0 15px;
  color: #555;
  font-size: 0.95rem;
}

.btn-small {
  display: inline-block;
  margin-top: 12px;
  background: #4ecdc4;
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-small:hover {
  background: #3db8b0;
}

/* About */
.about {
  padding: 80px 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.about-text ul {
  margin-top: 20px;
  list-style: none;
}

.about-text li {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.about-location {
  background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
  color: white;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
}

.about-location h3 {
  margin-bottom: 15px;
}

/* Contact */
.contact {
  padding: 80px 0;
  background: #f8f9ff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin-top: 30px;
}

.contact-info {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.booking-form {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.booking-form button {
  width: 100%;
  border: none;
  cursor: pointer;
  padding: 14px;
  font-size: 1.1rem;
}

.form-success {
  background: #e8fff8;
  color: #0b7a63;
  border: 1px solid #4ecdc4;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-weight: 700;
}

.form-error {
  background: #fff1f1;
  color: #b42318;
  border: 1px solid #ff6b6b;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-weight: 700;
}

/* Footer */
.footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

.footer .logo {
  justify-content: center;
  margin-bottom: 15px;
}

.footer .logo-name {
  color: white;
}

/* Hide leftover GeneratePress off-canvas menu from the tent clone */
#generate-slideout-menu,
.slideout-navigation,
.slideout-overlay,
.menu-toggle,
#generate-slideout-menu-close {
  display: none !important;
}

/* Inner WP / Woo pages */
.site-content {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px 60px;
  min-height: 50vh;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: #ff6b6b !important;
  color: #fff !important;
  border-radius: 25px !important;
  font-weight: 700 !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: #ee5a5a !important;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 10px 0;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

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

  .hero {
    padding: 80px 20px;
  }

  .admin-bar .header {
    top: 46px;
  }
}
