/* ============================================
   KING HARVEST LANDSCAPING - MODERN THEME
   ============================================ */

/* Root Variables */
:root {
  --primary-color: #2d5016;
  --secondary-color: #6b8e23;
  --accent-color: #8fbc3f;
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--light-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.98);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.logo-text {
  font-family: "Playfair Display", serif;
}

.logo .highlight {
  color: var(--accent-color);
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
  margin-top: 0;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
}

.slide {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(45, 80, 22, 0.8),
    rgba(45, 80, 22, 0.4)
  );
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-grid-layout {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  z-index: 2;
  gap: 20px;
  padding: 0 10px;
}

.slide-content {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  z-index: 2;
  padding: 0 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.content-wrapper {
  max-width: 600px;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.slide-label {
  display: inline-block;
  color: var(--accent-color);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.slide-label i {
  margin-right: 8px;
}

.slide-title {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.slide-subtitle {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 400;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.slide-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.slide-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(143, 188, 63, 0.4);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(143, 188, 63, 0.5);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Slider Controls */
.slider-btn {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 3;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  margin: 0 auto;
}

.slider-btn:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.slider-btn.prev {
  left: auto;
}

.slider-btn.next {
  right: auto;
}

.slider-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background-color: var(--accent-color);
  width: 30px;
  border-radius: 10px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: 100px 0;
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--secondary-color)
  );
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.badge-content {
  text-align: center;
  color: var(--white);
}

.badge-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 500;
}

.section-label {
  display: inline-block;
  color: var(--accent-color);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  line-height: 1.3;
}

.about-text {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
}

.feature-item i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* ============================================
   PRODUCTS SLIDER SECTION
   ============================================ */
.products-slider-section {
  padding: 100px 0;
  background-color: var(--white);
}

.products-slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.15);
  background-color: var(--white);
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-slide {
  display: none !important;
  width: 100%;
  position: relative;
}

.product-slide.active {
  display: block !important;
  animation: fadeInProducts 0.8s ease-in-out;
}

.product-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 30px;
}

@keyframes fadeInProducts {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.products-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  z-index: 10;
  opacity: 0.9;
}

.products-slider-btn:hover {
  background-color: var(--accent-color);
  color: var(--white);
  transform: translateY(-50%) scale(1.15);
  opacity: 1;
  box-shadow: 0 8px 30px rgba(143, 188, 63, 0.4);
}

.products-prev {
  left: 25px;
}

.products-next {
  right: 25px;
}

/* Responsive untuk Products Slider */
@media (max-width: 768px) {
  .products-slider-container {
    border-radius: 15px;
    height: 400px;
  }

  .product-slide img {
    padding: 20px;
  }

  .products-slider-btn {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .products-prev {
    left: 15px;
  }

  .products-next {
    right: 15px;
  }
}

@media (max-width: 480px) {
  .products-slider-container {
    height: 350px;
  }

  .product-slide img {
    padding: 15px;
  }

  .products-slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .products-prev {
    left: 10px;
  }

  .products-next {
    right: 10px;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  padding: 100px 0;
  background-color: var(--light-color);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    var(--secondary-color)
  );
  transition: var(--transition);
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--secondary-color)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.service-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-arrow {
  color: var(--accent-color);
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-section {
  padding: 100px 0;
  background-color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-item {
  position: relative;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(45, 80, 22, 0.95), transparent);
  padding: 30px 20px;
  transform: translateY(100%);
  transition: var(--transition);
}

.project-item:hover img {
  transform: scale(1.1);
}

.project-item:hover .project-overlay {
  transform: translateY(0);
}

.project-overlay h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.project-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.testimonials-section .section-label,
.testimonials-section .section-title,
.testimonials-section .section-subtitle {
  color: var(--white);
}

.testimonials-section .section-label {
  color: var(--accent-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--white);
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-rating {
  color: #ffc107;
  font-size: 1rem;
  margin-bottom: 20px;
}

.testimonial-text {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: 3px;
}

.testimonial-author p {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: 100px 0;
  background-color: var(--light-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 30px;
  align-items: stretch;
}

.contact-info {
  padding: 40px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.map-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Direct iframe styling - jika ingin menggunakan class */
.contact-grid iframe {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 550px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-text {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  min-width: 30px;
}

.contact-item h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.contact-form-wrapper {
  background-color: var(--white);
  padding: 0;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contact-form-wrapper iframe {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.contact-form-box h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(143, 188, 63, 0.1);
}

textarea.form-control {
  resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--dark-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
}

.footer-logo .logo-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 10px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 5px 0 0 5px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  padding: 12px 20px;
  background-color: var(--accent-color);
  border: none;
  color: var(--white);
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--secondary-color);
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   CONTENT DISPLAY MODAL
   ============================================ */
.content-display {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.content-box {
  background: var(--white);
  padding: 50px;
  border-radius: 10px;
  max-width: 800px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.close-btn:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

#contentTitle {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
}

#contentText {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* ============================================
   ADMIN STYLES (Preserved from original)
   ============================================ */
.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.admin-header {
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  padding: 8px 15px;
  background-color: var(--secondary-color);
  border-radius: 3px;
  transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
  background-color: var(--accent-color);
}

.admin-form {
  background: white;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.admin-form label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-dark);
  font-weight: 600;
}

.admin-form input[type="text"],
.admin-form textarea,
.admin-form input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 1em;
}

.admin-form textarea {
  min-height: 150px;
  font-family: inherit;
}

.admin-form .readonly-textbox {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.admin-form small {
  color: #666;
  font-size: 0.85em;
  font-style: italic;
}

.btn-save {
  background-color: var(--accent-color);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1em;
  transition: var(--transition);
}

.btn-save:hover {
  background-color: var(--secondary-color);
}

.btn-cancel {
  background-color: #999;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1em;
  margin-left: 10px;
  transition: var(--transition);
}

.btn-cancel:hover {
  background-color: #777;
}

.admin-table {
  background: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

table th {
  background-color: var(--light-color);
  color: var(--primary-color);
  font-weight: 600;
}

table tr:hover {
  background-color: #f9f9f9;
}

.btn-edit,
.btn-delete,
.btn-view {
  padding: 6px 12px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  margin-right: 5px;
  font-size: 0.9em;
  text-decoration: none;
  display: inline-block;
}

.btn-edit {
  background-color: #2196f3;
  color: white;
}

.btn-edit:hover {
  background-color: #0b7dda;
}

.btn-delete {
  background-color: #f44336;
  color: white;
}

.btn-delete:hover {
  background-color: #da190b;
}

.btn-view {
  background-color: #4caf50;
  color: white;
}

.btn-view:hover {
  background-color: #45a049;
}

/* Login Styles */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.login-box {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 400px;
}

.login-box h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.login-box input[type="text"],
.login-box input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
}

.btn-login {
  width: 100%;
  background-color: var(--accent-color);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  transition: var(--transition);
}

.btn-login:hover {
  background-color: var(--secondary-color);
}

.error-message {
  color: #f44336;
  text-align: center;
  margin-top: 15px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .slide-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: var(--white);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    padding: 20px;
    gap: 0;
  }

  .nav-menu li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
  }

  /* Logo responsive */
  .logo-image {
    width: 45px;
    height: 45px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .slider-container {
    height: 70vh;
  }

  .slide-title {
    font-size: 2.5rem;
  }

  .slide-subtitle {
    font-size: 1.2rem;
  }

  .slide-grid-layout {
    grid-template-columns: 50px 1fr 50px;
    gap: 10px;
    padding: 0 5px;
  }

  .slide-content {
    padding: 0 5px;
    overflow: hidden;
  }

  .content-wrapper {
    margin-left: 0;
    max-width: calc(100vw - 120px);
    width: 100%;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .content-box {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .slide-grid-layout {
    grid-template-columns: 45px 1fr 45px;
    gap: 5px;
    padding: 0 3px;
  }

  .content-wrapper {
    max-width: calc(100vw - 100px);
    width: 100%;
  }

  .slide-title {
    font-size: 2rem;
  }

  .slide-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .about-badge {
    width: 120px;
    height: 120px;
    right: -20px;
    bottom: -20px;
  }

  .badge-number {
    font-size: 2rem;
  }
}
