@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Be+Vietnam+Pro:wght@500;600;700;800&display=swap');

:root {
  --primary-orange: #E8711A;
  --dark-orange: #C55A10;
  --primary-green: #2E6B3E;
  --dark-green: #1D4A2A;
  --bg-color: #F7F4EF;
  --text-dark: #141A12;
  --text-light: #5A6058;
  --white: #FFFFFF;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-md: 12px;
  --radius-lg: 24px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Navbar */
header {
  padding: 24px 0;
  background-color: rgba(247, 244, 239, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(20, 26, 18, 0.05);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--dark-green);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--primary-orange);
}

/* Hero Section */
.hero {
  padding: 140px 0 160px;
  text-align: center;
  background-image: linear-gradient(rgba(20, 26, 18, 0.75), rgba(20, 26, 18, 0.85)), url('../images/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-radius: 0 0 40px 40px;
  margin-bottom: 80px;
  box-shadow: var(--shadow-lg);
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--primary-orange);
  color: var(--white);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 24px;
  box-shadow: 0 4px 10px rgba(232, 113, 26, 0.3);
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero h1 span {
  color: var(--primary-orange);
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(232, 113, 26, 0.4);
}

.btn-primary:hover {
  background-color: var(--dark-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 90, 16, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid rgba(20, 26, 18, 0.1);
}

.btn-secondary:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: var(--white);
  border-radius: 40px;
  margin: 0 24px 80px;
  box-shadow: var(--shadow-sm);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

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

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 40px;
}

.service-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-color);
  border: 1px solid rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(46, 107, 62, 0.05), transparent);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46, 107, 62, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-green);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Reviews Section */
.reviews {
  padding: 40px 0 100px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.review-title {
  font-size: 1.5rem;
  color: var(--dark-green);
  margin-bottom: 8px;
}

.review-address {
  font-size: 0.875rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.review-desc {
  color: var(--text-dark);
  margin-bottom: 24px;
  flex-grow: 1;
}

.tiktok-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #000000;
  color: #fff;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.2s;
  align-self: flex-start;
}

.tiktok-btn:hover {
  opacity: 0.8;
}

/* Admin Dashboard Styles */
.admin-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 24px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-green);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: var(--bg-color);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(232, 113, 26, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Table Styles */
.table-responsive {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

th {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-danger {
  background-color: #ef4444;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.btn-danger:hover {
  background-color: #dc2626;
}

/* Loading State */
.loading {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
}

.spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(232, 113, 26, 0.2);
  border-radius: 50%;
  border-top-color: var(--primary-orange);
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--white);
  border-radius: 40px;
  margin: 0 24px 80px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.about-images {
  flex: 1;
  min-width: 300px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-left: 40px;
}

.about-images img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.about-images img:hover {
  transform: translateY(-5px);
}

.shorts-wrapper {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.3s ease;
}

.shorts-wrapper:hover {
  transform: translateY(-5px);
}

.shorts-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}

.about-images img {
  height: 250px;
  margin-top: 50px;
}

.about-content {
  flex: 1.5;
  min-width: 300px;
  padding-right: 40px;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--dark-green);
}

.about-content p {
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: var(--text-dark);
}

/* Contact Section */
.contact {
  padding: 40px 0 80px;
  text-align: center;
}

.contact-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--dark-green);
  color: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-card h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.contact-card p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-orange);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .services, .about {
    margin: 0 0 40px;
    border-radius: 0;
  }
  .services-grid {
    padding: 0 16px;
  }
  .about {
    padding: 40px 16px;
    flex-direction: column-reverse;
  }
  .about-content, .about-images {
    padding: 0;
    width: 100%;
  }
  .contact-card {
    margin: 0 16px;
    padding: 32px 16px;
  }
}
