/* 
   ========================================
   Gaya Hidup Sehat - Stylesheet
   ========================================
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@300;400;600;700&display=swap');

:root {
  /* Visual Variables - Contrast Palette */
  --primary-color: #0f172a;    /* Slate 900 - Dark */
  --secondary-color: #0d9488;  /* Teal 600 - Main Brand */
  --accent-color: #f97316;     /* Orange 500 - Call to Action */
  --bg-color: #f8fafc;         /* Slate 50 - Light Background */
  --text-color: #334155;       /* Slate 700 - Body Text */
  --white-color: #ffffff;
  
  /* Typography Variables */
  --font-heading: 'Montserrat', sans-serif;
  --font-text: 'Open Sans', sans-serif;
}

/* Base Styles */
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-text);
  color: var(--text-color);
  background-color: var(--bg-color);
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
}

main {
  flex-grow: 1;
}

/* Custom Utilities */
.text-brand { color: var(--secondary-color); }
.bg-brand { background-color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }
.bg-accent { background-color: var(--accent-color); }
.bg-primary { background-color: var(--primary-color); }

.btn-primary {
  background-color: var(--accent-color);
  color: var(--white-color);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-family: var(--font-heading);
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  background-color: #ea580c; /* Darker orange */
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white-color);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  background-color: #0f766e;
}

/* Header & Navigation */
.main-header {
  background-color: var(--white-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-link {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--secondary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section Settings */
.hero-overlay {
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
}

/* Specific Card Styles for Reserve Page */
.info-card {
  background: var(--white-color);
  border-top: 4px solid var(--secondary-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-radius: 0.5rem;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.numbered-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.numbered-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.numbered-list .num-badge {
  background-color: var(--accent-color);
  color: var(--white-color);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
  margin-right: 1rem;
  flex-shrink: 0;
  font-family: var(--font-heading);
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  font-family: var(--font-text);
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Footer Styles */
.main-footer {
  background-color: var(--primary-color);
  color: #cbd5e1;
  padding: 3rem 0 1.5rem 0;
}

.footer-link {
  color: #cbd5e1;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-color);
}

/* Cookie Banner (JS Version) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 1.5rem;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.3);
}

.cookie-btn {
  cursor: pointer;
  padding: 0.6rem 2rem;
  margin: 0.5rem;
  background-color: var(--accent-color);
  color: var(--white-color);
  border-radius: 4px;
  border: none;
  display: inline-block;
  font-weight: bold;
  font-family: var(--font-heading);
  transition: all 0.3s ease;
}

.cookie-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cookie-btn-alt {
  background-color: #4B5563;
}

/* Mobile Menu Transition */
#mobile-menu {
  transition: max-height 0.3s ease-in-out;
  overflow: hidden;
}