/* 
   Ball Python Breeder Website - Global Styles
   Theme: Premium Dark Mode (Slate/Emerald/Gold)
*/

:root {
  /* Colors */
  --bg-dark: #0f172a;
  /* Slate 900 */
  --bg-card: #1e293b;
  /* Slate 800 */
  --text-primary: #f8fafc;
  /* Slate 50 */
  --text-secondary: #94a3b8;
  /* Slate 400 */
  --accent-primary: #10b981;
  /* Emerald 500 */
  --accent-hover: #059669;
  /* Emerald 600 */
  --accent-gold: #fbbf24;
  /* Amber 400 - for highlights */
  --border-color: #334155;
  /* Slate 700 */

  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: #fff;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

button,
.btn {
  cursor: pointer;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Utility Classes */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--accent-gold);
}

.text-accent {
  color: var(--accent-primary);
}

/* Buttons */
.btn-primary {
  background-color: var(--accent-primary);
  color: #fff;
  padding: 12px 30px;
  border-radius: 6px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-outline {
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  padding: 10px 28px;
  border-radius: 6px;
  display: inline-block;
}

.btn-outline:hover {
  background-color: var(--accent-primary);
  color: #fff;
}

.btn-mm {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: underline;
  font-weight: 500;
}

.btn-mm:hover {
  color: #fff;
  text-decoration: none;
}

/* Header & Nav */
header {
  height: var(--header-height);
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(15, 23, 42, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

header .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
  border-radius: 50%;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-primary);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  color: #fff;
}

/* Hero Section */
.hero {
  height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--bg-dark), transparent);
  z-index: -1;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Featured Section */
.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-secondary);
}

.snake-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.snake-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.snake-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-primary);
}

.card-img-container {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.snake-card:hover .card-img-container img {
  transform: scale(1.05);
}

.card-body {
  padding: 20px;
}

.snake-tag {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-primary);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 10px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card-details {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  margin-top: 15px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.price {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: #020617;
  /* Slate 950 */
  border-top: 1px solid var(--border-color);
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .nav-links.active {
    transform: translateY(0);
  }
}