/* Custom CSS for Jangkung Studio */
:root {
  --primary-color: #4CAF50;
  --secondary-color: #2196F3;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --accent-color: #FF9800;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2E7D32 100%);
}

.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
  color: var(--primary-color) !important;
  font-size: 1.5rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #388E3C;
  border-color: #388E3C;
  transform: translateY(-2px);
}

.card {
  border-radius: 10px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.icon {
  background: rgba(76, 175, 80, 0.1);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* Ensure text elements in the hero section have proper coloring */
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.hero-section p,
.hero-section span {
  color: white;
}

.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
}

.form-control {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
}

.form-select {
  border-radius: 8px;
  padding: 12px 15px;
}

footer {
  margin-top: auto;
}

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

/* Payment Page Styles */
.payment-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  background: white;
}

.payment-title {
  text-align: center;
  margin-bottom: 30px;
}

.payment-methods {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.payment-btn {
  flex: 1;
  min-width: 120px;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-btn:hover, .payment-btn.active {
  border-color: var(--primary-color);
  background-color: rgba(76, 175, 80, 0.1);
}

.payment-details {
  display: none;
}

.payment-details.show {
  display: block;
}

/* Dashboard Styles */
.dashboard-container {
  padding: 20px 0;
}

.sidebar {
  background: white;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  padding: 20px 0;
  box-shadow: 3px 0 10px rgba(0,0,0,0.1);
  z-index: 1000;
  overflow-y: auto;
}

.sidebar-sticky {
  position: relative;
  top: 60px;
}

.sidebar a {
  padding: 12px 20px;
  display: block;
  text-decoration: none;
  color: var(--dark-color);
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.sidebar a:hover, .sidebar a.active {
  background-color: rgba(76, 175, 80, 0.1);
  border-left: 4px solid var(--primary-color);
}

.main-content {
  margin-left: 270px;
  padding: 20px;
  min-height: 100vh;
}

.card-stats {
  border-left: 4px solid var(--primary-color);
}

.card-stats .card-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
}

/* Jangkung Tracker Styles */
.tracker-container {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tracker-form {
  margin-bottom: 30px;
}

.height-display {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
}

/* Analytics Styles */
.analytics-chart {
  height: 300px;
  margin: 20px 0;
}

.recommendation-card {
  border-left: 4px solid var(--accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    top: auto;
  }
  
  .main-content {
    margin-left: 0;
  }
  
  .payment-methods {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}